row_id large_string | sid large_string | submission_id large_string | pid large_string | problem_id large_string | uid large_string | user_id large_string | date int64 | date_iso timestamp[ms] | source_name large_string | code large_string | compilemessage large_string | compile_status large_string | exit_code int64 | javac_version large_string | category large_string | label_status large_string | taxonomy_version large_string | session_id large_string | session_6h large_string | source large_string | original_status large_string | code_size int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
v2_s959291451 | s959291451 | s959291451 | p02388 | p02388 | u532504715 | u532504715 | 1,530,509,863 | 2018-07-02T05:37:43 | Main.java | import java.util.Scanner;
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);
}
}
| Main.java:6: error: cannot find symbol
Int x = scan.nextInt();
^
symbol: class Int
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u532504715|p02388|0 | u532504715|p02388|0 | codenet | Compile Error | 218 | |
v2_s609674922 | s609674922 | s609674922 | p02388 | p02388 | u534111608 | u534111608 | 1,460,947,489 | 2016-04-18T02:44:49 | Main.java | import java.io*
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
int x=b^3;
System.out.println(x);
}
} | Main.java:1: error: ';' expected
import java.io*
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u534111608|p02388|0 | u534111608|p02388|0 | codenet | Compile Error | 213 | |
v2_s138910846 | s138910846 | s138910846 | p02388 | p02388 | u534111608 | u534111608 | 1,460,947,539 | 2016-04-18T02:45:39 | Main.java | import java.io.*;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
int x=b^3;
System.out.println(x);
}
} | Main.java:6: error: bad operand types for binary operator '^'
int x=b^3;
^
first type: BufferedReader
second type: int
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u534111608|p02388|0 | u534111608|p02388|0 | codenet | Compile Error | 215 | |
v2_s558679714 | s558679714 | s558679714 | p02388 | p02388 | u534111608 | u534111608 | 1,460,947,674 | 2016-04-18T02:47:54 | Main.java | import java.io*
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
int x=Math.pow(b, 3);
System.out.println(x);
}
} | Main.java:1: error: ';' expected
import java.io*
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u534111608|p02388|0 | u534111608|p02388|0 | codenet | Compile Error | 224 | |
v2_s032404072 | s032404072 | s032404072 | p02388 | p02388 | u534111608 | u534111608 | 1,460,947,699 | 2016-04-18T02:48:19 | Main.java | import java.io.*;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
int x=Math.pow(b, 3);
System.out.println(x);
}
} | Main.java:6: error: incompatible types: BufferedReader cannot be converted to double
int x=Math.pow(b, 3);
^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u534111608|p02388|0 | u534111608|p02388|0 | codenet | Compile Error | 226 | |
v2_s570825171 | s570825171 | s570825171 | p02388 | p02388 | u534111608 | u534111608 | 1,460,947,741 | 2016-04-18T02:49:01 | Main.java | import java.io.*;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
int x=(int)Math.pow(b, 3);
System.out.println(x);
}
} | Main.java:6: error: incompatible types: BufferedReader cannot be converted to double
int x=(int)Math.pow(b, 3);
^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u534111608|p02388|0 | u534111608|p02388|0 | codenet | Compile Error | 231 | |
v2_s285670634 | s285670634 | s285670634 | p02388 | p02388 | u534111608 | u534111608 | 1,460,947,762 | 2016-04-18T02:49:22 | Main.java | import java.io.*;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
double x=Math.pow(b, 3);
System.out.println(x);
}
} | Main.java:6: error: incompatible types: BufferedReader cannot be converted to double
double x=Math.pow(b, 3);
^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u534111608|p02388|0 | u534111608|p02388|0 | codenet | Compile Error | 229 | |
v2_s157134222 | s157134222 | s157134222 | p02388 | p02388 | u534111608 | u534111608 | 1,460,947,891 | 2016-04-18T02:51:31 | Main.java | import java.io.*;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
int bi=b.toInteger();
int x=Math.pow(bi, 3);
System.out.println(x);
}
} | Main.java:6: error: cannot find symbol
int bi=b.toInteger();
^
symbol: method toInteger()
location: variable b of type BufferedReader
Main.java:7: error: incompatible types: possible lossy conversion from double to int
int x=Math.pow(bi, 3);
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u534111608|p02388|0 | u534111608|p02388|0 | codenet | Compile Error | 251 | |
v2_s742329377 | s742329377 | s742329377 | p02388 | p02388 | u534111608 | u534111608 | 1,460,947,941 | 2016-04-18T02:52:21 | Main.java | import java.io.*;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
int bi=Integer.parseInt(b);
int x=Math.pow(bi, 3);
System.out.println(x);
}
} | Main.java:6: error: incompatible types: BufferedReader cannot be converted to String
int bi=Integer.parseInt(b);
^
Main.java:7: error: incompatible types: possible lossy conversion from double to int
int x=Math.pow(bi, 3);
^
Note: Some messages have been simplified; recompi... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u534111608|p02388|0 | u534111608|p02388|0 | codenet | Compile Error | 257 | |
v2_s337973639 | s337973639 | s337973639 | p02388 | p02388 | u534111608 | u534111608 | 1,460,948,034 | 2016-04-18T02:53:54 | Main.java | import java.io.*;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
String bs=b.readLine();
int bi=Integer.parseInt(bs);
int x=Math.pow(bi, 3);
System.out.println(x);
}
} | Main.java:8: error: incompatible types: possible lossy conversion from double to int
int x=Math.pow(bi, 3);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u534111608|p02388|0 | u534111608|p02388|0 | codenet | Compile Error | 284 | |
v2_s349183654 | s349183654 | s349183654 | p02388 | p02388 | u534111608 | u534111608 | 1,460,948,196 | 2016-04-18T02:56:36 | Main.java | import java.io.*;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
String bs=b.readLine();
int x=Integer.parseInt(bs);
for(int i=1;i<=3;i++){
x*x=x;
}
System.out.println(x);
}
} | Main.java:9: error: unexpected type
x*x=x;
^
required: variable
found: value
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u534111608|p02388|0 | u534111608|p02388|0 | codenet | Compile Error | 297 | |
v2_s607505196 | s607505196 | s607505196 | p02388 | p02388 | u534111608 | u534111608 | 1,460,948,213 | 2016-04-18T02:56:53 | Main.java | import java.io.*;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
String bs=b.readLine();
int x=Integer.parseInt(bs);
for(int i=1;i<3;i++){
x*x=x;
}
System.out.println(x);
}
} | Main.java:9: error: unexpected type
x*x=x;
^
required: variable
found: value
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u534111608|p02388|0 | u534111608|p02388|0 | codenet | Compile Error | 296 | |
v2_s046072040 | s046072040 | s046072040 | p02388 | p02388 | u537646413 | u537646413 | 1,457,528,867 | 2016-03-09T13:07:47 | Main.java | public class Main {
public static void main(String[] argc) {
int x = new java.util.Scanner(System.in).nextInt();
System.out.println(x * x * x);
} | Main.java:5: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u537646413|p02388|0 | u537646413|p02388|0 | codenet | Compile Error | 169 | |
v2_s120128338 | s120128338 | s120128338 | p02388 | p02388 | u539186441 | u539186441 | 1,500,607,988 | 2017-07-21T03:33:08 | Main.java | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = New Scanner(System.in);
int n = scan.nextInt();
System.out.println(n*n*n);
}
} | Main.java:5: error: ';' expected
Scanner scan = New Scanner(System.in);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u539186441|p02388|0 | u539186441|p02388|0 | codenet | Compile Error | 207 | |
v2_s943472699 | s943472699 | s943472699 | p02388 | p02388 | u539186441 | u539186441 | 1,500,608,208 | 2017-07-21T03:36:48 | Main.java | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner scan = New Scanner(System.in);
int n = scan.nextInt();
int m = n*n*n;
System.out.println(m);
}
} | Main.java:5: error: ';' expected
Scanner scan = New Scanner(System.in);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u539186441|p02388|0 | u539186441|p02388|0 | codenet | Compile Error | 219 | |
v2_s030572727 | s030572727 | s030572727 | p02388 | p02388 | u542091586 | u542091586 | 1,523,252,539 | 2018-04-09T05:42:19 | Main.java | class Main{
public static void main(String[] args)
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
try{
line = reader.readLine();
int x = Integer.parseInt(line);
System.out.println(+(x*x*x)+);
}
}
| Main.java:2: error: ';' expected
public static void main(String[] args)
^
Main.java:5: error: illegal start of type
try{
^
Main.java:8: error: illegal start of expression
System.out.println(+(x*x*x)+);
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u542091586|p02388|0 | u542091586|p02388|0 | codenet | Compile Error | 281 | |
v2_s059079280 | s059079280 | s059079280 | p02388 | p02388 | u542091586 | u542091586 | 1,523,252,612 | 2018-04-09T05:43:32 | Main.java | class Main{
public static void main(String[] args)
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
line = reader.readLine();
int x = Integer.parseInt(line);
System.out.println("+(x*x*x)+");
}
}
| Main.java:2: error: ';' expected
public static void main(String[] args)
^
Main.java:6: error: <identifier> expected
line = reader.readLine();
^
Main.java:8: error: <identifier> expected
System.out.println("+(x*x*x)+");
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u542091586|p02388|0 | u542091586|p02388|0 | codenet | Compile Error | 279 | |
v2_s608178539 | s608178539 | s608178539 | p02388 | p02388 | u542091586 | u542091586 | 1,523,252,702 | 2018-04-09T05:45:02 | Main.java | class Main{
public static void main(String[] args){
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
line = reader.readLine();
int x = Integer.parseInt(line);
System.out.println("+(x*x*x)+");
}
}
| Main.java:4: error: cannot find symbol
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
^
symbol: class BufferedReader
location: class Main
Main.java:4: error: cannot find symbol
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u542091586|p02388|0 | u542091586|p02388|0 | codenet | Compile Error | 280 | |
v2_s330389315 | s330389315 | s330389315 | p02388 | p02388 | u542091586 | u542091586 | 1,523,253,698 | 2018-04-09T06:01:38 | Main.java | class Main{
public static void main(String[] args){
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
line = reader.readLine();
int x = Integer.parseInt(line);
System.out.println("+(x*x*x)+");
}
}
| Main.java:4: error: cannot find symbol
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
^
symbol: class BufferedReader
location: class Main
Main.java:4: error: cannot find symbol
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u542091586|p02388|0 | u542091586|p02388|0 | codenet | Compile Error | 280 | |
v2_s392495631 | s392495631 | s392495631 | p02388 | p02388 | u542091586 | u542091586 | 1,523,253,698 | 2018-04-09T06:01:38 | Main.java | class Main{
public static void main(String[] args){
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
line = reader.readLine();
int x = Integer.parseInt(line);
System.out.println("+(x*x*x)+");
}
}
| Main.java:4: error: cannot find symbol
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
^
symbol: class BufferedReader
location: class Main
Main.java:4: error: cannot find symbol
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u542091586|p02388|0 | u542091586|p02388|0 | codenet | Compile Error | 280 | |
v2_s846732007 | s846732007 | s846732007 | p02388 | p02388 | u542091586 | u542091586 | 1,523,253,698 | 2018-04-09T06:01:38 | Main.java | class Main{
public static void main(String[] args){
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
line = reader.readLine();
int x = Integer.parseInt(line);
System.out.println("+(x*x*x)+");
}
}
| Main.java:4: error: cannot find symbol
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
^
symbol: class BufferedReader
location: class Main
Main.java:4: error: cannot find symbol
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u542091586|p02388|0 | u542091586|p02388|0 | codenet | Compile Error | 280 | |
v2_s816493912 | s816493912 | s816493912 | p02388 | p02388 | u542091586 | u542091586 | 1,523,253,699 | 2018-04-09T06:01:39 | Main.java | class Main{
public static void main(String[] args){
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
line = reader.readLine();
int x = Integer.parseInt(line);
System.out.println("+(x*x*x)+");
}
}
| Main.java:4: error: cannot find symbol
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
^
symbol: class BufferedReader
location: class Main
Main.java:4: error: cannot find symbol
BufferedReader reader = new BufferdReader(new InputStreamReader(System.in));
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u542091586|p02388|0 | u542091586|p02388|0 | codenet | Compile Error | 280 | |
v2_s860663965 | s860663965 | s860663965 | p02388 | p02388 | u543473017 | u543473017 | 1,474,700,108 | 2016-09-24T06:55:08 | X.java | public class X{
public static void main(String[] args){
Scanner scanNum = new Scanner(System.in);
int x = scanNum.nextInt();
System.out.println(x * x * x);
}
} | X.java:3: error: cannot find symbol
Scanner scanNum = new Scanner(System.in);
^
symbol: class Scanner
location: class X
X.java:3: error: cannot find symbol
Scanner scanNum = new Scanner(System.in);
^
symbol: class Scanner
location: class X
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u543473017|p02388|0 | u543473017|p02388|0 | codenet | Compile Error | 177 | |
v2_s254591185 | s254591185 | s254591185 | p02388 | p02388 | u544040886 | u544040886 | 1,525,186,454 | 2018-05-01T14:54:14 | Main.java | public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
int x;
x = sc.nextInt();
System.out.println(x*x*x);
sc.close();
}
}
| 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
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u544040886|p02388|0 | u544040886|p02388|0 | codenet | Compile Error | 239 | |
v2_s670653489 | s670653489 | s670653489 | p02388 | p02388 | u545548478 | u545548478 | 1,478,238,817 | 2016-11-04T05:53:37 | Main.java | puts gets.to_i ** 3 | Main.java:1: error: class, interface, enum, or record expected
puts gets.to_i ** 3
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u545548478|p02388|0 | u545548478|p02388|0 | codenet | Compile Error | 19 | |
v2_s978826531 | s978826531 | s978826531 | p02388 | p02388 | u546668660 | u546668660 | 1,506,151,310 | 2017-09-23T07:21:50 | Main.java | import java.io.*;
class Main {
public static void main(String[] args){
int x;
int y = 0;
System.out.print("input integer:");
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();
x = Integer.parseInt(buf);
... | Main.java:11: error: unreported exception IOException; must be caught or declared to be thrown
String buf = br.readLine();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u546668660|p02388|0 | u546668660|p02388|0 | codenet | Compile Error | 376 | |
v2_s753866772 | s753866772 | s753866772 | p02388 | p02388 | u546668660 | u546668660 | 1,506,152,610 | 2017-09-23T07:43:30 | Main.java | import java.io.*;
class Main {
public static void main(String[] args)throws Exception{
int x;
int y = 0;
System.out.print("input integer:")
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();
x = Integer.parseInt(b... | Main.java:6: error: ';' expected
System.out.print("input integer:")
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u546668660|p02388|0 | u546668660|p02388|0 | codenet | Compile Error | 385 | |
v2_s914545039 | s914545039 | s914545039 | p02388 | p02388 | u552674949 | u552674949 | 1,492,423,171 | 2017-04-17T09:59:31 | Main.java | import java.util.*;
public class Main {
public static void main(String[] args) {
// ???????????????????¨??????§
// Let's ?????£??¬????????????
Scanner sc = new Scanner(System.in);
String line = sc.nextLine();
System.out.println(line*line*line);
}
} | Main.java:9: error: bad operand types for binary operator '*'
System.out.println(line*line*line);
^
first type: String
second type: String
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u552674949|p02388|0 | u552674949|p02388|0 | codenet | Compile Error | 301 | |
v2_s197156527 | s197156527 | s197156527 | p02388 | p02388 | u553148578 | u553148578 | 1,476,235,114 | 2016-10-12T01:18:34 | Main.java | double x = 3;
System.out.println(math.pow(x,3)); | Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
double x = 3;
^
(use --enable-preview to enable unnamed classes)
Main.java:2: error: class, interface, enum, or record expected
System.out.println(math.pow(x,3));
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u553148578|p02388|0 | u553148578|p02388|0 | codenet | Compile Error | 48 | |
v2_s467951553 | s467951553 | s467951553 | p02388 | p02388 | u554344526 | u554344526 | 1,478,573,397 | 2016-11-08T02:49:57 | Main.java | public class Main {
public static void main(String[] args) {
double base = 3d;
double exponent = 3d;
double num = Math.pow(base, exponent);
System.out.printf(num);
}
} | Main.java:6: error: no suitable method found for printf(double)
System.out.printf(num);
^
method PrintStream.printf(String,Object...) is not applicable
(argument mismatch; double cannot be converted to String)
method PrintStream.printf(Locale,String,Object...) is not applicable
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u554344526|p02388|0 | u554344526|p02388|0 | codenet | Compile Error | 207 | |
v2_s550237650 | s550237650 | s550237650 | p02388 | p02388 | u554344526 | u554344526 | 1,478,585,640 | 2016-11-08T06:14:00 | Main.java | public class Main {
public static void main(String[] args) {
double x;
x = x * x * x;
System.out.printf("%.0f", x);
}
} | Main.java:4: error: variable x might not have been initialized
x = x * x * x;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u554344526|p02388|0 | u554344526|p02388|0 | codenet | Compile Error | 151 | |
v2_s143160208 | s143160208 | s143160208 | p02388 | p02388 | u554344526 | u554344526 | 1,478,591,395 | 2016-11-08T07:49:55 | Main.java | public class Main {
public static void main(String[] args) {
double x;
double exponent = 3d;
double num = Math.pow(x, exponent);
System.out.printf("%.0f\n", num);
}
} | Main.java:5: error: variable x might not have been initialized
double num = Math.pow(x, exponent);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u554344526|p02388|0 | u554344526|p02388|0 | codenet | Compile Error | 206 | |
v2_s303207133 | s303207133 | s303207133 | p02388 | p02388 | u554344526 | u554344526 | 1,480,498,411 | 2016-11-30T09:33:31 | Main.java |
import java.lang.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner stdId = new Scanner(System.in);
int n = stdId.nextInt();
System.out.println(String.valueOf(x));
}
} | Main.java:10: error: cannot find symbol
System.out.println(String.valueOf(x));
^
symbol: variable x
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u554344526|p02388|1 | u554344526|p02388|1 | codenet | Compile Error | 238 | |
v2_s368052590 | s368052590 | s368052590 | p02388 | p02388 | u554344526 | u554344526 | 1,480,499,014 | 2016-11-30T09:43:34 | Main.java | import java.lang.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner stdId = new Scanner(System.in);
int x = stdid.nextInt();
x = x * x * x;
System.out.println(String.valueOf(x) + "\r\n");
}
} | Main.java:6: error: cannot find symbol
int x = stdid.nextInt();
^
symbol: variable stdid
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u554344526|p02388|1 | u554344526|p02388|1 | codenet | Compile Error | 272 | |
v2_s593778190 | s593778190 | s593778190 | p02388 | p02388 | u554344526 | u554344526 | 1,480,499,024 | 2016-11-30T09:43:44 | Main.java | public class Main {
public static void main(String[] args) {
Scanner stdId = new Scanner(System.in);
int x = stdid.nextInt();
x = x * x * x;
System.out.println(String.valueOf(x) + "\r\n");
}
} | Main.java:3: error: cannot find symbol
Scanner stdId = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:3: error: cannot find symbol
Scanner stdId = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.jav... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u554344526|p02388|1 | u554344526|p02388|1 | codenet | Compile Error | 232 | |
v2_s070790475 | s070790475 | s070790475 | p02388 | p02388 | u554344526 | u554344526 | 1,480,499,048 | 2016-11-30T09:44:08 | Main.java | public class Main {
public static void main(String[] args) {
Scanner stdId = new Scanner(System.in);
int x = stdid.nextInt();
x = x * x * x;
System.out.println(String.valueOf(x));
}
} | Main.java:3: error: cannot find symbol
Scanner stdId = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:3: error: cannot find symbol
Scanner stdId = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.jav... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u554344526|p02388|1 | u554344526|p02388|1 | codenet | Compile Error | 223 | |
v2_s416970312 | s416970312 | s416970312 | p02388 | p02388 | u554344526 | u554344526 | 1,480,499,097 | 2016-11-30T09:44:57 | Main.java | public class Main {
public static void main(String[] args) {
Scanner stdId = new Scanner(System.in);
int x = stdid.nextInt();
x = x * x * x;
System.out.println(String.valueOf(x));
}
} | Main.java:3: error: cannot find symbol
Scanner stdId = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:3: error: cannot find symbol
Scanner stdId = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.jav... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u554344526|p02388|1 | u554344526|p02388|1 | codenet | Compile Error | 223 | |
v2_s046265544 | s046265544 | s046265544 | p02388 | p02388 | u554344526 | u554344526 | 1,480,499,119 | 2016-11-30T09:45:19 | Main.java | import java.lang.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner stdId = new Scanner(System.in);
int x = stdid.nextInt();
x = x * x * x;
System.out.println(String.valueOf(x));
}
} | Main.java:6: error: cannot find symbol
int x = stdid.nextInt();
^
symbol: variable stdid
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u554344526|p02388|1 | u554344526|p02388|1 | codenet | Compile Error | 263 | |
v2_s002619469 | s002619469 | s002619469 | p02388 | p02388 | u554344526 | u554344526 | 1,480,500,047 | 2016-11-30T10:00:47 | Main.java | public class Main {
public static void main(String[] args) {
Scanner stdId = new Scanner(System.in);
int x = stdId.nextInt();
x = x * x * x;
System.out.println(String.valueOf(x));
}
} | Main.java:3: error: cannot find symbol
Scanner stdId = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:3: error: cannot find symbol
Scanner stdId = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 errors... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u554344526|p02388|1 | u554344526|p02388|1 | codenet | Compile Error | 223 | |
v2_s046332946 | s046332946 | s046332946 | p02388 | p02388 | u556912728 | u556912728 | 1,476,789,858 | 2016-10-18T11:24:18 | Main.java | class Main {
BufferReader br = new BufferReader;
int x = Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
} | Main.java:2: error: '(' or '[' expected
BufferReader br = new BufferReader;
^
Main.java:4: error: <identifier> expected
x = x * x * x;
^
Main.java:5: error: <identifier> expected
System.out.println(x);
^
Main.java:5: error: <identifier> expected
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 141 | |
v2_s191825592 | s191825592 | s191825592 | p02388 | p02388 | u556912728 | u556912728 | 1,476,789,906 | 2016-10-18T11:25:06 | Main.java | class Main {
BufferReader br = new BufferReader;
int x = Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
} | Main.java:2: error: '(' or '[' expected
BufferReader br = new BufferReader;
^
Main.java:4: error: <identifier> expected
x = x * x * x;
^
Main.java:5: error: <identifier> expected
System.out.println(x);
^
Main.java:5: error: <identifier> expected
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 141 | |
v2_s456242996 | s456242996 | s456242996 | p02388 | p02388 | u556912728 | u556912728 | 1,476,789,969 | 2016-10-18T11:26:09 | Main.java | class Main {
public static void main(String[] args){
BufferReader br = new BufferReader();
int x = Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:3: error: cannot find symbol
BufferReader br = new BufferReader();
^
symbol: class BufferReader
location: class Main
Main.java:3: error: cannot find symbol
BufferReader br = new BufferReader();
^
symbol: class BufferReader
location: class Main
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 188 | |
v2_s465674370 | s465674370 | s465674370 | p02388 | p02388 | u556912728 | u556912728 | 1,476,790,004 | 2016-10-18T11:26:44 | Main.java | class Main {
public static void main(String[] args){
int x = x * x * x;
System.out.println(x);
}
} | Main.java:3: error: variable x might not have been initialized
int x = x * x * x;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 107 | |
v2_s202156859 | s202156859 | s202156859 | p02388 | p02388 | u556912728 | u556912728 | 1,476,790,132 | 2016-10-18T11:28:52 | Main.java | class Main {
public static void main(String[] args){
BufferReader br = BufferReader();
int x = Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:3: error: cannot find symbol
BufferReader br = BufferReader();
^
symbol: class BufferReader
location: class Main
Main.java:3: error: cannot find symbol
BufferReader br = BufferReader();
^
symbol: method BufferReader()
location: class Main
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 184 | |
v2_s412143324 | s412143324 | s412143324 | p02388 | p02388 | u556912728 | u556912728 | 1,476,790,316 | 2016-10-18T11:31:56 | Main.java | class Main {
public static void main(String[] args){
int x = java.io.Integer.parseInt(args[0]);
x = x * x * x;
System.out.println(x);
}
} | Main.java:3: error: cannot find symbol
int x = java.io.Integer.parseInt(args[0]);
^
symbol: class Integer
location: package java.io
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 152 | |
v2_s001153564 | s001153564 | s001153564 | p02388 | p02388 | u556912728 | u556912728 | 1,476,790,551 | 2016-10-18T11:35:51 | Main.java | class Main {
public static void main(String[] args) {
BufferReader br = new BufferReader;
int x = Java.io.Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:3: error: '(' or '[' expected
BufferReader br = new BufferReader;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 195 | |
v2_s728323407 | s728323407 | s728323407 | p02388 | p02388 | u556912728 | u556912728 | 1,476,790,627 | 2016-10-18T11:37:07 | Main.java | import Java.io.*;
class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader;
int x = Java.io.Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:5: error: '(' or '[' expected
BufferedReader br = new BufferedReader;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 218 | |
v2_s522074136 | s522074136 | s522074136 | p02388 | p02388 | u556912728 | u556912728 | 1,476,790,653 | 2016-10-18T11:37:33 | Main.java | import java.io.*;
class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader;
int x = Java.io.Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:5: error: '(' or '[' expected
BufferedReader br = new BufferedReader;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 218 | |
v2_s841480949 | s841480949 | s841480949 | p02388 | p02388 | u556912728 | u556912728 | 1,476,790,678 | 2016-10-18T11:37:58 | Main.java | import java.io.*;
class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader();
int x = Java.io.Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:5: error: no suitable constructor found for BufferedReader(no arguments)
BufferedReader br = new BufferedReader();
^
constructor BufferedReader.BufferedReader(Reader,int) is not applicable
(actual and formal argument lists differ in length)
constructor BufferedReader.Bu... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 220 | |
v2_s943752028 | s943752028 | s943752028 | p02388 | p02388 | u556912728 | u556912728 | 1,476,790,733 | 2016-10-18T11:38:53 | Main.java | import java.io.*;
class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(System.in);
int x = Java.io.Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:5: error: incompatible types: InputStream cannot be converted to Reader
BufferedReader br = new BufferedReader(System.in);
^
Main.java:6: error: package Java.io does not exist
int x = Java.io.Integer.parseInt(br.readLine());
^
Note: Some ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 229 | |
v2_s265745100 | s265745100 | s265745100 | p02388 | p02388 | u556912728 | u556912728 | 1,476,790,762 | 2016-10-18T11:39:22 | Main.java | import java.io.*;
class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(System.in);
int x = java.io.Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:5: error: incompatible types: InputStream cannot be converted to Reader
BufferedReader br = new BufferedReader(System.in);
^
Main.java:6: error: cannot find symbol
int x = java.io.Integer.parseInt(br.readLine());
^
symbol: class Integ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 229 | |
v2_s059425643 | s059425643 | s059425643 | p02388 | p02388 | u556912728 | u556912728 | 1,476,790,903 | 2016-10-18T11:41:43 | Main.java | import java.io.*;
class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(System.in);
int x = java.io.Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:5: error: incompatible types: InputStream cannot be converted to Reader
BufferedReader br = new BufferedReader(System.in);
^
Main.java:6: error: cannot find symbol
int x = java.io.Integer.parseInt(br.readLine());
^
symbol: class Integ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 229 | |
v2_s153743874 | s153743874 | s153743874 | p02388 | p02388 | u556912728 | u556912728 | 1,476,791,007 | 2016-10-18T11:43:27 | Main.java | import java.io.*;
class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = java.io.Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:6: error: cannot find symbol
int x = java.io.Integer.parseInt(br.readLine());
^
symbol: class Integer
location: package java.io
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 252 | |
v2_s440863824 | s440863824 | s440863824 | p02388 | p02388 | u556912728 | u556912728 | 1,476,791,041 | 2016-10-18T11:44:01 | Main.java | import java.io.*;
class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:6: error: unreported exception IOException; must be caught or declared to be thrown
int x = Integer.parseInt(br.readLine());
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 244 | |
v2_s946869415 | s946869415 | s946869415 | p02388 | p02388 | u556912728 | u556912728 | 1,476,791,078 | 2016-10-18T11:44:38 | Main.java | import java.io.*;
class Main {
int x;
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
x = Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:7: error: non-static variable x cannot be referenced from a static context
x = Integer.parseInt(br.readLine());
^
Main.java:8: error: non-static variable x cannot be referenced from a static context
x = x * x * x;
^
Main.java:8: error: non-static variable x cannot be referenced from a static conte... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 250 | |
v2_s408398007 | s408398007 | s408398007 | p02388 | p02388 | u556912728 | u556912728 | 1,476,791,106 | 2016-10-18T11:45:06 | Main.java | import java.io.*;
class Main {
public static void main(String[] args) {
int x;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
x = Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown
x = Integer.parseInt(br.readLine());
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 250 | |
v2_s589478299 | s589478299 | s589478299 | p02388 | p02388 | u556912728 | u556912728 | 1,476,791,176 | 2016-10-18T11:46:16 | Main.java | import java.io.*;
class Main {
public static void main(String[] args) {
int x;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
x = Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown
x = Integer.parseInt(br.readLine());
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 250 | |
v2_s744340576 | s744340576 | s744340576 | p02388 | p02388 | u556912728 | u556912728 | 1,476,791,205 | 2016-10-18T11:46:45 | Main.java | import java.io.*;
class Main {
public static void main(String[] args) {
int x;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
x = Integer.parseInt(br.readLine());
x = x * x * x;
System.out.println(x);
}
} | Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown
x = Integer.parseInt(br.readLine());
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u556912728|p02388|0 | u556912728|p02388|0 | codenet | Compile Error | 250 | |
v2_s609363045 | s609363045 | s609363045 | p02388 | p02388 | u557482942 | u557482942 | 1,435,334,233 | 2015-06-26T15:57:13 | Main.java | public class Main {
public static void main (String[] args) throws IOException
{
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
String str = br.readLine();
int x = Integer.parseInt(str);
x =x * x * x ;
... | Main.java:2: error: cannot find symbol
public static void main (String[] args) throws IOException
^
symbol: class IOException
location: class Main
Main.java:4: error: cannot find symbol
InputStreamReader is = new InputStreamReader(System.in);
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u557482942|p02388|0 | u557482942|p02388|0 | codenet | Compile Error | 358 | |
v2_s106676898 | s106676898 | s106676898 | p02388 | p02388 | u558826346 | u558826346 | 1,454,328,668 | 2016-02-01T12:11:08 | Main.java | import java.util.Scanner;
public class Main{
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
b=1;
for(int i=0;i<3;i++){
b*=a;
};
System.out.println(b);
}
} | Main.java:5: error: <identifier> expected
b=1;
^
Main.java:6: error: illegal start of type
for(int i=0;i<3;i++){
^
Main.java:6: error: illegal start of type
for(int i=0;i<3;i++){
^
Main.java:6: error: <identifier> expected
for(int i=0;i<3;i++){
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u558826346|p02388|0 | u558826346|p02388|0 | codenet | Compile Error | 230 | |
v2_s843358197 | s843358197 | s843358197 | p02388 | p02388 | u559178230 | u559178230 | 1,422,780,600 | 2015-02-01T08:50:00 | Main.java | public static void main(String[] args){
if(!args[0].isEmpty){
int num = args[0];
}
int retNum = num*num*num;
System.out.println(retNum);
} | 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
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u559178230|p02388|0 | u559178230|p02388|0 | codenet | Compile Error | 138 | |
v2_s471276508 | s471276508 | s471276508 | p02388 | p02388 | u559178230 | u559178230 | 1,422,780,655 | 2015-02-01T08:50:55 | Main.java | public class Main{
public static void main(String[] args){
if(!args[0].isEmpty){
int num = args[0];
}
int retNum = num*num*num;
System.out.println(retNum);
}
} | Main.java:3: error: cannot find symbol
if(!args[0].isEmpty){
^
symbol: variable isEmpty
location: class String
Main.java:4: error: incompatible types: String cannot be converted to int
int num = args[0];
^
Main.java:6: error: cannot find symbol
int retNum = num*num*num;
^
s... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u559178230|p02388|0 | u559178230|p02388|0 | codenet | Compile Error | 159 | |
v2_s389462105 | s389462105 | s389462105 | p02388 | p02388 | u561477777 | u561477777 | 1,397,531,681 | 2014-04-15T03:14:41 | Main.java | class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br.readln().trim());
System.out.println(""+x*x*x);
}
} | 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 br = new BufferedReader(new InputStreamReader(System.in));
^... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u561477777|p02388|0 | u561477777|p02388|0 | codenet | Compile Error | 234 | |
v2_s940421240 | s940421240 | s940421240 | p02388 | p02388 | u561477777 | u561477777 | 1,397,531,750 | 2014-04-15T03:15:50 | Main.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br.readln().trim());
System.out.println(""+x*x*... | Main.java:8: error: cannot find symbol
int x = Integer.parseInt(br.readln().trim());
^
symbol: method readln()
location: variable br of type BufferedReader
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u561477777|p02388|0 | u561477777|p02388|0 | codenet | Compile Error | 328 | |
v2_s689188209 | s689188209 | s689188209 | p02388 | p02388 | u562140190 | u562140190 | 1,437,070,839 | 2015-07-16T18:20:39 | Main.java | import java.io.*;
class prob11b{
public static void main(String args[]){
int aa , bb , cc ;
try {
BufferedReader d =new BufferedReader(new InputStreamReader(System.in);
aa = Integer.parseInt(d.readLine());
bb = aa*aa*aa
System.out.println(bb);
}... | Main.java:9: error: ')' or ',' expected
BufferedReader d =new BufferedReader(new InputStreamReader(System.in);
^
Main.java:11: error: ';' expected
bb = aa*aa*aa
^
Main.java:19: error: class,... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u562140190|p02388|0 | u562140190|p02388|0 | codenet | Compile Error | 435 | |
v2_s245950743 | s245950743 | s245950743 | p02388 | p02388 | u562140190 | u562140190 | 1,437,071,496 | 2015-07-16T18:31:36 | Main.java | import java.io.*;
class prob11b{
public static void main(String args[]){
int x , bb;
try {
BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
x = Integer.parseInt(d.readLine());
bb = x*x*x;
System.out.println(bb);
}
}
} | Main.java:8: error: 'try' without 'catch', 'finally' or resource declarations
try {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u562140190|p02388|0 | u562140190|p02388|0 | codenet | Compile Error | 312 | |
v2_s792494083 | s792494083 | s792494083 | p02388 | p02388 | u562140190 | u562140190 | 1,438,841,516 | 2015-08-06T06:11:56 | Main.java | import java.io.*;
class prob11b{
public static void main(String args[]){
int x , bb;
BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
x = Integer.parseInt(d.readLine());
bb = x*x*x;
System.out.println(bb);
}
} | Main.java:10: error: unreported exception IOException; must be caught or declared to be thrown
x = Integer.parseInt(d.readLine());
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u562140190|p02388|1 | u562140190|p02388|1 | codenet | Compile Error | 289 | |
v2_s861673600 | s861673600 | s861673600 | p02388 | p02388 | u563917086 | u563917086 | 1,460,428,145 | 2016-04-12T02:29:05 | Main.java | public class Main {
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
int x =sc.nextInt();
int ans = x*x*x;
System.out.println(ans);
}
} | 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
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u563917086|p02388|0 | u563917086|p02388|0 | codenet | Compile Error | 191 | |
v2_s194178475 | s194178475 | s194178475 | p02388 | p02388 | u563917086 | u563917086 | 1,460,428,597 | 2016-04-12T02:36:37 | Main.java | public class Main {
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
int x =sc.nextInt();
int ans = x*x*x;
System.out.println(ans);
}
} | 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
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u563917086|p02388|0 | u563917086|p02388|0 | codenet | Compile Error | 191 | |
v2_s659247382 | s659247382 | s659247382 | p02388 | p02388 | u563917086 | u563917086 | 1,460,430,346 | 2016-04-12T03:05:46 | Main.java | public class Main {
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int ans = x*x*x;
System.out.println(ans);
}
} | 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
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u563917086|p02388|0 | u563917086|p02388|0 | codenet | Compile Error | 190 | |
v2_s550021053 | s550021053 | s550021053 | p02388 | p02388 | u565170870 | u565170870 | 1,460,353,672 | 2016-04-11T05:47:52 | Main.java | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scannser sc = new Scanner(System.in);
int x = sc.nextInt();
int answer = x * x * x;
System.out.println(answer);
}
} | Main.java:5: error: cannot find symbol
Scannser sc = new Scanner(System.in);
^
symbol: class Scannser
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u565170870|p02388|0 | u565170870|p02388|0 | codenet | Compile Error | 212 | |
v2_s854311534 | s854311534 | s854311534 | p02388 | p02388 | u565170870 | u565170870 | 1,460,353,844 | 2016-04-11T05:50:44 | Main.java | import java.util.Scanner;
public classMain {
public static voidmain(String[] args) {
Scanner sc= newScanner(System.in);
intx = sc.nextInt();
intanswer = x*x*x;
System.out.println(answer);
}
} | Main.java:3: error: class, interface, enum, or record expected
public classMain {
^
Main.java:4: error: class, interface, enum, or record expected
public static voidmain(String[] args) {
^
Main.java:6: error: class, interface, enum, or record expected
intx = sc.nextInt();
^
Main.jav... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u565170870|p02388|0 | u565170870|p02388|0 | codenet | Compile Error | 216 | |
v2_s187527704 | s187527704 | s187527704 | p02388 | p02388 | u569524920 | u569524920 | 1,492,406,111 | 2017-04-17T05:15:11 | Main.java | import java.util.Scanner;
class X_Cubic{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
if(x==1) System.out.println(x);
else System.out.println(x*x*x);
return 0;
}
} | Main.java:9: error: incompatible types: unexpected return value
return 0;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u569524920|p02388|0 | u569524920|p02388|0 | codenet | Compile Error | 247 | |
v2_s706471880 | s706471880 | s706471880 | p02388 | p02388 | u570318958 | u570318958 | 1,505,227,711 | 2017-09-12T14:48:31 | Main.java | public class Main {
public static void main(String[] args) {
int a;
try(Scanner scanner=new Scanner(System.in)){
a=scanner.nextInt();
}
a=a*a*a;
System.out.println(a);
}
} | Main.java:6: error: cannot find symbol
try(Scanner scanner=new Scanner(System.in)){
^
symbol: class Scanner
location: class Main
Main.java:6: error: cannot find symbol
try(Scanner scanner=new Scanner(System.in)){
^
symbol: class Scanner
location: class Main
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u570318958|p02388|0 | u570318958|p02388|0 | codenet | Compile Error | 197 | |
v2_s128531613 | s128531613 | s128531613 | p02388 | p02388 | u570318958 | u570318958 | 1,505,227,876 | 2017-09-12T14:51:16 | Main.java | public class Main {
public static void main(String[] args) {
int a=0;
try(Scanner scanner=new Scanner(System.in)){
a=scanner.nextInt();
}
if(a<100||a>0) {
a=a*a*a;
System.out.println(a);
}
}
} | Main.java:7: error: cannot find symbol
try(Scanner scanner=new Scanner(System.in)){
^
symbol: class Scanner
location: class Main
Main.java:7: error: cannot find symbol
try(Scanner scanner=new Scanner(System.in)){
^
symbol: class Scanner
location: class Main
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u570318958|p02388|0 | u570318958|p02388|0 | codenet | Compile Error | 222 | |
v2_s886877913 | s886877913 | s886877913 | p02388 | p02388 | u570318958 | u570318958 | 1,505,227,921 | 2017-09-12T14:52:01 | Main.java | public class Main {
public static void main(String[] args) {
int a=0;
Scanner scanner=new Scanner(System.in);
a=scanner.nextInt();
if(a<100||a>0) {
a=a*a*a;
System.out.println(a);
}
}
} | Main.java:7: error: cannot find symbol
Scanner scanner=new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:7: error: cannot find symbol
Scanner scanner=new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u570318958|p02388|0 | u570318958|p02388|0 | codenet | Compile Error | 213 | |
v2_s319180997 | s319180997 | s319180997 | p02388 | p02388 | u574423774 | u574423774 | 1,462,931,463 | 2016-05-11T01:51:03 | Main.java | class Main{
public static void main(String[] args){
int x,y;
y = x*x*x;
System.out.println("%d %d",&x,&y);
}
} | Main.java:5: error: illegal start of expression
System.out.println("%d %d",&x,&y);
^
Main.java:5: error: illegal start of expression
System.out.println("%d %d",&x,&y);
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u574423774|p02388|0 | u574423774|p02388|0 | codenet | Compile Error | 132 | |
v2_s916830923 | s916830923 | s916830923 | p02388 | p02388 | u577398205 | u577398205 | 1,520,844,092 | 2018-03-12T08:41:32 | Main.java | public class Main{
public static cul int(int x){
if(1 <= x && x <= 100){
x = x ** 3;
}
}
public static void main(String[] args){
cul(x);
Sytem.out.println(x);
}
}
| Main.java:2: error: <identifier> expected
public static cul int(int x){
^
Main.java:2: error: <identifier> expected
public static cul int(int x){
^
Main.java:4: error: illegal start of expression
x = x ** 3;
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u577398205|p02388|0 | u577398205|p02388|0 | codenet | Compile Error | 232 | |
v2_s326354723 | s326354723 | s326354723 | p02388 | p02388 | u577398205 | u577398205 | 1,520,844,120 | 2018-03-12T08:42:00 | Main.java | public class Main{
public static cul int(int x){
x = x ** 3;
}
public static void main(String[] args){
cul(x);
Sytem.out.println(x);
}
}
| Main.java:2: error: <identifier> expected
public static cul int(int x){
^
Main.java:2: error: <identifier> expected
public static cul int(int x){
^
Main.java:4: error: illegal start of expression
x = x ** 3;
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u577398205|p02388|0 | u577398205|p02388|0 | codenet | Compile Error | 207 | |
v2_s228652366 | s228652366 | s228652366 | p02388 | p02388 | u577398205 | u577398205 | 1,520,844,183 | 2018-03-12T08:43:03 | Main.java | public class Main{
public static cul int(int x){
x = x ** 3;
return x;
}
public static void main(String[] args){
cul(x);
Sytem.out.println(x);
}
}
| Main.java:2: error: <identifier> expected
public static cul int(int x){
^
Main.java:2: error: <identifier> expected
public static cul int(int x){
^
Main.java:4: error: illegal start of expression
x = x ** 3;
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u577398205|p02388|0 | u577398205|p02388|0 | codenet | Compile Error | 216 | |
v2_s040737837 | s040737837 | s040737837 | p02388 | p02388 | u577398205 | u577398205 | 1,520,844,206 | 2018-03-12T08:43:26 | Main.java | public class Main{
public static cul int(int x){
x = x ** 3;
return x;
}
public static void main(String[] args){
y = cul(x);
Sytem.out.println(y);
}
}
| Main.java:2: error: <identifier> expected
public static cul int(int x){
^
Main.java:2: error: <identifier> expected
public static cul int(int x){
^
Main.java:4: error: illegal start of expression
x = x ** 3;
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u577398205|p02388|0 | u577398205|p02388|0 | codenet | Compile Error | 220 | |
v2_s678177307 | s678177307 | s678177307 | p02388 | p02388 | u577398205 | u577398205 | 1,520,844,225 | 2018-03-12T08:43:45 | Main.java | public class Main{
public static cul int(int x){
x = x ** 3;
return x;
}
public static void main(String[] args){
int y = cul(x);
Sytem.out.println(y);
}
}
| Main.java:2: error: <identifier> expected
public static cul int(int x){
^
Main.java:2: error: <identifier> expected
public static cul int(int x){
^
Main.java:4: error: illegal start of expression
x = x ** 3;
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u577398205|p02388|0 | u577398205|p02388|0 | codenet | Compile Error | 224 | |
v2_s421776436 | s421776436 | s421776436 | p02388 | p02388 | u577398205 | u577398205 | 1,520,844,509 | 2018-03-12T08:48:29 | Main.java | public class Main{
public static cul int (int x){
y = x * x * x;
return y;
public static void main(String[] args){
int y = int(x);
Sytem.out.println(y);
}
}
| Main.java:2: error: <identifier> expected
public static cul int (int x){
^
Main.java:2: error: <identifier> expected
public static cul int (int x){
^
Main.java:5: error: illegal start of expression
public static void main(String[] args){
^
Main.java:6: error... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u577398205|p02388|0 | u577398205|p02388|0 | codenet | Compile Error | 201 | |
v2_s241008630 | s241008630 | s241008630 | p02388 | p02388 | u577398205 | u577398205 | 1,520,844,521 | 2018-03-12T08:48:41 | Main.java | public class Main{
public static cul int (int x){
y = x * x * x;
return y;
}
public static void main(String[] args){
int y = int(x);
Sytem.out.println(y);
}
}
| Main.java:2: error: <identifier> expected
public static cul int (int x){
^
Main.java:2: error: <identifier> expected
public static cul int (int x){
^
Main.java:7: error: '.class' expected
int y = int(x);
^
Main.java:7: error: not a stateme... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u577398205|p02388|0 | u577398205|p02388|0 | codenet | Compile Error | 207 | |
v2_s773302560 | s773302560 | s773302560 | p02388 | p02388 | u577398205 | u577398205 | 1,520,844,552 | 2018-03-12T08:49:12 | Main.java | public class Main{
public static int cul (int x){
y = x * x * x;
return y;
}
public static void main(String[] args){
int y = int(x);
Sytem.out.println(y);
}
}
| Main.java:7: error: '.class' expected
int y = int(x);
^
Main.java:7: error: not a statement
int y = int(x);
^
Main.java:7: error: ';' expected
int y = int(x);
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u577398205|p02388|0 | u577398205|p02388|0 | codenet | Compile Error | 207 | |
v2_s844062257 | s844062257 | s844062257 | p02388 | p02388 | u577398205 | u577398205 | 1,520,844,569 | 2018-03-12T08:49:29 | Main.java | public class Main{
public static int cul (int x){
y = x * x * x;
return y;
}
public static void main(String[] args){
int y = cul(x);
Sytem.out.println(y);
}
}
| Main.java:3: error: cannot find symbol
y = x * x * x;
^
symbol: variable y
location: class Main
Main.java:4: error: cannot find symbol
return y;
^
symbol: variable y
location: class Main
Main.java:7: error: cannot find symbol
int y = cul(x);
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u577398205|p02388|0 | u577398205|p02388|0 | codenet | Compile Error | 207 | |
v2_s880822601 | s880822601 | s880822601 | p02388 | p02388 | u577398205 | u577398205 | 1,520,844,742 | 2018-03-12T08:52:22 | Main.java | public class Main{
public static int cul (int x){
y = Math.pow(x,3);
return y;
}
public static void main(String[] args){
int y = cul(x);
Sytem.out.println(y);
}
}
| Main.java:3: error: cannot find symbol
y = Math.pow(x,3);
^
symbol: variable y
location: class Main
Main.java:4: error: cannot find symbol
return y;
^
symbol: variable y
location: class Main
Main.java:7: error: cannot find symbol
int y = cul(x);
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u577398205|p02388|0 | u577398205|p02388|0 | codenet | Compile Error | 211 | |
v2_s955222974 | s955222974 | s955222974 | p02388 | p02388 | u577398205 | u577398205 | 1,520,844,770 | 2018-03-12T08:52:50 | Main.java | public class Main{
public static int cul (int x){
return Math.pow(x,3);
}
public static void main(String[] args){
int y = cul(x);
Sytem.out.println(y);
}
}
| Main.java:3: error: incompatible types: possible lossy conversion from double to int
return Math.pow(x,3);
^
Main.java:7: error: cannot find symbol
int y = cul(x);
^
symbol: variable x
location: class Main
Main.java:8: error: package Sytem does not exis... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u577398205|p02388|0 | u577398205|p02388|0 | codenet | Compile Error | 205 | |
v2_s581007535 | s581007535 | s581007535 | p02388 | p02388 | u577398205 | u577398205 | 1,520,845,736 | 2018-03-12T09:08:56 | Main.java | public class Main{
public static void main(String[] args)throws IOException{
System.out.println((int)Math.pow(Integer.parseint(new BufferedReader(new InputStream Reader(System.in)).readLine()),3));
}
}
| Main.java:3: error: '(' or '[' expected
System.out.println((int)Math.pow(Integer.parseint(new BufferedReader(new InputStream Reader(System.in)).readLine()),3));
^
Main.java:3: error: ';' expected
System.out.prin... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u577398205|p02388|0 | u577398205|p02388|0 | codenet | Compile Error | 219 | |
v2_s465340427 | s465340427 | s465340427 | p02388 | p02388 | u577398205 | u577398205 | 1,520,845,792 | 2018-03-12T09:09:52 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args)throws IOException{
System.out.println((int)Math.pow(Integer.parseint(new BufferedReader(new InputStream Reader(System.in)).readLine()),3));
}
}
| Main.java:4: error: '(' or '[' expected
System.out.println((int)Math.pow(Integer.parseint(new BufferedReader(new InputStream Reader(System.in)).readLine()),3));
^
Main.java:4: error: ';' expected
System.out.prin... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u577398205|p02388|0 | u577398205|p02388|0 | codenet | Compile Error | 237 | |
v2_s466778344 | s466778344 | s466778344 | p02388 | p02388 | u579479520 | u579479520 | 1,476,690,773 | 2016-10-17T07:52:53 | Main.java | import java.util.Scanner;
class testIni1{
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
int val = scan.nextInt();
while (val != nul) {
val = val * val * val;
System.out.println(val);
}
}
} | Main.java:9: error: cannot find symbol
while (val != nul) {
^
symbol: variable nul
location: class testIni1
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u579479520|p02388|0 | u579479520|p02388|0 | codenet | Compile Error | 249 | |
v2_s590029959 | s590029959 | s590029959 | p02388 | p02388 | u580505132 | u580505132 | 1,497,186,728 | 2017-06-11T13:12:08 | Main.java |
public class Main {
public static void main(String[] args) {
int x = Integer.parseInt(new Scanner(System.in).next());
if (x < 1 || x > 100) return;
System.out.println((x * x * x));
}
} | Main.java:4: error: cannot find symbol
int x = Integer.parseInt(new Scanner(System.in).next());
^
symbol: class Scanner
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u580505132|p02388|0 | u580505132|p02388|0 | codenet | Compile Error | 217 | |
v2_s913908444 | s913908444 | s913908444 | p02388 | p02388 | u580505132 | u580505132 | 1,497,186,787 | 2017-06-11T13:13:07 | Main.java | public class Main {
public static void main(String[] args) {
System.out.println(Math.pow(Integer.parseInt(new Scanner(System.in).next()), 3));
}
} | Main.java:3: error: cannot find symbol
System.out.println(Math.pow(Integer.parseInt(new Scanner(System.in).next()), 3));
^
symbol: class Scanner
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u580505132|p02388|0 | u580505132|p02388|0 | codenet | Compile Error | 162 | |
v2_s748918493 | s748918493 | s748918493 | p02388 | p02388 | u582260187 | u582260187 | 1,523,252,483 | 2018-04-09T05:41:23 | Main.java | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int answer = x*x*x;
System.out.println(answer\n);
}
}
| Main.java:8: error: illegal character: '\'
System.out.println(answer\n);
^
Main.java:8: error: not a statement
System.out.println(answer\n);
^
Main.java:8: error: ';' expected
System.out.println(answer\n);
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u582260187|p02388|0 | u582260187|p02388|0 | codenet | Compile Error | 239 | |
v2_s347216254 | s347216254 | s347216254 | p02388 | p02388 | u584453648 | u584453648 | 1,496,203,035 | 2017-05-31T03:57:15 | Main.java | import java.util.scanner;
public class Main(){
public staic void main(String[] args){
Scanner s = new Scanner(System.in);
int a = s.nextInt();
System.out.println(a*a*a);
}
} | Main.java:3: error: '{' expected
public class Main(){
^
Main.java:4: error: <identifier> expected
public staic void main(String[] args){
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u584453648|p02388|0 | u584453648|p02388|0 | codenet | Compile Error | 190 | |
v2_s825957360 | s825957360 | s825957360 | p02388 | p02388 | u584453648 | u584453648 | 1,496,203,091 | 2017-05-31T03:58:11 | Main.java | import java.util.scanner;
class Main{
public static void main(String[] args){
Scanner s = new Scanner(System.in);
int a = s.nextInt();
System.out.println(a*a*a);
}
} | Main.java:1: error: cannot find symbol
import java.util.scanner;
^
symbol: class scanner
location: package java.util
Main.java:5: error: cannot find symbol
Scanner s = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:5: error: cannot find symbol
Scan... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u584453648|p02388|0 | u584453648|p02388|0 | codenet | Compile Error | 182 | |
v2_s808869906 | s808869906 | s808869906 | p02388 | p02388 | u585725265 | u585725265 | 1,491,784,210 | 2017-04-10T00:30:10 | Main.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));
}
} | 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
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u585725265|p02388|0 | u585725265|p02388|0 | codenet | Compile Error | 195 | |
v2_s161491246 | s161491246 | s161491246 | p02388 | p02388 | u589967469 | u589967469 | 1,473,089,111 | 2016-09-05T15:25:11 | Main.java | import java.io.*
class main{
public static void main(String args[]){
BufferedReader br = new BufferedReader
(new InputStreamReader(System.in));
String str = br.readLine();
int num = Integer.parseInt(str);
System.out.println(Math.pow(num,3));
}
} | Main.java:1: error: ';' expected
import java.io.*
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u589967469|p02388|0 | u589967469|p02388|0 | codenet | Compile Error | 258 | |
v2_s402981585 | s402981585 | s402981585 | p02388 | p02388 | u589967469 | u589967469 | 1,473,089,206 | 2016-09-05T15:26:46 | Main.java | import java.io.*;
class main{
public static void main(String args[]){
BufferedReader br = new BufferedReader
(new InputStreamReader(System.in));
String str = br.readLine();
int num = Integer.parseInt(str);
System.out.println(Math.pow(num,3));
}
} | Main.java:6: error: unreported exception IOException; must be caught or declared to be thrown
String str = br.readLine();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u589967469|p02388|0 | u589967469|p02388|0 | codenet | Compile Error | 259 | |
v2_s746908198 | s746908198 | s746908198 | p02388 | p02388 | u590399722 | u590399722 | 1,492,485,718 | 2017-04-18T03:21:58 | Main.java | public class Main {
public static void main(String[] args) {
try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
final int num = Integer.parseInt(reader.readLine());
System.out.println(num * num * num);
}
}
}
} | Main.java:10: error: class, interface, enum, or record expected
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u590399722|p02388|0 | u590399722|p02388|0 | codenet | Compile Error | 273 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.