criyle/codenet-compile-errors huggingface dataset:
Language: Java

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scan = new Scanner(System.in);
        try{
        int n = scan.nextInt();
        System.out.println((int)Math.pow(n,3));            
        } catch (IOExcepton e){
            e.printStackTrace();
        } finally (Exception e) {
            e.printStackTrace();
        }

    }
}

Compiler output:
Main.java:9: error: '{' expected
        } finally (Exception e) {
                 ^
Main.java:9: error: -> expected
        } finally (Exception e) {
                               ^
Main.java:9: error: not a statement
        } finally (Exception e) {
                  ^
Main.java:11: error: ';' expected
        }
         ^
Main.java:14: error: reached end of file while parsing
}
 ^
5 errors
Language: Java

public void Main {

public static void main(String[] args) {
int x = Integer.parseInt(args[0]);
System.out.println(x*x*x);
}

}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
public void Main {
       ^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) {
              ^
  (use --enable-preview to enable unnamed classes)
Main.java:8: error: class, interface, enum, or record expected
}
^
3 errors
Language: Java

public class Main {

public static void main() {
 Scanner sc = new Scanner(System.in);
  int i = sc.nextInt();
  System.out.println(i*i*i);
}

}

Compiler output:
Main.java:4: error: cannot find symbol
 Scanner sc = new Scanner(System.in);
 ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
 Scanner sc = new Scanner(System.in);
                  ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

public class ITP1_1B {
	public static void main(String[] args){
		for(double i = 1; i <= 100; i++){
			Math.pow(i, 3);
		}
	}
}

Compiler output:
Main.java:1: error: class ITP1_1B is public, should be declared in a file named ITP1_1B.java
public class ITP1_1B {
       ^
1 error
Language: Java

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

Compiler output:
Main.java:8: error: cannot find symbol
		System.out.prinltn(a);
		          ^
  symbol:   method prinltn(int)
  location: variable out of type PrintStream
1 error
Language: Java

public class test{
     public static void main(String[] args){
InputStreamReader is = new InputStreamReader(System.in);       
   BufferedReader br = new BufferedReader(is);

int x = 0;

String str = br.readLine();
                x = Integer.parseInt(str);

int i = x^3;

System.out.println(i);




}
}

Compiler output:
Main.java:1: error: class test is public, should be declared in a file named test.java
public class test{
       ^
Main.java:3: error: cannot find symbol
InputStreamReader is = new InputStreamReader(System.in);       
^
  symbol:   class InputStreamReader
  location: class test
Main.java:3: error: cannot find symbol
InputStreamReader is = new InputStreamReader(System.in);       
                           ^
  symbol:   class InputStreamReader
  location: class test
Main.java:4: error: cannot find symbol
   BufferedReader br = new BufferedReader(is);
   ^
  symbol:   class BufferedReader
  location: class test
Main.java:4: error: cannot find symbol
   BufferedReader br = new BufferedReader(is);
                           ^
  symbol:   class BufferedReader
  location: class test
5 errors
Language: Java

public class Main{
     public static void main(String[] args){
InputStreamReader is = new InputStreamReader(System.in);       
   BufferedReader br = new BufferedReader(is);

int x = 0;

String str = br.readLine();
                x = Integer.parseInt(str);

int i = x^3;

System.out.println(i);




}
}

Compiler output:
Main.java:3: error: cannot find symbol
InputStreamReader is = new InputStreamReader(System.in);       
^
  symbol:   class InputStreamReader
  location: class Main
Main.java:3: error: cannot find symbol
InputStreamReader is = new InputStreamReader(System.in);       
                           ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:4: error: cannot find symbol
   BufferedReader br = new BufferedReader(is);
   ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
   BufferedReader br = new BufferedReader(is);
                           ^
  symbol:   class BufferedReader
  location: class Main
4 errors
Language: Java

import java.util.*;
import java.io.*;

public class Main{
     public static void main(String[] args){
InputStreamReader is = new InputStreamReader(System.in);       
   BufferedReader br = new BufferedReader(is);

int x = 0;

String str = br.readLine();
                x = Integer.parseInt(str);

int i = x^3;

System.out.println(i);




}
}

Compiler output:
Main.java:11: error: unreported exception IOException; must be caught or declared to be thrown
String str = br.readLine();
                        ^
1 error
Language: Java

import java.util.*;
import java.io.*;

public class Main{
     public static void main(String[] args){
InputStreamReader is = new InputStreamReader(System.in);       
   BufferedReader br = new BufferedReader(is);

int x = 0;
try{
String str = br.readLine();
                x = Integer.parseInt(str);

}catch{}

int i = x^3;

System.out.println(i);




}
}

Compiler output:
Main.java:14: error: '(' expected
}catch{}
      ^
1 error
Language: Java

import java.util.*;
import java.io.*;

public class Main{
     public static void main(String[] args){
InputStreamReader is = new InputStreamReader(System.in);       
   BufferedReader br = new BufferedReader(is);

int x = 0;
try{
String str = br.readLine();
                x = Integer.parseInt(str);

}catch()

int i = x^3;

System.out.println(i);




}
}

Compiler output:
Main.java:14: error: illegal start of type
}catch()
       ^
Main.java:14: error: '{' expected
}catch()
        ^
Main.java:24: error: reached end of file while parsing
}
 ^
3 errors
Language: Java

import java.util.*;
import java.io.*;

public class Main{
     public static void main(String[] args){
InputStreamReader is = new InputStreamReader(System.in);       
   BufferedReader br = new BufferedReader(is);

int x = 0;
try{
String str = br.readLine();
                x = Integer.parseInt(str);

 }catch(IOException e){}

int i = Math.pow(x, 3);

System.out.println(i);




}
}

Compiler output:
Main.java:16: error: incompatible types: possible lossy conversion from double to int
int i = Math.pow(x, 3);
                ^
1 error
Language: Java

import java.io.*;

public class MAIN {
// ???????????´??° x ?????????????????§???x ?????????????¨????????????????????????????????????°?????????????????????????????????
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		try {
			int x = Integer.parseInt(br.readLine());
			
			int answer = x*x*x;
			System.out.println(answer);
			
			
		} catch (NumberFormatException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	}

}

Compiler output:
Main.java:3: error: class MAIN is public, should be declared in a file named MAIN.java
public class MAIN {
       ^
1 error
Language: Java

class Main{
    public static void main(String[] args){
       int x=System.in.read();
       int a =x*x*x;
       System.out.println(a);
    }
}

Compiler output:
Main.java:3: error: unreported exception IOException; must be caught or declared to be thrown
       int x=System.in.read();
                           ^
1 error
Language: Java

class Main{
    public static void main(String[] args){
       int x;
       x=System.in.read();
       int a =x*x*x;
       System.out.println(a);
    }
}

Compiler output:
Main.java:4: error: unreported exception IOException; must be caught or declared to be thrown
       x=System.in.read();
                       ^
1 error
Language: Java

import java.io.IOException;
class Main{
    public static void main(String[] args){
       for(i=0; i<4; i++){
          try{
             int x=System.in.read();
             int a =x*x*x;
             System.out.println(a);
          }catch(IOException e){
          }
       }
    }
}

Compiler output:
Main.java:4: error: cannot find symbol
       for(i=0; i<4; i++){
           ^
  symbol:   variable i
  location: class Main
Main.java:4: error: cannot find symbol
       for(i=0; i<4; i++){
                ^
  symbol:   variable i
  location: class Main
Main.java:4: error: cannot find symbol
       for(i=0; i<4; i++){
                     ^
  symbol:   variable i
  location: class Main
3 errors
Language: Java

import java.io.IOException;
class Main{
    public static void main(String[] args){
    try{
int x=System.in.read();
int a=x*x*x;
          }catch(IOException e){
          }
System.out.println(a);
    }
}

Compiler output:
Main.java:9: error: cannot find symbol
System.out.println(a);
                   ^
  symbol:   variable a
  location: class Main
1 error
Language: Java

import java.io.IOException;
class Main{
    public static void main(String[] args){
int x;
int a;
try{
x=System.in.read();
a=x*x*x;
          }catch(IOException e){
          }
System.out.println(a);
    }
}

Compiler output:
Main.java:11: error: variable a might not have been initialized
System.out.println(a);
                   ^
1 error
Language: Java

public class XCubic {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int inputIum = scan.nextInt();
        System.out.println(calCubic(inputIum));
    }
    private static long calCubic (int inputIum) {
        return inputIum * inputIum * inputIum;
    }
}

Compiler output:
Main.java:1: error: class XCubic is public, should be declared in a file named XCubic.java
public class XCubic {
       ^
Main.java:4: error: cannot find symbol
        Scanner scan = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class XCubic
Main.java:4: error: cannot find symbol
        Scanner scan = new Scanner(System.in);
                           ^
  symbol:   class Scanner
  location: class XCubic
3 errors
Language: Java

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

Compiler output:
Main.java:5: error: unreported exception IOException; must be caught or declared to be thrown
String str = br.readLine();
                        ^
1 error
Language: Java

import java.io.*;
class Main{
public static void main(String args[]){
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
int x = Integer.parseInt(str);
}
catch(IOException e){
System.out.println(e);
}
System.out.println(x * x * x);
}
}

Compiler output:
Main.java:12: error: cannot find symbol
System.out.println(x * x * x);
                   ^
  symbol:   variable x
  location: class Main
Main.java:12: error: cannot find symbol
System.out.println(x * x * x);
                       ^
  symbol:   variable x
  location: class Main
Main.java:12: error: cannot find symbol
System.out.println(x * x * x);
                           ^
  symbol:   variable x
  location: class Main
3 errors
Language: Java

import java.io.*;
import java.util.*;
class Main{
public static void main(String args[]){
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
int x = Integer.parseInt(str);
}
catch(IOException e){
System.out.println(e);
}
System.out.println(Math.pow(x,3));
}
}

Compiler output:
Main.java:13: error: cannot find symbol
System.out.println(Math.pow(x,3));
                            ^
  symbol:   variable x
  location: class Main
1 error
Language: Java

import java.io.*;
import java.util.*;
class Main{
public static void main(String args[]){
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
}
int x = Integer.parseInt(str);
 catch(IOException e){
System.out.println(e);
}
System.out.println(Math.pow(x,3));
}
}

Compiler output:
Main.java:5: error: 'try' without 'catch', 'finally' or resource declarations
try{
^
Main.java:10: error: 'catch' without 'try'
 catch(IOException e){
 ^
2 errors
Language: Java

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

Compiler output:
Main.java:9: error: cannot find symbol
System.out.println(x*x*x);
                   ^
  symbol:   variable x
  location: class Main
Main.java:9: error: cannot find symbol
System.out.println(x*x*x);
                     ^
  symbol:   variable x
  location: class Main
Main.java:9: error: cannot find symbol
System.out.println(x*x*x);
                       ^
  symbol:   variable x
  location: class Main
3 errors
Language: Java


import java.io.IOException;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) throws IOException {
        Scanner scanner = new Scanner(System.in);

        while(scanner.hasNext()) {
            double inputNum = Double.parseDouble(scanner.next());
            System.out.println(Math.pow(inputNum, 3);
        }
    }
}

Compiler output:
Main.java:12: error: ')' or ',' expected
            System.out.println(Math.pow(inputNum, 3);
                                                    ^
1 error
Language: Java

public class Main{
	public static void main(String[] args){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//??°????????????
		int num = sc.nextInt();
		//??????????????°??????3?????????
		int intNum = num * num * num;
		//???????????¨???
		System.out.println(intNum);
	}
}

Compiler output:
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

public class Main {
  public static void main(String[] args) throws Exception {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextIn();
    System.out.println(x * x * x);
      
    }
}

Compiler output:
Main.java:3: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

public class Main{
	public static void main(String [] args) {
		Scanner sn=new Scanner(System.in);
		int x=sn.nextInt();
		if(x>0||x<100) {
			System.out.println(x*x*x);
		}
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
		Scanner sn=new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner sn=new Scanner(System.in);
		               ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.util.*;

public class X_Cubic {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		try {
			int x = scan.nextInt();
			if ((x >= 100) || (x <= 0))
 				System.exit(0);
			x = x*x*x;
			System.out.println("" + x + "");
		} catch (InputMismatchException e) {
			System.out.println("??¨??????");
		}
	}
}

Compiler output:
Main.java:3: error: class X_Cubic is public, should be declared in a file named X_Cubic.java
public class X_Cubic {
       ^
1 error
Language: Java

class Xcubic
{
	public static void main (String[] args)
	{
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String x = br.readLine();
		System.out.println(x * x * x);
	}
}

Compiler output:
Main.java:6: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Xcubic
Main.java:6: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                        ^
  symbol:   class BufferedReader
  location: class Xcubic
Main.java:6: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                                           ^
  symbol:   class InputStreamReader
  location: class Xcubic
Main.java:8: error: bad operand types for binary operator '*'
		System.out.println(x * x * x);
		                     ^
  first type:  String
  second type: String
4 errors
Language: Java

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

Compiler output:
Main.java:8: error: variable x is already defined in method main(String[])
        int x = scanner.nextInt();
            ^
1 error
Language: Java

import lib.Input;
public class Xcubic{
                   public static void main(String[] args){
                                                          int x = input.getInt();
                                                          int y = Math.pow(x,2);
                                                          System.out.println(y);
                                                          }
                    }

Compiler output:
Main.java:2: error: class Xcubic is public, should be declared in a file named Xcubic.java
public class Xcubic{
       ^
Main.java:1: error: package lib does not exist
import lib.Input;
          ^
Main.java:4: error: cannot find symbol
                                                          int x = input.getInt();
                                                                  ^
  symbol:   variable input
  location: class Xcubic
Main.java:5: error: incompatible types: possible lossy conversion from double to int
                                                          int y = Math.pow(x,2);
                                                                          ^
4 errors
Language: Java

import java.util.*;
import java.lang.*;
import java.io.*;

class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        string str = br.readline();
        int x = Integer.parseInt(str);
        System.out.println(x * x * x);
	}
}

Compiler output:
Main.java:11: error: cannot find symbol
        string str = br.readline();
        ^
  symbol:   class string
  location: class Ideone
Main.java:11: error: cannot find symbol
        string str = br.readline();
                       ^
  symbol:   method readline()
  location: variable br of type BufferedReader
2 errors
Language: Java

import java.util.*;
import java.lang.*;
import java.io.*;

class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
        InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        string str = br.readline();
        int x = Integer.parseInt(str);
        System.out.println(x * x * x);
	}
}

Compiler output:
Main.java:11: error: cannot find symbol
        string str = br.readline();
        ^
  symbol:   class string
  location: class Ideone
Main.java:11: error: cannot find symbol
        string str = br.readline();
                       ^
  symbol:   method readline()
  location: variable br of type BufferedReader
2 errors
Language: Java

import java.io.*;

class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		BufferedReader r = new BufferedReader (new InputStreamReader (System.in));
		String s = r.readLine();
		Integer.parseInt(s);
		System.out.println(x * x * x);
	}
}

Compiler output:
Main.java:10: error: cannot find symbol
		System.out.println(x * x * x);
		                   ^
  symbol:   variable x
  location: class Main
Main.java:10: error: cannot find symbol
		System.out.println(x * x * x);
		                       ^
  symbol:   variable x
  location: class Main
Main.java:10: error: cannot find symbol
		System.out.println(x * x * x);
		                           ^
  symbol:   variable x
  location: class Main
3 errors
Language: Java

import java.io.*;

class Main
{
	public static void main (String[] args)
	{
		BufferedReader r = new BufferedReader (new InputStreamReader (System.in));
		String s = r.readLine();
		Integer.parseInt(s);
		System.out.println(x * x * x);
	}
}

Compiler output:
Main.java:10: error: cannot find symbol
		System.out.println(x * x * x);
		                   ^
  symbol:   variable x
  location: class Main
Main.java:10: error: cannot find symbol
		System.out.println(x * x * x);
		                       ^
  symbol:   variable x
  location: class Main
Main.java:10: error: cannot find symbol
		System.out.println(x * x * x);
		                           ^
  symbol:   variable x
  location: class Main
3 errors
Language: Java

import java.io.*;

class Main
{
	public static void main (String[] args)
	{
		BufferedReader r = new BufferedReader (new InputStreamReader (System.in));
		String s = r.readLine();
		Integer.parseInt(s);
		System.out.println(s * s * s);
	}
}

Compiler output:
Main.java:10: error: bad operand types for binary operator '*'
		System.out.println(s * s * s);
		                     ^
  first type:  String
  second type: String
1 error
Language: Java

import java.io.*;

class Main
{
	public static void main (String[] args)
	{
		BufferedReader r = new BufferedReader (new InputStreamReader (System.in));
		String x = r.readLine();
		Integer.parseInt(x);
		System.out.println(x * x * x);
	}
}

Compiler output:
Main.java:10: error: bad operand types for binary operator '*'
		System.out.println(x * x * x);
		                     ^
  first type:  String
  second type: String
1 error
Language: Java

import java.io.*;

class Main
{
	public static void main (String[] args)
	{
		BufferedReader r = new BufferedReader (new InputStreamReader (System.in));
		String s = r.readLine();
		int x = Integer.parseInt(s);
		System.out.println(x * x * x);
	}
}

Compiler output:
Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown
		String s = r.readLine();
		                     ^
1 error
Language: Java

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

Compiler output:
Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown
        String s = r.readLine();
                             ^
1 error
Language: Java

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		System.out.println((int)Math.pow(sc.nextDouble(), 3));
		sc.close();
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java


public class Main
{
	public static void main (String[] args) throws IOException
	{
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	 String str = br.readLine();
	 int x = Integer.parseInt(str);
	  
	  if(1<x & x<100){
	     System.out.println(Math.pow(x,3));
	  }
	}
}

Compiler output:
Main.java:4: error: cannot find symbol
	public static void main (String[] args) throws IOException
	                                               ^
  symbol:   class IOException
  location: class Main
Main.java:6: error: cannot find symbol
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	 ^
  symbol:   class BufferedReader
  location: class Main
Main.java:6: error: cannot find symbol
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	                         ^
  symbol:   class BufferedReader
  location: class Main
Main.java:6: error: cannot find symbol
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	                                            ^
  symbol:   class InputStreamReader
  location: class Main
4 errors
Language: Java

public class Main {
	public static void main(String[] args)throws IOException {
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int x = Integer.parseInt(str);
		System.out.println( Math.pow(x, 3));
	}

}

Compiler output:
Main.java:2: error: cannot find symbol
	public static void main(String[] args)throws IOException {
	                                             ^
  symbol:   class IOException
  location: class Main
Main.java:4: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                                           ^
  symbol:   class InputStreamReader
  location: class Main
4 errors
Language: Java

public class Main {
	public static void main(String[] args)throws IOException {
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int x = Integer.parseInt(str);
		if(1<x & x<100) {
		  System.out.println(x*x*x);
		}
	}

}

Compiler output:
Main.java:2: error: cannot find symbol
	public static void main(String[] args)throws IOException {
	                                             ^
  symbol:   class IOException
  location: class Main
Main.java:4: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                                           ^
  symbol:   class InputStreamReader
  location: class Main
4 errors
Language: Java

#import java.util.*;

class xCubic{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    while(sc.hasNext()){
      int n = Integer.parselnt(so.next());
      int result = n * n * n;
      System.out.println(result);
    }
  
}  }

Compiler output:
Main.java:1: error: illegal character: '#'
#import java.util.*;
^
Main.java:1: error: class, interface, enum, or record expected
#import java.util.*;
        ^
2 errors
Language: Java

import java.util.*;

class xCubic{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    while(sc.hasNext()){
      int n = Integer.parselnt(so.next());
      int result = n * n * n;
      System.out.println(result);
    }
  
}  }

Compiler output:
Main.java:7: error: cannot find symbol
      int n = Integer.parselnt(so.next());
                               ^
  symbol:   variable so
  location: class xCubic
1 error
Language: Java

import java.util.Scanner;

public class XCubic{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		while(sc.hasNext()){
			int n = Integer.parseInt(sc.next());
			int result = n * n * n;
			System.out.println(result);
		}
	}
}

Compiler output:
Main.java:3: error: class XCubic is public, should be declared in a file named XCubic.java
public class XCubic{
       ^
1 error
Language: Java

import java.util.Scanner;
class Main {

    
    public static void main(String[] a) {
        Scanner x = new Scanner(System.in);
        int a = x.nextInt();
        double b = 3;
        int c = (int) Math.pow(a, b);
        System.out.println(c);
    }
    
}

Compiler output:
Main.java:7: error: variable a is already defined in method main(String[])
        int a = x.nextInt();
            ^
1 error
Language: Java

import java.util.Scanner;
public class Main {

    
    public static void main(String[] a) {
        Scanner x = new Scanner(System.in);
        int a = x.nextInt();
        double b = 3;
        int c = (int) Math.pow(a, b);
        System.out.println(c);
    }
    
}

Compiler output:
Main.java:7: error: variable a is already defined in method main(String[])
        int a = x.nextInt();
            ^
1 error
Language: Java

import java.util.Scanner;
public class Main {

    
    public static void main(String[] a) {
        Scanner x = new Scanner(System.in);
         a = x.nextInt();
        double b = 3;
        int c = (int) Math.pow(a, b);
        System.out.println(c);
    }
    
}

Compiler output:
Main.java:7: error: incompatible types: int cannot be converted to String[]
         a = x.nextInt();
                      ^
Main.java:9: error: incompatible types: String[] cannot be converted to double
        int c = (int) Math.pow(a, b);
                               ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors
Language: Java

import java.util.Scanner;
public class Main {

    
    public static void main(Integer[] a) {
        Scanner x = new Scanner(System.in);
         a = x.nextInt();
        double b = 3;
        int c = (int) Math.pow(a, b);
        System.out.println(c);
    }
    
}

Compiler output:
Main.java:7: error: incompatible types: int cannot be converted to Integer[]
         a = x.nextInt();
                      ^
Main.java:9: error: incompatible types: Integer[] cannot be converted to double
        int c = (int) Math.pow(a, b);
                               ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors
Language: Java

import java.util.Scanner;
public class Main {

    
    public static void main(Integer[] a) {
        Scanner x = new Scanner(System.in);
        int a = x.nextInt();
        double b = 3;
        int c = (int) Math.pow(a, b);
        System.out.println(c);
    }
    
}

Compiler output:
Main.java:7: error: variable a is already defined in method main(Integer[])
        int a = x.nextInt();
            ^
1 error
Language: Java

import java.util.Scanner;
public class Main {

    
    public static void main(Integer[] a) {
        Scanner x = new Scanner(System.in);
        int a = x.next();
        double b = 3;
        int c = (int) Math.pow(a, b);
        System.out.println(c);
    }
    
}

Compiler output:
Main.java:7: error: variable a is already defined in method main(Integer[])
        int a = x.next();
            ^
Main.java:7: error: incompatible types: String cannot be converted to int
        int a = x.next();
                      ^
2 errors
Language: Java

import java.util.Scanner;
public class Main{
	public void main(String[] args){
		Scanner scan =new Scanner(System.in);
		String x=scan.nextInt();
		if(x<1){x=1;}
		if(x>100){x=100;}
		System.out.println(x*x*x);
	}

}

Compiler output:
Main.java:5: error: incompatible types: int cannot be converted to String
		String x=scan.nextInt();
		                     ^
Main.java:6: error: bad operand types for binary operator '<'
		if(x<1){x=1;}
		    ^
  first type:  String
  second type: int
Main.java:6: error: incompatible types: int cannot be converted to String
		if(x<1){x=1;}
		          ^
Main.java:7: error: bad operand types for binary operator '>'
		if(x>100){x=100;}
		    ^
  first type:  String
  second type: int
Main.java:7: error: incompatible types: int cannot be converted to String
		if(x>100){x=100;}
		            ^
Main.java:8: error: bad operand types for binary operator '*'
		System.out.println(x*x*x);
		                    ^
  first type:  String
  second type: String
6 errors
Language: Java

import java.util.scanner;
public class Main{
    public static void main(String[] args){
        int buffernum = GetInt();
        if(buffernum > 100){
            System.out.println(buffernum*buffernum*buffernum);
        }    
    }
    int GetInt(){
        Scanner sc = new Scanner(System.in);
        int getnum = sc.nextInt();
        return getnum;
    }
}

Compiler output:
Main.java:1: error: cannot find symbol
import java.util.scanner;
                ^
  symbol:   class scanner
  location: package java.util
Main.java:4: error: non-static method GetInt() cannot be referenced from a static context
        int buffernum = GetInt();
                        ^
Main.java:10: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Main
Main.java:10: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
                         ^
  symbol:   class Scanner
  location: class Main
4 errors
Language: Java

public class Main {
	public static void main(String[] args) {

		int a;
		
		try(Scanner scanner=new Scanner(System.in)){
			a=scanner.nextInt();
		}
		
		a=a*a*a;
		
		System.out.println(a);
	}

}

Compiler output:
Main.java:6: error: cannot find symbol
		try(Scanner scanner=new Scanner(System.in)){
		    ^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
		try(Scanner scanner=new Scanner(System.in)){
		                        ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

public class Main {
	public static void main(String[] args) {

		int a=0;
		
		
		try(Scanner scanner=new Scanner(System.in)){
			a=scanner.nextInt();
		}
		if(a<100||a>0) {
		a=a*a*a;
		
		System.out.println(a);
		}
	}

}

Compiler output:
Main.java:7: error: cannot find symbol
		try(Scanner scanner=new Scanner(System.in)){
		    ^
  symbol:   class Scanner
  location: class Main
Main.java:7: error: cannot find symbol
		try(Scanner scanner=new Scanner(System.in)){
		                        ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

public class Main {
	public static void main(String[] args) {

		int a=0;
		
		
		Scanner scanner=new Scanner(System.in);
			a=scanner.nextInt();
		if(a<100||a>0) {
		a=a*a*a;
		
		System.out.println(a);
		}
	}

}

Compiler output:
Main.java:7: error: cannot find symbol
		Scanner scanner=new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:7: error: cannot find symbol
		Scanner scanner=new Scanner(System.in);
		                    ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

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

Compiler output:
Main.java:6: error: illegal character: '\'
    System.out.println(x * x * x\n);
                                ^
Main.java:6: error: not a statement
    System.out.println(x * x * x\n);
                                 ^
Main.java:6: error: ';' expected
    System.out.println(x * x * x\n);
                                  ^
3 errors
Language: Java

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

Compiler output:
Main.java:2: error: class main is public, should be declared in a file named main.java
public class main{
       ^
1 error
Language: Java

import java.io.*;

public class Xcubic{
    public static void main (String[] args)throws IOException{

        System.out.println("Please input number.( 1 <= x <= 100)");
        
        int x;

        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));

        x = Integer.parseInt(br.readLine());

        x = x*x*x;

        System.out.println("answer is " + x);
    }
}

Compiler output:
Main.java:3: error: class Xcubic is public, should be declared in a file named Xcubic.java
public class Xcubic{
       ^
1 error
Language: Java

class Main{
public static void main{String[] args){
int x = 2;
System.out.println(x*x*x);
}
}

Compiler output:
Main.java:2: error: '(' expected
public static void main{String[] args){
                       ^
Main.java:2: error: ';' expected
public static void main{String[] args){
                                     ^
Main.java:6: error: reached end of file while parsing
}
 ^
3 errors
Language: Java

class Xcubic{
	public static void main(String[] args) {
		int x = Integer.parseInt(args[0]);
		
		if(1 <= x <= 100){
			int ans = x * x * x;
			System.out.println(ans);
		}
	}
}

Compiler output:
Main.java:5: error: bad operand types for binary operator '<='
		if(1 <= x <= 100){
		          ^
  first type:  boolean
  second type: int
1 error
Language: Java

public class XCubic{
  public static void main(String[] args){
    int inputValue = Integer.valueOf(System.console().readLine());
    System.out.println(inputValue * inputValue * inputValue);
  }
}

Compiler output:
Main.java:1: error: class XCubic is public, should be declared in a file named XCubic.java
public class XCubic{
       ^
1 error
Language: Java

package introduction;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class XCubic {
	  public static void main(String[] args){
			    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			    try{
			    String value = br.readLine();
			    int inputValue = Integer.valueOf(value);
			    System.out.println(inputValue * inputValue * inputValue);
			    }catch(IOException e){

			    }
			  }


}

Compiler output:
Main.java:7: error: class XCubic is public, should be declared in a file named XCubic.java
public class XCubic {
       ^
1 error
Language: Java

public class XCubic {
public static void main(String[] args){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			    try{
			    String value = br.readLine();
			    int inputValue = Integer.valueOf(value);
			    System.out.println(inputValue * inputValue * inputValue);
			    }catch(IOException e){

			    }
			  }


}

Compiler output:
Main.java:1: error: class XCubic is public, should be declared in a file named XCubic.java
public class XCubic {
       ^
Main.java:3: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
^
  symbol:   class BufferedReader
  location: class XCubic
Main.java:3: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                        ^
  symbol:   class BufferedReader
  location: class XCubic
Main.java:3: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                                           ^
  symbol:   class InputStreamReader
  location: class XCubic
Main.java:8: error: cannot find symbol
			    }catch(IOException e){
			           ^
  symbol:   class IOException
  location: class XCubic
5 errors
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class XCubic {
	  public static void main(String[] args){
			    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			    try{
			    String value = br.readLine();
			    int inputValue = Integer.valueOf(value);
			    System.out.println(inputValue * inputValue * inputValue);
			    }catch(IOException e){

			    }
			  }


}

Compiler output:
Main.java:5: error: class XCubic is public, should be declared in a file named XCubic.java
public class XCubic {
       ^
1 error
Language: Java

import java.io.*;
class Main {
	public static void main(String[] args){
  int x;
  int y = 0;
    System.out.print("input integer:");
     InputStreamReader isr = new InputStreamReader(System.in);
      BufferedReader br = new BufferedReader(isr);
  
  
  	String buf = br.readLine();
  	x = Integer.parseInt(buf);
      y = x * x * x;
 
  		System.out.println(y);
  		}
  		}

Compiler output:
Main.java:11: error: unreported exception IOException; must be caught or declared to be thrown
  	String buf = br.readLine();
  	                        ^
1 error
Language: Java

import java.io.*;
class Main {
	public static void main(String[] args)throws Exception{
  int x;
  int y = 0;
  System.out.print("input integer:")
     InputStreamReader isr = new InputStreamReader(System.in);
      BufferedReader br = new BufferedReader(isr);
  
  	String buf = br.readLine();
  	x = Integer.parseInt(buf);
      y = x * x * x;

  		System.out.println(y);
  		}
  		}

Compiler output:
Main.java:6: error: ';' expected
  System.out.print("input integer:")
                                    ^
1 error
Language: Java

import java.io.*;

class Main{
  public static void main(String[] args){
    BufferedReader br =
    new BufferedReader(new InputStreamReader(System.in));

    String str = br.readLine();
    int x = Integer.parseInt(str);

    System.out.println( x*x*x );
    }
}

Compiler output:
Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown
    String str = br.readLine();
                            ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;

public class Sample {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in, "UTF-8"));
			int n = br.read();
			if (n>=1 && n<=100)
			System.out.println(n*n*n);
		} catch (UnsupportedEncodingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

}

Compiler output:
Main.java:6: error: class Sample is public, should be declared in a file named Sample.java
public class Sample {
       ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;

public class Sample {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			System.out.println("Enter a number between 1 and 100");
			int n = Integer.parseInt(br.readLine());
			int cube = 0;
			if (n>=1 && n<=100)
				cube = n*n*n;
			System.out.println(cube);
		} catch (UnsupportedEncodingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

Compiler output:
Main.java:25: error: reached end of file while parsing
	}
	 ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;

public class Sample {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			System.out.println("Enter a number between 1 and 100");
			int n = Integer.parseInt(br.readLine());
			int cube = 0;
			if (n>=1 && n<=100)
				cube = n*n*n;
			System.out.println(cube);
		} catch (UnsupportedEncodingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}
}

Compiler output:
Main.java:6: error: class Sample is public, should be declared in a file named Sample.java
public class Sample {
       ^
1 error
Language: Java

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		System.out.println((int) Math.pow(x, 3));
	}

}

Compiler output:
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

public class Main {
	public static void main(String[] args){
		try {
			BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
			String line;
			while ((line = stdReader.readLine()) != null){
				int x = Integer.parseInt(line);
				System.out.println(x*x*x);
			}
		} catch (Exception e) {
			e.getStackTrace();
			System.exit(0);
		}
	}
}

Compiler output:
Main.java:4: error: cannot find symbol
			BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
			^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
			BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
			                               ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
			BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
			                                                  ^
  symbol:   class InputStreamReader
  location: class Main
3 errors
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class AOJ {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int x = Integer.parseInt(br.readLine());
        System.out.println(x * x * x);
    }
}

Compiler output:
Main.java:5: error: class AOJ is public, should be declared in a file named AOJ.java
public class AOJ {
       ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class AOJ {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int x = Integer.parseInt(br.readLine());
        x *= x *= x;
        System.out.println(x);
    }
}

Compiler output:
Main.java:5: error: class AOJ is public, should be declared in a file named AOJ.java
public class AOJ {
       ^
1 error
Language: Java

public class Main {
  public static void main(String[] args) {
    System.out.println(args[0] * args[0] * args[0]);
  }
}

Compiler output:
Main.java:3: error: bad operand types for binary operator '*'
    System.out.println(args[0] * args[0] * args[0]);
                               ^
  first type:  String
  second type: String
1 error
Language: Java

public class Main {
  public static void main(String[] args) {
    int y = x * x;
    y = y * x;
    System.out.println(y);
  }
}
 

Compiler output:
Main.java:3: error: cannot find symbol
    int y = x * x;
            ^
  symbol:   variable x
  location: class Main
Main.java:3: error: cannot find symbol
    int y = x * x;
                ^
  symbol:   variable x
  location: class Main
Main.java:4: error: cannot find symbol
    y = y * x;
            ^
  symbol:   variable x
  location: class Main
3 errors
Language: Java

public class Main {
  public static void main(String[] args) {
    try {
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in)):
      String input = br.readLine();
      int x = Integer.parseInt(input);
      System.out.println(x * x * x);
    } catch(IOException e) {
      System.out.println(e);
    }
  }
}

Compiler output:
Main.java:4: error: ';' expected
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in)):
                                                                              ^
1 error