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_s166190515
s166190515
s166190515
p02388
p02388
u779656282
u779656282
1,525,274,431
2018-05-02T15:20:31
main.java
import java.util.scanner public class main(){ public static void main(){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int ans = x*x*x; System.out.println(ans); } }
main.java:1: error: ';' expected import java.util.scanner ^ main.java:2: error: '{' expected public class main(){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u779656282|p02388|0
u779656282|p02388|0
codenet
Compile Error
218
v2_s892491553
s892491553
s892491553
p02388
p02388
u779656282
u779656282
1,525,274,441
2018-05-02T15:20:41
main.java
import java.util.scanner; public class main(){ public static void main(){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int ans = x*x*x; System.out.println(ans); } }
main.java:2: error: '{' expected public class main(){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u779656282|p02388|0
u779656282|p02388|0
codenet
Compile Error
219
v2_s896573123
s896573123
s896573123
p02388
p02388
u779656282
u779656282
1,525,274,480
2018-05-02T15:21:20
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 ans = x*x*x; System.out.println(ans); } }
main.java:2: error: '{' expected public class main(){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u779656282|p02388|0
u779656282|p02388|0
codenet
Compile Error
232
v2_s413625425
s413625425
s413625425
p02388
p02388
u779656282
u779656282
1,525,274,527
2018-05-02T15:22:07
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 ans = x*x*x; System.out.println(ans); } }
main.java:2: error: '{' expected public class main(){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u779656282|p02388|0
u779656282|p02388|0
codenet
Compile Error
232
v2_s365236917
s365236917
s365236917
p02388
p02388
u784507785
u784507785
1,419,595,645
2014-12-26T12:07:25
Main.java
public static void main(String[] args) { Optional<String> input = Optional.of(args[0]); long x = Integer.parseInt(input.orElse("0")); System.out.println(x * x * x); }
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
u784507785|p02388|0
u784507785|p02388|0
codenet
Compile Error
198
v2_s499662427
s499662427
s499662427
p02388
p02388
u784507785
u784507785
1,419,595,681
2014-12-26T12:08:01
Main.java
public class Main { public static void main(String[] args) { Optional<String> input = Optional.of(args[0]); long x = Integer.parseInt(input.orElse("0")); System.out.println(x * x * x); } }
Main.java:4: error: cannot find symbol Optional<String> input = Optional.of(args[0]); ^ symbol: class Optional location: class Main Main.java:4: error: cannot find symbol Optional<String> input = Optional.of(args[0]); ^ symbol: variable Optional locat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u784507785|p02388|0
u784507785|p02388|0
codenet
Compile Error
221
v2_s255890330
s255890330
s255890330
p02388
p02388
u784507785
u784507785
1,419,597,952
2014-12-26T12:45:52
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); } }
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
u784507785|p02388|0
u784507785|p02388|0
codenet
Compile Error
148
v2_s808155552
s808155552
s808155552
p02388
p02388
u789529751
u789529751
1,438,669,230
2015-08-04T06:20:30
Main.java
import java.util.Scanner; public class Main{ public void solve(){ Scanner sc = new Scanner(System.in); int a; int b; a = sc.nextInt(); b = sc.nectInt(); System.out.println(a*b a+b*2); } public static void main(String[] args){ Rectangle obj = new Main(); obj.solve(); } }
Main.java:11: error: ')' or ',' expected System.out.println(a*b a+b*2); ^ Main.java:11: error: not a statement System.out.println(a*b a+b*2); ^ Main.java:11: error: ';' expected System.out.println(a*b a+b*2); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u789529751|p02388|0
u789529751|p02388|0
codenet
Compile Error
295
v2_s948186561
s948186561
s948186561
p02388
p02388
u790210741
u790210741
1,523,251,902
2018-04-09T05:31:42
Main.java
import java.util.Scaner; public class Main{ public static void main(String [] args){ Scaner sc = new Scaner(System.in); int x = sc.nextInt(); System.out.printf("入力として一つの整数%dが与えられます",x); System.out.println(x*x*x%n); } }
Main.java:1: error: cannot find symbol import java.util.Scaner; ^ symbol: class Scaner location: package java.util Main.java:4: error: cannot find symbol Scaner sc = new Scaner(System.in); ^ symbol: class Scaner location: class Main Main.java:4: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790210741|p02388|0
u790210741|p02388|0
codenet
Compile Error
292
v2_s564602596
s564602596
s564602596
p02388
p02388
u790210741
u790210741
1,523,252,528
2018-04-09T05:42:08
Main.java
import java.util.Scanner; public class Main{ public static void main(String [] args){ Scanner sc = new Scaner(System.in); int x = sc.nextInt(); int answer = x*x*x; System.out.println(answer); } }
Main.java:4: error: cannot find symbol Scanner sc = new Scaner(System.in); ^ symbol: class Scaner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790210741|p02388|0
u790210741|p02388|0
codenet
Compile Error
231
v2_s888219073
s888219073
s888219073
p02388
p02388
u790426992
u790426992
1,485,779,588
2017-01-30T12:33:08
Main.java
Public Class Main { public static void(int x) { int y = 3; y = y * x; System.out.println(y); } }
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,...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790426992|p02388|0
u790426992|p02388|0
codenet
Compile Error
141
v2_s598665364
s598665364
s598665364
p02388
p02388
u793278495
u793278495
1,492,503,733
2017-04-18T08:22:13
Main.java
class Main{ public static void main(String args[]){ int x=3; if(x>=1 && x<=100){ int y=x*x*x; } System.out.println(y); } }
Main.java:7: error: cannot find symbol System.out.println(y); ^ symbol: variable y location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u793278495|p02388|0
u793278495|p02388|0
codenet
Compile Error
135
v2_s256376779
s256376779
s256376779
p02388
p02388
u793278495
u793278495
1,492,504,531
2017-04-18T08:35:31
Main.java
class Main{ public static void main(String args[]){ int x=Integer.ParseInt(x); int y; if(x>=1 && x<=100){ y=x*x*x; System.out.println(y); } } }
Main.java:3: error: cannot find symbol int x=Integer.ParseInt(x); ^ symbol: method ParseInt(int) location: class Integer 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u793278495|p02388|0
u793278495|p02388|0
codenet
Compile Error
162
v2_s207528586
s207528586
s207528586
p02388
p02388
u793278495
u793278495
1,492,505,339
2017-04-18T08:48:59
Main.java
import java.io.*; class Main{ public static void main(String args[]){ InputStreamReader sr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(sr); String xstr = br.readline(); int x=Integer.ParseInt(xstr); int y; if(x>=1 && x<=100){ y=x*x*x; System.out.println(y); } ...
Main.java:9: error: cannot find symbol String xstr = br.readline(); ^ symbol: method readline() location: variable br of type BufferedReader Main.java:10: error: cannot find symbol int x=Integer.ParseInt(xstr); ^ symbol: method ParseInt(String) location: class Integer 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u793278495|p02388|0
u793278495|p02388|0
codenet
Compile Error
326
v2_s639608112
s639608112
s639608112
p02388
p02388
u793278495
u793278495
1,492,555,760
2017-04-18T22:49:20
Main.java
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String s = br.readLine(); int x =Integer.parseInt(s); System.out.println(x*x*x); } }
Main.java:5: error: unreported exception IOException; must be caught or declared to be thrown String s = br.readLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u793278495|p02388|1
u793278495|p02388|1
codenet
Compile Error
270
v2_s335898293
s335898293
s335898293
p02388
p02388
u794495674
u794495674
1,530,688,294
2018-07-04T07:11:34
Main.java
public class Main{ public static void main(String[] args){ cube(); } public int cube(int x){ int volume = x * x * x; return volume; } }
Main.java:3: error: method cube in class Main cannot be applied to given types; cube(); ^ required: int found: no arguments reason: actual and formal argument lists differ in length 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u794495674|p02388|0
u794495674|p02388|0
codenet
Compile Error
161
v2_s985171774
s985171774
s985171774
p02388
p02388
u794495674
u794495674
1,530,688,326
2018-07-04T07:12:06
Main.java
public class Main{ public static void main(String[] args){ Main.cube(1); } public int cube(int x){ int volume = x * x * x; return volume; } }
Main.java:3: error: non-static method cube(int) cannot be referenced from a static context Main.cube(1); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u794495674|p02388|0
u794495674|p02388|0
codenet
Compile Error
167
v2_s916917745
s916917745
s916917745
p02388
p02388
u794701110
u794701110
1,492,881,119
2017-04-22T17:11:59
Main.java
public class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int getValue = sc.nextInt(); int res = getValue * getValue * getValue; System.out.println(res); } }
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
u794701110|p02388|0
u794701110|p02388|0
codenet
Compile Error
236
v2_s404573156
s404573156
s404573156
p02388
p02388
u794790230
u794790230
1,483,592,002
2017-01-05T04:53:22
Main.java
import java.until.Scanner; class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int a = stdIn.nextInt(); int b = stdIn.nextInt(); int c = a*b; int d = 2*(a+b); System.out.println( c + " " + d ); } }
Main.java:1: error: package java.until does not exist import java.until.Scanner; ^ Main.java:7: error: cannot find symbol Scanner stdIn = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:7: error: cannot find symbol Scanner stdIn = new Scanner...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u794790230|p02388|0
u794790230|p02388|0
codenet
Compile Error
300
v2_s486203686
s486203686
s486203686
p02388
p02388
u797001082
u797001082
1,422,495,468
2015-01-29T01:37:48
Main.java
import java.util.Scanner; public class Main{ int X; public void solve(){ Scanner sc = new Scanner(System.in); X=sc.nextInt(); System.out.println(X*X*X); } public static void main(String[] args){ Main obj = new Main(); obj.solve(); }
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u797001082|p02388|0
u797001082|p02388|0
codenet
Compile Error
251
v2_s161491192
s161491192
s161491192
p02388
p02388
u797095866
u797095866
1,497,085,371
2017-06-10T09:02:51
Main.java
import java.util.*; import java.util.*; class test{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int x = scan.nextInt(); System.out.println(Math.pow(n,3)); } }
Main.java:8: error: cannot find symbol System.out.println(Math.pow(n,3)); ^ symbol: variable n location: class test 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u797095866|p02388|0
u797095866|p02388|0
codenet
Compile Error
203
v2_s710499091
s710499091
s710499091
p02388
p02388
u797095866
u797095866
1,497,085,397
2017-06-10T09:03:17
Main.java
import java.util.*; import java.util.*; class test{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int x = scan.nextInt(); System.out.println(Math.pow(n,3)); } }
Main.java:8: error: cannot find symbol System.out.println(Math.pow(n,3)); ^ symbol: variable n location: class test 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u797095866|p02388|0
u797095866|p02388|0
codenet
Compile Error
203
v2_s687494378
s687494378
s687494378
p02388
p02388
u797963216
u797963216
1,494,902,686
2017-05-16T02:44:46
Main.java
public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); a=a*a*a; System.out.println(a); } }
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: clas...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u797963216|p02388|0
u797963216|p02388|0
codenet
Compile Error
240
v2_s675825854
s675825854
s675825854
p02388
p02388
u798339835
u798339835
1,494,994,934
2017-05-17T04:22:14
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferdReader br = new BufferedReader(new inputStreamReader(System.in)); String input = br.readLine(); int x = Integer.parseInt(input); Sys...
Main.java:6: error: cannot find symbol BufferdReader br = new BufferedReader(new inputStreamReader(System.in)); ^ symbol: class BufferdReader location: class Main Main.java:6: error: cannot find symbol BufferdReader br = new BufferedReader(new inputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u798339835|p02388|0
u798339835|p02388|0
codenet
Compile Error
360
v2_s699275846
s699275846
s699275846
p02388
p02388
u798339835
u798339835
1,494,995,017
2017-05-17T04:23:37
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new inputStreamReader(System.in)); String input = br.readLine(); int x = Integer.parseInt(input); Sy...
Main.java:6: error: cannot find symbol BufferedReader br = new BufferedReader(new inputStreamReader(System.in)); ^ symbol: class inputStreamReader location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u798339835|p02388|0
u798339835|p02388|0
codenet
Compile Error
361
v2_s564188285
s564188285
s564188285
p02388
p02388
u798339835
u798339835
1,494,995,191
2017-05-17T04:26:31
Main.java
public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String input = br.readLine(); int x = Integer.parseInt(input); System.out.println(Math.pow(x, 3)); } }
Main.java:3: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader 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
u798339835|p02388|0
u798339835|p02388|0
codenet
Compile Error
296
v2_s458844670
s458844670
s458844670
p02388
p02388
u798339835
u798339835
1,494,995,222
2017-05-17T04:27:02
Main.java
import java.io.*;,; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String input = br.readLine(); int x = Integer.parseInt(input); System.out.println(Math.pow(x, 3)); } }
Main.java:1: error: class, interface, enum, or record expected import java.io.*;,; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u798339835|p02388|0
u798339835|p02388|0
codenet
Compile Error
318
v2_s280056855
s280056855
s280056855
p02388
p02388
u802493254
u802493254
1,499,427,143
2017-07-07T11:32:23
Main.java
public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int x = s.nextInt(); System.out.println(x*x*x); } }
Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u802493254|p02388|0
u802493254|p02388|0
codenet
Compile Error
180
v2_s518636182
s518636182
s518636182
p02388
p02388
u803228308
u803228308
1,477,894,161
2016-10-31T06:09:21
GetSum.java
public class GetSum { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = a * a * a; System.out.println(b); } }
GetSum.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class GetSum GetSum.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class G...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803228308|p02388|0
u803228308|p02388|0
codenet
Compile Error
219
v2_s676282900
s676282900
s676282900
p02388
p02388
u805162965
u805162965
1,423,975,996
2015-02-15T04:53:16
Main.java
public class Main { public static void main(String[] args) { int x = args[0]; System.out.println(x * x * x); } }
Main.java:3: error: incompatible types: String cannot be converted to int int x = args[0]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u805162965|p02388|0
u805162965|p02388|0
codenet
Compile Error
136
v2_s226160544
s226160544
s226160544
p02388
p02388
u806788716
u806788716
1,528,366,766
2018-06-07T10:19:26
Main.java
ああああ
Main.java:1: error: reached end of file while parsing ???? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u806788716|p02388|0
u806788716|p02388|0
codenet
Compile Error
13
v2_s176667829
s176667829
s176667829
p02388
p02388
u808806672
u808806672
1,556,715,263
2019-05-01T12:54:23
Main.java
import java.util*; 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:1: error: ';' expected import java.util*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u808806672|p02388|0
u808806672|p02388|0
codenet
Compile Error
161
v2_s399653941
s399653941
s399653941
p02388
p02388
u809541627
u809541627
1,418,877,064
2014-12-18T04:31:04
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); System.out.println(x * x * x); } }
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
u809541627|p02388|0
u809541627|p02388|0
codenet
Compile Error
163
v2_s886456238
s886456238
s886456238
p02388
p02388
u810323012
u810323012
1,445,004,640
2015-10-16T14:10:40
Main.java
public class Main { public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Test m = new Test(); String line = br.readLine(); double num = Double.parseDouble(line); double ans = Math.pow(num, (double)3); System.out.println((int)a...
Main.java:9: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u810323012|p02388|0
u810323012|p02388|0
codenet
Compile Error
327
v2_s627279308
s627279308
s627279308
p02388
p02388
u810323012
u810323012
1,445,004,704
2015-10-16T14:11:44
Test.java
import java.io.*; public class Test { public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); double num = Double.parseDouble(line); double ans = Math.pow(num, (double)3); System.out.println((int)ans);...
Test.java:10: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u810323012|p02388|0
u810323012|p02388|0
codenet
Compile Error
323
v2_s714536590
s714536590
s714536590
p02388
p02388
u810323012
u810323012
1,445,004,843
2015-10-16T14:14:03
Main.java
import java.io.*; public class Main { public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); double num = Double.parseDouble(line); double ans = Math.pow(num, (double)3); System.out.println((int)ans)...
Main.java:11: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u810323012|p02388|0
u810323012|p02388|0
codenet
Compile Error
324
v2_s361014822
s361014822
s361014822
p02388
p02388
u815928965
u815928965
1,439,455,308
2015-08-13T08:41:48
Main.java
public class Main { public static void main(String[] args) throws IOException { int num = Integer.parseInt(args[0]); System.out.println(num * num * num); } }
Main.java:3: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u815928965|p02388|0
u815928965|p02388|0
codenet
Compile Error
165
v2_s811166277
s811166277
s811166277
p02388
p02388
u821106706
u821106706
1,507,983,723
2017-10-14T12:22:03
Main.java
class Main{ ???public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = Integer.parseInt(scan.next()); System.out.println(Math.pow(a,3)); ???} }
Main.java:2: error: illegal start of type ???public static void main(String[] args){ ^ Main.java:6: error: illegal start of expression ???} ^ Main.java:6: error: illegal start of expression ???} ^ Main.java:6: error: illegal start of expression ???} ^ Main.java:6: error: illegal start of expression ???} ^ 5 error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u821106706|p02388|0
u821106706|p02388|0
codenet
Compile Error
186
v2_s674728348
s674728348
s674728348
p02388
p02388
u821106706
u821106706
1,507,983,804
2017-10-14T12:23:24
Main.java
class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = Integer.parseInt(scan.next()); System.out.println(Math.pow(a,3)); } }
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
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u821106706|p02388|0
u821106706|p02388|0
codenet
Compile Error
200
v2_s083692197
s083692197
s083692197
p02388
p02388
u821640648
u821640648
1,523,256,057
2018-04-09T06:40:57
Main.java
class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); System.out.println(n*n*n); } }
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
u821640648|p02388|0
u821640648|p02388|0
codenet
Compile Error
176
v2_s608079848
s608079848
s608079848
p02388
p02388
u821640648
u821640648
1,523,256,097
2018-04-09T06:41:37
Main.java
class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); System.out.println(n*n*n); } }
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
u821640648|p02388|0
u821640648|p02388|0
codenet
Compile Error
178
v2_s230267049
s230267049
s230267049
p02388
p02388
u824020640
u824020640
1,499,515,483
2017-07-08T12:04:43
Main.java
class Hello{ public static void main(String[] args){ int x; for(int i=0; i<2; i++){ x *= x; } System.out.println(x); } }
Main.java:6: error: variable x might not have been initialized x *= x; ^ Main.java:9: error: variable x might not have been initialized System.out.println(x); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u824020640|p02388|0
u824020640|p02388|0
codenet
Compile Error
190
v2_s421181908
s421181908
s421181908
p02388
p02388
u824020640
u824020640
1,499,516,053
2017-07-08T12:14:13
Main.java
import java.io.*; class Main { public static void main (String[] args) throws IOException //????????? { InputStreamReader is = new InputStreamReader(System.in); //????????? BufferedReader br = new BufferedReader(is); //????????? System.out.println("????...
Main.java:10: error: illegal escape character System.out.println("????????\?????????????????????."); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u824020640|p02388|0
u824020640|p02388|0
codenet
Compile Error
555
v2_s280021443
s280021443
s280021443
p02388
p02388
u825653644
u825653644
1,442,768,830
2015-09-20T17:07:10
Main.java
class Main{ public static void main(String[] args){ int a; int b a=b*b*b; System.out.println(a); }}
Main.java:6: error: ';' expected int b ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825653644|p02388|0
u825653644|p02388|0
codenet
Compile Error
103
v2_s071788098
s071788098
s071788098
p02388
p02388
u826160136
u826160136
1,527,633,235
2018-05-29T22:33:55
Main.java
import java.util.*; public class Main{ public static void main(Sting[]args){ Scannner in = new Scanner(System.in); int x = in.nextInt(); System.out.println(Math.pow(x,3)); } }
Main.java:4: error: cannot find symbol public static void main(Sting[]args){ ^ symbol: class Sting location: class Main Main.java:5: error: cannot find symbol Scannner in = new Scanner(System.in); ^ symbol: class Scannner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u826160136|p02388|0
u826160136|p02388|0
codenet
Compile Error
181
v2_s322781712
s322781712
s322781712
p02388
p02388
u827138596
u827138596
1,526,630,247
2018-05-18T07:57:27
P01.java
import java.util.Scanner; public class P01 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); System.out.println(x * x * x); }
P01.java:9: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u827138596|p02388|0
u827138596|p02388|0
codenet
Compile Error
190
v2_s445928208
s445928208
s445928208
p02388
p02388
u827138596
u827138596
1,526,630,265
2018-05-18T07:57:45
P.java
import java.util.Scanner; public class P { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); System.out.println(x * x * x); }
P.java:9: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u827138596|p02388|0
u827138596|p02388|0
codenet
Compile Error
188
v2_s938094031
s938094031
s938094031
p02388
p02388
u829111691
u829111691
1,497,523,590
2017-06-15T10:46:30
Main.java
public class Main { public static void main(String[] args) { int x; int y = x * x * x; } }
Main.java:5: error: variable x might not have been initialized int y = x * x * x; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u829111691|p02388|2
u829111691|p02388|2
codenet
Compile Error
124
v2_s306770593
s306770593
s306770593
p02388
p02388
u829111691
u829111691
1,497,523,672
2017-06-15T10:47:52
Main.java
public class Main { public static void main(String[] args) { int x = 2; int y = x * x * x; System.out.println(y); int x = 3; System.out.println(y); } }
Main.java:8: error: variable x is already defined in method main(String[]) int x = 3; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u829111691|p02388|2
u829111691|p02388|2
codenet
Compile Error
201
v2_s097569727
s097569727
s097569727
p02388
p02388
u829609117
u829609117
1,507,135,112
2017-10-04T16:38:32
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); System.out.println((int) Math.pow(x, 3)); } }
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
u829609117|p02388|0
u829609117|p02388|0
codenet
Compile Error
175
v2_s732264401
s732264401
s732264401
p02388
p02388
u833039167
u833039167
1,491,213,665
2017-04-03T10:01:05
Main.java
public class Main { public static void main(Strings[] args) { int x; x = 2; system.out.println(x*x*x) ; } }
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
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833039167|p02388|0
u833039167|p02388|0
codenet
Compile Error
137
v2_s103126835
s103126835
s103126835
p02388
p02388
u833039167
u833039167
1,491,213,836
2017-04-03T10:03:56
Main.java
public class Main { public static void main(Strings[] args) { int x; x = 2; System.out.println(x*x*x); } }
Main.java:2: error: cannot find symbol public static void main(Strings[] args) { ^ symbol: class Strings location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833039167|p02388|0
u833039167|p02388|0
codenet
Compile Error
122
v2_s664815383
s664815383
s664815383
p02388
p02388
u833039167
u833039167
1,491,213,954
2017-04-03T10:05:54
Main.java
public class Main { public static void main(String[] args) { int x; 1 ??? x ??? 100; System.out.println(x*x*x); } }
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; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833039167|p02388|0
u833039167|p02388|0
codenet
Compile Error
131
v2_s900633332
s900633332
s900633332
p02388
p02388
u833039167
u833039167
1,491,271,214
2017-04-04T02:00:14
Main.java
public class Main { public static void main (String[] args) { int x; x > = 1; x = < 100; System.out.println("x*x*x"); } }
Main.java:6: error: illegal start of expression x > = 1; ^ Main.java:7: error: illegal start of type x = < 100; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833039167|p02388|1
u833039167|p02388|1
codenet
Compile Error
158
v2_s740104474
s740104474
s740104474
p02388
p02388
u833039167
u833039167
1,491,271,558
2017-04-04T02:05:58
Main.java
public class Main { public static void main (String[] args) { int x; 1=<x=<100; System.out.println("x*x*x"); } }
Main.java:6: error: > or ',' expected 1=<x=<100; ^ Main.java:6: error: illegal start of type 1=<x=<100; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833039167|p02388|1
u833039167|p02388|1
codenet
Compile Error
143
v2_s400051121
s400051121
s400051121
p02388
p02388
u833039167
u833039167
1,491,272,514
2017-04-04T02:21:54
Main.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"); } }
Main.java:7: error: > or ',' expected 1=<x=<100; ^ Main.java:7: error: illegal start of type 1=<x=<100; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833039167|p02388|1
u833039167|p02388|1
codenet
Compile Error
196
v2_s820304526
s820304526
s820304526
p02388
p02388
u833320726
u833320726
1,508,207,544
2017-10-17T02:32:24
Main.java
class Main { public static void main(String[] args) { try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\???????????????????????? String line = br.readLine(); int x = Integer.parseInt(line); int a = x*x*x; ...
Main.java:4: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\???????????????????????? ^ symbol: class BufferedReader location: class Main Main.java:4: error: cannot find symbol BufferedReader br = new BufferedReader(new I...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833320726|p02388|0
u833320726|p02388|0
codenet
Compile Error
430
v2_s018349283
s018349283
s018349283
p02388
p02388
u834139744
u834139744
1,495,933,435
2017-05-28T01:03:55
Main.java
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = Integer.parseInt(scan) System.out.println(n*n*n); } }
Main.java:7: error: ';' expected int n = Integer.parseInt(scan) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834139744|p02388|0
u834139744|p02388|0
codenet
Compile Error
213
v2_s985383276
s985383276
s985383276
p02388
p02388
u834139744
u834139744
1,495,933,666
2017-05-28T01:07:46
Main.java
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = Integer.parseInt(scan); System.out.println(n*n*n); } }
Main.java:7: error: incompatible types: Scanner cannot be converted to String int n = Integer.parseInt(scan); ^ 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
u834139744|p02388|0
u834139744|p02388|0
codenet
Compile Error
214
v2_s093549854
s093549854
s093549854
p02388
p02388
u834356976
u834356976
1,525,679,399
2018-05-07T07:49:59
Main.java
public class Main{ public static void main(String [] args){ int x; System.out.println(Math.pow(x,3)); } }
Main.java:5: error: variable x might not have been initialized System.out.println(Math.pow(x,3)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02388|0
u834356976|p02388|0
codenet
Compile Error
108
v2_s754045285
s754045285
s754045285
p02388
p02388
u834356976
u834356976
1,525,679,698
2018-05-07T07:54:58
Main.java
import java.io.*; public class Main{ public static void main(String [] args) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in); int x = reader.readLine(); System.out.print(Math.pow(x,3)); } }
Main.java:9: error: ')' or ',' expected = new BufferedReader(new InputStreamReader(System.in); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02388|0
u834356976|p02388|0
codenet
Compile Error
248
v2_s490371707
s490371707
s490371707
p02388
p02388
u834356976
u834356976
1,525,679,741
2018-05-07T07:55:41
Main.java
import java.io.*; public class Main{ public static void main(String [] args) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in); int x = reader.readLine(); System.out.print(x * x * x); } }
Main.java:6: error: ')' or ',' expected = new BufferedReader(new InputStreamReader(System.in); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02388|0
u834356976|p02388|0
codenet
Compile Error
243
v2_s791635542
s791635542
s791635542
p02388
p02388
u834356976
u834356976
1,525,679,774
2018-05-07T07:56:14
Main.java
import java.io.*; public class Main{ public static void main(String [] args) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in); int x = reader.readLine(); x = math.pow(x,3); System.out.print(x); } }
Main.java:6: error: ')' or ',' expected = new BufferedReader(new InputStreamReader(System.in); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02388|0
u834356976|p02388|0
codenet
Compile Error
254
v2_s292772146
s292772146
s292772146
p02388
p02388
u834356976
u834356976
1,525,679,783
2018-05-07T07:56:23
Main.java
import java.io.*; public class Main{ public static void main(String [] args) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in); int x = reader.readLine(); x = Math.pow(x,3); System.out.print(x); } }
Main.java:6: error: ')' or ',' expected = new BufferedReader(new InputStreamReader(System.in); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02388|0
u834356976|p02388|0
codenet
Compile Error
254
v2_s379688160
s379688160
s379688160
p02388
p02388
u834356976
u834356976
1,525,679,836
2018-05-07T07:57:16
Main.java
import java.io.*; public class Main{ public static void main(String [] args) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in); int x = int(reader.readLine()); x = Math.pow(x,3); System.out.print(x); } }
Main.java:6: error: ')' or ',' expected = new BufferedReader(new InputStreamReader(System.in); ^ Main.java:9: error: '.class' expected int x = int(reader.readLine()); ^ Main.java:9: error: ';' expected int x = int(reader.readLine()); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02388|0
u834356976|p02388|0
codenet
Compile Error
259
v2_s207361792
s207361792
s207361792
p02388
p02388
u834356976
u834356976
1,525,679,877
2018-05-07T07:57:57
Main.java
import java.io.*; public class Main{ public static void main(String [] args) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in); int x = Integer.parseInt(reader.readLine()); x = Math.pow(x,3); System.out.print(x); } }
Main.java:6: error: ')' or ',' expected = new BufferedReader(new InputStreamReader(System.in); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02388|0
u834356976|p02388|0
codenet
Compile Error
272
v2_s146765775
s146765775
s146765775
p02388
p02388
u834356976
u834356976
1,525,679,916
2018-05-07T07:58:36
Main.java
import java.io.*; public class Main{ public static void main(String [] args) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int x = Integer.parseInt(reader.readLine()); x = Math.pow(x,3); System.out.print(x); } }
Main.java:10: error: incompatible types: possible lossy conversion from double to int x = Math.pow(x,3); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02388|0
u834356976|p02388|0
codenet
Compile Error
273
v2_s807675832
s807675832
s807675832
p02388
p02388
u834356976
u834356976
1,525,679,959
2018-05-07T07:59:19
Main.java
import java.io.*; public class Main{ public static void main(String [] args) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); long x = Integer.parseInt(reader.readLine()); x = Math.pow(x,3); System.out.print(x); } }
Main.java:10: error: incompatible types: possible lossy conversion from double to long x = Math.pow(x,3); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02388|0
u834356976|p02388|0
codenet
Compile Error
274
v2_s889640943
s889640943
s889640943
p02388
p02388
u834356976
u834356976
1,525,680,044
2018-05-07T08:00:44
Main.java
public class Main{ public static void main(String [] args){ System.out.print(math.pow(x,3)); } }
Main.java:5: error: cannot find symbol System.out.print(math.pow(x,3)); ^ symbol: variable x location: class Main Main.java:5: error: cannot find symbol System.out.print(math.pow(x,3)); ^ symbol: variable math location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02388|0
u834356976|p02388|0
codenet
Compile Error
102
v2_s549132819
s549132819
s549132819
p02388
p02388
u834356976
u834356976
1,525,680,058
2018-05-07T08:00:58
Main.java
public class Main{ public static void main(String [] args){ System.out.println(math.pow(x,3)); } }
Main.java:6: error: cannot find symbol System.out.println(math.pow(x,3)); ^ symbol: variable x location: class Main Main.java:6: error: cannot find symbol System.out.println(math.pow(x,3)); ^ symbol: variable math location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02388|0
u834356976|p02388|0
codenet
Compile Error
105
v2_s408127569
s408127569
s408127569
p02388
p02388
u836724338
u836724338
1,469,500,141
2016-07-26T02:29:01
Main.java
class public { public static void main(Stirng args[]){ int a = 2; System.out.printlin(math.pow(a,3)); } }
Main.java:1: error: <identifier> expected class public { ^ Main.java:1: error: class, interface, enum, or record expected class public { ^ Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(Stirng args[]){ ^ (use --enable-...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u836724338|p02388|0
u836724338|p02388|0
codenet
Compile Error
117
v2_s299751590
s299751590
s299751590
p02388
p02388
u836724338
u836724338
1,469,500,265
2016-07-26T02:31:05
Main.java
class public { public static void main(Stirng args[]) throws IOException{ int a = 2; System.out.printlin(math.pow(a,3)); } }
Main.java:1: error: <identifier> expected class public { ^ Main.java:1: error: class, interface, enum, or record expected class public { ^ Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(Stirng args[]) throws IOException{ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u836724338|p02388|0
u836724338|p02388|0
codenet
Compile Error
136
v2_s266321002
s266321002
s266321002
p02388
p02388
u837693739
u837693739
1,523,251,852
2018-04-09T05:30:52
Main.java
import java.io.* public class Main{ public static void main(String args[]) { System.out.println("数字を入力してください"); BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String line = reader.readLine(); int x = Integer.paraseInt(line); x = x * x* x; System.out.println(x); } }
Main.java:1: error: ';' expected import java.io.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u837693739|p02388|0
u837693739|p02388|0
codenet
Compile Error
342
v2_s992309916
s992309916
s992309916
p02388
p02388
u837693739
u837693739
1,523,251,943
2018-04-09T05:32:23
Main.java
import java.io.* public class Main { public static void main(String args[]) { System.out.println("数字を入力してください"); BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String line = reader.readLine(); int x = Integer.paraseInt(line); int ans = x * x* x; System.out.println(ans); } }...
Main.java:1: error: ';' expected import java.io.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u837693739|p02388|0
u837693739|p02388|0
codenet
Compile Error
344
v2_s455989322
s455989322
s455989322
p02388
p02388
u837693739
u837693739
1,523,252,051
2018-04-09T05:34:11
Main.java
import java.io.* public class Main { public static void main(String args[]) { System.out.println("数字を入力してください"); BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String line = reader.readLine(); int x = Integer.paraseInt(line); int ans = x * x* x; System.out.println(ans); } }...
Main.java:1: error: ';' expected import java.io.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u837693739|p02388|0
u837693739|p02388|0
codenet
Compile Error
344
v2_s732486431
s732486431
s732486431
p02388
p02388
u848975392
u848975392
1,529,023,896
2018-06-15T00:51:36
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x= sc.nextInt(); System.out.println(x*x*x); } }
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
u848975392|p02388|0
u848975392|p02388|0
codenet
Compile Error
158
v2_s564954657
s564954657
s564954657
p02388
p02388
u849430227
u849430227
1,422,117,019
2015-01-24T16:30:19
Main.java
public class Main { public static void main(String[] args){ if(args.length == 1){ int num = Integer.parseInt(args[0]); xCube xc = new xCube(num); }else{ System.out.println("引数が不正です。"); } } } public class xCube { xCube(int num){ System.out.println(num*num*num); } }
Main.java:13: error: class xCube is public, should be declared in a file named xCube.java public class xCube { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u849430227|p02388|0
u849430227|p02388|0
codenet
Compile Error
304
v2_s431001234
s431001234
s431001234
p02388
p02388
u849430227
u849430227
1,422,117,138
2015-01-24T16:32:18
Main.java
public class Main { public static void main(String[] args){ if(args.length == 1){ int num = Integer.parseInt(args[0]); Cube cube = new Cube(num); }else{ System.out.println("引数が不正です。"); } } } public class Cube { Cube(int num){ System.out.println(num*num*num); } }
Main.java:13: error: class Cube is public, should be declared in a file named Cube.java public class Cube { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u849430227|p02388|0
u849430227|p02388|0
codenet
Compile Error
302
v2_s215324607
s215324607
s215324607
p02388
p02388
u849430227
u849430227
1,422,117,202
2015-01-24T16:33:22
Main.java
public class Main { public static void main(String[] args){ if(args.length == 1){ int num = Integer.parseInt(args[0]); Cube cube = new Cube(num); }else{ System.out.println("引数が不正です。"); } } } public class Cube { Cube(int num){ System.out.println(num*num*num); } }
Main.java:13: error: class Cube is public, should be declared in a file named Cube.java public class Cube { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u849430227|p02388|0
u849430227|p02388|0
codenet
Compile Error
302
v2_s295948098
s295948098
s295948098
p02388
p02388
u850012739
u850012739
1,484,547,002
2017-01-16T06:10:02
Main.java
public class Main { public static void main(String[]args){ //?????°?????£?¨? int intSum = 3; System.out.println(intSum * intSum???* intSum); } }
Main.java:7: error: illegal start of expression System.out.println(intSum * intSum???* intSum); ^ Main.java:7: error: illegal start of expression System.out.println(intSum * intSum???* intSum); ^ Main.java:7: error: illegal start of expressi...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u850012739|p02388|0
u850012739|p02388|0
codenet
Compile Error
158
v2_s947037234
s947037234
s947037234
p02388
p02388
u852983054
u852983054
1,412,052,826
2014-09-30T04:53:46
Main.java
public class Main { public static void main(String[] args) throws IOException { System.out.print("数字を入力して下さい:"); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String in = br.readLine(); double x = Math.pow(Integer.parseInt(in), 3); System.out.println((int)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 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u852983054|p02388|0
u852983054|p02388|0
codenet
Compile Error
325
v2_s516190411
s516190411
s516190411
p02388
p02388
u855002235
u855002235
1,512,105,002
2017-12-01T05:10:02
Main.java
import java.util.Scanner; class main{ public static void main(String args[]) { Scanner scn = new Scanner(); int val = Integer.parseInt(scn.next()); System.out.println(val * val * val); } }
Main.java:5: error: no suitable constructor found for Scanner(no arguments) Scanner scn = new Scanner(); ^ constructor Scanner.Scanner(Readable,Pattern) is not applicable (actual and formal argument lists differ in length) constructor Scanner.Scanner(Readable) is not applicab...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u855002235|p02388|0
u855002235|p02388|0
codenet
Compile Error
221
v2_s000240705
s000240705
s000240705
p02388
p02388
u859425877
u859425877
1,454,481,620
2016-02-03T06:40:20
Main.java
public class XCubic { static void run () { int xc = readInput(); printCubic(xc); } static int readInput() { Scanner sc = new Scanner(System.in); return sc.nextInt(); } static void printCubic (int x){ System.out.println(Math.pow(x, 3))); } } public class M...
Main.java:12: error: ';' expected System.out.println(Math.pow(x, 3))); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u859425877|p02388|0
u859425877|p02388|0
codenet
Compile Error
400
v2_s187726058
s187726058
s187726058
p02388
p02388
u859425877
u859425877
1,454,481,699
2016-02-03T06:41:39
Main.java
public class XCubic { static void run () { int xc = readInput(); printCubic(xc); } static int readInput() { Scanner sc = new Scanner(System.in); return sc.nextInt(); } static void printCubic (int x){ System.out.println(x*x*x); } } public class Main { ...
Main.java:1: error: class XCubic is public, should be declared in a file named XCubic.java public class XCubic { ^ Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class XCubic Main.java:8: error: cannot find symbol Scanne...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u859425877|p02388|0
u859425877|p02388|0
codenet
Compile Error
390
v2_s483039378
s483039378
s483039378
p02388
p02388
u859425877
u859425877
1,454,481,748
2016-02-03T06:42:28
Main.java
public class XCubic { } public class Main { public static void main(String[] args) { run(); } static void run () { int xc = readInput(); printCubic(xc); } static int readInput() { Scanner sc = new Scanner(System.in); return sc.nextInt(); } static voi...
Main.java:1: error: class XCubic is public, should be declared in a file named XCubic.java public class XCubic { ^ Main.java:14: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:14: error: cannot find symbol Scanne...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u859425877|p02388|0
u859425877|p02388|0
codenet
Compile Error
384
v2_s086688161
s086688161
s086688161
p02388
p02388
u859425877
u859425877
1,454,481,817
2016-02-03T06:43:37
Main.java
import java.util.Scanner; /** * Created by ui on 2016/02/03. */ public class XCubic { public static void run () { int xc = readInput(); printCubic(xc); } public int readInput() { Scanner sc = new Scanner(System.in); return sc.nextInt(); } public void printCubic (i...
Main.java:6: error: class XCubic is public, should be declared in a file named XCubic.java public class XCubic { ^ Main.java:9: error: non-static method readInput() cannot be referenced from a static context int xc = readInput(); ^ Main.java:10: error: non-static method printCubic(int) c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u859425877|p02388|0
u859425877|p02388|0
codenet
Compile Error
464
v2_s571840770
s571840770
s571840770
p02388
p02388
u859425877
u859425877
1,454,482,198
2016-02-03T06:49:58
Main.java
import java.util.Scanner; /** * Created by ui on 2016/02/03. */ public class XCubic { public static void main(String[] args) { run(); } public static void run () { int xc = readInput(); printCubic(xc); } public static int readInput() { Scanner sc = new Scanner(Sys...
Main.java:6: error: class XCubic is public, should be declared in a file named XCubic.java public class XCubic { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u859425877|p02388|0
u859425877|p02388|0
codenet
Compile Error
544
v2_s609801989
s609801989
s609801989
p02388
p02388
u859425877
u859425877
1,456,190,627
2016-02-23T01:23:47
Main.java
import java.util.Scanner; /** * Created by ui on 2016/02/23. */ public class XCubic { static void run () { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); System.out.println(x * x * x); } } public class Main { public static void main(String[] args) { XCubic.run(...
Main.java:6: error: class XCubic is public, should be declared in a file named XCubic.java public class XCubic { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u859425877|p02388|1
u859425877|p02388|1
codenet
Compile Error
331
v2_s333881884
s333881884
s333881884
p02388
p02388
u860843819
u860843819
1,446,898,030
2015-11-07T12:07:10
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.StringTokenizer; import java.math.BigInteger; public class Main { // ??¨????????????????????? st...
Main.java:47: error: cannot find symbol return Integer.prseInt(st.nextToken()); ^ symbol: method prseInt(String) location: class Integer 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860843819|p02388|0
u860843819|p02388|0
codenet
Compile Error
1,627
v2_s647907588
s647907588
s647907588
p02388
p02388
u861285063
u861285063
1,436,775,235
2015-07-13T08:13:55
Main.java
class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int x = Integer.parseInt(scan.next()); int y = (int)Math.pow(x, 3); System.out.println(y); scan.close(); } }
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
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u861285063|p02388|0
u861285063|p02388|0
codenet
Compile Error
212
v2_s283409351
s283409351
s283409351
p02388
p02388
u861285063
u861285063
1,436,775,298
2015-07-13T08:14:58
Main.java
class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int x = Integer.parseInt(scan.next()); scan.close(); int y = (int)Math.pow(x, 3); System.out.println(y); } }
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
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u861285063|p02388|0
u861285063|p02388|0
codenet
Compile Error
212
v2_s984166551
s984166551
s984166551
p02388
p02388
u863386424
u863386424
1,484,712,806
2017-01-18T04:13:26
Main.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) ); } }
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
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863386424|p02388|0
u863386424|p02388|0
codenet
Compile Error
184
v2_s683609847
s683609847
s683609847
p02388
p02388
u863386424
u863386424
1,484,712,912
2017-01-18T04:15:12
Main.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) ); } }
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
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863386424|p02388|0
u863386424|p02388|0
codenet
Compile Error
181
v2_s602828458
s602828458
s602828458
p02388
p02388
u863386424
u863386424
1,484,712,977
2017-01-18T04:16:17
Main.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) ); } }
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
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863386424|p02388|0
u863386424|p02388|0
codenet
Compile Error
181
v2_s130428522
s130428522
s130428522
p02388
p02388
u865180457
u865180457
1,523,859,996
2018-04-16T06:26:36
Main.java
public class Main{ public static void main(String[] args){ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); try{ int x,a; System.out.println("Input x:"); String line = reader.readLine(); x = Integer.parseInt(line); ...
Main.java:3: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:3: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u865180457|p02388|0
u865180457|p02388|0
codenet
Compile Error
559
v2_s186607956
s186607956
s186607956
p02388
p02388
u867027628
u867027628
1,422,494,830
2015-01-29T01:27:10
Main.java
mport java.util.Scanner; public class Main{ int x; public void solve(){ Scanner sc = new Scanner(System.in); x = sc.nextInt(); System.out.println(x*x*x); } public static void main(String[] args){ Main obj = new Main(); obj.solve(); } }
Main.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867027628|p02388|0
u867027628|p02388|0
codenet
Compile Error
254
v2_s232273579
s232273579
s232273579
p02388
p02388
u867027628
u867027628
1,422,494,995
2015-01-29T01:29:55
Main.java
mport java.util.Scanner; public class Main{ int x; public void solve(){ Scanner sc = new Scanner(System.in); x = sc.nextInt(); System.out.println(x*x*x); } public static void main(String[] args){ Main obj = new Main(); obj.solve(); } }
Main.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867027628|p02388|0
u867027628|p02388|0
codenet
Compile Error
254
v2_s371434756
s371434756
s371434756
p02388
p02388
u867487150
u867487150
1,423,149,381
2015-02-05T15:16:21
Main.java
import java.util.Scanner class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); System.out.println(n * n * n); } }
Main.java:1: error: ';' expected import java.util.Scanner ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867487150|p02388|0
u867487150|p02388|0
codenet
Compile Error
200
v2_s399329077
s399329077
s399329077
p02388
p02388
u869148045
u869148045
1,432,383,217
2015-05-23T12:13:37
Main.java
class Main{ public static void main(String[] args){ int x; int y; y=x*x*x; System.out.println(y); } }
Main.java:5: error: variable x might not have been initialized y=x*x*x; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869148045|p02388|0
u869148045|p02388|0
codenet
Compile Error
101
v2_s716999195
s716999195
s716999195
p02388
p02388
u869688911
u869688911
1,503,404,110
2017-08-22T12:15:10
Main.java
class Main{ public static void main(String[] args){ int x=System.in.read(); int a =x*x*x; System.out.println(a); } }
Main.java:3: error: unreported exception IOException; must be caught or declared to be thrown int x=System.in.read(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02388|0
u869688911|p02388|0
codenet
Compile Error
145