fork download
  1. import java.util.*;
  2. import java.lang.*;
  3.  
  4. class Main
  5. {
  6. public static void main (String[] args) throws java.lang.Exception
  7. {
  8. long x = 1000*1000*1000*1000;
  9. long y = 1000*1000;
  10. System.out.println(x/y);
  11. System.out.println(y);
  12. System.out.println(x);
  13. }
  14. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.f95:1.6:

import java.util.*;
      1
Error: IMPORT statement at (1) only permitted in an INTERFACE body
prog.f95:2.6:

import java.lang.*;
      1
Error: IMPORT statement at (1) only permitted in an INTERFACE body
prog.f95:4:

class Main
1
Error: Unclassifiable statement at (1)
prog.f95:5.1:

{
 1
Error: Invalid character in name at (1)
prog.f95:6.1:

 public static void main (String[] args) throws java.lang.Exception
 1
Warning: Nonconforming tab character at (1)
prog.f95:6.7:

 public static void main (String[] args) throws java.lang.Exception
       1
Error: PUBLIC statement at (1) is only allowed in the specification part of a module
prog.f95:7.1:

 {
 1
Warning: Nonconforming tab character at (1)
prog.f95:7.2:

 {
  1
Error: Invalid character in name at (1)
prog.f95:8.1:

  long x = 1000*1000*1000*1000;
 1
Warning: Nonconforming tab character at (1)
prog.f95:8.2:

  long x = 1000*1000*1000*1000;
  1
Error: Unclassifiable statement at (1)
prog.f95:9.1:

  long y = 1000*1000;
 1
Warning: Nonconforming tab character at (1)
prog.f95:9.2:

  long y = 1000*1000;
  1
Error: Unclassifiable statement at (1)
prog.f95:10.1:

  System.out.println(x/y);
 1
Warning: Nonconforming tab character at (1)
prog.f95:10.2:

  System.out.println(x/y);
  1
Error: Unclassifiable statement at (1)
prog.f95:11.1:

  System.out.println(y);
 1
Warning: Nonconforming tab character at (1)
prog.f95:11.2:

  System.out.println(y);
  1
Error: Unclassifiable statement at (1)
prog.f95:12.1:

  System.out.println(x);
 1
Warning: Nonconforming tab character at (1)
prog.f95:12.2:

  System.out.println(x);
  1
Error: Unclassifiable statement at (1)
prog.f95:13.1:

 }
 1
Warning: Nonconforming tab character at (1)
prog.f95:13.2:

 }
  1
Error: Invalid character in name at (1)
prog.f95:14.1:

}
 1
Error: Invalid character in name at (1)
stdout
Standard output is empty