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

import java.util.Scanner;


public class Main1B {
	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:4: error: class Main1B is public, should be declared in a file named Main1B.java
public class Main1B {
       ^
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);

Compiler output:
Main.java:12: error: reached end of file while parsing
      int x = Integer.parseInt(str);
                                    ^
1 error
Language: Java

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

  int i, o;

  BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  i = Integer.parseInt(br.readline());

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

Compiler output:
Main.java:6: error: cannot find symbol
  BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  ^
  symbol:   class BufferedReader
  location: class Main
Main.java:6: error: cannot find symbol
  BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                          ^
  symbol:   class BufferedReader
  location: class Main
Main.java:6: 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[]){

  int i, o;

  BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  i = Integer.parseInt(br.readLine());

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

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

import java.io.*;

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

  int i, o;

  BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  i = Integer.parseInt(br.readLine());

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

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

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

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

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();

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

	}

}

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

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();

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

	}

}

Compiler output:
Main.java: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){
          for(x = 2 , y = > 27 , x * x){ 
?????????????????????System.out.println(x);
    }
}

Compiler output:
Main.java:3: error: illegal start of expression
          for(x = 2 , y = > 27 , x * x){ 
                          ^
Main.java:3: error: not a statement
          for(x = 2 , y = > 27 , x * x){ 
                                   ^
Main.java:3: error: ';' expected
          for(x = 2 , y = > 27 , x * x){ 
                                      ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
 ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
  ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
   ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
    ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
     ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
      ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
       ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
        ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
         ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
          ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
           ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
            ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
             ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
              ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
               ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
                ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
                 ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
                  ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
                   ^
Main.java:4: error: illegal start of expression
?????????????????????System.out.println(x);
                    ^
Main.java:4: error: : expected
?????????????????????System.out.println(x);
                                          ^
Main.java:6: error: reached end of file while parsing
}
 ^
26 errors
Language: Java

import java.util.Scanner;

public class AskCubeOfX {
    
    public int Input() {
        
        int x = 0;
        Scanner in = new Scanner(System.in);
        
        x = in.nextInt();
        
        return x;
    }
    
    public int askCube(int x) {
        return  x * x * x;
    }
    
    public void Print(int cube) {
        System.out.println(cube);
    }
}

public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        int x = 0, cube = 0;
        
        AskCubeOfX test = new AskCubeOfX();
        
        x = test.Input();
        
        cube = test.askCube(x);
        
        test.Print(cube);
    }
}

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

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

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

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

Public Class Main
{
     public static void(int x)
     {
          int y = 3;
          y = y * x;
          System.out.println(y);
     }
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
Public Class Main
^
Main.java:3: error: class, interface, enum, or record expected
     public static void(int x)
                   ^
Main.java:6: error: class, interface, enum, or record expected
          y = y * x;
          ^
Main.java:7: error: class, interface, enum, or record expected
          System.out.println(y);
          ^
Main.java:8: error: class, interface, enum, or record expected
     }
     ^
5 errors
Language: Java

package Lesson;
//ITP_1_1B X Cube
import java.util.Scanner;
public class Itp1_1B {
	//?????°
	public static int x;
	//????????????
	public static void solve(){
		System.out.println( x*x*x );
	}
	
	public static void main( String[] args ){
		Scanner	sc = new Scanner( System.in );
		x = sc.nextInt();
		
		solve();
	}
}

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

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

            }

	}

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

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

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

Compiler output:
Main.java:4: error: illegal start of expression
 ???int x =  new java.util.Scanner(System.in).nextInt();
 ^
Main.java:4: error: illegal start of expression
 ???int x =  new java.util.Scanner(System.in).nextInt();
  ^
Main.java:4: error: illegal start of expression
 ???int x =  new java.util.Scanner(System.in).nextInt();
   ^
Main.java:4: error: '.class' expected
 ???int x =  new java.util.Scanner(System.in).nextInt();
        ^
Main.java:4: error: : expected
 ???int x =  new java.util.Scanner(System.in).nextInt();
                                                       ^
5 errors
Language: Java

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

Compiler output:
Main.java:3: error: illegal start of expression
 ???int x =  new java.util.Scanner(System.in).nextInt();
 ^
Main.java:3: error: illegal start of expression
 ???int x =  new java.util.Scanner(System.in).nextInt();
  ^
Main.java:3: error: illegal start of expression
 ???int x =  new java.util.Scanner(System.in).nextInt();
   ^
Main.java:3: error: '.class' expected
 ???int x =  new java.util.Scanner(System.in).nextInt();
        ^
Main.java:3: error: : expected
 ???int x =  new java.util.Scanner(System.in).nextInt();
                                                       ^
5 errors
Language: Java

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

Compiler output:
Main.java:4: error: illegal start of expression
 ???int x = Scanner(System.in);
 ^
Main.java:4: error: illegal start of expression
 ???int x = Scanner(System.in);
  ^
Main.java:4: error: illegal start of expression
 ???int x = Scanner(System.in);
   ^
Main.java:4: error: '.class' expected
 ???int x = Scanner(System.in);
        ^
Main.java:4: error: : expected
 ???int x = Scanner(System.in);
                              ^
5 errors
Language: Java

import java.util.Scanner;

public class Cubed{
    public static void main(String[]args){
	Scanner stdin = new Scanner(System.in);
	//int x = Integer.parseInt(args[0]);
	int x = stdin.nextInt();
	if(1<=x && x<=100){
	    System.out.println(x*x*x);
	}
    }
}

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

import java.util.Scanner;

public class Cubed{
    public static void main(String[]args){
	Scanner stdin = new Scanner(System.in);
	//int x = Integer.parseInt(args[0]);
	int x = stdin.nextInt();
	System.out.println(x*x*x);
    }
}

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

public class ITP1_1_B{
	public static void main(String[] args){
		
		String value;		//????????????????????????????????\?????????
		int input;			//??\????????????????????????
		int output;			//???????????????
		
		System.out.println("??´??°?????\?????????????????????");
		value = new java.util.Scanner(System.in).nextLine();	//???????????????????????????????????\???
		
		
		input=Integer.parseInt(value);				//??\??????????????????String??????int????????????
		output=(int)(Math.pow((double)input,3));	//??\??????????????????3????????????Math.pow???double???????????°?????¨?????????????????£??????????????£????????????
		System.out.println(output);					//????????¨???	
		
	}
}

Compiler output:
Main.java:8: error: illegal escape character
		System.out.println("???????????\?????????????????????");
		                                ^
1 error
Language: Java

import java.util.Scanner;
public class ThreeCube {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
Scanner kb=new Scanner(System.in);
int a=kb.nextInt();
System.out.printf("%d\n", a*a*a);
	}

}

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

import java.util.Scanner;
public class ThreeCube {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner kb=new Scanner(System.in);
		int a=kb.nextInt();
		System.out.printf("%d\n", a*a*a);
		kb.close();
	}

}

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

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

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

	public static void main(String[] args) {

		int sample = 0;
		for(int i = 0; i<3;i++){
			sample = sample * sample;
			
		}
		
		
	
}

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;

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

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

public class Main {
	public static void main(String [] args){
		//????????£?????????????????£?¨?
		Scanner sc = new Scanner(System.in);
		//????????£??????????????§??\???????????????
		int X = sc.nextInt(); 
		
		//X???3?????????
		int AX = X * X * X;
		
		//??¨???
		System.out.println(AX);
	}
}

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

package test;

import java.util.Scanner;

public class MainC {
	public static void main(String[]args){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//??\???????????????
		int X = sc.nextInt();
		//X???3???
		//int XX = X * X * X;
		
		int XX = X^3;
		//??¨???
		System.out.println(XX);
	}
}

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

import java.io.*;
public class XCublic {
	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);
		System.out.println(x*x*x);
		}
}

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

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

Compiler output:
Main.java:2: error: cannot find symbol
	public static void main(String args[]) throws IOException{
	                                              ^
  symbol:   class IOException
  location: class Main
Main.java:3: error: cannot find symbol
		BufferedReader in=new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Main
Main.java:3: error: cannot find symbol
		BufferedReader in=new BufferedReader(new InputStreamReader(System.in));
		                      ^
  symbol:   class BufferedReader
  location: class Main
Main.java:3: error: cannot find symbol
		BufferedReader in=new BufferedReader(new InputStreamReader(System.in));
		                                         ^
  symbol:   class InputStreamReader
  location: class Main
4 errors
Language: Java

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

Compiler output:
Main.java:1: error: ';' expected
import java.io
              ^
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.nextLine();
     int num = x * x * x;
     System.out.println(num);

}

}

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


import java.util.*;

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

Compiler output:
Main.java:4: error: class xCubic is public, should be declared in a file named xCubic.java
public class xCubic{
       ^
Main.java:8: error: cannot find symbol
		System.out.println(Math.found(Math.pow(x, 3))); 
		                       ^
  symbol:   method found(double)
  location: class Math
2 errors
Language: Java

// AOJ
// ITP1_1-B X cubic
import java.util.*;

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

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

import java.lang.Math;
class Test {
    public static void main(String[] args)???throws java.io.IOException {
        int c;
            c = System.in.read();
            System.out.println(pow(c,3));
        }
    }
}

Compiler output:
Main.java:3: error: ';' expected
    public static void main(String[] args)???throws java.io.IOException {
                                          ^
Main.java:9: error: class, interface, enum, or record expected
}
^
2 errors
Language: Java

import java.lang.Math;
class Test {
    public static void main(String[] args)???throws java.io.IOException {
        int c;
            c = System.in.read();
            System.out.println(pow(c,3));
    }
}

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

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

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

java.lang.Object;
class Test {
    public static void main(String[] args)throws java.io.IOException {
        int c;
       c = System.in.read();
            System.out.println(pow(c,3));
    }
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
java.lang.Object;
^
1 error
Language: Java

import java.lang.Object;
class Test {
    public static void main(String[] args)throws java.io.IOException {
        int c;
       c = System.in.read();
            System.out.println(pow(c,3));
    }
}

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

public class Main {
	public static void main(String[] args) throws Exception {
	InputStreamReader isr = new InputStreamReader(System.in);
	BufferedReader br = new BufferedReader(isr);
	String buf = br.readLine();
	double x = Double.parseDouble(buf);
	System.out.println(Math.pow(x, 3));
	}
}

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

import java.lang.Scanner;


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

Compiler output:
Main.java:4: error: class ITP1_1_B is public, should be declared in a file named ITP1_1_B.java
public class ITP1_1_B{
       ^
Main.java:1: error: cannot find symbol
import java.lang.Scanner;
                ^
  symbol:   class Scanner
  location: package java.lang
Main.java:6: error: cannot find symbol
		Scanner in = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class ITP1_1_B
Main.java:6: error: cannot find symbol
		Scanner in = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class ITP1_1_B
Main.java:7: error: cannot find symbol
		PrintWriter out = new PrintWriter(System.out);
		^
  symbol:   class PrintWriter
  location: class ITP1_1_B
Main.java:7: error: cannot find symbol
		PrintWriter out = new PrintWriter(System.out);
		                      ^
  symbol:   class PrintWriter
  location: class ITP1_1_B
6 errors
Language: Java

import java.lang.Scanner;


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

Compiler output:
Main.java:1: error: cannot find symbol
import java.lang.Scanner;
                ^
  symbol:   class Scanner
  location: package java.lang
Main.java:6: error: cannot find symbol
		Scanner in = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
		Scanner in = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
Main.java:7: error: cannot find symbol
		PrintWriter out = new PrintWriter(System.out);
		^
  symbol:   class PrintWriter
  location: class Main
Main.java:7: error: cannot find symbol
		PrintWriter out = new PrintWriter(System.out);
		                      ^
  symbol:   class PrintWriter
  location: class Main
5 errors
Language: Java

import java.lang.*;


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

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

import java.lang.*;

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

Compiler output:
Main.java:5: error: cannot find symbol
		Scanner in = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
		Scanner in = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
		PrintWriter out = new PrintWriter(System.out);
		^
  symbol:   class PrintWriter
  location: class Main
Main.java:6: error: cannot find symbol
		PrintWriter out = new PrintWriter(System.out);
		                      ^
  symbol:   class PrintWriter
  location: class Main
4 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 InputStreamReader(System.in));
        String word;
        try {
            word = reader.readLine();
            int num = Integer.parseInt(word);
            int ans = num * num * num;
            System.out.println(ans);
        } catch (IOException e) {
            // TODO ????????????????????? catch ????????????
            e.printStackTrace();
        } finally {
            try {
                reader.close();
            } catch (IOException e) {
                // TODO ????????????????????? catch ????????????
                e.printStackTrace();
            }
        }
         
         
    }
}
Compile Error Logs:
You are not authorized to see the message.

???????????????
Judge: 4/4 	JAVA 	CPU: 00.03 sec 	Memory: 24408 KB 	Length: 723 B 	2016-02-22 23:58 	2016-02-22 23:58
???????????±?????????????????????
Case # 	Verdict 	CPU Time 	Memory 	In 	Out 	Case Name
Case #1: 	: Accepted 	00.03 sec 	24408 KB 	2 B 	2 B 	test_case_1
Case #2: 	: Accepted 	00.03 sec 	23900 KB 	2 B 	3 B 	test_case_2
Case #3: 	: Accepted 	00.03 sec 	24124 KB 	3 B 	7 B 	test_case_3
Case #4: 	: Accepted 	00.03 sec 	24132 KB 	4 B 	8 B 	test_case_4
< prev | 	1 	/ 	4 	| next > 	  		 : Accepted        00.03 sec        24408 KB
 
Judge Input #1 ( in1.txt | 2 B) 		Judge Output #1 ( out1.txt | 2 B)

1

		

1

Comments
 
 ??\????????§??????
 
Categories
 
 
Free Tags
 
 

Compiler output:
Main.java:29: error: class, interface, enum, or record expected
Compile Error Logs:
^
Main.java:34: error: illegal character: '\u00b1'
?????????????????????????????????
           ^
Main.java:35: error: illegal character: '#'
Case # 	Verdict 	CPU Time 	Memory 	In 	Out 	Case Name
     ^
Main.java:36: error: illegal character: '#'
Case #1: 	: Accepted 	00.03 sec 	24408 KB 	2 B 	2 B 	test_case_1
     ^
Main.java:37: error: illegal character: '#'
Case #2: 	: Accepted 	00.03 sec 	23900 KB 	2 B 	3 B 	test_case_2
     ^
Main.java:38: error: illegal character: '#'
Case #3: 	: Accepted 	00.03 sec 	24124 KB 	3 B 	7 B 	test_case_3
     ^
Main.java:39: error: illegal character: '#'
Case #4: 	: Accepted 	00.03 sec 	24132 KB 	4 B 	8 B 	test_case_4
     ^
Main.java:42: error: illegal character: '#'
Judge Input #1 ( in1.txt | 2 B) 		Judge Output #1 ( out1.txt | 2 B)
            ^
Main.java:42: error: illegal character: '#'
Judge Input #1 ( in1.txt | 2 B) 		Judge Output #1 ( out1.txt | 2 B)
                                		             ^
Main.java:52: error: illegal character: '\'
 ??\???????????????
   ^
Main.java:52: error: illegal character: '\u00a7'
 ??\???????????????
            ^
11 errors
Language: Java

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

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

Compiler output:
Main.java:6: error: cannot find symbol
        Scanner stdId = new Scanner(system.in);
                                    ^
  symbol:   variable system
  location: class Main
1 error
Language: Java

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

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

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

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

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

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

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

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

class Main{
   public static void main(String[] args){
       BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1);

       String s = r.readLine();        // ??????????????\???
       int a = Integer.parseInt(s);    // ??´??°?????????

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

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

import java.io.*;
class Main{
   public static void main(String[] args){
       BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1);

       String s = r.readLine();        // ??????????????\???
       int a = Integer.parseInt(s);    // ??´??°?????????

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

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

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

      System.out.println(x)
   }
}

Compiler output:
Main.java:8: error: ';' expected
      System.out.println(x)
                           ^
1 error
Language: Java

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

      System.out.println(x);
   }
}

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

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

     int x;
     x = 2;
     system.out.println(x*x*x) ;
   }
 }

Compiler output:
Main.java:2: error: cannot find symbol
   public static void main(Strings[] args) {
                           ^
  symbol:   class Strings
  location: class Main
Main.java:7: error: package system does not exist
     system.out.println(x*x*x) ;
           ^
2 errors
Language: Java

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

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

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

Compiler output:
Main.java:4: error: illegal start of expression
    1 ??? x ??? 100;
       ^
Main.java:4: error: illegal start of expression
    1 ??? x ??? 100;
        ^
Main.java:4: error: illegal start of expression
    1 ??? x ??? 100;
             ^
Main.java:4: error: illegal start of expression
    1 ??? x ??? 100;
              ^
Main.java:4: error: : expected
    1 ??? x ??? 100;
                   ^
Main.java:4: error: not a statement
    1 ??? x ??? 100;
      ^
6 errors
Language: Java

import java.io.*;
class Test {
    public static void main(String[] args) throws IOException {
        BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
                                        // ???????????\????????????
        
        int x = r.readLine();        // ??????????????\???
        x = x*x*x;
        
        System.out.println(x);
    }
}

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

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

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

import java.io.*;
class Test {
    public static void main(String[] args){

        BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1);
        
        String s = r.readLine();
        int x = Integer.parseInt(s);
        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
        String s = r.readLine();
                             ^
1 error
Language: Java

class Main{

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

}

}

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

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

      int x;
      x > = 1;
      x = < 100;
    
    System.out.println("x*x*x");
  }
}

Compiler output:
Main.java:6: error: illegal start of expression
      x > = 1;
          ^
Main.java:7: error: illegal start of type
      x = < 100;
            ^
2 errors
Language: Java

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

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

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

      int x;
      1=<x=<100;
    
    System.out.println("x*x*x");
  }
}

Compiler output:
Main.java:6: error: > or ',' expected
      1=<x=<100;
          ^
Main.java:6: error: illegal start of type
      1=<x=<100;
            ^
2 errors
Language: Java

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

      int x;
      int y;
      1=<x=<100;
      y=x*x*x;
    
    System.out.println("x");
    System.out.println("y");
  }
}

Compiler output:
Main.java:7: error: > or ',' expected
      1=<x=<100;
          ^
Main.java:7: error: illegal start of type
      1=<x=<100;
            ^
2 errors
Language: Java

public class Main {
    public static void main(String[] args) {
        // ?¨??????\??????????????????????????????Scanner???????????§??????????????????
        Scanner sc = new Scanner(System.in);

        // int ????????????????????????
        int x = sc.nextInt();
????????????int y=0;
        y=x*x*x;

        // ?¨????????????????????????????
        System.out.println(y);
    }
}

Compiler output:
Main.java:8: error: illegal start of expression
????????????int y=0;
^
Main.java:8: error: illegal start of expression
????????????int y=0;
 ^
Main.java:8: error: illegal start of expression
????????????int y=0;
  ^
Main.java:8: error: illegal start of expression
????????????int y=0;
   ^
Main.java:8: error: illegal start of expression
????????????int y=0;
    ^
Main.java:8: error: illegal start of expression
????????????int y=0;
     ^
Main.java:8: error: illegal start of expression
????????????int y=0;
      ^
Main.java:8: error: illegal start of expression
????????????int y=0;
       ^
Main.java:8: error: illegal start of expression
????????????int y=0;
        ^
Main.java:8: error: illegal start of expression
????????????int y=0;
         ^
Main.java:8: error: illegal start of expression
????????????int y=0;
          ^
Main.java:8: error: illegal start of expression
????????????int y=0;
           ^
Main.java:8: error: '.class' expected
????????????int y=0;
                ^
Main.java:8: error: : expected
????????????int y=0;
                   ^
14 errors
Language: Java


public class HelloWorld {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		double x = 2;
		double y = 3;
		System.out.println(Math.pow(x, y));
	}

}

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

import java.lang.Math;

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

public class ITP1_1_B {
  public static void main(String[] args) {
    int x = Integer.parseInt(args[0]);
    int pow = 1;
    for (int i = 0;i < 3 ;i++) {
      pow *= x;
    }
    System.out.println(pow);
  }
}

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

import java.lang.Math;

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

Compiler output:
Main.java:3: error: class ITP1_1_B is public, should be declared in a file named ITP1_1_B.java
public class ITP1_1_B {
       ^
Main.java:6: error: cannot find symbol
    System.out.println(pow(x,3));
                       ^
  symbol:   method pow(int,int)
  location: class ITP1_1_B
2 errors
Language: Java

import java.lang.Math;

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

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

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num = Integer.parseInt(sc.nextLine());
		System.out.println((int)Math.pow(num, 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
2 errors
Language: Java

import java.util.Scanner;

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

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

import java.util.Scanner;

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

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

import java.util.Scanner;

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

Compiler output:
Main.java:3: error: class, interface, enum, or record expected
public static Main {
              ^
Main.java:4: 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:6: error: ';' expected
  int x = sc nextInt();
            ^
Main.java:8: error: class, interface, enum, or record expected
  System.out.println(answer);
  ^
Main.java:9: error: class, interface, enum, or record expected
 }
 ^
5 errors
Language: Java

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

public class XCubic {
	public static void main(String[] args) {
		System.out.println("Please input x:");
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String s;
		try {
			s = reader.readLine();
			int x = Integer.parseInt(s);
			System.out.println(x * x * x);
		} catch (IOException e) {
			System.out.println(e);
		}
	}
}

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

import java.util.Scanner;

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

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

Compiler output:
Main.java:9: error: <identifier> expected
  System.out.println(answer);
                    ^
Main.java:9: error: <identifier> expected
  System.out.println(answer);
                           ^
Main.java:11: error: class, interface, enum, or record expected
}
^
3 errors
Language: Java

import java.util.Scanner;

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

	Scanner sc=new Scanner(System.in);
	System.out.println("enter x:");
	int x=sc.nextInt();
        int answer=x * x * x;
	System.out.println(answer);
	
    }
}

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

import java.util.Scanner;

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

	Scanner sc=new Scanner(System.in);
	System.out.println("enter x:");
	int x=sc.nextInt();
        int answer=x * x * x;
	System.out.println(answer);
	
    }
}

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

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

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