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

import java.io.*;                            //入出力用パッケージを利用する
class Main{
  public static void main(String[] args) throws IOException {
    BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
    String s;
    s = buf.readLine();
    int x = parseInt(str);
    System.out.println(Math.pow(x,3));
  }
}

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

import java.io.*;                            //入出力用パッケージを利用する
class Main{
  public static void main(String[] args) throws IOException {
    BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
    String s;
    s = buf.readLine();
    int x = parseInt(s);
    System.out.println(Math.pow(x,3));
  }
}

Compiler output:
Main.java:7: error: cannot find symbol
    int x = parseInt(s);
            ^
  symbol:   method parseInt(String)
  location: class Main
1 error
Language: Java

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

Compiler output:
Main.java:3: error: incompatible types: int cannot be converted to String
    String s = System.in.read();
                             ^
1 error
Language: Java

import java.io.*;
class Main{
  public static void main(String[] args) throws IOException {
    Scanner sc = new Scanner(System.in);
    x = sc.nextInt();
    System.out.println(Math.pow(x, 3));
  }
}

Compiler output:
Main.java:4: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
    x = sc.nextInt();
    ^
  symbol:   variable x
  location: class Main
Main.java:6: error: cannot find symbol
    System.out.println(Math.pow(x, 3));
                                ^
  symbol:   variable x
  location: class Main
4 errors
Language: Java

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

Compiler output:
Main.java:3: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
    x = sc.nextInt();
    ^
  symbol:   variable x
  location: class Main
Main.java:5: error: cannot find symbol
    System.out.println(Math.pow(x, 3));
                                ^
  symbol:   variable x
  location: class Main
4 errors
Language: Java

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

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

import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    double a = Double.palseDouble(x);
    System.out.println(a,3d);
  }
}

Compiler output:
Main.java:6: error: cannot find symbol
    double a = Double.palseDouble(x);
                     ^
  symbol:   method palseDouble(int)
  location: class Double
Main.java:7: error: no suitable method found for println(double,double)
    System.out.println(a,3d);
              ^
    method PrintStream.println() is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(boolean) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(int) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(long) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(float) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(double) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char[]) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(String) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(Object) is not applicable
      (actual and formal argument lists differ in length)
2 errors
Language: Java

import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    double a = Double.parseDouble(x);
    System.out.println(a,3d);
  }
}

Compiler output:
Main.java:6: error: incompatible types: int cannot be converted to String
    double a = Double.parseDouble(x);
                                  ^
Main.java:7: error: no suitable method found for println(double,double)
    System.out.println(a,3d);
              ^
    method PrintStream.println() is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(boolean) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(int) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(long) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(float) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(double) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char[]) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(String) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(Object) is not applicable
      (actual and formal argument lists differ in length)
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors
Language: Java

import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    double a = x;
    System.out.println(int(Math.pow(a,3d)));
  }
}

Compiler output:
Main.java:7: error: '.class' expected
    System.out.println(int(Math.pow(a,3d)));
                          ^
Main.java:7: error: ';' expected
    System.out.println(int(Math.pow(a,3d)));
                                         ^
2 errors
Language: Java

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

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

public class Main {

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

	}

}

Compiler output:
Main.java:9: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:9: 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 arg[])
	{
		Scanner scan = new Scanner(System.in);
		int x  = scan.nextInt();
		
		System.out.println(x*x*x);
	}
}

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

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

	sum = x * x * x;

	System.out.println(sum);
    }
}

Compiler output:
Main.java:6: error: cannot find symbol
	Scanner sc = new Scanner(System.in);
	^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
	Scanner sc = new Scanner(System.in);
	                 ^
  symbol:   class Scanner
  location: class Main
Main.java:9: error: cannot find symbol
	sum = x * x * x;
	^
  symbol:   variable sum
  location: class Main
Main.java:11: error: cannot find symbol
	System.out.println(sum);
	                   ^
  symbol:   variable sum
  location: class Main
4 errors
Language: Java

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

	sum = x * x * x;

	System.out.println(sum);
    }
}

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

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

	sum = x * x * x;

	System.out.println(sum);
    }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String args[])
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

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

	sum = x * x * x;

	System.out.println(sum);
    }
}

Compiler output:
Main.java:6: error: cannot find symbol
	Scanner sc = new Scanner(System.in);
	^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: variable sc is already defined in method main(String[])
	Scanner sc = new Scanner(System.in);
	        ^
Main.java:6: error: cannot find symbol
	Scanner sc = new Scanner(System.in);
	                 ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: Java

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

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

import java.util.Scanner;

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

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

import java.util.Scanner;

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

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

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

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

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

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

import java.io.*

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

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

import java.util.Scanner;

/**
 *
 * @author Dranzers
 */
Class Pangkat {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        int a = 0, b = 3;
        double c = 0;
        Scanner input = new Scanner(System.in);
        a = input.nextInt();
        c = (int) Math.pow(a, b);
        System.out.println(c);
    }
}

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

import java.util.*;
class Main{
    public static void main(String[] a){
 int a = 0, b = 3;
        double c = 0;
        Scanner input = new Scanner(System.in);
        a = input.nextInt();
        c = (int) Math.pow(a, b);
        System.out.println(c);
    }
}

Compiler output:
Main.java:4: error: variable a is already defined in method main(String[])
 int a = 0, b = 3;
     ^
1 error
Language: Java

import java.util.Scanner;
class Main{
    public static void main(String[] a){
 int a = 0, b = 3, c = 0;
        Scanner input = new Scanner(System.in);
        a = input.nextInt();
        c = (int) Math.pow(a, b);
        System.out.println(c);
    }
}

Compiler output:
Main.java:4: error: variable a is already defined in method main(String[])
 int a = 0, b = 3, c = 0;
     ^
1 error
Language: Java

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

Compiler output:
Main.java:6: error: cannot find symbol
System.out.println(pow(in.nextInt(),3));
                   ^
  symbol:   method pow(int,int)
  location: class Main
1 error
Language: Java

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

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

import java.io.*

public class Main
{
   public static void main(String[] args)
   {
      BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
      String st=br.readLine();
      int x=Integer.parseInt(st);
      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 Main
{
   public static void main(String[] args)
   {
      BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
      String st=br.readLine();
      int x=Integer.parseInt(st);
      System.out.println(x*x*x);
   }
}

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

import java.io.*;

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

Compiler output:
Main.java:12: error: 'catch' without 'try'
      catch(Exception e){}
      ^
Main.java:7: error: 'try' without 'catch', 'finally' or resource declarations
      try {
      ^
Main.java:14: error: reached end of file while parsing
}
 ^
3 errors
Language: Java

public class XCubic {
	public static void main(String[] args) {
		if (args == null || args.length == 0) {
			System.out.println("At least one argument required.");
			return;
		}

		int value = Integer.parseInt(args[0]);
		
		int result = value * value * value;

		System.out.println(result);
	}
}

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

	public static void main(String[] args) {
		if (args == null || args.length == 0) {
			System.out.println("At least one argument required.");
			return;
		}

		int value = Integer.parseInt(args[0]);
		
		int result = value * value * value;

		System.out.println(result);
	}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
	public static void main(String[] args) {
	              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

public class Main {
	public static void main(String[] args) {
		if (args == null || args.length == 0) {
			System.out.println("At least one argument required.");
			return;
		}

		int value = Integer.parseInt(args[0]);
		
		int result = value * value;
		int result *= value;

		System.out.println(result);
	}
}

Compiler output:
Main.java:11: error: ';' expected
		int result *= value;
		          ^
Main.java:11: error: not a statement
		int result *= value;
		              ^
2 errors
Language: Java

public class Main {
	public static void main(String[] a) {
		try{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int i = Integer.parseInt(br.readLine());
		System.out.println((int)Math.pow(i,3));
		br.close();
		}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.*;

public class Main {
	public static void main(String[] a) {
		try{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int i = Integer.parseInt(br.readLine());
		System.out.println((int)Math.pow(i,3));
	
		br.close();
		}catch(Exception e){
			e.printStackTrace();
		}
	}

}
。 

Compiler output:
Main.java:17: error: illegal character: '\u3002'
? 
^
Main.java:17: error: reached end of file while parsing
? 
  ^
2 errors
Language: Java

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
				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
Main.java:4: error: cannot find symbol
				x = sc.nextInt();
				^
  symbol:   variable x
  location: class Main
Main.java:6: error: cannot find symbol
				System.out.println(x*x*x);
				                   ^
  symbol:   variable x
  location: class Main
Main.java:6: error: cannot find symbol
				System.out.println(x*x*x);
				                     ^
  symbol:   variable x
  location: class Main
Main.java:6: error: cannot find symbol
				System.out.println(x*x*x);
				                       ^
  symbol:   variable x
  location: class Main
6 errors
Language: Java

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

Compiler output:
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
		System.out.prinln(x);
		          ^
  symbol:   method prinln(int)
  location: variable out of type PrintStream
3 errors
Language: Java

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

Compiler output:
Main.java:4: error: cannot find symbol
		System.out.prinln(x);
		          ^
  symbol:   method prinln(int)
  location: variable out of type PrintStream
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

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

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

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

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

import java.lang.Math;

public class Xcubic {
	public static void main(String args[]) {
		int x = Integer.parseInt(args[0]);
		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

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

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

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

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

#include <stdio.h>

int main(void){
int x;
scanf("%d", &x);
printf("%d",x*x*x);
return 0;
}

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

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

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

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

Compiler output:
Main.java:8: error: incompatible types: unexpected return value
                 return 0;
                        ^
1 error
Language: Java

import java.util.Scanner;
public class Main{
        public static void main(String args[]){
                int a,b;
                Scanner sc = new Scanner(System.in);
                a=sc.nextInt();
                b=Math.pow(a,3);
                System.out.println((int)b);
        }
}

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

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

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

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

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

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

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args)
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

import java.util.Scanner;


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

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

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

}

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

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

}

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

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

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

import java.util.Scanner;

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

}

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

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

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

class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		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
Main.java:4: error: cannot find symbol
		x = sc.nextInt();
		^
  symbol:   variable x
  location: class Main
Main.java:5: error: cannot find symbol
		System.out.println(x*x*x);
		                   ^
  symbol:   variable x
  location: class Main
Main.java:5: error: cannot find symbol
		System.out.println(x*x*x);
		                     ^
  symbol:   variable x
  location: class Main
Main.java:5: error: cannot find symbol
		System.out.println(x*x*x);
		                       ^
  symbol:   variable x
  location: class Main
6 errors
Language: Java

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

Compiler output:
Main.java:4: error: cannot find symbol
    System.println(i*i*i);
          ^
  symbol:   method println(int)
  location: class System
1 error
Language: Java

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

}

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

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

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

import java.util.Scanner;

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

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

class Main{
	public static void main(String[] args){
    	System.out.println("xの値を入力してください");
		Scanner sc = new Scanner(System.in);
			int x =  sc.nextInt();
    	System.out.println("x^3 = " + x*x*x);   	
    }
}

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

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

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

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

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

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

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

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

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

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args)
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

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

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args)
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

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

}

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

public static void main(String[] args)
	{
		 int x;
         System.out.println();
         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;
         }
		System.out.println(x*x*x);   	
    }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args)
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

class Scanner
 {
	 public static void main(String[] args)
	{
		 int x;
         System.out.println();
         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;
         }
		System.out.println(x*x*x);   	
    }
}

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

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

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args)
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

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

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

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

Compiler output:
Main.java:6: error: illegal character: '\u3000'
	??Scanner scan = new Scanner(System.in);
	^
Main.java:6: error: illegal character: '\u3000'
	??Scanner scan = new Scanner(System.in);
	 ^
Main.java:7: error: illegal character: '\u3000'
	??int x = scan.nextInt();
	^
Main.java:7: error: illegal character: '\u3000'
	??int x = scan.nextInt();
	 ^
Main.java:8: error: illegal character: '\u3000'
	??System.out.println(x*x*x);
	^
Main.java:8: error: illegal character: '\u3000'
	??System.out.println(x*x*x);
	 ^
6 errors
Language: Java

import java.util.Scanner;
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:6: error: illegal character: '\u3000'
	??Scanner sc = new Scanner(System.in);
	^
Main.java:6: error: illegal character: '\u3000'
	??Scanner sc = new Scanner(System.in);
	 ^
Main.java:7: error: illegal character: '\u3000'
	??int x = sc.nextInt();
	^
Main.java:7: error: illegal character: '\u3000'
	??int x = sc.nextInt();
	 ^
Main.java:8: error: illegal character: '\u3000'
	??System.out.println(x*x*x);
	^
Main.java:8: error: illegal character: '\u3000'
	??System.out.println(x*x*x);
	 ^
6 errors
Language: Java

#include <stdio.h>

int main(void){
 int a,b;
  scanf("%d",&a);
  b = a * a * a;
  printf("%d\n", b);
  return 0;
}

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

import java.util.Scanner;
public class cubic{
     public static void main(String [] args){
           Scanner a = new Scanner(System.in);
           System.out.print("x = ");
           int x = a.nextInt();
           x = x*x*x;
          System.out.println("x = %d",x);
          return;
       }
}

Compiler output:
Main.java:2: error: class cubic is public, should be declared in a file named cubic.java
public class cubic{
       ^
Main.java:8: error: no suitable method found for println(String,int)
          System.out.println("x = %d",x);
                    ^
    method PrintStream.println() is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(boolean) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(int) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(long) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(float) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(double) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char[]) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(String) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(Object) is not applicable
      (actual and formal argument lists differ in length)
2 errors
Language: Java

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

Compiler output:
Main.java:2: error: unnamed classes are a preview feature and are disabled by default.
     public static void main(String [] args){
                   ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

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

Compiler output:
Main.java:3: error: cannot find symbol
  Scanner sc = new Scanner(System.in);
  ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
  Scanner sc = new Scanner(System.in);
                   ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
  x=sc.nextInt();
  ^
  symbol:   variable x
  location: class Main
Main.java:5: error: cannot find symbol
  x=x*x*x;
  ^
  symbol:   variable x
  location: class Main
Main.java:5: error: cannot find symbol
  x=x*x*x;
    ^
  symbol:   variable x
  location: class Main
Main.java:5: error: cannot find symbol
  x=x*x*x;
      ^
  symbol:   variable x
  location: class Main
Main.java:5: error: cannot find symbol
  x=x*x*x;
        ^
  symbol:   variable x
  location: class Main
Main.java:6: error: cannot find symbol
  System.out.println(x);
                     ^
  symbol:   variable x
  location: class Main
8 errors
Language: Java

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

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

import java.util.Scanner

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

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