fork download
  1. #include <stdio.h>
  2. int a[63500000];
  3. int main()
  4. {
  5. printf ("This code requires about 250 MB memory\n");
  6. return 0;
  7. }
  8.  
  9. import java.util.*;
  10. import java.lang.*;
  11. import java.io.*;
  12.  
  13. /* Name of the class has to be "Main" only if the class is public. */
  14. class Ideone
  15. {
  16. public static void main (String[] args) throws java.lang.Exception
  17. {
  18. // your code goes here
  19. }
  20. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: illegal character: '#'
#include <stdio.h>
^
Main.java:1: error: class, interface, or enum expected
#include <stdio.h>
         ^
Main.java:3: error: class, interface, or enum expected
int main()
^
Main.java:6: error: class, interface, or enum expected
	return 0;
	^
Main.java:7: error: class, interface, or enum expected
}
^
5 errors
stdout

Standard output is empty