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_s966593120 | s966593120 | s966593120 | p02388 | p02388 | u213503793 | u213503793 | 1,407,079,842 | 2014-08-03T15:30:42 | Main.java | import java.io.*;
class Main{
public static void main(String[] args){
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
try{
String s = input.readLine();
int x=Interger.parseInt(s);
System.out.println(Math.pow(x,3));
}catch(IOExceptin e){}
}
} | Main.java:7: error: cannot find symbol
int x=Interger.parseInt(s);
^
symbol: variable Interger
location: class Main
Main.java:9: error: cannot find symbol
}catch(IOExceptin e){}
^
symbol: class IOExceptin
location: class Main
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u213503793|p02388|0 | u213503793|p02388|0 | codenet | Compile Error | 270 | |
v2_s645935112 | s645935112 | s645935112 | p02388 | p02388 | u213503793 | u213503793 | 1,407,080,822 | 2014-08-03T15:47:02 | Main.java | import java.io.*;
public class Main {
public static void main(String[] args) {
BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
try {
String s=args[0];
int x=Integer.parseInt(s);
System.out.println(Math.pow(x, 3));
} catch (Exception e) {
// TODO 自動生成された catch ブロック
e.pri... | Main.java:17: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u213503793|p02388|0 | u213503793|p02388|0 | codenet | Compile Error | 424 | |
v2_s209668481 | s209668481 | s209668481 | p02388 | p02388 | u215982958 | u215982958 | 1,430,276,302 | 2015-04-29T02:58:22 | Main.java | public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int base = sc.nextInt();
long cube = (long)base*base*base;
System.out.println(cube);
sc.close();
} | 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 | u215982958|p02388|0 | u215982958|p02388|0 | codenet | Compile Error | 191 | |
v2_s600170109 | s600170109 | s600170109 | p02388 | p02388 | u216497216 | u216497216 | 1,466,355,327 | 2016-06-19T16:55:27 | Main.java | public class Main{
public static void main(String[] args) {
int x=1;
x**3
System.out.println(x);
}
} | Main.java:4: error: illegal start of expression
x**3
^
Main.java:4: error: ';' expected
x**3
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u216497216|p02388|0 | u216497216|p02388|0 | codenet | Compile Error | 132 | |
v2_s780762600 | s780762600 | s780762600 | p02388 | p02388 | u216497216 | u216497216 | 1,466,355,766 | 2016-06-19T17:02:46 | Main.java | public class Main{
public static void main(String[] args){
int x=3;
int x = Math.pow(x,3);
System.out.println(x);
}
} | Main.java:4: error: variable x is already defined in method main(String[])
int x = Math.pow(x,3);
^
Main.java:4: error: incompatible types: possible lossy conversion from double to int
int x = Math.pow(x,3);
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u216497216|p02388|0 | u216497216|p02388|0 | codenet | Compile Error | 149 | |
v2_s991622491 | s991622491 | s991622491 | p02388 | p02388 | u216497216 | u216497216 | 1,466,355,810 | 2016-06-19T17:03:30 | Main.java | public class Main{
public static void main(String[] args){
int x=3;
x = Math.pow(x,3);
System.out.println(x);
}
} | Main.java:4: 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 | u216497216|p02388|0 | u216497216|p02388|0 | codenet | Compile Error | 145 | |
v2_s544663640 | s544663640 | s544663640 | p02388 | p02388 | u216497216 | u216497216 | 1,466,355,891 | 2016-06-19T17:04:51 | Main.java | public class Main{
public static void main(String[] args){
int x = Math.pow(2,3);
System.out.print(x);
}
} | Main.java:3: error: incompatible types: possible lossy conversion from double to int
int x = Math.pow(2,3);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u216497216|p02388|0 | u216497216|p02388|0 | codenet | Compile Error | 130 | |
v2_s474742286 | s474742286 | s474742286 | p02388 | p02388 | u216497216 | u216497216 | 1,466,356,144 | 2016-06-19T17:09:04 | Main.java | public class Main{
public static void main(String[] args){
int x = 2
x = 2*2*2
System.out.print(x);
}
} | Main.java:3: error: ';' expected
int x = 2
^
Main.java:4: error: ';' expected
x = 2*2*2
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u216497216|p02388|0 | u216497216|p02388|0 | codenet | Compile Error | 135 | |
v2_s724476165 | s724476165 | s724476165 | p02388 | p02388 | u216497216 | u216497216 | 1,466,356,319 | 2016-06-19T17:11:59 | Main.java | public class Main{
public static void main(String[] args){
int x = 2;
System.out.print(Math.pow(x,3);
}
} | Main.java:4: error: ')' or ',' expected
System.out.print(Math.pow(x,3);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u216497216|p02388|0 | u216497216|p02388|0 | codenet | Compile Error | 129 | |
v2_s236875382 | s236875382 | s236875382 | p02388 | p02388 | u216497216 | u216497216 | 1,466,356,650 | 2016-06-19T17:17:30 | Main.java | int x = 2;
System.out.print((int)Math.pow(x,3)); | Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
int x = 2;
^
(use --enable-preview to enable unnamed classes)
Main.java:2: error: class, interface, enum, or record expected
System.out.print((int)Math.pow(x,3));
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u216497216|p02388|0 | u216497216|p02388|0 | codenet | Compile Error | 48 | |
v2_s964489405 | s964489405 | s964489405 | p02388 | p02388 | u220160744 | u220160744 | 1,523,253,731 | 2018-04-09T06:02:11 | Main.java | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int y = sc.nextInt();
int answer = y*y*y;
System.out.println(answer);
}
| Main.java:9: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u220160744|p02388|0 | u220160744|p02388|0 | codenet | Compile Error | 235 | |
v2_s009671692 | s009671692 | s009671692 | p02388 | p02388 | u220713413 | u220713413 | 1,432,618,179 | 2015-05-26T05:29:39 | Main.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br.readLine());
Syste.out.println(x*x*x... | Main.java:11: error: package Syste does not exist
Syste.out.println(x*x*x);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u220713413|p02388|0 | u220713413|p02388|0 | codenet | Compile Error | 328 | |
v2_s769376143 | s769376143 | s769376143 | p02388 | p02388 | u221128293 | u221128293 | 1,491,804,476 | 2017-04-10T06:07:56 | Main.java | public class Main {
public static void main(String[] args) {
// ??????Scanner????±? ??\????????§??¶??°?????\
Scanner sc = new Scanner(System.in);
System.out.println("input");
int x = sc.nextInt();
int answer = x * x * x;
System.out.println(answer);
}
} | 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 | u221128293|p02388|0 | u221128293|p02388|0 | codenet | Compile Error | 274 | |
v2_s521113854 | s521113854 | s521113854 | p02388 | p02388 | u221128293 | u221128293 | 1,491,804,534 | 2017-04-10T06:08:54 | Main.java | public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("input");
int x = sc.nextInt();
int answer = x * x * x;
System.out.println(answer);
}
} | 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 | u221128293|p02388|0 | u221128293|p02388|0 | codenet | Compile Error | 220 | |
v2_s390321190 | s390321190 | s390321190 | p02388 | p02388 | u222686501 | u222686501 | 1,449,305,530 | 2015-12-05T08:52:10 | Main.java | public static void main(String[] args) {
int x = new java.util.Scanner(System.in).nextInt;
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)
Main.java:6: error: class, interface, enum, or record expected
}
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u222686501|p02388|0 | u222686501|p02388|0 | codenet | Compile Error | 131 | |
v2_s499994246 | s499994246 | s499994246 | p02388 | p02388 | u224230439 | u224230439 | 1,418,030,783 | 2014-12-08T09:26:23 | X.java | public class X Cubic{
public static void main(String[] args){
int x = Integer.parseInt(args[0]);
int answer = x * x * x;
System.out.println(answer);
}
} | X.java:1: error: '{' expected
public class X Cubic{
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u224230439|p02388|0 | u224230439|p02388|0 | codenet | Compile Error | 173 | |
v2_s538113520 | s538113520 | s538113520 | p02388 | p02388 | u224230439 | u224230439 | 1,418,031,400 | 2014-12-08T09:36:40 | XCubic.java | public class XCubic {
public static void main(String[] args){
//数値に変換
int x;
//乗算
int answer = x * x * x;
System.out.println(answer);
}
} | XCubic.java:8: error: variable x might not have been initialized
int answer = x * x * x;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u224230439|p02388|0 | u224230439|p02388|0 | codenet | Compile Error | 169 | |
v2_s739696583 | s739696583 | s739696583 | p02388 | p02388 | u224230439 | u224230439 | 1,418,031,450 | 2014-12-08T09:37:30 | Main.java | public class Main {
public static void main(String[] args){
//数値に変換
int x;
//乗算
int answer = x * x * x;
System.out.println(answer);
}
} | Main.java:8: error: variable x might not have been initialized
int answer = x * x * x;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u224230439|p02388|0 | u224230439|p02388|0 | codenet | Compile Error | 167 | |
v2_s735615100 | s735615100 | s735615100 | p02388 | p02388 | u224230439 | u224230439 | 1,418,031,535 | 2014-12-08T09:38:55 | Main.java | public class Main {
public static void main(String[] args){
int answer = x * x * x;
System.out.println(answer);
}
} | Main.java:5: error: cannot find symbol
int answer = x * x * x;
^
symbol: variable x
location: class Main
Main.java:5: error: cannot find symbol
int answer = x * x * x;
^
symbol: variable x
location: class Main
Main.java:5: error: cannot find symbol
int answer = x * x ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u224230439|p02388|0 | u224230439|p02388|0 | codenet | Compile Error | 127 | |
v2_s555327608 | s555327608 | s555327608 | p02388 | p02388 | u224230439 | u224230439 | 1,418,031,798 | 2014-12-08T09:43:18 | Main.java | public class Main {
public static void main(String[] args){
String x = args[];
int num = Integer.paseInt(x);
int answer = num * num * num;
System.out.println(answer);
}
} | Main.java:5: error: '.class' expected
String x = args[];
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u224230439|p02388|0 | u224230439|p02388|0 | codenet | Compile Error | 186 | |
v2_s479066728 | s479066728 | s479066728 | p02388 | p02388 | u225206951 | u225206951 | 1,414,481,077 | 2014-10-28T07:24:37 | Main.java | public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int k=sc.nextInt();
System.out.println(k*k*k);
}
} | 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 | u225206951|p02388|0 | u225206951|p02388|0 | codenet | Compile Error | 157 | |
v2_s018714410 | s018714410 | s018714410 | p02388 | p02388 | u227984374 | u227984374 | 1,493,199,680 | 2017-04-26T09:41:20 | Main.java | class Main{
Static void main string[] {
int x = 2;
x == x*x*x;
System.out.println(x);
}
} | Main.java:3: error: <identifier> expected
Static void main string[] {
^
Main.java:3: error: '(' expected
Static void main string[] {
^
Main.java:3: error: <identifier> expected
Static void main string[] {
^
Main.java:7: error: not a statement
x == x*x*x;
^
4 error... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u227984374|p02388|0 | u227984374|p02388|0 | codenet | Compile Error | 96 | |
v2_s837595386 | s837595386 | s837595386 | p02388 | p02388 | u228156124 | u228156124 | 1,523,252,107 | 2018-04-09T05:35:07 | Main.java | public class Main {
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String line = reader.readLine();
line = reader.readLine();
int x = Integer.parseInt(line);
System.out.println("x*x*x");
}
}
| 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 | u228156124|p02388|0 | u228156124|p02388|0 | codenet | Compile Error | 287 | |
v2_s366128977 | s366128977 | s366128977 | p02388 | p02388 | u228156124 | u228156124 | 1,523,252,322 | 2018-04-09T05:38:42 | Main.java | import java.io.*;
public class Main {
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String line = reader.readLine();
line = reader.readLine();
int x = Integer.parseInt(line);
System.out.println("x*x*x");
}
}
| Main.java:5: error: unreported exception IOException; must be caught or declared to be thrown
String line = reader.readLine();
^
Main.java:6: error: unreported exception IOException; must be caught or declared to be thrown
line = reader.readLine();
^
2 ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u228156124|p02388|0 | u228156124|p02388|0 | codenet | Compile Error | 305 | |
v2_s890433960 | s890433960 | s890433960 | p02388 | p02388 | u228156124 | u228156124 | 1,523,252,418 | 2018-04-09T05:40:18 | Main.java | import java.io.*;
public class Main {
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String line = reader.readLine();
line = reader.readLine();
int x = Integer.parseInt(line);
System.out.println("x*x*x");
}
}
| Main.java:5: error: unreported exception IOException; must be caught or declared to be thrown
String line = reader.readLine();
^
Main.java:6: error: unreported exception IOException; must be caught or declared to be thrown
line = reader.readLine();
^
2 ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u228156124|p02388|0 | u228156124|p02388|0 | codenet | Compile Error | 305 | |
v2_s482351223 | s482351223 | s482351223 | p02388 | p02388 | u231000769 | u231000769 | 1,484,647,471 | 2017-01-17T10:04:31 | Main.java | public class Main{
public static void main(String args[]){
int i, o;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
i = Integer.parseInt(br.readline());
o = i*i*i;
System.out.println(o);
}
} | Main.java:6: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
^
symbol: class BufferedReader
location: class Main
Main.java:6: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
^
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u231000769|p02388|0 | u231000769|p02388|0 | codenet | Compile Error | 234 | |
v2_s154620761 | s154620761 | s154620761 | p02388 | p02388 | u231000769 | u231000769 | 1,484,647,507 | 2017-01-17T10:05:07 | Main.java | public class Main{
public static void main(String args[]){
int i, o;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
i = Integer.parseInt(br.readline());
o = i*i*i;
System.out.println(o);
}
} | Main.java:6: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
^
symbol: class BufferedReader
location: class Main
Main.java:6: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
^
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u231000769|p02388|0 | u231000769|p02388|0 | codenet | Compile Error | 234 | |
v2_s152978259 | s152978259 | s152978259 | p02388 | p02388 | u231000769 | u231000769 | 1,484,647,622 | 2017-01-17T10:07:02 | Main.java | import java.io.*;
class Main{
public static void main(String args[]){
int i, o;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
i = Integer.parseInt(br.readLine());
o = i*i*i;
System.out.println(o);
}
} | Main.java:9: error: unreported exception IOException; must be caught or declared to be thrown
i = Integer.parseInt(br.readLine());
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u231000769|p02388|0 | u231000769|p02388|0 | codenet | Compile Error | 246 | |
v2_s851320445 | s851320445 | s851320445 | p02388 | p02388 | u231000769 | u231000769 | 1,484,647,649 | 2017-01-17T10:07:29 | Main.java | import java.io.*;
public class Main{
public static void main(String args[]){
int i, o;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
i = Integer.parseInt(br.readLine());
o = i*i*i;
System.out.println(o);
}
} | Main.java:9: error: unreported exception IOException; must be caught or declared to be thrown
i = Integer.parseInt(br.readLine());
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u231000769|p02388|0 | u231000769|p02388|0 | codenet | Compile Error | 253 | |
v2_s269670856 | s269670856 | s269670856 | p02388 | p02388 | u231000769 | u231000769 | 1,491,057,726 | 2017-04-01T14:42:06 | Main.java | import java.lang.*;
import java.util.*;
class Main{
public static void main(String args[]){
Scanner stdId = new Scanner(system.in);
int n = stdId.nextInt();
System.out.println((int)Math.pow(n,3));
}
} | Main.java:6: error: cannot find symbol
Scanner stdId = new Scanner(system.in);
^
symbol: variable system
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u231000769|p02388|1 | u231000769|p02388|1 | codenet | Compile Error | 253 | |
v2_s399312702 | s399312702 | s399312702 | p02388 | p02388 | u231369830 | u231369830 | 1,531,110,509 | 2018-07-09T04:28:29 | Main.java | num = int(input())
base = 1
for i in range(3):
base *= num
print(base)
| Main.java:1: error: class, interface, enum, or record expected
num = int(input())
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u231369830|p02388|0 | u231369830|p02388|0 | codenet | Compile Error | 75 | |
v2_s115562223 | s115562223 | s115562223 | p02388 | p02388 | u232588640 | u232588640 | 1,462,947,020 | 2016-05-11T06:10:20 | Main.java | class Main{
public static void main(String[] args){
int x;
x=x^3;
System.out.print("%d",x);
}
} | Main.java:7: error: no suitable method found for print(String,int)
System.out.print("%d",x);
^
method PrintStream.print(boolean) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(char) is not applicable
(actual and formal argument lists ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u232588640|p02388|0 | u232588640|p02388|0 | codenet | Compile Error | 113 | |
v2_s901975655 | s901975655 | s901975655 | p02388 | p02388 | u233376535 | u233376535 | 1,491,269,037 | 2017-04-04T01:23:57 | Main.java | class Main{
public static void main(String [] args){
int x;
System.out.println(x*x*x);
}
} | Main.java:5: error: variable x might not have been initialized
System.out.println(x*x*x);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u233376535|p02388|0 | u233376535|p02388|0 | codenet | Compile Error | 93 | |
v2_s848249380 | s848249380 | s848249380 | p02388 | p02388 | u233376535 | u233376535 | 1,491,269,340 | 2017-04-04T01:29:00 | Main.java | class Main{
public static void main(String [] args){
int x;
int result;
result = x*x*x;
System.out.println(result);
}
} | Main.java:7: error: variable x might not have been initialized
result = x*x*x;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u233376535|p02388|0 | u233376535|p02388|0 | codenet | Compile Error | 123 | |
v2_s463088365 | s463088365 | s463088365 | p02388 | p02388 | u233376535 | u233376535 | 1,491,269,561 | 2017-04-04T01:32:41 | Main.java | class Main{
public static void main(String [] args){
int x;
int result;
x=Integer.parseInt(br.readLine());
result = x*x*x;
System.out.println(result);
}
} | Main.java:6: error: cannot find symbol
x=Integer.parseInt(br.readLine());
^
symbol: variable br
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u233376535|p02388|0 | u233376535|p02388|0 | codenet | Compile Error | 157 | |
v2_s012758662 | s012758662 | s012758662 | p02388 | p02388 | u236679854 | u236679854 | 1,480,370,992 | 2016-11-28T22:09:52 | Main.java | import java.io.*;
class Main {
public static void main (String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
System.out.println(n*n*n);
}
} | Main.java:6: error: unreported exception IOException; must be caught or declared to be thrown
int n = Integer.parseInt(br.readLine());
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u236679854|p02388|0 | u236679854|p02388|0 | codenet | Compile Error | 251 | |
v2_s335217650 | s335217650 | s335217650 | p02388 | p02388 | u236978661 | u236978661 | 1,460,731,548 | 2016-04-15T14:45:48 | Main.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
/**
* @param args
* @throws IOException
* @throws NumberFormatException
*/
public static void main(String[] args) throws NumberFormatException, IOException {
// TODO 自動生成されたメソッド・スタブ
Buffer... | Main.java:27: error: class sannjyou is public, should be declared in a file named sannjyou.java
public class sannjyou {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u236978661|p02388|0 | u236978661|p02388|0 | codenet | Compile Error | 688 | |
v2_s920985677 | s920985677 | s920985677 | p02388 | p02388 | u236978661 | u236978661 | 1,460,731,628 | 2016-04-15T14:47:08 | Main.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
/**
* @param args
* @throws IOException
* @throws NumberFormatException
*/
public static void main(String[] args) throws NumberFormatException, IOException {
// TODO 自動生成されたメソッド・スタブ
Buffer... | Main.java:19: error: non-static variable this cannot be referenced from a static context
sannjyou sa=new sannjyou();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u236978661|p02388|0 | u236978661|p02388|0 | codenet | Compile Error | 700 | |
v2_s036116317 | s036116317 | s036116317 | p02388 | p02388 | u248122909 | u248122909 | 1,498,102,224 | 2017-06-22T03:30:24 | Main.java | import java.util.Scanner;
class Main{
public static void main(String[] args){
int x = scanner.nextint();
int y = x * x * x;
System.out.println(y);
}
} | Main.java:4: error: cannot find symbol
int x = scanner.nextint();
^
symbol: variable scanner
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u248122909|p02388|0 | u248122909|p02388|0 | codenet | Compile Error | 166 | |
v2_s964747418 | s964747418 | s964747418 | p02388 | p02388 | u248122909 | u248122909 | 1,498,102,403 | 2017-06-22T03:33:23 | Main.java | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
int x = scanner.nextint();
int y = x * x * x;
System.out.println(y);
}
} | Main.java:5: error: cannot find symbol
int x = scanner.nextint();
^
symbol: method nextint()
location: variable scanner of type Scanner
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u248122909|p02388|0 | u248122909|p02388|0 | codenet | Compile Error | 212 | |
v2_s622317204 | s622317204 | s622317204 | p02388 | p02388 | u248122909 | u248122909 | 1,498,103,304 | 2017-06-22T03:48:24 | Main.java | import java.io.*;
class Main {
public static void main {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();
int x = Integer.parseInt???buf???;
int y = x * x * x;
System.out.println(y);
}
} | Main.java:3: error: '(' expected
public static void main {
^
Main.java:7: error: illegal start of expression
int x = Integer.parseInt???buf???;
^
Main.java:7: error: illegal start of expression
int x = Integer.parseInt???buf???;
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u248122909|p02388|0 | u248122909|p02388|0 | codenet | Compile Error | 297 | |
v2_s808368409 | s808368409 | s808368409 | p02388 | p02388 | u248122909 | u248122909 | 1,498,104,196 | 2017-06-22T04:03:16 | Main.java | import java.io.*;
class Main {
public static void main(String[] args){
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();
int x = Integer.parseInt(buf);
int y = x * x * x;
System.out.println(y);
}
} | Main.java:6: 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 | u248122909|p02388|0 | u248122909|p02388|0 | codenet | Compile Error | 295 | |
v2_s725778929 | s725778929 | s725778929 | p02388 | p02388 | u248977571 | u248977571 | 1,470,818,759 | 2016-08-10T08:45:59 | Main.java | class Main{
public static void main(String[] args){
int x = 2
x = x^3
System.out.print(x)
}
} | Main.java:3: error: ';' expected
int x = 2
^
Main.java:4: error: ';' expected
x = x^3
^
Main.java:5: error: ';' expected
System.out.print(x)
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u248977571|p02388|0 | u248977571|p02388|0 | codenet | Compile Error | 103 | |
v2_s274500907 | s274500907 | s274500907 | p02388 | p02388 | u248977571 | u248977571 | 1,470,827,670 | 2016-08-10T11:14:30 | Main.java | class Main{
public static void main(String[] args){
int x;
x = x * x * x;
System.out.printlin(x);
}
} | Main.java:5: error: cannot find symbol
System.out.printlin(x);
^
symbol: method printlin(int)
location: variable out of type PrintStream
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u248977571|p02388|1 | u248977571|p02388|0 | codenet | Compile Error | 133 | |
v2_s964689390 | s964689390 | s964689390 | p02388 | p02388 | u248977571 | u248977571 | 1,470,827,840 | 2016-08-10T11:17:20 | Main.java | class Main{
public static void main(String[] args){
int x;
x = x * x * x;
System.out.printlin(int);
}
} | Main.java:5: error: '.class' expected
System.out.printlin(int);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u248977571|p02388|1 | u248977571|p02388|0 | codenet | Compile Error | 135 | |
v2_s020585664 | s020585664 | s020585664 | p02388 | p02388 | u248977571 | u248977571 | 1,470,828,248 | 2016-08-10T11:24:08 | Main.java | class{
public static void main(String[] args){
int x;
x = x * x * x;
System.out.printlin(x);
}
} | Main.java:1: error: <identifier> expected
class{
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u248977571|p02388|1 | u248977571|p02388|0 | codenet | Compile Error | 128 | |
v2_s969266726 | s969266726 | s969266726 | p02388 | p02388 | u248977571 | u248977571 | 1,470,828,319 | 2016-08-10T11:25:19 | Main.java | class Main{
public static void main(String[] args){
int x;
x = x * x * x;
System.out.printlin(x);
}
} | Main.java:5: error: cannot find symbol
System.out.printlin(x);
^
symbol: method printlin(int)
location: variable out of type PrintStream
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u248977571|p02388|1 | u248977571|p02388|0 | codenet | Compile Error | 133 | |
v2_s742443182 | s742443182 | s742443182 | p02388 | p02388 | u248977571 | u248977571 | 1,470,828,500 | 2016-08-10T11:28:20 | Main.java | class Main{
public static void main(String[] args){
int x;
x = x * x * x;
System.out.println(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 | u248977571|p02388|1 | u248977571|p02388|0 | codenet | Compile Error | 132 | |
v2_s848575323 | s848575323 | s848575323 | p02388 | p02388 | u248977571 | u248977571 | 1,470,828,867 | 2016-08-10T11:34:27 | Main.java | class Main{
public static void main(String[] args){
int x;
x = x*x*x;
System.out.println(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 | u248977571|p02388|1 | u248977571|p02388|0 | codenet | Compile Error | 128 | |
v2_s400867429 | s400867429 | s400867429 | p02388 | p02388 | u248977571 | u248977571 | 1,470,829,298 | 2016-08-10T11:41:38 | Main.java | class Main{
public static void main(String[] args){
int x;
x = x*x*x;
System.out.println(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 | u248977571|p02388|1 | u248977571|p02388|0 | codenet | Compile Error | 128 | |
v2_s123993512 | s123993512 | s123993512 | p02388 | p02388 | u248977571 | u248977571 | 1,470,829,444 | 2016-08-10T11:44:04 | Main.java | class Main{
public static void main(String[] args){
int n;
n = x*x*x;
System.out.println(n);
}
} | Main.java:4: error: cannot find symbol
n = x*x*x;
^
symbol: variable x
location: class Main
Main.java:4: error: cannot find symbol
n = x*x*x;
^
symbol: variable x
location: class Main
Main.java:4: error: cannot find symbol
n = x*x*x;
^
symb... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u248977571|p02388|1 | u248977571|p02388|0 | codenet | Compile Error | 128 | |
v2_s639648397 | s639648397 | s639648397 | p02388 | p02388 | u248977571 | u248977571 | 1,470,829,557 | 2016-08-10T11:45:57 | Main.java | class Main{
public static void main(String[] args){
int variable x;
x = x*x*x;
System.out.println(x);
}
} | Main.java:3: error: ';' expected
int variable x;
^
Main.java:3: error: not a statement
int variable x;
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u248977571|p02388|1 | u248977571|p02388|0 | codenet | Compile Error | 137 | |
v2_s833941068 | s833941068 | s833941068 | p02388 | p02388 | u248977571 | u248977571 | 1,470,829,966 | 2016-08-10T11:52:46 | Main.java | class Main{
public static void main(String[] args){
int x;
x ??? 100;
x ??§ 1;
x = x*x*x;
System.out.println(x);
}
} | Main.java:4: error: illegal start of expression
x ??? 100;
^
Main.java:4: error: illegal start of expression
x ??? 100;
^
Main.java:4: error: : expected
x ??? 100;
^
Main.java:4: error: not a statement
x ??? 100;
^
Main.java:5: error: ill... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u248977571|p02388|1 | u248977571|p02388|0 | codenet | Compile Error | 165 | |
v2_s113549165 | s113549165 | s113549165 | p02388 | p02388 | u248977571 | u248977571 | 1,470,830,086 | 2016-08-10T11:54:46 | Main.java | class Main{
public static void main(String[] args){
int n;
n = x*x*x;
System.out.println(n);
}
} | Main.java:4: error: cannot find symbol
n = x*x*x;
^
symbol: variable x
location: class Main
Main.java:4: error: cannot find symbol
n = x*x*x;
^
symbol: variable x
location: class Main
Main.java:4: error: cannot find symbol
n = x*x*x;
^
symb... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u248977571|p02388|1 | u248977571|p02388|0 | codenet | Compile Error | 128 | |
v2_s390605851 | s390605851 | s390605851 | p02388 | p02388 | u248977571 | u248977571 | 1,470,830,209 | 2016-08-10T11:56:49 | Main.java | class Main{
public static void main(String[] args){
int x;
x = n;
n = x*x*x
System.out.println(n);
}
} | Main.java:5: error: ';' expected
n = x*x*x
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u248977571|p02388|1 | u248977571|p02388|0 | codenet | Compile Error | 142 | |
v2_s876295536 | s876295536 | s876295536 | p02388 | p02388 | u248977571 | u248977571 | 1,470,830,249 | 2016-08-10T11:57:29 | Main.java | class Main{
public static void main(String[] args){
int x;
x = n;
n = x*x*x;
System.out.println(n);
}
} | Main.java:4: error: cannot find symbol
x = n;
^
symbol: variable n
location: class Main
Main.java:5: error: cannot find symbol
n = x*x*x;
^
symbol: variable n
location: class Main
Main.java:6: error: cannot find symbol
System.out.println(n);
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u248977571|p02388|1 | u248977571|p02388|0 | codenet | Compile Error | 143 | |
v2_s073702455 | s073702455 | s073702455 | p02388 | p02388 | u249262080 | u249262080 | 1,517,374,035 | 2018-01-31T04:47:15 | XCubic.java | public class XCubic {
public static void main(String[] args)throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String s = new String(in.readLine());
Integer n = Integer.parseInt(s);
System.out.println(n*n*n);
}
}
| XCubic.java:3: error: cannot find symbol
public static void main(String[] args)throws IOException {
^
symbol: class IOException
location: class XCubic
XCubic.java:5: error: cannot find symbol
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u249262080|p02388|0 | u249262080|p02388|0 | codenet | Compile Error | 272 | |
v2_s733820941 | s733820941 | s733820941 | p02388 | p02388 | u249262080 | u249262080 | 1,517,374,088 | 2018-01-31T04:48:08 | Main.java | public class Main {
public static void main(String[] args)throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String s = new String(in.readLine());
Integer n = Integer.parseInt(s);
System.out.println(n*n*n);
}
}
| Main.java:3: error: cannot find symbol
public static void main(String[] args)throws IOException {
^
symbol: class IOException
location: class Main
Main.java:5: error: cannot find symbol
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
^
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u249262080|p02388|0 | u249262080|p02388|0 | codenet | Compile Error | 270 | |
v2_s575553847 | s575553847 | s575553847 | p02388 | p02388 | u249262080 | u249262080 | 1,517,374,141 | 2018-01-31T04:49:01 | 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 | u249262080|p02388|0 | u249262080|p02388|0 | codenet | Compile Error | 176 | |
v2_s100514885 | s100514885 | s100514885 | p02388 | p02388 | u249954942 | u249954942 | 1,491,741,144 | 2017-04-09T12:32:24 | Main.java | import java.lang.Math;
public class Main {
public static void main(String[] args) {
int x = Integer.parseInt(args[0]);
System.out.println((int)Math.pow(x,3));
} | Main.java:7: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u249954942|p02388|0 | u249954942|p02388|0 | codenet | Compile Error | 171 | |
v2_s387021756 | s387021756 | s387021756 | p02388 | p02388 | u249954942 | u249954942 | 1,491,741,567 | 2017-04-09T12:39:27 | ITP1_1_B.java | import java.lang.Math;
public class ITP1_1_B {
public static void main(String[] args) {
int x = Integer.parseInt(args[0]);
System.out.println(pow(x,3));
}
} | ITP1_1_B.java:6: error: cannot find symbol
System.out.println(pow(x,3));
^
symbol: method pow(int,int)
location: class ITP1_1_B
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u249954942|p02388|0 | u249954942|p02388|0 | codenet | Compile Error | 169 | |
v2_s640536294 | s640536294 | s640536294 | p02388 | p02388 | u252615129 | u252615129 | 1,430,836,981 | 2015-05-05T14:43:01 | Main.java | public void static main(String[] args){
int[] x = {2,3};
System.out.println(x*x*x);
}
} | Main.java:1: error: class, interface, enum, or record expected
public void static main(String[] args){
^
Main.java:4: error: class, interface, enum, or record expected
System.out.println(x*x*x);
^
Main.java:5: error: class, interface, enum, or record expected
}
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u252615129|p02388|0 | u252615129|p02388|0 | codenet | Compile Error | 88 | |
v2_s084039790 | s084039790 | s084039790 | p02388 | p02388 | u252615129 | u252615129 | 1,433,282,272 | 2015-06-02T21:57:52 | Main.java | class Main{
public static void main(String [] args){
System.out.print(args*args + args*args*args) | Main.java:3: error: reached end of file while parsing
System.out.print(args*args + args*args*args)
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u252615129|p02388|1 | u252615129|p02388|1 | codenet | Compile Error | 97 | |
v2_s124951407 | s124951407 | s124951407 | p02388 | p02388 | u252615129 | u252615129 | 1,433,282,385 | 2015-06-02T21:59:45 | Main.java | class Main{
public static void main(String [] args){
System.out.print(args*args + args*args*args)}} | Main.java:3: error: ';' expected
System.out.print(args*args + args*args*args)}}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u252615129|p02388|1 | u252615129|p02388|1 | codenet | Compile Error | 99 | |
v2_s710617270 | s710617270 | s710617270 | p02388 | p02388 | u252615129 | u252615129 | 1,433,282,422 | 2015-06-02T22:00:22 | Main.java |
1
2
3
class Main{
public static void main(String [] args){
System.out.print(args*args + args*args*args)
}
} | Main.java:2: error: class, interface, enum, or record expected
1
^
Main.java:7: error: ';' expected
System.out.print(args*args + args*args*args)
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u252615129|p02388|1 | u252615129|p02388|1 | codenet | Compile Error | 108 | |
v2_s780585109 | s780585109 | s780585109 | p02388 | p02388 | u255164080 | u255164080 | 1,464,065,610 | 2016-05-24T04:53:30 | Main.java | public class Main {
public static void main(String args[]){
int x = 2;
System.out.println(x ** 3);
}
} | Main.java:4: error: illegal start of expression
System.out.println(x ** 3);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u255164080|p02388|0 | u255164080|p02388|0 | codenet | Compile Error | 126 | |
v2_s349043199 | s349043199 | s349043199 | p02388 | p02388 | u255164080 | u255164080 | 1,464,066,478 | 2016-05-24T05:07:58 | Main.java | public class Main{
public static void main(String[] args) {
int x;
System.out.println(x * x * x);
}
} | Main.java:4: error: variable x might not have been initialized
System.out.println(x * x * x);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u255164080|p02388|0 | u255164080|p02388|0 | codenet | Compile Error | 126 | |
v2_s453326966 | s453326966 | s453326966 | p02388 | p02388 | u255164080 | u255164080 | 1,464,066,621 | 2016-05-24T05:10:21 | Main.java | public class Main{
public static void main(String[] args) {
int x;
System.out.println(Math.pow(x, 3);
}
} | Main.java:4: error: ')' or ',' expected
System.out.println(Math.pow(x, 3);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u255164080|p02388|0 | u255164080|p02388|0 | codenet | Compile Error | 130 | |
v2_s891189317 | s891189317 | s891189317 | p02388 | p02388 | u255164080 | u255164080 | 1,464,067,448 | 2016-05-24T05:24:08 | Main.java | public class Main{
public static void main (String[] args){
inx x = new java.util.Scanner(System.in).nextInt();
System.out.println(x * x * x);
}
} | Main.java:3: error: cannot find symbol
inx x = new java.util.Scanner(System.in).nextInt();
^
symbol: class inx
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u255164080|p02388|0 | u255164080|p02388|0 | codenet | Compile Error | 170 | |
v2_s399217763 | s399217763 | s399217763 | p02388 | p02388 | u255164080 | u255164080 | 1,464,069,272 | 2016-05-24T05:54:32 | Main.java | public class Main{
public static void main (String[] args){
inx x = new java.util.Scanner(System.in).nextInt();
int sum = x * x * x;
System.out.println(sum);
}
} | Main.java:3: error: cannot find symbol
inx x = new java.util.Scanner(System.in).nextInt();
^
symbol: class inx
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u255164080|p02388|0 | u255164080|p02388|0 | codenet | Compile Error | 194 | |
v2_s181376751 | s181376751 | s181376751 | p02388 | p02388 | u255164080 | u255164080 | 1,464,069,667 | 2016-05-24T06:01:07 | Main.java | public class Main{
public class void main(String[] args) {
int x = new java.util.Scanner(System.in).nextInt();
int sum = x * x * x;
System.out.println(sum);
}
} | Main.java:2: error: <identifier> expected
public class void main(String[] args) {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u255164080|p02388|0 | u255164080|p02388|0 | codenet | Compile Error | 193 | |
v2_s427194483 | s427194483 | s427194483 | p02388 | p02388 | u258068076 | u258068076 | 1,510,475,121 | 2017-11-12T08:25:21 | Main.java | public class Main{
public static void main(String[] args){
int x = new java.util.Scanner(System.in).nextLine();
System.out.println(x * x * x);
}
} | Main.java:3: error: incompatible types: String cannot be converted to int
int x = new java.util.Scanner(System.in).nextLine();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u258068076|p02388|0 | u258068076|p02388|0 | codenet | Compile Error | 152 | |
v2_s856895550 | s856895550 | s856895550 | p02388 | p02388 | u260169299 | u260169299 | 1,534,867,524 | 2018-08-21T16:05:24 | Main.java | public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int v = scanner.nextInt();
scanner.close();
System.out.println(v * v * v);
}
}
| Main.java:4: error: cannot find symbol
Scanner scanner = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:4: error: cannot find symbol
Scanner scanner = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u260169299|p02388|0 | u260169299|p02388|0 | codenet | Compile Error | 223 | |
v2_s668003061 | s668003061 | s668003061 | p02388 | p02388 | u260169299 | u260169299 | 1,534,867,577 | 2018-08-21T16:06:17 | Main.java | public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int v = scanner.nextInt();
scanner.close();
System.out.println(v * v * v);
}
}
| Main.java:4: error: cannot find symbol
Scanner scanner = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:4: error: cannot find symbol
Scanner scanner = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u260169299|p02388|0 | u260169299|p02388|0 | codenet | Compile Error | 223 | |
v2_s638010924 | s638010924 | s638010924 | p02388 | p02388 | u260169299 | u260169299 | 1,534,867,918 | 2018-08-21T16:11:58 | Main.java | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int it = 3;
int total = 0;
scanner.close();
System.out.println(helper(n,it,total));
}
public int helper... | Main.java:10: error: non-static method helper(int,int,int) cannot be referenced from a static context
System.out.println(helper(n,it,total));
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u260169299|p02388|0 | u260169299|p02388|0 | codenet | Compile Error | 476 | |
v2_s026029963 | s026029963 | s026029963 | p02388 | p02388 | u261533743 | u261533743 | 1,464,158,192 | 2016-05-25T06:36:32 | Main.java | import static java.lang.System.out;
import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main {
public static void main(String...args) throws Exception {
BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
stdin.lines()
.mapToInt(Integer::parseInt)
.map... | Main.java:11: error: cannot find symbol
.mapToInt(v -> Math.pow(v, 3d))
^
symbol: method mapToInt((v)->Math.[...] 3.0))
location: interface IntStream
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u261533743|p02388|0 | u261533743|p02388|0 | codenet | Compile Error | 415 | |
v2_s747854939 | s747854939 | s747854939 | p02388 | p02388 | u261541966 | u261541966 | 1,515,513,123 | 2018-01-09T15:52:03 | Main.java | public Main() {
public integer cube(int x) {
return x**3;
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int p = scanner.next();
System.out.println(cube(p));
}
}
| Main.java:1: error: class, interface, enum, or record expected
public Main() {
^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
public integer cube(int x) {
^
(use --enable-preview to enable unnamed classes)
Main.java:4: error: illegal start of expression
return ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u261541966|p02388|0 | u261541966|p02388|0 | codenet | Compile Error | 207 | |
v2_s388790066 | s388790066 | s388790066 | p02388 | p02388 | u261541966 | u261541966 | 1,515,513,155 | 2018-01-09T15:52:35 | Main.java | public class Main() {
public integer cube(int x) {
return x**3;
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int p = scanner.next();
System.out.println(cube(p));
}
}
| Main.java:1: error: '{' expected
public class Main() {
^
Main.java:4: error: illegal start of expression
return x**3;
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u261541966|p02388|0 | u261541966|p02388|0 | codenet | Compile Error | 214 | |
v2_s469695490 | s469695490 | s469695490 | p02388 | p02388 | u261541966 | u261541966 | 1,515,513,205 | 2018-01-09T15:53:25 | Main.java | public class Main() {
public integer cube(int x) {
return x*x*x;
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int p = scanner.next();
System.out.println(cube(p));
}
}
| Main.java:1: error: '{' expected
public class Main() {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u261541966|p02388|0 | u261541966|p02388|0 | codenet | Compile Error | 214 | |
v2_s976180251 | s976180251 | s976180251 | p02388 | p02388 | u261541966 | u261541966 | 1,515,513,280 | 2018-01-09T15:54:40 | Main.java | public class Main() {
public integer cube(int x) {
return x*x*x;
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int p = scanner.next();
System.out.println(cube(p));
}
}
| Main.java:1: error: '{' expected
public class Main() {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u261541966|p02388|0 | u261541966|p02388|0 | codenet | Compile Error | 214 | |
v2_s021622517 | s021622517 | s021622517 | p02388 | p02388 | u261541966 | u261541966 | 1,515,513,393 | 2018-01-09T15:56:33 | Main.java | public class Main() {
public integer cube(int x) {
return x*x*x;
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int p = scanner.nextInt();
System.out.println(cube(p));
}
}
| Main.java:1: error: '{' expected
public class Main() {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u261541966|p02388|0 | u261541966|p02388|0 | codenet | Compile Error | 217 | |
v2_s598024269 | s598024269 | s598024269 | p02388 | p02388 | u261541966 | u261541966 | 1,515,513,421 | 2018-01-09T15:57:01 | Main.java | public class Main(){
public integer cube(int x) {
return x*x*x;
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int p = scanner.nextInt();
System.out.println(cube(p));
}
}
| Main.java:1: error: '{' expected
public class Main(){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u261541966|p02388|0 | u261541966|p02388|0 | codenet | Compile Error | 216 | |
v2_s383198806 | s383198806 | s383198806 | p02388 | p02388 | u261541966 | u261541966 | 1,515,513,469 | 2018-01-09T15:57:49 | Main.java | public class Main(){
public int cube(int x) {
return x*x*x;
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int p = scanner.nextInt();
System.out.println(cube(p));
}
}
| Main.java:1: error: '{' expected
public class Main(){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u261541966|p02388|0 | u261541966|p02388|0 | codenet | Compile Error | 212 | |
v2_s346941324 | s346941324 | s346941324 | p02388 | p02388 | u261541966 | u261541966 | 1,515,513,507 | 2018-01-09T15:58:27 | Main.java | public class Main(){
public static int cube(int x) {
return x*x*x;
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int p = sc.nextInt();
System.out.println(cube(p));
}
}
| Main.java:1: error: '{' expected
public class Main(){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u261541966|p02388|0 | u261541966|p02388|0 | codenet | Compile Error | 209 | |
v2_s304531837 | s304531837 | s304531837 | p02388 | p02388 | u261541966 | u261541966 | 1,515,513,543 | 2018-01-09T15:59:03 | Main.java | class Main(){
public static int cube(int x) {
return x*x*x;
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int p = sc.nextInt();
System.out.println(cube(p));
}
}
| Main.java:1: error: '{' expected
class Main(){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u261541966|p02388|0 | u261541966|p02388|0 | codenet | Compile Error | 202 | |
v2_s338226021 | s338226021 | s338226021 | p02388 | p02388 | u261541966 | u261541966 | 1,515,513,578 | 2018-01-09T15:59:38 | Main.java | class Main(){
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int p = sc.nextInt();
System.out.println(p * p * p);
}
}
| Main.java:1: error: '{' expected
class Main(){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u261541966|p02388|0 | u261541966|p02388|0 | codenet | Compile Error | 152 | |
v2_s591043504 | s591043504 | s591043504 | p02388 | p02388 | u261541966 | u261541966 | 1,515,513,600 | 2018-01-09T16:00:00 | Main.java | class Main(){
public static void main(String[] args) {
int p = 5;
System.out.println(p * p * p);
}
}
| Main.java:1: error: '{' expected
class Main(){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u261541966|p02388|0 | u261541966|p02388|0 | codenet | Compile Error | 104 | |
v2_s234115424 | s234115424 | s234115424 | p02388 | p02388 | u261541966 | u261541966 | 1,515,513,620 | 2018-01-09T16:00:20 | Main.java | class Main(){
public static void main(String[] args) {
int p = 5;
System.out.println(p * p * p);
}
}
| Main.java:1: error: '{' expected
class Main(){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u261541966|p02388|0 | u261541966|p02388|0 | codenet | Compile Error | 104 | |
v2_s316601530 | s316601530 | s316601530 | p02388 | p02388 | u261541966 | u261541966 | 1,515,513,669 | 2018-01-09T16:01:09 | Main.java | class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int p = sc.nextInt();
System.out.println(p * p * p);
}
}
| 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 | u261541966|p02388|0 | u261541966|p02388|0 | codenet | Compile Error | 149 | |
v2_s667176935 | s667176935 | s667176935 | p02388 | p02388 | u261541966 | u261541966 | 1,515,513,741 | 2018-01-09T16:02:21 | Main.java | import java.util.scanner
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int p = sc.nextInt();
System.out.println(p * p * p);
}
}
| Main.java:1: error: ';' expected
import java.util.scanner
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u261541966|p02388|0 | u261541966|p02388|0 | codenet | Compile Error | 175 | |
v2_s634288547 | s634288547 | s634288547 | p02388 | p02388 | u267695240 | u267695240 | 1,482,936,307 | 2016-12-28T14:45:07 | Main.java | import java.lang.*;
import java.util.*;
????
class Main{
??????public static void main(String[] args){
??????????Scanner stdId = new Scanner(System.in);
??????????int n = stdId.nextInt();
}
} | Main.java:3: error: class, interface, enum, or record expected
????
^
Main.java:5: error: illegal start of type
??????public static void main(String[] args){
^
Main.java:6: error: illegal start of expression
??????????Scanner stdId = new Scanner(System.in);
^
Main.java:6: error: illegal start of expression
??????????Sc... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u267695240|p02388|0 | u267695240|p02388|0 | codenet | Compile Error | 195 | |
v2_s325711350 | s325711350 | s325711350 | p02388 | p02388 | u267760711 | u267760711 | 1,419,530,869 | 2014-12-25T18:07:49 | Main.java | class Cubic {
public static void main(String[] args) {
int x;
System.out.println(x*x*x);
}
} | Main.java:5: error: variable x might not have been initialized
System.out.println(x*x*x);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u267760711|p02388|0 | u267760711|p02388|0 | codenet | Compile Error | 100 | |
v2_s334851734 | s334851734 | s334851734 | p02388 | p02388 | u267760711 | u267760711 | 1,419,530,907 | 2014-12-25T18:08:27 | Main.java | class Cubic {
public static void main(String[] args) {
int x;
System.out.println(x*x*x);
}
} | Main.java:5: error: variable x might not have been initialized
System.out.println(x*x*x);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u267760711|p02388|0 | u267760711|p02388|0 | codenet | Compile Error | 100 | |
v2_s640012751 | s640012751 | s640012751 | p02388 | p02388 | u267760711 | u267760711 | 1,419,531,296 | 2014-12-25T18:14:56 | Main.java | import java.io.*;
class Cubic{
public static void main(String[] args) thorows IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
int x = Intger.parseInt(str);
System.out.println(x*x*x);
}
} | Main.java:5: error: ';' expected
public static void main(String[] args) thorows IOException{
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u267760711|p02388|0 | u267760711|p02388|0 | codenet | Compile Error | 267 | |
v2_s710736485 | s710736485 | s710736485 | p02388 | p02388 | u267760711 | u267760711 | 1,419,531,326 | 2014-12-25T18:15:26 | Main.java | import java.io.*;
class Cubic{
public static void main(String[] args) thorws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
int x = Intger.parseInt(str);
System.out.println(x*x*x);
}
} | Main.java:5: error: ';' expected
public static void main(String[] args) thorws IOException{
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u267760711|p02388|0 | u267760711|p02388|0 | codenet | Compile Error | 266 | |
v2_s742384485 | s742384485 | s742384485 | p02388 | p02388 | u267760711 | u267760711 | 1,419,531,448 | 2014-12-25T18:17:28 | Main.java | import java.io.*;
class Cubic{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
int x = Intger.parseInt(str);
System.out.println(x*x*x);
}
} | Main.java:10: error: cannot find symbol
int x = Intger.parseInt(str);
^
symbol: variable Intger
location: class Cubic
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u267760711|p02388|0 | u267760711|p02388|0 | codenet | Compile Error | 266 | |
v2_s982218178 | s982218178 | s982218178 | p02388 | p02388 | u267760711 | u267760711 | 1,419,531,466 | 2014-12-25T18:17:46 | Main.java | import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
int x = Intger.parseInt(str);
System.out.println(x*x*x);
}
} | Main.java:10: error: cannot find symbol
int x = Intger.parseInt(str);
^
symbol: variable Intger
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u267760711|p02388|0 | u267760711|p02388|0 | codenet | Compile Error | 265 | |
v2_s863285633 | s863285633 | s863285633 | p02388 | p02388 | u268647501 | u268647501 | 1,531,125,150 | 2018-07-09T08:32:30 | Main.java | x = int(input())
print(x * x * x)
| Main.java:1: error: class, interface, enum, or record expected
x = int(input())
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u268647501|p02388|0 | u268647501|p02388|0 | codenet | Compile Error | 34 | |
v2_s372317107 | s372317107 | s372317107 | p02388 | p02388 | u268647501 | u268647501 | 1,531,126,952 | 2018-07-09T09:02:32 | Main.java | public void 1_1_B(){
int x = input();
print(x * x * );
}
| Main.java:1: error: illegal underscore
public void 1_1_B(){
^
Main.java:3: error: class, interface, enum, or record expected
print(x * x * );
^
Main.java:6: error: class, interface, enum, or record expected
}
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u268647501|p02388|0 | u268647501|p02388|0 | codenet | Compile Error | 59 | |
v2_s821446632 | s821446632 | s821446632 | p02388 | p02388 | u268647501 | u268647501 | 1,531,127,316 | 2018-07-09T09:08:36 | Main.java | import java.util.Scanner;
class sample{
public static void main(String args[]){
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
print(a*a*a);
}
}
| Main.java:6: error: cannot find symbol
print(a*a*a);
^
symbol: method print(int)
location: class sample
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u268647501|p02388|0 | u268647501|p02388|0 | codenet | Compile Error | 169 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.