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

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


Compiler output:
Main.java:7: error: '.class' expected
        int y = int(x);
                   ^
Main.java:7: error: not a statement
        int y = int(x);
                    ^
Main.java:7: error: ';' expected
        int y = int(x);
                     ^
3 errors
Language: Java

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


Compiler output:
Main.java:3: error: cannot find symbol
        y = x * x * x;
        ^
  symbol:   variable y
  location: class Main
Main.java:4: error: cannot find symbol
        return y;
               ^
  symbol:   variable y
  location: class Main
Main.java:7: error: cannot find symbol
        int y = cul(x);
                    ^
  symbol:   variable x
  location: class Main
Main.java:8: error: package Sytem does not exist
        Sytem.out.println(y);
             ^
4 errors
Language: Java

public class Main{
    public static int cul (int x){
        y = Math.pow(x,3);
        return y;
    }
    public static void main(String[] args){
        int y = cul(x);
        Sytem.out.println(y);
    }
}


Compiler output:
Main.java:3: error: cannot find symbol
        y = Math.pow(x,3);
        ^
  symbol:   variable y
  location: class Main
Main.java:4: error: cannot find symbol
        return y;
               ^
  symbol:   variable y
  location: class Main
Main.java:7: error: cannot find symbol
        int y = cul(x);
                    ^
  symbol:   variable x
  location: class Main
Main.java:8: error: package Sytem does not exist
        Sytem.out.println(y);
             ^
4 errors
Language: Java

public class Main{
    public static int cul (int x){
         return Math.pow(x,3);
       
    }
    public static void main(String[] args){
        int y = cul(x);
        Sytem.out.println(y);
    }
}


Compiler output:
Main.java:3: error: incompatible types: possible lossy conversion from double to int
         return Math.pow(x,3);
                        ^
Main.java:7: error: cannot find symbol
        int y = cul(x);
                    ^
  symbol:   variable x
  location: class Main
Main.java:8: error: package Sytem does not exist
        Sytem.out.println(y);
             ^
3 errors
Language: Java

public class Main{
    public static void main(String[] args)throws IOException{
        System.out.println((int)Math.pow(Integer.parseint(new BufferedReader(new InputStream Reader(System.in)).readLine()),3));
    } 
}


Compiler output:
Main.java:3: error: '(' or '[' expected
        System.out.println((int)Math.pow(Integer.parseint(new BufferedReader(new InputStream Reader(System.in)).readLine()),3));
                                                                                             ^
Main.java:3: error: ';' expected
        System.out.println((int)Math.pow(Integer.parseint(new BufferedReader(new InputStream Reader(System.in)).readLine()),3));
                                                                                                              ^
Main.java:3: error: ';' expected
        System.out.println((int)Math.pow(Integer.parseint(new BufferedReader(new InputStream Reader(System.in)).readLine()),3));
                                                                                                                          ^
3 errors
Language: Java

import java.io.*;
public class Main{
    public static void main(String[] args)throws IOException{
        System.out.println((int)Math.pow(Integer.parseint(new BufferedReader(new InputStream Reader(System.in)).readLine()),3));
    } 
}


Compiler output:
Main.java:4: error: '(' or '[' expected
        System.out.println((int)Math.pow(Integer.parseint(new BufferedReader(new InputStream Reader(System.in)).readLine()),3));
                                                                                             ^
Main.java:4: error: ';' expected
        System.out.println((int)Math.pow(Integer.parseint(new BufferedReader(new InputStream Reader(System.in)).readLine()),3));
                                                                                                              ^
Main.java:4: error: ';' expected
        System.out.println((int)Math.pow(Integer.parseint(new BufferedReader(new InputStream Reader(System.in)).readLine()),3));
                                                                                                                          ^
3 errors
Language: Java

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


Compiler output:
Main.java:3: error: cannot find symbol
    Scanner x = new Scanner(System.in).nextInt();
    ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
    Scanner x = new Scanner(System.in).nextInt();
                    ^
  symbol:   class Scanner
  location: class Main
2 errors
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

import java.util.Scanner;

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


Compiler output:
Main.java:5: error: incompatible types: int cannot be converted to Scanner
    Scanner x = new Scanner(System.in).nextInt();
                                              ^
Main.java:6: error: bad operand types for binary operator '*'
    System.out.println(x*x*x);
                        ^
  first type:  Scanner
  second type: Scanner
2 errors
Language: Java

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


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

import java.util.scanner;

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


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

import java.io.*;

class Main{

　　　public static void main(String args[]){
      
      int num;
      String buf;
      try{
          BufferdReader br=new BufferdeReader(new InputStreamReader(System.in));
          buf=br.readLine();
          num=Integer.parseInt(buf);
          System.out.println(num*num*num);
      }catch(Exception e){}
      
      
      }

}


Compiler output:
Main.java:5: error: illegal character: '\u3000'
???public static void main(String args[]){
^
Main.java:5: error: illegal character: '\u3000'
???public static void main(String args[]){
 ^
Main.java:5: error: illegal character: '\u3000'
???public static void main(String args[]){
  ^
3 errors
Language: Java

import java.io.*;

class Main{
　　　public static void main(String args[]){      
      int num;
      String buf;
      try{
          BufferdReader br=new BufferdeReader(new InputStreamReader(System.in));
          buf=br.readLine();
          num=Integer.parseInt(buf);
          System.out.println(num*num*num);
      }catch(Exception e){}

      }

}


Compiler output:
Main.java:4: error: illegal character: '\u3000'
???public static void main(String args[]){      
^
Main.java:4: error: illegal character: '\u3000'
???public static void main(String args[]){      
 ^
Main.java:4: error: illegal character: '\u3000'
???public static void main(String args[]){      
  ^
3 errors
Language: Java

import java.io.*;

class Main{
　　　public static void main(String args[])
     {
      
      int num;
      String buf;
      try{
          BufferdReader br=new BufferdeReader(new InputStreamReader(System.in));
          buf=br.readLine();
          num=Integer.parseInt(buf);
          System.out.println(num*num*num);
      }catch(Exception e){}

      }

}


Compiler output:
Main.java:4: error: illegal character: '\u3000'
???public static void main(String args[])
^
Main.java:4: error: illegal character: '\u3000'
???public static void main(String args[])
 ^
Main.java:4: error: illegal character: '\u3000'
???public static void main(String args[])
  ^
3 errors
Language: Java

import java.io.*;

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


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

import java.io.*;

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

       try{
       int x=Integer.parseInt(buf);
       System.out.println(x*x*x);
       }catch(Exception e){
             
       }
}
}


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

import java.io.*;

class Main{
public static void main(String args[]){
     int x;
     String buf;

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

     try{
         buf=br.readline();
         x=Integer.parseInt(buf);
         System.out.println(x*x*x);

     }catch(IOException e){
         System.out.println("入出力エラーです");
     }
}

}


Compiler output:
Main.java:8: error: cannot find symbol
     BufferedReader br=new BufferedReader(new StreamReader(System.in));
                                              ^
  symbol:   class StreamReader
  location: class Main
Main.java:11: error: cannot find symbol
         buf=br.readline();
               ^
  symbol:   method readline()
  location: variable br of type BufferedReader
2 errors
Language: Java

import java.io.*;

class Main{
public static void main(String args[]){
     int x;
     String buf;

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

     try{
         buf=br.readline();
         x=Integer.parseInt(buf);
         System.out.println(x*x*x);

     }catch(IOException e){
         System.out.println("入出力エラーです");
     }
}

}


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

import java.io.*;

class Main{
    public static void main(String args[]){
          int x;
          String buf;

          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
          try{
          buf=br.readLine();
          x=Integer.parseInt(buf);
          System.out.println(x*x*x);

          }catch(IOException e){
                Sytem.out.println("入出力エラーです");
          }
    }
}


Compiler output:
Main.java:8: error: cannot find symbol
          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
          ^
  symbol:   class BufferdReader
  location: class Main
Main.java:8: error: cannot find symbol
          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
                               ^
  symbol:   class BufferdReader
  location: class Main
Main.java:15: error: package Sytem does not exist
                Sytem.out.println("????????");
                     ^
3 errors
Language: Java

import java.io.*;

class Main{
    public static void main(String args[]){
          int x;
          String buf;

          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
          
          try{
          buf=br.readLine();
          x=Integer.parseInt(buf);
          System.out.println(x*x*x);

          }catch(IOException e){
                Sytem.out.println("入出力エラーです");
          }
    }
}


Compiler output:
Main.java:8: error: cannot find symbol
          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
          ^
  symbol:   class BufferdReader
  location: class Main
Main.java:8: error: cannot find symbol
          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
                               ^
  symbol:   class BufferdReader
  location: class Main
Main.java:16: error: package Sytem does not exist
                Sytem.out.println("????????");
                     ^
3 errors
Language: Java

import java.io.*;

class Main{
    public static void main(String args[]){
          int x;
          String buf;

          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
          
          try{
          buf=br.readLine();
          x=Integer.parseInt(buf);
          System.out.println(x*x*x);

          }catch(IOException e){
                System.out.println("入出力エラーです");
          }
    }
}


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

import java.IO.*;

class Main{
    public static void main(String args[]){
          int x;
          String buf;

          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
          
          try{
          buf=br.readLine();
          x=Integer.parseInt(buf);
          System.out.println(x*x*x);

          }catch(IOException e){
                System.out.println("入出力エラーです");
          }
    }
}


Compiler output:
Main.java:1: error: package java.IO does not exist
import java.IO.*;
^
Main.java:8: error: cannot find symbol
          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
          ^
  symbol:   class BufferdReader
  location: class Main
Main.java:8: error: cannot find symbol
          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
                               ^
  symbol:   class BufferdReader
  location: class Main
Main.java:8: error: cannot find symbol
          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
                                                 ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:15: error: cannot find symbol
          }catch(IOException e){
                 ^
  symbol:   class IOException
  location: class Main
5 errors
Language: Java

import java.Io.*;

class Main{
    public static void main(String args[]){
          int x;
          String buf;

          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
          
          try{
          buf=br.readLine();
          x=Integer.parseInt(buf);
          System.out.println(x*x*x);

          }catch(IOException e){
                System.out.println("入出力エラーです");
          }
    }
}


Compiler output:
Main.java:1: error: package java.Io does not exist
import java.Io.*;
^
Main.java:8: error: cannot find symbol
          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
          ^
  symbol:   class BufferdReader
  location: class Main
Main.java:8: error: cannot find symbol
          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
                               ^
  symbol:   class BufferdReader
  location: class Main
Main.java:8: error: cannot find symbol
          BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
                                                 ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:15: error: cannot find symbol
          }catch(IOException e){
                 ^
  symbol:   class IOException
  location: class Main
5 errors
Language: Java

import java.util.Scanner;
public class Aizu {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		System.out.println(a * a * a);
	}
}


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

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

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


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

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

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



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

import java.util.Scanner;

public class clear {

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

		//入力の準備
		Scanner scan = new Scanner(System.in);

		//入力値を受け取る
		String str = scan.next();
		//受け取った文字を数値に変換
		int x = Integer.parseInt(str);

		//xを３乗する
		int anser = 0;
		double y = (double)x;

		double z = Math.pow(y,3.0);
		anser = (int)z;
		


		System.out.println( anser );

		//scan.close();
	}
}



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

import java.util.*;

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

        System.out.println((int)Math.pow(x , 3));

    }
}


Compiler output:
Main.java: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(Stating[] args){
        int x = 2;
        x = x*x*x;
        System.out.println("x="+x );
    }
}


Compiler output:
Main.java:2: error: cannot find symbol
    public static void main(Stating[] args){
                            ^
  symbol:   class Stating
  location: class main
1 error
Language: Java

public class main{
    public static void main(Stating[] args){
        int x = 2;
        x = x*x*x;
        System.out.println("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:2: error: cannot find symbol
    public static void main(Stating[] args){
                            ^
  symbol:   class Stating
  location: class main
2 errors
Language: Java

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


Compiler output:
Main.java:2: error: cannot find symbol
    public static void main(Stating[] args){
                            ^
  symbol:   class Stating
  location: class Main
1 error
Language: Java

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


Compiler output:
Main.java:2: error: cannot find symbol
    public static void main(Stating args[]){
                            ^
  symbol:   class Stating
  location: class Main
1 error
Language: Java

package info;
import java.io.*;

public class Math {
    public static void main(String args[]){
    	
    	int x;
    	try {
        	String x = br.readLine();
        }
        x = x*x*x;
        System.out.println("x="+x );
    }
}




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

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


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


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


Compiler output:
Main.java:4: error: cannot find symbol
	  	Scanner scanner = new Scanner(System.in);
	  	^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
	  	Scanner scanner = new Scanner(System.in);
	  	                      ^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: incompatible types: possible lossy conversion from double to int
        int x = Math.pow(num,3);
                        ^
3 errors
Language: Java

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

/* Name of the class has to be "Main" only if the class is public. */
class pow{
 public static void main (String[] args) throws java.lang.Exception
 {
 InputStreamReader is = new InputStreamReader(System.in);
 BufferedReader br = new BufferedReader(is);
  System.out.println("入力した値を"+pow+"乗した値を出力します");
  System.out.println("数値を入力してください");
  double x = Integer.parseInt(br.readLine());
  double kotae = Math.pow(x,3);
  System.out.println(x+"を"+pow+"乗した値は"+kotae+"です");
 }
}


Compiler output:
Main.java:11: error: cannot find symbol
  System.out.println("??????"+pow+"??????????");
                              ^
  symbol:   variable pow
  location: class pow
Main.java:15: error: cannot find symbol
  System.out.println(x+"?"+pow+"?????"+kotae+"??");
                           ^
  symbol:   variable pow
  location: class pow
2 errors
Language: Java

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

/* Name of the class has to be "Main" only if the class is public. */
class pow{
 public static void main (String[] args) throws java.lang.Exception
 {
 InputStreamReader is = new InputStreamReader(System.in);
 BufferedReader br = new BufferedReader(is);
  System.out.println("入力した値を3乗した値を出力します");
  System.out.println("数値を入力してください");
  int x = Integer.parseInt(br.readLine());
  int kotae = Math.pow(x,3);
  System.out.println(x+"を3乗した値は"+kotae+"です");
 }
}


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

class pow{
 public static void main (String[] args) throws java.lang.Exception
 {
 InputStreamReader is = new InputStreamReader(System.in);
 BufferedReader br = new BufferedReader(is);
  System.out.println("入力した値を3乗した値を出力します");
  System.out.println("数値を入力してください");
  int x = Integer.parseInt(br.readLine());
  double a = (double)x;
  double kotae = Math.pow(a,3);
  
  System.out.println(x+"を3乗した値は"+kotae+"です");
 }
}


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

class pow{
 public static void main (String[] args) throws java.lang.Exception
 {
InputStreamReader is = new InputStreamReader(System.in);
 BufferedReader br = new BufferedReader(is);
  System.out.println("入力した値を3乗した値を出力します");
  System.out.println("数値を入力してください");
  int x = Integer.parseInt(br.readLine());
  double a = (double)x;
  double kotae = Math.pow(a,3);
  
  System.out.println(x+"を3乗した値は"+kotae+"です");
 }
}


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

class Main{
 public static void main (String[] args) throws java.lang.Exception
 {
InputStreamReader is = new InputStreamReader(System.in);
 BufferedReader br = new BufferedReader(is);
  System.out.println("入力した値を3乗した値を出力します");
  System.out.println("数値を入力してください");
  int x = Integer.parseInt(br.readLine());
  double a = (double)x;
  double kotae = Math.pow(a,3);
  
  System.out.println(x+"を3乗した値は"+kotae+"です");
 }
}


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

class Main{
 public static void main (String[] args) throws java.lang.Exception
 {
InputStreamReader is = new InputStreamReader(System.in);
 BufferedReader br = new BufferedReader(is);
  System.out.println("入力した値を3乗した値を出力します");
  System.out.println("数値を入力してください");
  int x = Integer.parseInt(br.readLine());
  double a = (double)x;
  double kotae = Math.pow(a,3); 
  System.out.println(x+"を3乗した値は"+kotae+"です");
 }
}


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

class Main{
 public static void main (String[] args) throws java.lang.Exception
 {
 InputStreamReader is = new InputStreamReader(System.in);
 BufferedReader br = new BufferedReader(is);
  int x = Integer.parseInt(br.readLine());
  double a = (double)x;
  double kotae = Math.pow(a,3);
  
  System.out.println(kotae);
 }
}


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

class Main{
 public static void main (String[] args) throws java.lang.Exception
 {
 InputStreamReader is = new InputStreamReader(System.in);
 BufferedReader br = new BufferedReader(is);
  int x = Integer.parseInt(br.readLine());
  double a = (double)x;
  double kotae = Math.pow(a,3);
  
  System.out.println((int)kotae);
 }
}


Compiler output:
Main.java:4: error: cannot find symbol
 InputStreamReader is = new InputStreamReader(System.in);
 ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:4: error: cannot find symbol
 InputStreamReader is = new InputStreamReader(System.in);
                            ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:5: error: cannot find symbol
 BufferedReader br = new BufferedReader(is);
 ^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
 BufferedReader br = new BufferedReader(is);
                         ^
  symbol:   class BufferedReader
  location: class Main
4 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();
int answer = x*x*x;
System.out.println(anser);
}
}


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

import java.util.Scanner;

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

import java.io.*

public class Main{
	public static void main(String args[]) {
	System.out.println("数字を入力してください");
	BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
	String line = reader.readLine();
	int x = Integer.paraseInt(line);
        x = x * x* x;
        System.out.println(x);
	}
}


Compiler output:
Main.java:1: error: ';' expected
import java.io.*
                ^
1 error
Language: Java

import java.util.Scaner;
public class Main{
   public static  void main(String [] args){
       Scaner sc = new Scaner(System.in);
       int x = sc.nextInt();
       System.out.printf("入力として一つの整数％ｄが与えられます",x);
       System.out.println(x*x*x%n);
   }
}


Compiler output:
Main.java:1: error: cannot find symbol
import java.util.Scaner;
                ^
  symbol:   class Scaner
  location: package java.util
Main.java:4: error: cannot find symbol
       Scaner sc = new Scaner(System.in);
       ^
  symbol:   class Scaner
  location: class Main
Main.java:4: error: cannot find symbol
       Scaner sc = new Scaner(System.in);
                       ^
  symbol:   class Scaner
  location: class Main
Main.java:7: error: cannot find symbol
       System.out.println(x*x*x%n);
                                ^
  symbol:   variable n
  location: class Main
4 errors
Language: Java

import java.io.*

public class Main {
	public static void main(String args[]) {
	System.out.println("数字を入力してください");
	BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
	String line = reader.readLine();
	int x = Integer.paraseInt(line);
    int ans = x * x* x;
    System.out.println(ans);
	}
}



Compiler output:
Main.java:1: error: ';' expected
import java.io.*
                ^
1 error
Language: Java

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.println(answer);
    }
}


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


Compiler output:
Main.java:2: 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) {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String line = reader.readLine();
    line = reader.readLine();
    int x = Integer.parseInt(line);
    System.out.println("x*x*x");
  }
}


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
3 errors
Language: Java

import java.io.*;

public class Main{
	public static void main(String[] atgs){
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line = reader.readLine();
		int num = Integer.parseInt(line);
		System.out.println(num * num);
	}
}


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

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


Compiler output:
Main.java:5: error: unreported exception IOException; must be caught or declared to be thrown
    String line = reader.readLine();
                                 ^
Main.java:6: error: unreported exception IOException; must be caught or declared to be thrown
    line = reader.readLine();
                          ^
2 errors
Language: Java

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

public class Xcubic {
	public static void main(String args[]) throws IOException {
		// System.out.println("数字を入力してください");
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line = reader.readLine();
		int x = Integer.parseInt(line);
		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.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Xcubic {
	public static void main(String args[]) throws IOException {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line = reader.readLine();
		int x = Integer.parseInt(line);
		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.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.println(answer\n);
    }
}


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

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


Compiler output:
Main.java:4: error: cannot find symbol
       Scanner sc = new Scaner(System.in);
                        ^
  symbol:   class Scaner
  location: class Main
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);
    }
}


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 BufferdReader(new InputStreamReader(System.in));
     try{
         line = reader.readLine();
         int x = Integer.parseInt(line);
         System.out.println(+(x*x*x)+);

    }


}



Compiler output:
Main.java:2: error: ';' expected
    public static void main(String[] args)
                                          ^
Main.java:5: error: illegal start of type
     try{
     ^
Main.java:8: error: illegal start of expression
         System.out.println(+(x*x*x)+);
                                     ^
3 errors
Language: Java

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



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.util.Scanner; 

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


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

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

    }


}



Compiler output:
Main.java:2: error: ';' expected
    public static void main(String[] args)
                                          ^
Main.java:6: error: <identifier> expected
         line = reader.readLine();
             ^
Main.java:8: error: <identifier> expected
         System.out.println("+(x*x*x)+");
                           ^
Main.java:8: error: illegal start of type
         System.out.println("+(x*x*x)+");
                            ^
Main.java:13: error: class, interface, enum, or record expected
}
^
5 errors
Language: Java

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

    }


}



Compiler output:
Main.java:4: error: cannot find symbol
     BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
     ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
     BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
                                 ^
  symbol:   class BufferdReader
  location: class Main
Main.java:4: error: cannot find symbol
     BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
                                                   ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:6: error: cannot find symbol
         line = reader.readLine();
         ^
  symbol:   variable line
  location: class Main
Main.java:7: error: cannot find symbol
         int x = Integer.parseInt(line);
                                  ^
  symbol:   variable line
  location: class Main
5 errors
Language: Java

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


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);
        int x = sc.nextInt();
        int answer = x * x * x;
        System.out.println(answer);
    }
}


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.util.Sccaner;

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.println(answer);
    }
}


Compiler output:
Main.java:1: error: cannot find symbol
import java.util.Sccaner;
                ^
  symbol:   class Sccaner
  location: package java.util
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.io.*;

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



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

import java.io.*;

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



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

import java.util.Scanner;

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


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

import java.util.Scanner;

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


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


Compiler output:
Main.java:4: error: <identifier> expected
   pulic static void main(String[] args){
        ^
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);
}
}


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 Main(String[] args){
   Scanner sc=new Scanner(System.in);
   int x=sc.nextInt();
int answer = x*x*x;
System.out.println(answer);
}
}



Compiler output:
Main.java:3: error: '{' expected
public class Main(String[] args){
                 ^
Main.java:7: error: <identifier> expected
System.out.println(answer);
                  ^
Main.java:7: error: <identifier> expected
System.out.println(answer);
                         ^
Main.java:9: error: class, interface, enum, or record expected
}
^
4 errors
Language: Java

import java.utl.Scanner;

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


Compiler output:
Main.java:7: error: ';' expected
  int answer = x^3
                  ^
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 answer = x^3 /* ここを変えて3乗しよう! */; System.out.println(answer);
} }


Compiler output:
Main.java:7: error: cannot find symbol
int answer = x^3 /* ??????3????! */; System.out.println(answer);
             ^
  symbol:   variable x
  location: class Main
1 error
Language: Java

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: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