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

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

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

import java.util.Scanner;

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

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

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

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

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

Compiler output:
Main.java:1: error: illegal start of expression
class Main{public static void main(String args[]){int x=Integer.ParseInt(args[0]);System.out.println(x*x*x);)}}
                                                                                                            ^
1 error
Language: Java

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

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

/*Power.java*/

import java.io.*;

public class Power{
               public static void main(String args[]){
               
                 int x = 0;
                      do{
                      System.out.println("0???100?????´??°??§???????????°?????\?????????????????????:");
                      InputStreamReader isr = new InputStreamReader(System.in);
                      BufferedReader br = new BufferedReader(isr);
                      try{
                      String buf = br.readLine();
                      x = Integer.parseInt(buf);
                      }catch(Exception e){
                        x = 0;
                }
                    }while(x<0||100<x);
                 
               System.out.println("??\????????????????????°???????????????");
               System.out.println("???"+ Math.pow(x,3)+"?????§???");
           }
    }

Compiler output:
Main.java:10: error: illegal escape character
                      System.out.println("0???100?????????????????????????????\?????????????????????:");
                                                                               ^
Main.java:21: error: illegal escape character
               System.out.println("??\????????????????????????????????????");
                                      ^
2 errors
Language: Java

/*Power.java*/

import java.io.*;

public class Power{
               public static void main(String args[]){
               
                 int x = 0;
                      do{
                      System.out.println("Form your number:");
                      InputStreamReader isr = new InputStreamReader(System.in);
                      BufferedReader br = new BufferedReader(isr);
                      try{
                      String buf = br.readLine();
                      x = Integer.parseInt(buf);
                      }catch(Exception e){
                        x = 0;
                }
                    }while(x<0||100<x);
                 
               System.out.println("The number powed by 3 is???");
               System.out.println("???"+ Math.pow(x,3)+"???");
           }
    }

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

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

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

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

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

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

Compiler output:
Main.java:7: error: variable x might not have been initialized
	sum=Math.pow(x,3);
	             ^
1 error
Language: Java

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

Compiler output:
Main.java:5: error: cannot find symbol
	int a=x;
	      ^
  symbol:   variable x
  location: class Main
1 error
Language: Java

import java.io.*;
public class Xcubic{
    public static void main(String[] args) throws IOException{
        int i = 1;
        int xcubic;
        int a = 0;
        while(i>0){
            System.out.println("数字を入力して下さい（1以上100以下）");
            BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
            a = Integer.parseInt(x.readLine());
            
            if(a >= 1 && a<=100 )
                i = -1;
         }
         xcubic = a*a*a;
         System.out.println(""+xcubic+"");
    }
}

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

import java.io.*;
public class Xcubic{
    public static void main(String[] args) throws IOException{
        int i = 1;
        int xcubic;
        int a = 0;
        while(i>0){
            System.out.println("数字を入力して下さい（1以上100以下）");
            BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
            a = Integer.parseInt(x.readLine());
                if(a >= 1 && a<=100 )
                i = -1;
         }
         xcubic = a*a*a;
         System.out.println(xcubic);
    }
}

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

import java.io.*;
public class Main{
    public static void main(String[] args) throws IOException{
        int i = 1;
        int b=0;
        int xcubic;
        int a = 0;
        while(b=0){
        while(i>0){
            System.out.println("数字を入力して下さい（1以上100以下）");
            BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
            a = Integer.parseInt(x.readLine());
             
            if(a >= 1 && a <= 100 )
                i = -1;
         }
         xcubic = a*a*a;
         System.out.println(xcubic);
         }
    }
}

Compiler output:
Main.java:8: error: incompatible types: int cannot be converted to boolean
        while(b=0){
               ^
1 error
Language: Java

import java.io.*;
public class Main{
    public static void main(String[] args) throws IOException{
        int i = 1;
        int b=0;
        int xcubic;
        int a = 0;
        while(b=0){
        while(i>0){
            System.out.println("数字を入力して下さい（1以上100以下）");
            BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
            a = Integer.parseInt(x.readLine());
              
            if(a >= 1 && a <= 100 )
                i = -1;
         }
         xcubic = a*a*a;
         System.out.println(xcubic);
         }
    }
}

Compiler output:
Main.java:8: error: incompatible types: int cannot be converted to boolean
        while(b=0){
               ^
1 error
Language: Java

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

	String str = br.readline();
	int N = Integer.parseInt(str);
	int Ans = N^3;
	System.out.println(Ans);
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
	public static void main(String args[]) throws IOException
	                                              ^
  symbol:   class IOException
  location: class Main
Main.java:5: error: cannot find symbol
	BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
	^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
	BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
	                        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
	BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
	                                           ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:5: error: cannot find symbol
	BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
	                                                             ^
  symbol:   variable system
  location: class Main
5 errors
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 N = Integer.parseInt(str);
	int Ans = N^3;
	System.out.println(Ans);
	}
}

Compiler output:
Main.java:7: error: cannot find symbol
	BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
	                                                             ^
  symbol:   variable system
  location: class Main
Main.java:9: error: cannot find symbol
	String str = br.readline();
	               ^
  symbol:   method readline()
  location: variable br of type BufferedReader
2 errors
Language: Java

import java.io.*;

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

	String str = br.readline();
	int N = Integer.parseInt(str);
	int Ans = N^3;
	System.out.println(Ans);
	}
}

Compiler output:
Main.java:7: error: cannot find symbol
	BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
	                                                             ^
  symbol:   variable system
  location: class Main
Main.java:9: error: cannot find symbol
	String str = br.readline();
	               ^
  symbol:   method readline()
  location: variable br of type BufferedReader
2 errors
Language: Java

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

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

	String str = br.readline();
	int N = Integer.parseInt(str);
	int Ans = N^3;
	System.out.println(Ans);
	}
}

Compiler output:
Main.java:9: error: cannot find symbol
	BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
	                                                             ^
  symbol:   variable system
  location: class Main
Main.java:11: error: cannot find symbol
	String str = br.readline();
	               ^
  symbol:   method readline()
  location: variable br of type BufferedReader
2 errors
Language: Java

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

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

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

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

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

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

public class Main{
 public static void main(String[] args){
  int num=x;
  System.out.println(cubic(num));
  public static int cubic(int num){
   result=num^3;
   return result;
  }
 }
}
   

Compiler output:
Main.java:5: error: illegal start of expression
  public static int cubic(int num){
  ^
Main.java:10: error: class, interface, enum, or record expected
}
^
2 errors
Language: Java

public class Main{
 public static void main(String[] args){
  int x=System.in;
  
  public static void cubic(int x){
   result=x^3;
   System.out.println(result);
  }
 }
}
   

Compiler output:
Main.java:5: error: illegal start of expression
  public static void cubic(int x){
  ^
Main.java:10: error: class, interface, enum, or record expected
}
^
2 errors
Language: Java

public class Main{
 public static void main(String[] args){
  int x=System.in;
   
  void cubic(int x){
   result=x^3;
   System.out.println(result);
  }
 }
}
  

Compiler output:
Main.java:5: error: illegal start of expression
  void cubic(int x){
  ^
Main.java:5: error: ';' expected
  void cubic(int x){
            ^
Main.java:5: error: ';' expected
  void cubic(int x){
                  ^
3 errors
Language: Java

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

Compiler output:
Main.java:3: error: incompatible types: InputStream cannot be converted to int
  int x=System.in;
              ^
Main.java:4: error: cannot find symbol
  result=x^3;
  ^
  symbol:   variable result
  location: class Main
Main.java:5: error: cannot find symbol
  System.out.println(result);
                     ^
  symbol:   variable result
  location: class Main
3 errors
Language: Java

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

Compiler output:
Main.java:5: error: incompatible types: InputStream cannot be converted to int
  x=(int)System.in;
               ^
1 error
Language: Java

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

Compiler output:
Main.java:5: error: incompatible types: InputStream cannot be converted to int
  x=(int) System.in;
                ^
1 error
Language: Java

Scanner sc = new Scanner(System.in);

public class Main {
    public static void main(String[] args){
        int x = sc.nextInt();
        x *=x;
        
    }
}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
Scanner sc = new Scanner(System.in);
^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

class Main {
    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            double ans = Math.pow(Integer.parseInt(line), 3);
            System.out.println(ans);


        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}

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

import java.io.*;

class Main {
    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            double ans = Math.pow(Integer.parseInt(line), 3);
            String crlf = System.getProperty("line.separator");
            System.out.println(ans "+" crlf);


        } catch (Exception e) {
            e.printStackTrace();
        }
    }


}

Compiler output:
Main.java:10: error: ')' or ',' expected
            System.out.println(ans "+" crlf);
                                  ^
Main.java:10: error: not a statement
            System.out.println(ans "+" crlf);
                                       ^
Main.java:10: error: ';' expected
            System.out.println(ans "+" crlf);
                                           ^
3 errors
Language: Java

import java.io.*;

public class Main {
 public static void main(String args[]){
  int x;
  InputStreamReader sir = new InputStreamReader(System.in);
  BufferReader br = new BufferReader(isr);
  String but = br.readLine();
  x = Integer.parseInt(but);
  if(a >= 0 && a =< 100){
   x = x * x * x;
  }
 }
}

Compiler output:
Main.java:10: error: illegal start of type
  if(a >= 0 && a =< 100){
                    ^
Main.java:10: error: ';' expected
  if(a >= 0 && a =< 100){
                       ^
2 errors
Language: Java

import java.io.*;

public class Main {
 public static void main(String args[]){
  int x;
  InputStreamReader sir = new InputStreamReader(System.in);
  BufferReader br = new BufferReader(isr);
  String but = br.readLine();
  x = Integer.parseInt(but);
  if(x >= 0 && x =< 100){
   x = x * x * x;
  }
 }
}

Compiler output:
Main.java:10: error: illegal start of type
  if(x >= 0 && x =< 100){
                    ^
Main.java:10: error: ';' expected
  if(x >= 0 && x =< 100){
                       ^
2 errors
Language: Java

import java.io.*;

public class Main {
 public static void main(String args[]){
  int x;
  InputStreamReader sir = new InputStreamReader(System.in);
  BufferReader br = new BufferReader(isr);
  String but = br.readLine();
  x = Integer.parseInt(but);
  if(x >= 0 && x <= 100){
   x = x * x * x;
  }
 }
}

Compiler output:
Main.java:7: error: cannot find symbol
  BufferReader br = new BufferReader(isr);
  ^
  symbol:   class BufferReader
  location: class Main
Main.java:7: error: cannot find symbol
  BufferReader br = new BufferReader(isr);
                        ^
  symbol:   class BufferReader
  location: class Main
Main.java:7: error: cannot find symbol
  BufferReader br = new BufferReader(isr);
                                     ^
  symbol:   variable isr
  location: class Main
3 errors
Language: Java

import java.io.*;

public class Main {
 public static void main(String args[]){
  int x;
  InputStreamReader sir = new InputStreamReader(System.in);
  BufferedReader br = new BufferReader(isr);
  String but = br.readLine();
  x = Integer.parseInt(but);
  if(x >= 0 && x <= 100){
   x = x * x * x;
  }
 }
}

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

import java.io.*;

public class Main {
 public static void main(String args[]){
  int x;
  InputStreamReader sir = new InputStreamReader(System.in);
  BufferedReader br = new BufferedReader(isr);
  String but = br.readLine();
  x = Integer.parseInt(but);
  if(x >= 0 && x <= 100){
   x = x * x * x;
  }
 }
}

Compiler output:
Main.java:7: error: cannot find symbol
  BufferedReader br = new BufferedReader(isr);
                                         ^
  symbol:   variable isr
  location: class Main
1 error
Language: Java

import java.io.*;

public class Main {
 public static void main(String args[]){
  int x;
  InputStreamReader isr = new InputStreamReader(System.in);
  BufferedReader br = new BufferedReader(isr);
  String but = br.readLine();
  x = Integer.parseInt(but);
  if(x >= 0 && x <= 100){
   x = x * x * x;
  }
 }
}

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

import java.io.*;

public class Main {
 public static void main(String args[]){
  int x;
  InputStreamReader isr = new InputStreamReader(System.in);
  BufferedReader br = new BufferedReader(isr);
  try{
  String but = br.readLine();
  }catch(Exception e){
                        x = 0;
                }
  x = Integer.parseInt(but);
  if(x >= 0 && x <= 100){
   x = x * x * x;
  }
 }
}

Compiler output:
Main.java:13: error: cannot find symbol
  x = Integer.parseInt(but);
                       ^
  symbol:   variable but
  location: class Main
1 error
Language: Java

public class Test01 {

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

	}
}

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

class Main{
  public static void main(String[] args){
	
	int i = 2
 
	if(i >=1 && i < 101){
        	System.out.println("Input="+ i);
		System.out.println("Output=" + i*i*i);
	}
	else{
		System.out.println("??°?????????????????§???");
	}
  }
}

Compiler output:
Main.java:4: error: ';' expected
	int i = 2
	         ^
1 error
Language: Java

import java.io.*;

class Main{
  public static void main(String[] args){
	  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:7: error: unreported exception IOException; must be caught or declared to be thrown
	  String hoge = input.readLine();
	                              ^
1 error
Language: Java

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

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

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

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
double x = 3;
^
  (use --enable-preview to enable unnamed classes)
Main.java:2: error: class, interface, enum, or record expected
System.out.println(math.pow(x,3));
^
2 errors
Language: Java

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

Compiler output:
Main.java:2: error: class test is public, should be declared in a file named test.java
 public class test{
        ^
1 error
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 InputStreamReader(System.in)).readLine()), 3));
 }
 }

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

import java io.*;
class main {

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

{
 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  String str = br.readLine();
int x =Integer.parseInt(str);

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

        }
}

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

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

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

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

Compiler output:
Main.java:2: error: '{' expected
 public class maint.java{
                   ^
1 error
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 InputStreamReader(System.in)).readLine()), 3));
 }
 }

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;
 
class testIni1{
  public static void main(String args[]){
  Scanner scan = new Scanner(System.in);
 
  int val = scan.nextInt();

 while (val != nul) {
      
  val = val * val * val;
 
  System.out.println(val);

}
  }
}

Compiler output:
Main.java:9: error: cannot find symbol
 while (val != nul) {
               ^
  symbol:   variable nul
  location: class testIni1
1 error
Language: Java

class Main{

public static void main(String[] args){

int x = args[0];

x = x*x*x;

System.out.plintln(x);

}
}

Compiler output:
Main.java:5: error: incompatible types: String cannot be converted to int
int x = args[0];
            ^
Main.java:9: error: cannot find symbol
System.out.plintln(x);
          ^
  symbol:   method plintln(int)
  location: variable out of type PrintStream
2 errors
Language: Java

class Main{

public static void main(String[] args){

int x = Integer.parseInt(args[0]);

x = x*x*x;

System.out.plintln(x);

}
}

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

class Main {
   BufferReader br = new BufferReader;
   int x = Integer.parseInt(br.readLine());
   x = x * x * x;
   System.out.println(x);
}

Compiler output:
Main.java:2: error: '(' or '[' expected
   BufferReader br = new BufferReader;
                                     ^
Main.java:4: error: <identifier> expected
   x = x * x * x;
    ^
Main.java:5: error: <identifier> expected
   System.out.println(x);
                     ^
Main.java:5: error: <identifier> expected
   System.out.println(x);
                       ^
4 errors
Language: Java

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

Compiler output:
Main.java:3: error: cannot find symbol
   BufferReader br = new BufferReader();
   ^
  symbol:   class BufferReader
  location: class Main
Main.java:3: error: cannot find symbol
   BufferReader br = new BufferReader();
                         ^
  symbol:   class BufferReader
  location: class Main
2 errors
Language: Java

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

Compiler output:
Main.java:3: error: cannot find symbol
   BufferReader br = BufferReader();
   ^
  symbol:   class BufferReader
  location: class Main
Main.java:3: error: cannot find symbol
   BufferReader br = BufferReader();
                     ^
  symbol:   method BufferReader()
  location: class Main
2 errors
Language: Java

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

Compiler output:
Main.java:3: error: cannot find symbol
   int x = java.io.Integer.parseInt(args[0]);
                  ^
  symbol:   class Integer
  location: package java.io
1 error
Language: Java

import gnu.getopt.Getopt;

class Main{

public static void main(String[] args){

int x;

x = Integer.parseInt(args[0]);

x = x*x*x;

System.out.println(x);

}
}

Compiler output:
Main.java:1: error: package gnu.getopt does not exist
import gnu.getopt.Getopt;
                 ^
1 error
Language: Java

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

Compiler output:
Main.java:3: error: '(' or '[' expected
   BufferReader br = new BufferReader;
                                     ^
1 error
Language: Java

import Java.io.*;

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

Compiler output:
Main.java:5: error: '(' or '[' expected
   BufferedReader br = new BufferedReader;
                                         ^
1 error
Language: Java

import java.io.*;

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

Compiler output:
Main.java:5: error: '(' or '[' expected
   BufferedReader br = new BufferedReader;
                                         ^
1 error
Language: Java

import java.io.*;

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

Compiler output:
Main.java:5: error: no suitable constructor found for BufferedReader(no arguments)
   BufferedReader br = new BufferedReader();
                       ^
    constructor BufferedReader.BufferedReader(Reader,int) is not applicable
      (actual and formal argument lists differ in length)
    constructor BufferedReader.BufferedReader(Reader) is not applicable
      (actual and formal argument lists differ in length)
Main.java:6: error: package Java.io does not exist
   int x = Java.io.Integer.parseInt(br.readLine());
                  ^
2 errors
Language: Java

import java.io.*;

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

Compiler output:
Main.java:5: error: incompatible types: InputStream cannot be converted to Reader
   BufferedReader br = new BufferedReader(System.in);
                                                ^
Main.java:6: error: package Java.io does not exist
   int x = Java.io.Integer.parseInt(br.readLine());
                  ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors
Language: Java

import java.io.*;

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

Compiler output:
Main.java:5: error: incompatible types: InputStream cannot be converted to Reader
   BufferedReader br = new BufferedReader(System.in);
                                                ^
Main.java:6: error: cannot find symbol
   int x = java.io.Integer.parseInt(br.readLine());
                  ^
  symbol:   class Integer
  location: package java.io
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors
Language: Java

import java.io.*;

class Main{

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

int x = Integer.parseInt(br);

x = x*x*x;

System.out.println(x);

}
}

Compiler output:
Main.java:5: error: invalid method declaration; return type required
public static main(String[] args){
              ^
1 error
Language: Java

import java.io.*;

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

Compiler output:
Main.java:6: error: cannot find symbol
   int x = java.io.Integer.parseInt(br.readLine());
                  ^
  symbol:   class Integer
  location: package java.io
1 error
Language: Java

import java.io.*;

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

Compiler output:
Main.java:6: error: unreported exception IOException; must be caught or declared to be thrown
   int x = Integer.parseInt(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));

int x = Integer.parseInt(br);

x = x*x*x;

System.out.println(x);

}
}

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

import java.io.*;

public class Main{

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

int x = Integer.parseInt(br);

x = x*x*x;

System.out.println(x);

}
}

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

import java.io.*;

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

Compiler output:
Main.java:7: error: non-static variable x cannot be referenced from a static context
   x = Integer.parseInt(br.readLine());
   ^
Main.java:8: error: non-static variable x cannot be referenced from a static context
   x = x * x * x;
   ^
Main.java:8: error: non-static variable x cannot be referenced from a static context
   x = x * x * x;
       ^
Main.java:8: error: non-static variable x cannot be referenced from a static context
   x = x * x * x;
           ^
Main.java:8: error: non-static variable x cannot be referenced from a static context
   x = x * x * x;
               ^
Main.java:9: error: non-static variable x cannot be referenced from a static context
   System.out.println(x);
                      ^
6 errors
Language: Java

import java.io.*;

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

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

import java.io.*;

public class Main{

public static void main(String[] args){


BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String s = new String(in.readLine());
        
int x = Integer.parseInt(s);

x = x*x*x;

System.out.println(x);

}
}

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

public class Main{
    public static void main(String[]args){
        int x;
        if( 1 <= x && x >= 100 ){
            x = x * x * x;
        }
    }
}

Compiler output:
Main.java:4: error: variable x might not have been initialized
        if( 1 <= x && x >= 100 ){
                 ^
1 error
Language: Java

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

Compiler output:
Main.java:4: error: variable x might not have been initialized
        if( 1 <= x && x >= 100 ){
                 ^
1 error
Language: Java

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

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

    }
}

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

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

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

    }
}

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

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

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

import java.util.*;

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

Compiler output:
Main.java:5: error: incompatible types: String cannot be converted to int
		int number = new Scanner(System.in).nextLine();
		                                            ^
1 error
Language: Java

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

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

    }
}

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

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

public class Main{
	public static void main(String[] args){
		BufferedReader reader = new BufferedReader(new InpputStreamReader(Systemin));
		String word;
		try{
			word = reader.readLine();
			int num = Integer.parseInt(word);
			int ans = num * num * num;
			System.out.println(ans);
		}catch(IOException e){
			e.printStackTrace();
		}catch(IOException e){
			e.printStackTrace();
		}
	}
}

Compiler output:
Main.java:7: error: cannot find symbol
		BufferedReader reader = new BufferedReader(new InpputStreamReader(Systemin));
		                                               ^
  symbol:   class InpputStreamReader
  location: class Main
Main.java:7: error: cannot find symbol
		BufferedReader reader = new BufferedReader(new InpputStreamReader(Systemin));
		                                                                  ^
  symbol:   variable Systemin
  location: class Main
2 errors
Language: Java

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

}

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

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

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

public class Main {
    public static void main(String[] args) {
        double base = 3d;
        double exponent = 3d;
        double num = Math.pow(base, exponent);
        System.out.printf(num);
    }
}

Compiler output:
Main.java:6: error: no suitable method found for printf(double)
        System.out.printf(num);
                  ^
    method PrintStream.printf(String,Object...) is not applicable
      (argument mismatch; double cannot be converted to String)
    method PrintStream.printf(Locale,String,Object...) is not applicable
      (argument mismatch; double cannot be converted to Locale)
1 error
Language: Java

public class Main {
    public static void main(String[] args) {
        double x;
        double exponent = 3d;
        double num = Math.pow(x, exponent);
        System.out.printf("%.0f\n", num);
    }
}

Compiler output:
Main.java:5: error: variable x might not have been initialized
        double num = Math.pow(x, exponent);
                              ^
1 error
Language: Java

import java.io.*;

class Main{
	public static void main (String arg[]){
		int num;
		String buf;
		try{
			BufferedREader br = new BufferedReader(new InputStreamReader(System.in));
			
			buf = br.readLine();
			num = Integer.parseInt(bur);
			System.out.print(num*num*nm*);
			System.out.print("\n");
		} catch(Exception e ) {
		}
	}
}

Compiler output:
Main.java:12: error: illegal start of expression
			System.out.print(num*num*nm*);
			                            ^
1 error
Language: Java

import java.io.*;

class Main{
	public static void main (String arg[]){
		int num;
		String buf;
		try{
			BufferedREader br = new BufferedReader(new InputStreamReader(System.in));
			
			buf = br.readLine();
			num = Integer.parseInt(bur);
			System.out.print(num*num*num);
			System.out.print("\n");
		} catch(Exception e ) {
		}
	}
}

Compiler output:
Main.java:8: error: cannot find symbol
			BufferedREader br = new BufferedReader(new InputStreamReader(System.in));
			^
  symbol:   class BufferedREader
  location: class Main
Main.java:11: error: cannot find symbol
			num = Integer.parseInt(bur);
			                       ^
  symbol:   variable bur
  location: class Main
2 errors
Language: Java

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

}

Compiler output:
Main.java:1: error: class 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) {
		int x = (new Scanner(System.in)).nextInt();
		System.out.println(x*x*x);
	}

}

Compiler output:
Main.java:3: error: cannot find symbol
		int x = (new Scanner(System.in)).nextInt();
		             ^
  symbol:   class Scanner
  location: class Main
1 error
Language: Java


import java.util.Scanner;

class Main{

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

tot = x*3;

System.out.Println(tot);
System.out.Println();





    }
}

Compiler output:
Main.java:14: error: cannot find symbol
System.out.Println(tot);
          ^
  symbol:   method Println(int)
  location: variable out of type PrintStream
Main.java:15: error: cannot find symbol
System.out.Println();
          ^
  symbol:   method Println()
  location: variable out of type PrintStream
2 errors
Language: Java

package internship;

import java.util.Scanner;

public class test1 {



	public static void main(String[] args) {
		int x = 0, temp,  tot;
		boolean swi = false;
		Scanner sc = new Scanner(System.in);

		while (swi == true ) {
			temp = sc.nextInt();

			if (1 <= temp || 100 <= temp)
				x = temp;
			swi=true;
		}
		tot = x * x * x;

		System.out.println(tot);
		System.out.println();

	}

}

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

package internship;

import java.util.Scanner;

public class {



	public static void main(String[] args) {
		int x = 0, temp,  tot;
		boolean swi = false;
		Scanner sc = new Scanner(System.in);

		while (swi == true ) {
			temp = sc.nextInt();

			if (1 <= temp || 100 <= temp)
				x = temp;
			swi=true;
		}
		tot = x * x * x;

		System.out.println(tot);
		System.out.println();

	}

}

Compiler output:
Main.java:5: error: <identifier> expected
public class {
            ^
1 error
Language: Java

package internship;

import java.util.Scanner;

public class test1 {

	public static void main(String[] args) {
		int x = 0, temp, tot;
		Scanner sc = new Scanner(System.in);

		while (x != 0) {
			temp = sc.nextInt();

			if (1 >= temp || 100 <= temp) {
				x = temp;
			}
			tot = x * x * x;

			System.out.println(tot);
			System.out.println();

		}

	}
}

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