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

import java.util.Scanner;

public class Main {
 public static void main(String[] args){
     Scanner sc = new Scanner (System.in);
     int x = sc.nextInt();
     int answer = x*x*x;
     System.out.printin(answer);
 }
}


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

import java.io.*;

public class Keisan4{
    public static void main(String[] args){
        System.out.println("Input number");
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try{
            String line = reader.readLine();
            int N = Integer.parseInt(line); 
            if(N<=1 || 100<=N){
                System.out.println("Number is not collect");
            }else{
                System.out.println(N*N*N);
            }
            }catch(IOException e){
            System.out.println(e);
        }catch(NumberFormatException e){
            System.out.println("Number is not collect");
        }
    }
}


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

import java.io.*;

public class Mian{
    public static void main(String[] args){
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try{
            String line = reader.readLine();
            int N = Integer.parseInt(line); 
            if(N<=1 || 100<=N){
                System.out.println("Number is not collect");
            }else{
                System.out.println(N*N*N);
            }
            }catch(IOException e){
            System.out.println(e);
        }catch(NumberFormatException e){
            System.out.println("Number is not collect");
        }
    }
}


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

import java.io.*;

public class XCubic
{
    public static void main(String[] args)
    {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try 
        {
            String line = reader.readLine();
            int num = Integer.parseInt(line);
            int Y;
            Y = 3;
            
            System.out.println(Math.pow(num,Y));       

        }
        catch (IOException e) 
        {
            System.out.println(e);
        } 
        catch (NumberFormatException e) 
        {
            System.out.println("The input number was not correct.");
        }
        
    }
}


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) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try {
            String line = reader.readLine();
            int x = Integer.parseInt(line);
            System.out.println(x^3);
        } catch (IOException e) {
            System.out.println(e);
        } catch (NumberFormatException e) {
            System.out.println(e);
        }
    }



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

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


Compiler output:
Main.java:3: error: cannot find symbol
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Main
Main.java:3: error: cannot find symbol
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		                            ^
  symbol:   class BufferedReader
  location: class Main
Main.java:3: error: cannot find symbol
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		                                               ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:8: error: cannot find symbol
		} catch (IOException e) {
		         ^
  symbol:   class IOException
  location: class Main
4 errors
Language: Java

import java.io.*;

public class enn {
    public static void main(String[] args){
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try{
            String line = reader.readLine();
            double r=Integer.parseInt(line);
            System.out.printf("%6f %6f",2*Math.PI*r,Math.PI*r*r);
        }catch (IOException e){
	    System.out.println(e);
        }
    }


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

import java.io.*;

public class enn {
    public static void main(String[] args){
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try{
            String line = reader.readLine();
            double r=Integer.parseInt(line);
            System.out.printf("%6f %6f",2*Math.PI*r,Math.PI*r*r);
        }catch (IOException e){
	    System.out.println(e);
        }
    }
}


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

#include <iostream>

using namespace std;

int main() {
    int a, b, x, y;
    cin >> a >> b;
    x = a * b;
    y = 2 * (a+b);
    cout << x << endl;
    cout << y << endl;
    return 0;
}



Compiler output:
Main.java:1: error: illegal character: '#'
#include <iostream>
^
Main.java:1: error: class, interface, enum, or record expected
#include <iostream>
         ^
Main.java:7: error: not a statement
    cin >> a >> b;
             ^
Main.java:10: error: not a statement
    cout << x << endl;
              ^
Main.java:11: error: not a statement
    cout << y << endl;
              ^
Main.java:5: error: unnamed classes are a preview feature and are disabled by default.
int main() {
^
  (use --enable-preview to enable unnamed classes)
6 errors
Language: Java

#include <iostream>

using namespace std;

int main() {
    int a, b, x, y;
    cin >> a >> b;
    x = a * b;
    y = 2 * (a+b);
    cout << x << y << endl;
   
    return 0;
}



Compiler output:
Main.java:1: error: illegal character: '#'
#include <iostream>
^
Main.java:1: error: class, interface, enum, or record expected
#include <iostream>
         ^
Main.java:7: error: not a statement
    cin >> a >> b;
             ^
Main.java:10: error: not a statement
    cout << x << y << endl;
                   ^
Main.java:5: error: unnamed classes are a preview feature and are disabled by default.
int main() {
^
  (use --enable-preview to enable unnamed classes)
5 errors
Language: Java

#include <iostream>

using namespace std;

int main() {
    int a, b, x, y;
    cin >> a >> b;
    x = a * b;
    y = 2 * (a+b);
    cout << x << " " << y << endl;
   
    return 0;
}



Compiler output:
Main.java:1: error: illegal character: '#'
#include <iostream>
^
Main.java:1: error: class, interface, enum, or record expected
#include <iostream>
         ^
Main.java:7: error: not a statement
    cin >> a >> b;
             ^
Main.java:10: error: not a statement
    cout << x << " " << y << endl;
                          ^
Main.java:5: error: unnamed classes are a preview feature and are disabled by default.
int main() {
^
  (use --enable-preview to enable unnamed classes)
5 errors
Language: Java

import java.util.*;

public class X_Cubic {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        short x = scan.nextShort();
        System.out.println(x*x*x);
    }
}


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

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

public class ITP1_1_B {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        short x = scan.nextShort();
        System.out.println(x*x*x);
    }
}


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

public class Main{
    public static void main(String[] args){
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try{
            int x,a;
            System.out.println("Input x:");
            String line = reader.readLine();
            x = Integer.parseInt(line);
            a = x*x*x;
	        System.out.println("x^3="+a);

        }catch(IOException e){
            System.out.println(e);
        }catch(NumberFormatException e){
System.out.println("The input number was not correct.");

        }
    }
}



Compiler output:
Main.java:3: error: cannot find symbol
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:3: error: cannot find symbol
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
                                    ^
  symbol:   class BufferedReader
  location: class Main
Main.java:3: error: cannot find symbol
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
                                                       ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:12: error: cannot find symbol
        }catch(IOException e){
               ^
  symbol:   class IOException
  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(x*x*x);
	}

}


Compiler output:
Main.java:3: 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.Scanner;

public class ITP1_1_B {

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


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

import java.util.Scanner;

public class xcubic {
    public static void main(String[]args){
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int answer=x*x*x;
        System.out.println(answer);
        sc.close();
    }
}


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

public class Main {
    public static void main(String[] args){
        int x = Integer.parseInt(args[0])
        if (x < 0 || x > 100) {
            return -1;
        }
        return x*x*x;
    }
}



Compiler output:
Main.java:3: error: ';' expected
        int x = Integer.parseInt(args[0])
                                         ^
1 error
Language: Java

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


Compiler output:
Main.java:3: error: ';' expected
        int x = Integer.parseInt(args[0])
                                         ^
1 error
Language: Java

import java.io.*;

public class Main {
    public static void main (String[] args) {
    
    BufferedReader input = new BufferedReader (new InputStreamReader(System.in));
    int x = input.readLine();
    x = x^3;
    System.out.println(x);
    }
}


Compiler output:
Main.java:7: error: incompatible types: String cannot be converted to int
    int x = input.readLine();
                          ^
1 error
Language: Java

import java.io.*;

public class Main {
    public static void main (String[] args) {
    
    BufferedReader input = new BufferedReader (new InputStreamReader(System.in));
    int x = input.readLine();
    System.out.println(x^3);
    }
}


Compiler output:
Main.java:7: error: incompatible types: String cannot be converted to int
    int x = input.readLine();
                          ^
1 error
Language: Java

import java.io.*;

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



Compiler output:
Main.java:9: error: ';' expected
    output = output^3
                     ^
1 error
Language: Java

import java.io.*;

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



Compiler output:
Main.java:9: error: ';' expected
    output = output * output * output
                                     ^
1 error
Language: Java

import java.io.*;

public class Main {
    public static void main (String[] args) thorws java.lang.Exception {
    
    BufferedReader input = new BufferedReader (new InputStreamReader(System.in));
    String x   = input.readLine();
    int output = Integer.parseInt(x);
    output = output^3;
    System.out.println(output);
    }
}



Compiler output:
Main.java:4: error: ';' expected
    public static void main (String[] args) thorws java.lang.Exception {
                                           ^
1 error
Language: Java

import java.io.*;


public class Menseki {
	public static void main(String[] args) {
		String line;
		int n;
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			line = reader.readLine();
			n = Integer.parseInt(line);
			System.out.println(n*n*n);
		}catch(NumberFormatException e) {
			System.out.println(e);
		}catch(IOException e) {
			System.out.println(e);
		}
	}
}


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

import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner in=ndew Scanner(System.in);
        int x=Integer.purseInt(in.next());
        System.out.println(x*x*x);
    }
}


Compiler output:
Main.java:5: error: ';' expected
        Scanner in=ndew Scanner(System.in);
                       ^
1 error
Language: Java

import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner in=ndew Scanner(System.in);
        int x=Integer.parseInt(in.next());
        System.out.println(x*x*x);
    }
}


Compiler output:
Main.java:5: error: ';' expected
        Scanner in=ndew Scanner(System.in);
                       ^
1 error
Language: Java

public class v {

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


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

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int x;
		x = sc.nextInt();

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

		sc.close();
	}

}



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

inport java.util.scanner
public class main(){
    public static void main(){
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        System.out.println(X*x*x);
    }
    
    
}


Compiler output:
Main.java:1: error: class, interface, enum, or record expected
inport java.util.scanner
^
Main.java:2: error: '{' expected
public class main(){
                 ^
2 errors
Language: Java

inport java.util.scanner
public class main(){
    public static void main(){
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        System.out.println(x*x*x);
    }
}


Compiler output:
Main.java:1: error: class, interface, enum, or record expected
inport java.util.scanner
^
Main.java:2: error: '{' expected
public class main(){
                 ^
2 errors
Language: Java

inport java.util.scanner
public class main(){
    public static void main(){
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int ans = x*x*x;
        System.out.println(ans);
    }
}


Compiler output:
Main.java:1: error: class, interface, enum, or record expected
inport java.util.scanner
^
Main.java:2: error: '{' expected
public class main(){
                 ^
2 errors
Language: Java

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


Compiler output:
Main.java:1: error: ';' expected
import java.util.scanner
                        ^
Main.java:2: error: '{' expected
public class main(){
                 ^
2 errors
Language: Java

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


Compiler output:
Main.java:2: error: '{' expected
public class main(){
                 ^
1 error
Language: Java

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


Compiler output:
Main.java:2: error: '{' expected
public class main(){
                 ^
1 error
Language: Java

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


Compiler output:
Main.java:2: error: '{' expected
public class main(){
                 ^
1 error
Language: Java

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


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.util.Scanner;
public class main{
    public static void main(String[] arg){
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int ans = x*x*x;
        System.out.println(ans);
    }
}


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

public class main {

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

}



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

import java.util.Scanner;

public class main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int wkInt = sc.nextInt();
	    System.out.println(wkInt * wkInt * wkInt);
	}

}



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

import java.io.*;




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


int x = reader.readLine();


System.out.print(Math.pow(x,3));

}
}



Compiler output:
Main.java:9: error: ')' or ',' expected
= new BufferedReader(new InputStreamReader(System.in);
                                                     ^
1 error
Language: Java

import java.io.*;

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

int x=reader.readLine();
Ststem.out.println(x*x*x);
}
}


Compiler output:
Main.java:8: error: incompatible types: String cannot be converted to int
int x=reader.readLine();
                     ^
Main.java:9: error: package Ststem does not exist
Ststem.out.println(x*x*x);
      ^
2 errors
Language: Java

import java.io.*;

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


int x = reader.readLine();



System.out.print(x * x * x);


}
}



Compiler output:
Main.java:6: error: ')' or ',' expected
= new BufferedReader(new InputStreamReader(System.in);
                                                     ^
1 error
Language: Java

import java.io.*;

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


int x = reader.readLine();

x = math.pow(x,3);


System.out.print(x);


}
}



Compiler output:
Main.java:6: error: ')' or ',' expected
= new BufferedReader(new InputStreamReader(System.in);
                                                     ^
1 error
Language: Java

import java.io.*;

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


int x = reader.readLine();

x = Math.pow(x,3);


System.out.print(x);


}
}



Compiler output:
Main.java:6: error: ')' or ',' expected
= new BufferedReader(new InputStreamReader(System.in);
                                                     ^
1 error
Language: Java

import java.io.*;

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

int x=reader.readLine();
System.out.println(x*x*x);
}
}


Compiler output:
Main.java:8: error: incompatible types: String cannot be converted to int
int x=reader.readLine();
                     ^
1 error
Language: Java

import java.io.*;

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


int x = int(reader.readLine());

x = Math.pow(x,3);


System.out.print(x);


}
}



Compiler output:
Main.java:6: error: ')' or ',' expected
= new BufferedReader(new InputStreamReader(System.in);
                                                     ^
Main.java:9: error: '.class' expected
int x = int(reader.readLine());
           ^
Main.java:9: error: ';' expected
int x = int(reader.readLine());
                             ^
3 errors
Language: Java

import java.io.*;

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


int x = Integer.parseInt(reader.readLine());

x = Math.pow(x,3);


System.out.print(x);


}
}



Compiler output:
Main.java:6: error: ')' or ',' expected
= new BufferedReader(new InputStreamReader(System.in);
                                                     ^
1 error
Language: Java

import java.io.*;

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


int x = Integer.parseInt(reader.readLine());

x = Math.pow(x,3);


System.out.print(x);


}
}



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

import java.io.*;

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


long x = Integer.parseInt(reader.readLine());

x = Math.pow(x,3);


System.out.print(x);


}
}



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

import java.io.*;

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

String x=reader.readLine();
System.out.println(x*x*x);
}
}


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


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

System.out.print(math.pow(x,3));


}
}



Compiler output:
Main.java:5: error: cannot find symbol
System.out.print(math.pow(x,3));
                          ^
  symbol:   variable x
  location: class Main
Main.java:5: error: cannot find symbol
System.out.print(math.pow(x,3));
                 ^
  symbol:   variable math
  location: class Main
2 errors
Language: Java


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


System.out.println(math.pow(x,3));


}
}



Compiler output:
Main.java:6: error: cannot find symbol
System.out.println(math.pow(x,3));
                            ^
  symbol:   variable x
  location: class Main
Main.java:6: error: cannot find symbol
System.out.println(math.pow(x,3));
                   ^
  symbol:   variable math
  location: class Main
2 errors
Language: Java

public class Main {

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


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

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


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


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


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

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


Compiler output:
Main.java:5: error: cannot find symbol
		Striung str = br.readLine();
		^
  symbol:   class Striung
  location: class Main
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:5: error: unreported exception IOException; must be caught or declared to be thrown
		String str = br.readLine();
		                        ^
1 error
Language: Java

public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        System.out.println(n*n*n);
    }
}
    


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

#include<iostream>

int main(){
    int x;
    std::cin>>x;
    std::cout<<x*x*x<<std::endl;
    return 0;
}


Compiler output:
Main.java:1: error: illegal character: '#'
#include<iostream>
^
Main.java:5: error: not a statement
    std::cin>>x;
            ^
Main.java:6: error: not a statement
    std::cout<<x*x*x<<std::endl;
                    ^
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
#include<iostream>
        ^
  (use --enable-preview to enable unnamed classes)
4 errors
Language: Java

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


Compiler output:
Main.java:7: error: cannot find symbol
    BufferedReader br = new BufferedReader(new InputStreamReader(System,in));
                                                                 ^
  symbol:   variable System
  location: class Main
Main.java:7: error: cannot find symbol
    BufferedReader br = new BufferedReader(new InputStreamReader(System,in));
                                                                        ^
  symbol:   variable in
  location: class Main
2 errors
Language: Java

import java.io.*;

public class B{
    public static void main(String[] args){
        BufferedReader reader = new BufferedReader(new InputStreamReader ( System . in ) ) ;
        try {
            System.out.println("値を入力してください：");
            String line =reader.readLine();
            int n = Integer.parseInt(line);
            System.out.println(n*n*n);
            }
            catch (IOException e){
                System.out.println(e);         
               }
        }   
    }
        
    


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

import java.io.*;

public class B{
    public static void main(String[] args){
        BufferedReader reader = new BufferedReader(new InputStreamReader ( System . in ) ) ;
        try {
            System.out.println("値を入力してください：");
            String line =reader.readLine();
            int n = Integer.parseInt(line);
            if(1<=n && n<=100){
            System.out.println(n*n*n);
            }else{
                System.out.println("値の範囲が正しくありません");
            }
        }
            catch (IOException e){
                System.out.println(e);         
               }
        }   
    }


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

import java.io.*;

public class B{
    public static void main(String[] args){
        BufferedReader reader = new BufferedReader(new InputStreamReader ( System . in ) ) ;
        try {
            String line =reader.readLine();
            int n = Integer.parseInt(line);
            if(1<=n && n<=100){
            System.out.println(n*n*n);
            }else{
                System.out.println("値の範囲が正しくありません");
            }
        }
            catch (IOException e){
                System.out.println(e);         
               }
        }   
    }
        
    


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

import java.io.*;

public class B{
    public static void main(String[] args){
        BufferedReader reader = new BufferedReader(new InputStreamReader ( System . in ) ) ;
        try {
            String line =reader.readLine();
            int x = Integer.parseInt(line);
            if(1<=x && x<=100){
            System.out.println(x*x*x);
            }else{
                System.out.println("値の範囲が正しくありません");
            }
        }
            catch (IOException e){
                System.out.println(e);         
               }
        }   
    }
        
    


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

import java.util.Scanner;

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

}


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

import java.util.Scanner;

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

}


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

package syokora_p;

import java.util.Scanner;

public class P01 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		System.out.println(x * x * x);

	}

}


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

package syokora_p;

import java.util.Scanner;

public class P {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		System.out.println(x * x * x);

	}

}


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

package syokora_p;

import java.util.Scanner;

public class MMM {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		System.out.println(x * x * x);

	}

}


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

import java.util.Scanner;

public class MMM {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		System.out.println(x * x * x);

	}

}


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

class Main {
    public static void main (String[] args) {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    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 sc = new Scanner(System.in);
        x = sc.nextInt();
        System.out.println(solution(x));
	}

	public static solution (int x) {
		return x * x * x;
	}
}


Compiler output:
Main.java:8: error: invalid method declaration; return type required
	public static solution (int x) {
	              ^
1 error
Language: Java

public class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        System.out.println(solution(x));
	}

	public static int solution (int x) {
		return 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
Main.java:4: error: cannot find symbol
        x = sc.nextInt();
        ^
  symbol:   variable x
  location: class Main
Main.java:5: error: cannot find symbol
        System.out.println(solution(x));
                                    ^
  symbol:   variable x
  location: class Main
4 errors
Language: Java

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

public class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        System.out.println(solution(x));
	}

	public static int solution (int x) {
		return x * x * x;
	}
}


Compiler output:
Main.java:7: error: cannot find symbol
        x = sc.nextInt();
        ^
  symbol:   variable x
  location: class Main
Main.java:8: error: cannot find symbol
        System.out.println(solution(x));
                                    ^
  symbol:   variable x
  location: class Main
2 errors
Language: Java

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

public class Main {
	public static int solution (int x) {
		return x * x * x;
	}

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


Compiler output:
Main.java:11: error: cannot find symbol
        x = sc.nextInt();
        ^
  symbol:   variable x
  location: class Main
Main.java:12: error: cannot find symbol
        System.out.println(solution(x));
                                    ^
  symbol:   variable x
  location: class Main
2 errors
Language: Java


public class Main {

	public static void main(String[] args) {
		// １つの整数 x を読み込んで、x の３乗を計算し結果を出力するプログラム
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		System.out.println(x * x * x);
		
	}

}



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

import java.util.*;

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


Compiler output:
Main.java:4: error: cannot find symbol
	public static void main(Sting[]args){
	                        ^
  symbol:   class Sting
  location: class Main
Main.java:5: error: cannot find symbol
	Scannner in = new Scanner(System.in);
	^
  symbol:   class Scannner
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Main2 {
    public static void main(String[] args) {
      Scanner sc =new Scanner(System.in);
        int i = sc.nextInt();
        System.out.println(i*i*i);
    }
}


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

public class Main{
  public static void main(String[] args){
    int x = Integer.parse(args[0]);
    int y = Math.pow(x, 3);
    System.out.println(y);
  }
}


Compiler output:
Main.java:3: error: cannot find symbol
    int x = Integer.parse(args[0]);
                   ^
  symbol:   method parse(String)
  location: class Integer
Main.java:4: error: incompatible types: possible lossy conversion from double to int
    int y = Math.pow(x, 3);
                    ^
2 errors
Language: Java

public class Main{
  public static void main(String[] args){
    int x = Integer.parse(args[0]);
    int y = Math.pow(x, 3.0d);
    System.out.println(y);
  }
}


Compiler output:
Main.java:3: error: cannot find symbol
    int x = Integer.parse(args[0]);
                   ^
  symbol:   method parse(String)
  location: class Integer
Main.java:4: error: incompatible types: possible lossy conversion from double to int
    int y = Math.pow(x, 3.0d);
                    ^
2 errors
Language: Java

public class Main{
  public static void main(String[] args){
    int x = Integer.parseInt(args[0]);
    int y = Math.pow(x, 3);
    System.out.println(y);
  }
}


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

public class Main{
  public static void main(String[] args){
    int x = Integer.parseInt(args[0]);
    int y = Integer.parseInt(Math.pow(x, 3));
    System.out.println(y);
  }
}


Compiler output:
Main.java:4: error: incompatible types: double cannot be converted to String
    int y = Integer.parseInt(Math.pow(x, 3));
                                     ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
Language: Java

public class Main{

  public static void main(String[] args){

    int x = Integer.parseInt(System.in);
    System.out.println(x*x*x);
  }
}


Compiler output:
Main.java:5: error: incompatible types: InputStream cannot be converted to String
    int x = Integer.parseInt(System.in);
                                   ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
Language: Java

import java.util.Scanner;

public class Test {

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

	}
}


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

import java.util.Scanner;

public class Test {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		System.out.println(x*x*x);
		sc.close();

	}
}


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

import java.util.Scanner;

public class Test {

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

	}
}


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

public class Main {

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

	}
}


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) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);
		String input = sc.nextLine();

		int i = Integer.parseInt(input);

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

}



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

import java.util.Scanner;

public class ITP11B {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);
		String input = sc.nextLine();

		int i = Integer.parseInt(input);

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

}



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

import java.util.Scanner;


public class ITP11B {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		int i = Integer.parseInt(line);
				
		System.out.println(i * i * i);
	}

}



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

#include <stdio.h>

int main(int argc, char const *argv[])
{
	int x;
	scanf("%d", &x);
	printf("%d\n", x*x*x); 

	return 0;
}


Compiler output:
Main.java:1: error: illegal character: '#'
#include <stdio.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include <stdio.h>
         ^
Main.java:6: error: class, interface, enum, or record expected
	scanf("%d", &x);
	^
Main.java:7: error: class, interface, enum, or record expected
	printf("%d\n", x*x*x); 
	^
Main.java:9: error: class, interface, enum, or record expected
	return 0;
	^
Main.java:10: error: class, interface, enum, or record expected
}
^
6 errors
Language: Java

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		
		int x;
		
		x = scan.nextInt();
		
		x=x*x*x;
		
		System.out.println(x);
				

	}


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

import java.utill.Scanner;

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


Compiler output:
Main.java:1: error: package java.utill does not exist
import java.utill.Scanner;
                 ^
Main.java:5: error: cannot find symbol
  Scanner sc = new Scanner(System.in);
  ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
  Scanner sc = new Scanner(System.in);
                   ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: Java

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



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

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



Compiler output:
Main.java:2: error: class x is public, should be declared in a file named x.java
public class x {
       ^
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(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