Language: Java

public class Main {
??
????????public static void main(String[] args) {
????????????????int x = new java.util.Scanner(System.in).nextInt();
????????????????int ans = x * x * x;
????????????????System.out.println(ans);
????????}
}

Compiler output:
Main.java:2: error: illegal start of type
??
^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
 ^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
  ^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
   ^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
    ^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
     ^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
      ^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
       ^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
        ^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
         ^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
          ^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
           ^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
            ^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
             ^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
              ^
Main.java:4: error: illegal start of expression
????????????????int x = new java.util.Scanner(System.in).nextInt();
               ^
Main.java:4: error: '.class' expected
????????????????int x = new java.util.Scanner(System.in).nextInt();
                    ^
Main.java:4: error: : expected
????????????????int x = new java.util.Scanner(System.in).nextInt();
                                                                  ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
 ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
  ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
   ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
    ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
     ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
      ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
       ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
        ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
         ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
          ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
           ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
            ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
             ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
              ^
Main.java:5: error: illegal start of expression
????????????????int ans = x * x * x;
               ^
Main.java:5: error: '.class' expected
????????????????int ans = x * x * x;
                    ^
Main.java:5: error: : expected
????????????????int ans = x * x * x;
                                   ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
 ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
  ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
   ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
    ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
     ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
      ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
       ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
        ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
         ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
          ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
           ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
            ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
             ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
              ^
Main.java:6: error: illegal start of expression
????????????????System.out.println(ans);
               ^
Main.java:6: error: : expected
????????????????System.out.println(ans);
                                       ^
Main.java:7: error: illegal start of expression
????????}
^
Main.java:7: error: illegal start of expression
????????}
 ^
Main.java:7: error: illegal start of expression
????????}
  ^
Main.java:7: error: illegal start of expression
????????}
   ^
Main.java:7: error: illegal start of expression
????????}
    ^
Main.java:7: error: illegal start of expression
????????}
     ^
Main.java:7: error: illegal start of expression
????????}
      ^
Main.java:7: error: illegal start of expression
????????}
       ^
Main.java:7: error: illegal start of expression
????????}
        ^
63 errors