Language: Java

import java.io.*;
??
class Main{
????????public static void main(String[] args) throws Exception{
????????????????int x, ans;
??????????
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
????????????????x = Integer.parseInt(br.readLine());
??????????????????
????????????????ans = x*x*x;
????????????????System.out.println(ans);
????????}
}

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
??
^
Main.java:4: error: illegal start of type
????????public static void main(String[] args) throws Exception{
^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
 ^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
  ^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
   ^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
    ^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
     ^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
      ^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
       ^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
        ^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
         ^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
          ^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
           ^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
            ^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
             ^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
              ^
Main.java:5: error: illegal start of expression
????????????????int x, ans;
               ^
Main.java:5: error: '.class' expected
????????????????int x, ans;
                    ^
Main.java:5: error: : expected
????????????????int x, ans;
                     ^
Main.java:5: error: not a statement
????????????????int x, ans;
                       ^
Main.java:6: error: illegal start of expression
??????????
^
Main.java:6: error: illegal start of expression
??????????
 ^
Main.java:6: error: illegal start of expression
??????????
  ^
Main.java:6: error: illegal start of expression
??????????
   ^
Main.java:6: error: illegal start of expression
??????????
    ^
Main.java:6: error: illegal start of expression
??????????
     ^
Main.java:6: error: illegal start of expression
??????????
      ^
Main.java:6: error: illegal start of expression
??????????
       ^
Main.java:6: error: illegal start of expression
??????????
        ^
Main.java:6: error: illegal start of expression
??????????
         ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
 ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
   ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
     ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
       ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
          ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
           ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
             ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
              ^
Main.java:7: error: illegal start of expression
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
               ^
Main.java:7: error: : expected
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                              ^
Main.java:7: error: : expected
????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                                                                                        ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
 ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
  ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
   ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
    ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
     ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
      ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
       ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
        ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
         ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
          ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
           ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
            ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
             ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
              ^
Main.java:8: error: illegal start of expression
????????????????x = Integer.parseInt(br.readLine());
               ^
Main.java:8: error: : expected
????????????????x = Integer.parseInt(br.readLine());
                                                   ^
Main.java:9: error: illegal start of expression
??????????????????
^
Main.java:9: error: illegal start of expression
??????????????????
 ^
Main.java:9: error: illegal start of expression
??????????????????
  ^
Main.java:9: error: illegal start of expression
??????????????????
   ^
Main.java:9: error: illegal start of expression
??????????????????
    ^
Main.java:9: error: illegal start of expression
??????????????????
     ^
Main.java:9: error: illegal start of expression
??????????????????
      ^
Main.java:9: error: illegal start of expression
??????????????????
       ^
Main.java:9: error: illegal start of expression
??????????????????
        ^
Main.java:9: error: illegal start of expression
??????????????????
         ^
Main.java:9: error: illegal start of expression
??????????????????
          ^
Main.java:9: error: illegal start of expression
??????????????????
           ^
Main.java:9: error: illegal start of expression
??????????????????
            ^
Main.java:9: error: illegal start of expression
??????????????????
             ^
Main.java:9: error: illegal start of expression
??????????????????
              ^
Main.java:9: error: illegal start of expression
??????????????????
               ^
Main.java:9: error: illegal start of expression
??????????????????
                ^
Main.java:9: error: illegal start of expression
??????????????????
                 ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
 ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
  ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
   ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
    ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
     ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
      ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
       ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
        ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
         ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
          ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
           ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
            ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
             ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
              ^
Main.java:10: error: illegal start of expression
????????????????ans = x*x*x;
               ^
100 errors
only showing the first 100 errors, of 101 total; use -Xmaxerrs if you would like to see more
printing javac parameters to: /w/javac.20260128_040519.args