Language: Java

import java.lang.*;
import java.util.*;
????
class Main{
??????public static void main(String[] args){
??????????Scanner stdId = new Scanner(System.in);
??????????int n = stdId.nextInt(); 
??????????System.out.println((int)Math.pow(n,3));
????}
}

Compiler output:
Main.java:3: error: class, interface, enum, or record expected
????
^
Main.java:5: error: illegal start of type
??????public static void main(String[] args){
^
Main.java:6: error: illegal start of expression
??????????Scanner stdId = new Scanner(System.in);
^
Main.java:6: error: illegal start of expression
??????????Scanner stdId = new Scanner(System.in);
 ^
Main.java:6: error: illegal start of expression
??????????Scanner stdId = new Scanner(System.in);
  ^
Main.java:6: error: illegal start of expression
??????????Scanner stdId = new Scanner(System.in);
   ^
Main.java:6: error: illegal start of expression
??????????Scanner stdId = new Scanner(System.in);
    ^
Main.java:6: error: illegal start of expression
??????????Scanner stdId = new Scanner(System.in);
     ^
Main.java:6: error: illegal start of expression
??????????Scanner stdId = new Scanner(System.in);
      ^
Main.java:6: error: illegal start of expression
??????????Scanner stdId = new Scanner(System.in);
       ^
Main.java:6: error: illegal start of expression
??????????Scanner stdId = new Scanner(System.in);
        ^
Main.java:6: error: illegal start of expression
??????????Scanner stdId = new Scanner(System.in);
         ^
Main.java:6: error: : expected
??????????Scanner stdId = new Scanner(System.in);
                 ^
Main.java:6: error: : expected
??????????Scanner stdId = new Scanner(System.in);
                                                ^
Main.java:7: error: illegal start of expression
??????????int n = stdId.nextInt(); 
^
Main.java:7: error: illegal start of expression
??????????int n = stdId.nextInt(); 
 ^
Main.java:7: error: illegal start of expression
??????????int n = stdId.nextInt(); 
  ^
Main.java:7: error: illegal start of expression
??????????int n = stdId.nextInt(); 
   ^
Main.java:7: error: illegal start of expression
??????????int n = stdId.nextInt(); 
    ^
Main.java:7: error: illegal start of expression
??????????int n = stdId.nextInt(); 
     ^
Main.java:7: error: illegal start of expression
??????????int n = stdId.nextInt(); 
      ^
Main.java:7: error: illegal start of expression
??????????int n = stdId.nextInt(); 
       ^
Main.java:7: error: illegal start of expression
??????????int n = stdId.nextInt(); 
        ^
Main.java:7: error: illegal start of expression
??????????int n = stdId.nextInt(); 
         ^
Main.java:7: error: '.class' expected
??????????int n = stdId.nextInt(); 
              ^
Main.java:7: error: : expected
??????????int n = stdId.nextInt(); 
                                 ^
Main.java:8: error: illegal start of expression
??????????System.out.println((int)Math.pow(n,3));
^
Main.java:8: error: illegal start of expression
??????????System.out.println((int)Math.pow(n,3));
 ^
Main.java:8: error: illegal start of expression
??????????System.out.println((int)Math.pow(n,3));
  ^
Main.java:8: error: illegal start of expression
??????????System.out.println((int)Math.pow(n,3));
   ^
Main.java:8: error: illegal start of expression
??????????System.out.println((int)Math.pow(n,3));
    ^
Main.java:8: error: illegal start of expression
??????????System.out.println((int)Math.pow(n,3));
     ^
Main.java:8: error: illegal start of expression
??????????System.out.println((int)Math.pow(n,3));
      ^
Main.java:8: error: illegal start of expression
??????????System.out.println((int)Math.pow(n,3));
       ^
Main.java:8: error: illegal start of expression
??????????System.out.println((int)Math.pow(n,3));
        ^
Main.java:8: error: illegal start of expression
??????????System.out.println((int)Math.pow(n,3));
         ^
Main.java:8: error: : expected
??????????System.out.println((int)Math.pow(n,3));
                                                ^
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
????}
    ^
42 errors