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

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

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

Compiler output:
Main.java:7: error: illegal start of expression
	public static void main (String[] args) 
	^
1 error
Language: Java

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

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

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

Compiler output:
Main.java:6: error: illegal character: '\u3000'
        BufferedReader stdReader =?new BufferedReader(new InputStreamReader(System.in));
                                  ^
1 error
Language: Java

import java.util.Scanner;
public class Input {
	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:2: error: class Input is public, should be declared in a file named Input.java
public class Input {
       ^
1 error
Language: Java

package start;

import java.util.Scanner;
public class Input {
	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:4: error: class Input is public, should be declared in a file named Input.java
public class Input {
       ^
1 error
Language: Java

import java.util.Scanner;
public class Input {
	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:2: error: class Input is public, should be declared in a file named Input.java
public class Input {
       ^
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:1: error: class main is public, should be declared in a file named main.java
public class main {
       ^
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
3 errors
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:1: error: class main is public, should be declared in a file named main.java
public class main {
       ^
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
3 errors
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:1: error: class main is public, should be declared in a file named main.java
public class main {
       ^
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
3 errors
Language: Java

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

}

Compiler output:
Main.java:1: error: class main is public, should be declared in a file named main.java
public class main {
       ^
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
3 errors
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();
		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.util.Scanner;
public class ITP1_1_B {

	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:2: 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) {

		Scanner sc=new Scanner(System.in);
		int k=sc.nextInt();
		System.out.println(k*k*k);
	}

}

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

import java.util.Scanner;
public class ITP1_1_B {

	public static void main(String[] args) {

		Scanner sc=new Scanner(System.in);
		int k=sc.nextInt();
		System.out.println(k*k*k);
	}

}

Compiler output:
Main.java:2: 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

package start;

import java.util.Scanner;
public class Input {
	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:4: error: class Input is public, should be declared in a file named Input.java
public class Input {
       ^
1 error
Language: Java

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

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

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

Compiler output:
Main.java:4: error: incompatible types: int cannot be converted to byte[]
  System.in.read(x);
                 ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
Language: Java

import java.util.Scanner;

public class XCubic{
	public static void main(String[] args) throws java.io.IOException{
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		sc.close();
		double x = Double.valueOf(num).doubleValue();
		x = Math.pow(x,3);
		int result = (int)x;
		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;


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

}

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


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

}

Compiler output:
Main.java:4: 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){
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String nb = br.readLine();
		int ｘ = Integer.parseInt（nb);
		System.out.println(Math.pow(x,3));
	}
}

Compiler output:
Main.java:6: error: illegal character: '\uff08'
		int ? = Integer.parseInt?nb);
		                        ^
Main.java:6: error: not a statement
		int ? = Integer.parseInt?nb);
		                         ^
Main.java:6: error: ';' expected
		int ? = Integer.parseInt?nb);
		                           ^
3 errors
Language: Java

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

Compiler output:
Main.java:6: error: illegal character: '\uff08'
		int ? = Integer.parseInt?nb);
		                        ^
Main.java:6: error: not a statement
		int ? = Integer.parseInt?nb);
		                         ^
Main.java:6: error: ';' expected
		int ? = Integer.parseInt?nb);
		                           ^
3 errors
Language: Java

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

Compiler output:
Main.java:6: error: illegal start of expression
		int ?; = Integer.parseInt?nb);
		       ^
Main.java:6: error: illegal character: '\uff08'
		int ?; = Integer.parseInt?nb);
		                         ^
Main.java:6: error: not a statement
		int ?; = Integer.parseInt?nb);
		                          ^
Main.java:6: error: ';' expected
		int ?; = Integer.parseInt?nb);
		                            ^
4 errors
Language: Java

import java.io.*;

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

		int x;
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String buf = br.readLine();
		ｘ = Integer.parseInt（buf);

		System.out.println(x);
	}
}

Compiler output:
Main.java:10: error: illegal character: '\uff08'
		? = Integer.parseInt?buf);
		                    ^
Main.java:10: error: not a statement
		? = Integer.parseInt?buf);
		                     ^
Main.java:10: error: ';' expected
		? = Integer.parseInt?buf);
		                        ^
3 errors
Language: Java

import java.io.*;

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

		int x;
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String buf = br.readLine();
		x = Integer.parseInt（buf);

		System.out.println(x);
	}
}

Compiler output:
Main.java:10: error: illegal character: '\uff08'
		x = Integer.parseInt?buf);
		                    ^
Main.java:10: error: not a statement
		x = Integer.parseInt?buf);
		                     ^
Main.java:10: error: ';' expected
		x = Integer.parseInt?buf);
		                        ^
3 errors
Language: Java

import java.io.*;

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

		int x;
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String buf = br.readLine(3);
		x = Integer.parseInt(buf);

		System.out.println(x);
	}
}

Compiler output:
Main.java:9: error: no suitable method found for readLine(int)
		String buf = br.readLine(3);
		               ^
    method BufferedReader.readLine(boolean,boolean[]) is not applicable
      (actual and formal argument lists differ in length)
    method BufferedReader.readLine() is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: Java

import java.io.*;

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

Compiler output:
Main.java:8: error: no suitable method found for readLine(int)
		String buf = br.readLine(3);
		               ^
    method BufferedReader.readLine(boolean,boolean[]) is not applicable
      (actual and formal argument lists differ in length)
    method BufferedReader.readLine() is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: Java

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

Compiler output:
Main.java:1: error: <identifier> expected
import java.io.;
               ^
Main.java:7: error: ')' or ',' expected
		System.out.println(Math.pow(x,3);
		                                ^
2 errors
Language: Java

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

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

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

Compiler output:
Main.java:5: error: no suitable method found for readLine(int)
		String nb = buf.readLine(3);
		               ^
    method BufferedReader.readLine(boolean,boolean[]) is not applicable
      (actual and formal argument lists differ in length)
    method BufferedReader.readLine() is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: Java

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

Compiler output:
Main.java:5: error: no suitable method found for readLine(int)
		String nb = buf.readLine(3);
		               ^
    method BufferedReader.readLine(boolean,boolean[]) is not applicable
      (actual and formal argument lists differ in length)
    method BufferedReader.readLine() is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: Java

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

public class XCubic {
	public static void main(String args[]) throws NumberFormatException, IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		long x = Long.parseLong(br.readLine());
		System.out.println(x * x * x);
	}
}

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.lang.*;

class Main{
   public static void main(String[] args){
     Scanner = std new Scanner(System.in);
     int n = std.nextInt(); 
     System.out.println(math.pow(n,3));
  }
}
     

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

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

Compiler output:
Main.java:5: error: cannot find symbol
     Scanner std = new Scanner(System.in);
     ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
     Scanner std = new Scanner(System.in);
                       ^
  symbol:   class Scanner
  location: class Main
Main.java:7: error: cannot find symbol
     System.out.println(math.pow(n,3));
                        ^
  symbol:   variable math
  location: class Main
3 errors
Language: Java

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

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

/**
 * @param num1 = 計算用
 * @param answer = 計算結果
 * @version 1.0
 * @author T Oota
 * */
public class XCubic {

	public static void main(String[] args){

		//数値に変換
		int x = Integer.parseInt(args[0]);
		//乗算
		int answer = x * x * x;

			System.out.println(answer);

	}

}

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){

		int x = 2;
		int answer = x * x * x;

			System.out.println(answer);

	}

}

Compiler output:
Main.java:2: 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){

		int x = 2;

		int answer = x * x * x;

			System.out.println(answer);

	}

}

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

public class XCubic {

	public static void main(String[] args){

		//数値に変換
		int x;
		//乗算
		int answer = x * x * x;

			System.out.println(answer);

	}

}

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

public class Main {

	public static void main(String[] args){

		//数値に変換
		int x;
		//乗算
		int answer = x * x * x;

			System.out.println(answer);

	}

}

Compiler output:
Main.java:8: error: variable x might not have been initialized
		int answer = x * x * x;
		             ^
1 error
Language: Java

public class Main {

	public static void main(String[] args){

		int answer = x * x * x;

			System.out.println(answer);

	}

}

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

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

Compiler output:
Main.java:3: error: incompatible types: String cannot be converted to int
int i = Integer.toString(args[0]);
                             ^
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) {
		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

import java.io.*;

class Cubic{

	public static void main(String[] args) thorows IOException{

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

		String str = br.readLine();
		int x = Intger.parseInt(str);
		System.out.println(x*x*x);
	}
}

Compiler output:
Main.java:5: error: ';' expected
	public static void main(String[] args) thorows IOException{
	                                      ^
1 error
Language: Java

import java.io.*;

class Cubic{

	public static void main(String[] args) thorws IOException{

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

		String str = br.readLine();
		int x = Intger.parseInt(str);
		System.out.println(x*x*x);
	}
}

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

import java.io.*;

class Cubic{

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

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

		String str = br.readLine();
		int x = Intger.parseInt(str);
		System.out.println(x*x*x);
	}
}

Compiler output:
Main.java:10: error: cannot find symbol
		int x = Intger.parseInt(str);
		        ^
  symbol:   variable Intger
  location: class Cubic
1 error
Language: Java

import java.io.*;

class Main{

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

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

		String str = br.readLine();
		int x = Intger.parseInt(str);
		System.out.println(x*x*x);
	}
}

Compiler output:
Main.java:10: error: cannot find symbol
		int x = Intger.parseInt(str);
		        ^
  symbol:   variable Intger
  location: class Main
1 error
Language: Java

    public static void main(String[] args) {
        Optional<String> input = Optional.of(args[0]);
        long x = Integer.parseInt(input.orElse("0"));
        System.out.println(x * x * x);
    }

Compiler output:
Main.java:1: 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)
1 error
Language: Java

public class Main {

    public static void main(String[] args) {
        Optional<String> input = Optional.of(args[0]);
        long x = Integer.parseInt(input.orElse("0"));
        System.out.println(x * x * x);
    }
}

Compiler output:
Main.java:4: error: cannot find symbol
        Optional<String> input = Optional.of(args[0]);
        ^
  symbol:   class Optional
  location: class Main
Main.java:4: error: cannot find symbol
        Optional<String> input = Optional.of(args[0]);
                                 ^
  symbol:   variable Optional
  location: class Main
2 errors
Language: Java

public class Main {

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

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

import java.util.Scanner;

public class Contest {

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

}

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

import java.io.*;

public class X_Cubic {
	public static void main(String[] args)throws IOException{
			BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		String s;
		int x;		
		s= buf.readLine();
		x= Integer.parseInt(s);
		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

public class Main{
	public static void main(String[] args)throws IOException{
			BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		String s;
		int x;		
		s= buf.readLine();
		x= Integer.parseInt(s);
		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:3: error: cannot find symbol
			BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
			^
  symbol:   class BufferedReader
  location: class Main
Main.java:3: error: cannot find symbol
			BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
			                         ^
  symbol:   class BufferedReader
  location: class Main
Main.java:3: error: cannot find symbol
			BufferedReader buf = 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){
		if(args.length == 1){
			int num = Integer.parseInt(args[0]);
			xCube xc = new xCube(num);
		}else{
			System.out.println("引数が不正です。");
		}
	}

}

public class xCube {
	xCube(int num){
		System.out.println(num*num*num);
	}

}

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

public class Main {
	public static void main(String[] args){
		if(args.length == 1){
			int num = Integer.parseInt(args[0]);
			Cube cube = new Cube(num);
		}else{
			System.out.println("引数が不正です。");
		}
	}

}

public class Cube {
	Cube(int num){
		System.out.println(num*num*num);
	}

}

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

public class X_Cubic {
	
	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:1: error: class X_Cubic is public, should be declared in a file named X_Cubic.java
public class X_Cubic {
       ^
Main.java:5: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class X_Cubic
Main.java:5: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class X_Cubic
3 errors
Language: Java

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

		

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
mport java.util.Scanner;
^
1 error
Language: Java

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

Compiler output:
Main.java:2: 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 Itp1_1b{
	int x;
	public void solve(){
		Scanner sc = new Scanner(System.in);
		x=sc.nextInt();
		System.out.println(x*x*x);
	}
	public static void main (String[] args){
		Itp1_1b obj = new Itp1_1b();
		obj.solve();
	}
}

Compiler output:
Main.java:2: 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{
	int x;
	
	public void solve(){
		Scanner sc = new Scanner(System.in);
		x=sc.nextInt();
		System.out.println(x*x*x);
		
	}
	public static void main(String[] args){
		Main obj = new Main();
		obj.solve();
	}

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

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

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

public class Main{
	
	
	public void solve(){
		Scanner sc = new Scanner(System.in);
		
		System.out.print("x：");
		int x = sc.nextInt();
		System.out.println(x * x * x);
	}
	public static void main(String[] args){
		Main obj = new Main();
		obj.solve();
	}
}

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

import java.util.Scanner;
public class Itp1_1b{
	int x;

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

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

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

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

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

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
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(x * x * x);
		                   ^
  symbol:   variable x
  location: class Main
Main.java:8: error: cannot find symbol
		System.out.println(x * x * x);
		                       ^
  symbol:   variable x
  location: class Main
Main.java:8: error: cannot find symbol
		System.out.println(x * x * x);
		                           ^
  symbol:   variable x
  location: class Main
6 errors
Language: Java

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

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
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(x*x*x);
		                   ^
  symbol:   variable x
  location: class Main
Main.java:8: error: cannot find symbol
		System.out.println(x*x*x);
		                     ^
  symbol:   variable x
  location: class Main
Main.java:8: error: cannot find symbol
		System.out.println(x*x*x);
		                       ^
  symbol:   variable x
  location: class Main
6 errors
Language: Java

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

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

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

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

public static void main(String[] args){
if(!args[0].isEmpty){
int num = args[0];
}
int retNum = num*num*num;
System.out.println(retNum);
}

Compiler output:
Main.java:1: 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)
1 error
Language: Java

public class Main{
public static void main(String[] args){
if(!args[0].isEmpty){
int num = args[0];
}
int retNum = num*num*num;
System.out.println(retNum);
}
}

Compiler output:
Main.java:3: error: cannot find symbol
if(!args[0].isEmpty){
           ^
  symbol:   variable isEmpty
  location: class String
Main.java:4: error: incompatible types: String cannot be converted to int
int num = args[0];
              ^
Main.java:6: error: cannot find symbol
int retNum = num*num*num;
             ^
  symbol:   variable num
  location: class Main
Main.java:6: error: cannot find symbol
int retNum = num*num*num;
                 ^
  symbol:   variable num
  location: class Main
Main.java:6: error: cannot find symbol
int retNum = num*num*num;
                     ^
  symbol:   variable num
  location: class Main
5 errors
Language: Java

import java.util.Scanner

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

Compiler output:
Main.java:1: error: ';' expected
import java.util.Scanner
                        ^
1 error
Language: Java

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

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

class Main {
	public static void main(String[] args) throws java.io.IOException {
		System.out.println(Math.pow(System.in.read(), 3);
	}
}

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

import java.io.*;

public class main{

    public static void main(String args[]){
        BufferdReader bufferdReader = new BufferdReader(new InputStreamReader(System.in));
        String inputNum = bufferdReader.readLine();
        System.out.println(inputNum * inputNum * inputNum);
    }
}

Compiler output:
Main.java:3: error: class main is public, should be declared in a file named main.java
public class main{
       ^
Main.java:6: error: cannot find symbol
        BufferdReader bufferdReader = new BufferdReader(new InputStreamReader(System.in));
        ^
  symbol:   class BufferdReader
  location: class main
Main.java:6: error: cannot find symbol
        BufferdReader bufferdReader = new BufferdReader(new InputStreamReader(System.in));
                                          ^
  symbol:   class BufferdReader
  location: class main
Main.java:8: error: bad operand types for binary operator '*'
        System.out.println(inputNum * inputNum * inputNum);
                                    ^
  first type:  String
  second type: String
4 errors
Language: Java

import java.util.*;

public class X_cube {
	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 X_cube is public, should be declared in a file named X_cube.java
public class X_cube {
       ^
1 error
Language: Java

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

Compiler output:
Main.java:7: error: illegal start of expression
    int mp = x**3;
               ^
1 error
Language: Java

import java.io.*;
class Main {
??public static void main(String[] args)throws java.io.IOException {
    BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

    String hoge = input.readLine();
    int x = Integer.parseInt(hoge)
    System.out.println(x*x*x);
??}
}

Compiler output:
Main.java:3: error: illegal start of type
??public static void main(String[] args)throws java.io.IOException {
^
Main.java:7: error: ';' expected
    int x = Integer.parseInt(hoge)
                                  ^
Main.java:9: error: illegal start of expression
??}
^
Main.java:9: error: illegal start of expression
??}
 ^
Main.java:9: error: illegal start of expression
??}
  ^
5 errors
Language: Java

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

Compiler output:
Main.java:9: error: package system does not exist
             system.out.println(x*x*x);
                   ^
1 error
Language: Java

import java.util.Scanner;
public class Main5{
    int X;
	
	public void solve(){
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		System.out.print(X*X*X);
		}
    public static void main(String[] args){
        Main5 obj = new Main5();
        obj.solve();
    }
}

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

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

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
System.out.println(Scanner.nextInt() * 3);
                   ^
  symbol:   variable Scanner
  location: class Main
3 errors
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:6: error: package Systmem does not exist
Systmem.out.println(sc.nextInt() ^ 3);
       ^
1 error
Language: Java

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(sanjo(x));
	}
	public int sanjo(int x){
		int y = x * x * x;
		return y;
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class MAIN
Main.java:3: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                        ^
  symbol:   class BufferedReader
  location: class MAIN
Main.java:3: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                                           ^
  symbol:   class InputStreamReader
  location: class MAIN
Main.java:6: error: non-static method sanjo(int) cannot be referenced from a static context
		System.out.println(sanjo(x));
		                   ^
4 errors
Language: Java

import java.lang.*;
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(sanjo(x));
	}
	public static int sanjo(int x){
		int y = x * x * x;
		return y;
	}
}

Compiler output:
Main.java:7: error: cannot find symbol
		String str = br.readline();
		               ^
  symbol:   method readline()
  location: variable br of type BufferedReader
1 error
Language: Java

import java.lang.*;
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(sanjo(x));
	}
	public static int sanjo(int x){
		int y = x * x * x;
		return y;
	}
}

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

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

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

		BufferedReader br = new BufferedReader (new InputStreamReader(System.in));
		try{
			String str = br.readLine();
			int x = Integer.parseInt(str);
			System.out.println(sanjo(x));
		}
	}
	public static int sanjo(int x){
		int y = x * x * x;
		return y;
	}
}

Compiler output:
Main.java:8: error: 'try' without 'catch', 'finally' or resource declarations
		try{
		^
1 error
Language: Java

class Main {
int x;
public static void main(String[] args) {
//int x =Integer.parseInt(args[0]);

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

}


}

Compiler output:
Main.java:6: error: non-static variable x cannot be referenced from a static context
System.out.println(x*x*x);
                   ^
Main.java:6: error: non-static variable x cannot be referenced from a static context
System.out.println(x*x*x);
                     ^
Main.java:6: error: non-static variable x cannot be referenced from a static context
System.out.println(x*x*x);
                       ^
3 errors
Language: Java

class Main {
int x;
public static void main(String[] args) {
 x =Integer.parseInt(args[0]);

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

}


}

Compiler output:
Main.java:4: error: non-static variable x cannot be referenced from a static context
 x =Integer.parseInt(args[0]);
 ^
Main.java:6: error: non-static variable x cannot be referenced from a static context
System.out.println(x*x*x);
                   ^
Main.java:6: error: non-static variable x cannot be referenced from a static context
System.out.println(x*x*x);
                     ^
Main.java:6: error: non-static variable x cannot be referenced from a static context
System.out.println(x*x*x);
                       ^
4 errors
Language: Java

class Main {
public int x;
public static void main(String[] args) {
 x =Integer.parseInt(args[0]);

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

}


}

Compiler output:
Main.java:4: error: non-static variable x cannot be referenced from a static context
 x =Integer.parseInt(args[0]);
 ^
Main.java:6: error: non-static variable x cannot be referenced from a static context
System.out.println(x*x*x);
                   ^
Main.java:6: error: non-static variable x cannot be referenced from a static context
System.out.println(x*x*x);
                     ^
Main.java:6: error: non-static variable x cannot be referenced from a static context
System.out.println(x*x*x);
                       ^
4 errors
Language: Java

class Main {
public int x;
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);
      }
      stdReader.close();
    } catch (Exception e) {
      e.getStackTrace();
      /*?????´??????0??????*/
      System.exit(0); 
    }

}

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

class Main {
public int x;
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);
      }
      stdReader.close();
    } catch (Exception e) {
      e.getStackTrace();
      /*?????´??????0??????*/
      System.exit(0); 
    }

}}

Compiler output:
Main.java:5: error: cannot find symbol
      BufferedReader stdReader =
      ^
  symbol:   class BufferedReader
  location: class Main
Main.java:6: error: cannot find symbol
        new BufferedReader(new InputStreamReader(System.in));
            ^
  symbol:   class BufferedReader
  location: class Main
Main.java:6: error: cannot find symbol
        new BufferedReader(new InputStreamReader(System.in));
                               ^
  symbol:   class InputStreamReader
  location: class Main
3 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);
      }
      stdReader.close();
    } catch (Exception e) {
      e.getStackTrace();
      /*?????´??????0??????*/
      System.exit(0); 
    }
  }
}

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

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

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