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_s582978200 | s582978200 | s582978200 | p02388 | p02388 | u869688911 | u869688911 | 1,503,404,210 | 2017-08-22T12:16:50 | Main.java | class Main{
public static void main(String[] args){
int x;
x=System.in.read();
int a =x*x*x;
System.out.println(a);
}
} | Main.java:4: error: unreported exception IOException; must be caught or declared to be thrown
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 | 155 | |
v2_s944079316 | s944079316 | s944079316 | p02388 | p02388 | u869688911 | u869688911 | 1,503,404,998 | 2017-08-22T12:29:58 | Main.java | import java.io.IOException;
class Main{
public static void main(String[] args){
for(i=0; i<4; i++){
try{
int x=System.in.read();
int a =x*x*x;
System.out.println(a);
}catch(IOException e){
}
}
}
} | Main.java:4: error: cannot find symbol
for(i=0; i<4; i++){
^
symbol: variable i
location: class Main
Main.java:4: error: cannot find symbol
for(i=0; i<4; i++){
^
symbol: variable i
location: class Main
Main.java:4: error: cannot find symbol
for(i=0; i<4; i++){... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u869688911|p02388|0 | u869688911|p02388|0 | codenet | Compile Error | 287 | |
v2_s543501209 | s543501209 | s543501209 | p02388 | p02388 | u869688911 | u869688911 | 1,503,406,174 | 2017-08-22T12:49:34 | Main.java | class Main{
public static void main(String[] args){
int x;
x=System.in.read();
System.out.println(x*x*x);
}
} | Main.java:4: error: unreported exception IOException; must be caught or declared to be thrown
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 | 138 | |
v2_s145345293 | s145345293 | s145345293 | p02388 | p02388 | u869688911 | u869688911 | 1,503,406,788 | 2017-08-22T12:59:48 | Main.java | import java.io.IOException;
class Main{
public static void main(String[] args){
try{
int x=System.in.read();
int a=x*x*x;
}catch(IOException e){
}
System.out.println(a);
}
} | Main.java:9: error: cannot find symbol
System.out.println(a);
^
symbol: variable a
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u869688911|p02388|0 | u869688911|p02388|0 | codenet | Compile Error | 205 | |
v2_s299955348 | s299955348 | s299955348 | p02388 | p02388 | u869688911 | u869688911 | 1,503,406,920 | 2017-08-22T13:02:00 | Main.java | import java.io.IOException;
class Main{
public static void main(String[] args){
int x;
int a;
try{
x=System.in.read();
a=x*x*x;
}catch(IOException e){
}
System.out.println(a);
}
} | Main.java:11: error: variable a might not have been initialized
System.out.println(a);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u869688911|p02388|0 | u869688911|p02388|0 | codenet | Compile Error | 207 | |
v2_s815413323 | s815413323 | s815413323 | p02388 | p02388 | u869688911 | u869688911 | 1,503,412,193 | 2017-08-22T14:29:53 | XCubic.java | public class XCubic {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int inputIum = scan.nextInt();
System.out.println(calCubic(inputIum));
}
private static long calCubic (int inputIum) {
return inputIum * inputIum * inputIum;
}
} | XCubic.java:4: error: cannot find symbol
Scanner scan = new Scanner(System.in);
^
symbol: class Scanner
location: class XCubic
XCubic.java:4: error: cannot find symbol
Scanner scan = new Scanner(System.in);
^
symbol: class Scanner
location: class XCubic
2 e... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u869688911|p02388|0 | u869688911|p02388|0 | codenet | Compile Error | 312 | |
v2_s334619321 | s334619321 | s334619321 | p02388 | p02388 | u873962175 | u873962175 | 1,385,707,360 | 2013-11-29T06:42:40 | Main.java | class Main {
public void main(string[] args) {
Scanner in = new Scanner(System.in);
String x = in.next();
System.out.println(Math.pow(Integer.parseInt(x), 3));
}
} | Main.java:2: error: cannot find symbol
public void main(string[] args) {
^
symbol: class string
location: class Main
Main.java:3: error: cannot find symbol
Scanner in = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:3: error: cannot find symbol
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u873962175|p02388|0 | u873962175|p02388|0 | codenet | Compile Error | 182 | |
v2_s810441580 | s810441580 | s810441580 | p02388 | p02388 | u873962175 | u873962175 | 1,385,707,615 | 2013-11-29T06:46:55 | Main.java | import java.util.Scanner;
class Main {
public void main(string[] args) {
Scanner in = new Scanner(System.in);
String x = in.next();
System.out.println(Math.pow(Integer.parseInt(x), 3));
}
} | Main.java:4: error: cannot find symbol
public void main(string[] args) {
^
symbol: class string
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u873962175|p02388|0 | u873962175|p02388|0 | codenet | Compile Error | 209 | |
v2_s281444128 | s281444128 | s281444128 | p02388 | p02388 | u873962175 | u873962175 | 1,385,707,686 | 2013-11-29T06:48:06 | Main.java | import java.util.Scanner;
class Main {
public static void main(string[] args) {
Scanner in = new Scanner(System.in);
String x = in.next();
System.out.println(Math.pow(Integer.parseInt(x), 3));
}
} | Main.java:4: error: cannot find symbol
public static void main(string[] args) {
^
symbol: class string
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u873962175|p02388|0 | u873962175|p02388|0 | codenet | Compile Error | 216 | |
v2_s652695573 | s652695573 | s652695573 | p02388 | p02388 | u878496663 | u878496663 | 1,541,133,754 | 2018-11-02T04:42:34 | Main.java | <?php
$input = trim(fgets(STDIN));
$ans = pow($input, 3);
echo $ans;
?>
| Main.java:1: error: class, interface, enum, or record expected
<?php
^
Main.java:3: error: class, interface, enum, or record expected
$ans = pow($input, 3);
^
Main.java:4: error: unnamed classes are a preview feature and are disabled by default.
echo $ans;
^
(use --enable-preview to enable unnamed cla... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u878496663|p02388|1 | u878496663|p02388|1 | codenet | Compile Error | 84 | |
v2_s090119653 | s090119653 | s090119653 | p02388 | p02388 | u879376339 | u879376339 | 1,437,110,087 | 2015-07-17T05:14:47 | Main.java | class Main{
public static void main(String args[]) {
int i = args[0];
System.out.println( i * i * i );
}
} | Main.java:3: error: incompatible types: String cannot be converted to int
int i = args[0];
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u879376339|p02388|0 | u879376339|p02388|0 | codenet | Compile Error | 130 | |
v2_s930161092 | s930161092 | s930161092 | p02388 | p02388 | u879376339 | u879376339 | 1,437,110,671 | 2015-07-17T05:24:31 | Main.java | class Main{
public static void main(String args[]) {
int i = x * x * x;
System.out.println( i );
}
} | Main.java:3: error: cannot find symbol
int i = x * x * x;
^
symbol: variable x
location: class Main
Main.java:3: error: cannot find symbol
int i = x * x * x;
^
symbol: variable x
location: class Main
Main.java:3: error: cannot find symbol
int i = x... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u879376339|p02388|0 | u879376339|p02388|0 | codenet | Compile Error | 124 | |
v2_s056668949 | s056668949 | s056668949 | p02388 | p02388 | u882525667 | u882525667 | 1,491,802,120 | 2017-04-10T05:28:40 | Main.java | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int answer = x*x*x;
System.out.printf(answer\n);
}
} | Main.java:8: error: illegal character: '\'
System.out.printf(answer\n);
^
Main.java:8: error: not a statement
System.out.printf(answer\n);
^
Main.java:8: error: ';' expected
System.out.printf(answer\n);
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u882525667|p02388|0 | u882525667|p02388|0 | codenet | Compile Error | 210 | |
v2_s152634399 | s152634399 | s152634399 | p02388 | p02388 | u882525667 | u882525667 | 1,491,802,203 | 2017-04-10T05:30:03 | Main.java | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int answer = x*x*x;
System.out.printf(answer);
System.out.printf(\n);
}
} | Main.java:9: error: illegal character: '\'
System.out.printf(\n);
^
Main.java:9: error: not a statement
System.out.printf(\n);
^
Main.java:9: error: ';' expected
System.out.printf(\n);
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u882525667|p02388|0 | u882525667|p02388|0 | codenet | Compile Error | 232 | |
v2_s648061127 | s648061127 | s648061127 | p02388 | p02388 | u882526308 | u882526308 | 1,462,777,206 | 2016-05-09T07:00:06 | Main.java | import java.io.*;
class Main{
public static void main(String[] args){
int x = System.in.read();
System.out.println(x * x * x);
}
} | Main.java:5: 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 | u882526308|p02388|0 | u882526308|p02388|0 | codenet | Compile Error | 151 | |
v2_s648198080 | s648198080 | s648198080 | p02388 | p02388 | u886744208 | u886744208 | 1,507,386,613 | 2017-10-07T14:30:13 | Main.java | public class Main {
public static void main(String[] args){
try {
BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
String line;
while ((line = stdReader.readLine()) != null){
int x = Integer.parseInt(line);
System.out.println(x*x*x);
}
} catch (Exception e) {
... | Main.java:4: error: cannot find symbol
BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
^
symbol: class BufferedReader
location: class Main
Main.java:4: error: cannot find symbol
BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u886744208|p02388|0 | u886744208|p02388|0 | codenet | Compile Error | 366 | |
v2_s137126992 | s137126992 | s137126992 | p02388 | p02388 | u891793672 | u891793672 | 1,484,196,830 | 2017-01-12T04:53:50 | Main.java | import java.io*;
class Main
{
publi static void main (String[]args)throws IOException
{
BufferedReader br=
new BufferedReader(new InputSteamReader(System.in));
String str=br.readLine();
int x =Integer.pareInt(str);
System.out.println(x*x*x);
}
} | Main.java:1: error: ';' expected
import java.io*;
^
Main.java:5: error: <identifier> expected
publi static void main (String[]args)throws IOException
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u891793672|p02388|0 | u891793672|p02388|0 | codenet | Compile Error | 275 | |
v2_s870546793 | s870546793 | s870546793 | p02388 | p02388 | u891793672 | u891793672 | 1,484,197,053 | 2017-01-12T04:57:33 | Main.java | import java.io.*;
class Main
{
publi static void main(String[]args)throws IOException
{
BufferedReader br=
new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
int x =Integer.parseInt(str);
System.out.println(x*x*x);
}
} | Main.java:5: error: <identifier> expected
publi static void main(String[]args)throws IOException
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u891793672|p02388|0 | u891793672|p02388|0 | codenet | Compile Error | 277 | |
v2_s857973537 | s857973537 | s857973537 | p02388 | p02388 | u893469332 | u893469332 | 1,466,133,997 | 2016-06-17T03:26:37 | Main.java | import java.io.*;
class Main {
public static void main(String args[]){
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
int x = new int(in.readLine());
Ststem.out.println(x*x*x);
}
} | Main.java:6: error: '[' expected
int x = new int(in.readLine());
^
Main.java:6: error: ']' expected
int x = new int(in.readLine());
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u893469332|p02388|0 | u893469332|p02388|0 | codenet | Compile Error | 216 | |
v2_s153772404 | s153772404 | s153772404 | p02388 | p02388 | u893469332 | u893469332 | 1,466,134,164 | 2016-06-17T03:29:24 | Main.java | class Main {
public static void main(String args[]){
System.out.println(x*x*x);
}
} | Main.java:3: error: cannot find symbol
System.out.println(x*x*x);
^
symbol: variable x
location: class Main
Main.java:3: error: cannot find symbol
System.out.println(x*x*x);
^
symbol: variable x
location: class Main
Main.java:3: error: cannot find symbol
Sys... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u893469332|p02388|0 | u893469332|p02388|0 | codenet | Compile Error | 87 | |
v2_s352658494 | s352658494 | s352658494 | p02388 | p02388 | u893469332 | u893469332 | 1,466,134,218 | 2016-06-17T03:30:18 | Main.java | 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 | u893469332|p02388|0 | u893469332|p02388|0 | codenet | Compile Error | 96 | |
v2_s109272681 | s109272681 | s109272681 | p02388 | p02388 | u895256226 | u895256226 | 1,491,802,445 | 2017-04-10T05:34:05 | Main.java | import java.util.Scanner;
public static Main {
public static void main(String[] args);
Scanner sc = new Scanner(System.in);
int x = sc nextInt();
int answer = x * x * x;
System.out.println(answer);
}
} | Main.java:3: error: class, interface, enum, or record expected
public static Main {
^
Main.java:4: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args);
^
(use --enable-preview to enable unnamed classes)
Main.java:6: error: ';' ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u895256226|p02388|0 | u895256226|p02388|0 | codenet | Compile Error | 212 | |
v2_s376588105 | s376588105 | s376588105 | p02388 | p02388 | u895256226 | u895256226 | 1,491,802,939 | 2017-04-10T05:42:19 | Main.java | import java.util.Scanner;
public class Main {
public static void main(String[] args);
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int answer = x * x * x;
System.out.println(answer);
}
}
| Main.java:9: error: <identifier> expected
System.out.println(answer);
^
Main.java:9: error: <identifier> expected
System.out.println(answer);
^
Main.java:11: error: class, interface, enum, or record expected
}
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u895256226|p02388|0 | u895256226|p02388|0 | codenet | Compile Error | 214 | |
v2_s003212824 | s003212824 | s003212824 | p02388 | p02388 | u895256226 | u895256226 | 1,491,804,527 | 2017-04-10T06:08:47 | Main.java | import java.util.Scanner;
public class Main {
public static void main(String[] args);
Scanner sc = new Scanner(System.in);
int x = nextInt();
int answer = x * x * x;
System.out.println(answer);
}
} | Main.java:9: error: <identifier> expected
System.out.println(answer);
^
Main.java:9: error: <identifier> expected
System.out.println(answer);
^
Main.java:11: error: class, interface, enum, or record expected
}
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u895256226|p02388|0 | u895256226|p02388|0 | codenet | Compile Error | 209 | |
v2_s218916681 | s218916681 | s218916681 | p02388 | p02388 | u895256226 | u895256226 | 1,491,805,561 | 2017-04-10T06:26:01 | Main.java | import java.util.Scanner;
public class Main {
public static void main(String[] args);
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int answer = x*x*x;
System.out.println(answer);
}
} | Main.java:8: error: <identifier> expected
System.out.println(answer);
^
Main.java:8: error: <identifier> expected
System.out.println(answer);
^
Main.java:10: error: class, interface, enum, or record expected
}
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u895256226|p02388|0 | u895256226|p02388|0 | codenet | Compile Error | 207 | |
v2_s755203532 | s755203532 | s755203532 | p02388 | p02388 | u895256226 | u895256226 | 1,491,806,075 | 2017-04-10T06:34:35 | Main.java | import java.util.Scanner;
??
public class Main {
??public static void main(String[] args);
????Scanner sc = new Scanner(System.in);
????int x = sc.nextInt();
????int answer = x*x*x;
????System.out.println(answer);
??}
} | Main.java:2: error: class, interface, enum, or record expected
??
^
Main.java:4: error: illegal start of type
??public static void main(String[] args);
^
Main.java:5: error: illegal start of type
????Scanner sc = new Scanner(System.in);
^
Main.java:6: error: illegal start of type
????int x = sc.nextInt();
^
Main.java:7... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u895256226|p02388|0 | u895256226|p02388|0 | codenet | Compile Error | 219 | |
v2_s972403368 | s972403368 | s972403368 | p02388 | p02388 | u895275311 | u895275311 | 1,491,198,273 | 2017-04-03T05:44:33 | Main.java | class Main{
public static void main(String[] args){
x = x*x*x;
System.out.println(x);
}
} | Main.java:3: error: cannot find symbol
x = x*x*x;
^
symbol: variable x
location: class Main
Main.java:3: error: cannot find symbol
x = x*x*x;
^
symbol: variable x
location: class Main
Main.java:3: error: cannot find symbol
x = x*x*x;
^
symbol: variable x
location: class Main
Main... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u895275311|p02388|0 | u895275311|p02388|0 | codenet | Compile Error | 95 | |
v2_s223546565 | s223546565 | s223546565 | p02388 | p02388 | u895275311 | u895275311 | 1,491,198,797 | 2017-04-03T05:53:17 | Main.java | class Main{
public static void main(String[] args){
int x;
x = x*x*x;
System.out.println(x);
}
} | Main.java:5: 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 | u895275311|p02388|0 | u895275311|p02388|0 | codenet | Compile Error | 107 | |
v2_s149276012 | s149276012 | s149276012 | p02388 | p02388 | u895275311 | u895275311 | 1,491,205,986 | 2017-04-03T07:53:06 | Main.java | class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
x = x*x*x;
System.out.println(x);
}
} | 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 | u895275311|p02388|0 | u895275311|p02388|0 | codenet | Compile Error | 162 | |
v2_s206442848 | s206442848 | s206442848 | p02388 | p02388 | u895275311 | u895275311 | 1,491,206,050 | 2017-04-03T07:54:10 | Main.java | class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int x = scan.next();
x = x*x*x;
System.out.println(x);
}
} | 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 | u895275311|p02388|0 | u895275311|p02388|0 | codenet | Compile Error | 159 | |
v2_s176444565 | s176444565 | s176444565 | p02388 | p02388 | u895275311 | u895275311 | 1,491,206,116 | 2017-04-03T07:55:16 | Main.java | class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int x = scan.next();
x = x*x*x;
System.out.println(x);
}
} | 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 | u895275311|p02388|0 | u895275311|p02388|0 | codenet | Compile Error | 159 | |
v2_s312193139 | s312193139 | s312193139 | p02388 | p02388 | u895568790 | u895568790 | 1,445,881,467 | 2015-10-26T17:44:27 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args)
thorows IOException{
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
int a = in.readLine();
System.out.println(a*a*a)
}
} | Main.java:4: error: ';' expected
public static void main(String[] args)
^
Main.java:10: error: ';' expected
System.out.println(a*a*a)
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u895568790|p02388|0 | u895568790|p02388|0 | codenet | Compile Error | 270 | |
v2_s994656629 | s994656629 | s994656629 | p02388 | p02388 | u895568790 | u895568790 | 1,445,881,507 | 2015-10-26T17:45:07 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args)
thorows IOException{
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
int a = in.readLine();
System.out.println(a*a*a);
}
} | Main.java:4: error: ';' expected
public static void main(String[] args)
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u895568790|p02388|0 | u895568790|p02388|0 | codenet | Compile Error | 271 | |
v2_s283989894 | s283989894 | s283989894 | p02388 | p02388 | u895568790 | u895568790 | 1,445,881,622 | 2015-10-26T17:47:02 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args) thorows IOException{
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
int a = in.readLine();
System.out.println(a*a*a);
}
} | Main.java:4: error: ';' expected
public static void main(String[] args) thorows IOException{
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u895568790|p02388|0 | u895568790|p02388|0 | codenet | Compile Error | 259 | |
v2_s229065373 | s229065373 | s229065373 | p02388 | p02388 | u900764118 | u900764118 | 1,526,879,258 | 2018-05-21T05:07:38 | Main.java | class Main {
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
System.out.println(x * x * x);
} }
| 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 | u900764118|p02388|0 | u900764118|p02388|0 | codenet | Compile Error | 170 | |
v2_s836588944 | s836588944 | s836588944 | p02388 | p02388 | u908599045 | u908599045 | 1,484,628,109 | 2017-01-17T04:41:49 | 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 = Integer.parseInt(str); | Main.java:12: error: reached end of file while parsing
int x = Integer.parseInt(str);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u908599045|p02388|0 | u908599045|p02388|0 | codenet | Compile Error | 259 | |
v2_s866270463 | s866270463 | s866270463 | p02388 | p02388 | u908599045 | u908599045 | 1,484,628,132 | 2017-01-17T04:42:12 | 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 = Integer.parseInt(str); | Main.java:12: error: reached end of file while parsing
int x = Integer.parseInt(str);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u908599045|p02388|0 | u908599045|p02388|0 | codenet | Compile Error | 259 | |
v2_s424288842 | s424288842 | s424288842 | p02388 | p02388 | u908899927 | u908899927 | 1,457,140,773 | 2016-03-05T01:19:33 | Main.java | import java.io.*;
class Main{
public static void main(String[] args) throw IOExpection{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
int x=integer.parseInt(str);
System.out.println(x*x*x);
}
} | Main.java:4: error: ';' expected
public static void main(String[] args) throw IOExpection{
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u908899927|p02388|0 | u908899927|p02388|0 | codenet | Compile Error | 262 | |
v2_s737973946 | s737973946 | s737973946 | p02388 | p02388 | u908899927 | u908899927 | 1,457,140,800 | 2016-03-05T01:20:00 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args) throw IOExpection{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
int x=integer.parseInt(str);
System.out.println(x*x*x);
}
} | Main.java:4: error: ';' expected
public static void main(String[] args) throw IOExpection{
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u908899927|p02388|0 | u908899927|p02388|0 | codenet | Compile Error | 269 | |
v2_s073881584 | s073881584 | s073881584 | p02388 | p02388 | u908899927 | u908899927 | 1,457,140,906 | 2016-03-05T01:21:46 | Main.java | import java.io.*;
class Main{
public static void main(String[] args) throws IOExpection{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
int x=integer.parseInt(str);
System.out.println(x*x*x);
}
} | Main.java:4: error: cannot find symbol
public static void main(String[] args) throws IOExpection{
^
symbol: class IOExpection
location: class Main
Main.java:9: error: cannot find symbol
int x=integer.parseInt(str);
^
symbol: variable integer
location... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u908899927|p02388|0 | u908899927|p02388|0 | codenet | Compile Error | 263 | |
v2_s422284688 | s422284688 | s422284688 | p02388 | p02388 | u910402677 | u910402677 | 1,477,465,584 | 2016-10-26T07:06:24 | Main.java | import java.util.*;
public class Main{
public static void main(String[] args){
int number = new Scanner(System.in).nextLine();
number = number * number * number;
System.out.println(number);
}
} | Main.java:5: error: incompatible types: String cannot be converted to int
int number = new Scanner(System.in).nextLine();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02388|0 | u910402677|p02388|0 | codenet | Compile Error | 202 | |
v2_s929071661 | s929071661 | s929071661 | p02388 | p02388 | u910402677 | u910402677 | 1,479,270,021 | 2016-11-16T04:20:21 | Main.java | import java.lang.Math.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int x = scan.nextInt();
int out = Math.pow(x, 3);
System.out.println(out);
}
} | Main.java:4: error: cannot find symbol
private static final Scanner scan = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:4: error: cannot find symbol
private static final Scanner scan = new Scanner(System.in);
^
sy... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02388|1 | u910402677|p02388|1 | codenet | Compile Error | 233 | |
v2_s992928184 | s992928184 | s992928184 | p02388 | p02388 | u910402677 | u910402677 | 1,479,270,083 | 2016-11-16T04:21:23 | Main.java | import java.lang.Math.*;
import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int x = scan.nextInt();
int out = Math.pow(x, 3);
System.out.println(out);
}
} | Main.java:9: error: incompatible types: possible lossy conversion from double to int
int out = Math.pow(x, 3);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02388|1 | u910402677|p02388|1 | codenet | Compile Error | 253 | |
v2_s553791960 | s553791960 | s553791960 | p02388 | p02388 | u910791852 | u910791852 | 1,540,478,112 | 2018-10-25T14:35:12 | Main.java | import.java.util.Scanner
public class Main{
public static void main(Strings[] args){
Scanner scanner = new Scanner(System.in);
x = scanner.nextInt();
System.out.println(x*x*x);
}
}
| Main.java:1: error: <identifier> expected
import.java.util.Scanner
^
Main.java:1: error: ';' expected
import.java.util.Scanner
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910791852|p02388|0 | u910791852|p02388|0 | codenet | Compile Error | 214 | |
v2_s826547630 | s826547630 | s826547630 | p02388 | p02388 | u910791852 | u910791852 | 1,540,478,131 | 2018-10-25T14:35:31 | Main.java | import.java.util.Scanner;
public class Main{
public static void main(Strings[] args){
Scanner scanner = new Scanner(System.in);
x = scanner.nextInt();
System.out.println(x*x*x);
}
}
| Main.java:1: error: <identifier> expected
import.java.util.Scanner;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910791852|p02388|0 | u910791852|p02388|0 | codenet | Compile Error | 215 | |
v2_s763464562 | s763464562 | s763464562 | p02388 | p02388 | u910791852 | u910791852 | 1,540,478,165 | 2018-10-25T14:36:05 | Main.java | import java.util.Scanner;
public class Main{
public static void main(Strings[] args){
Scanner scanner = new Scanner(System.in);
x = scanner.nextInt();
System.out.println(x*x*x);
}
}
| Main.java:4: error: cannot find symbol
public static void main(Strings[] args){
^
symbol: class Strings
location: class Main
Main.java:6: error: cannot find symbol
x = scanner.nextInt();
^
symbol: variable x
location: class Main
Main.java:7: error: cannot find... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910791852|p02388|0 | u910791852|p02388|0 | codenet | Compile Error | 215 | |
v2_s631368739 | s631368739 | s631368739 | p02388 | p02388 | u910791852 | u910791852 | 1,540,478,530 | 2018-10-25T14:42:10 | Main.java | import java.util.Scanner;
public class Main{
public static void main(Strings[] args){
Scanner scanner = new Scanner(System.in);
int x = scanner.nextInt();
System.out.println(x*x*x);
}
}
| Main.java:4: 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 | u910791852|p02388|0 | u910791852|p02388|0 | codenet | Compile Error | 219 | |
v2_s438301491 | s438301491 | s438301491 | p02388 | p02388 | u910872986 | u910872986 | 1,486,102,718 | 2017-02-03T06:18:38 | Main.java |
public class Main {
public static void main(String[] args) {
???int x = new java.util.Scanner(System.in).nextInt();
System.out.println("x*x*x");
}
} | Main.java:4: error: illegal start of expression
???int x = new java.util.Scanner(System.in).nextInt();
^
Main.java:4: error: illegal start of expression
???int x = new java.util.Scanner(System.in).nextInt();
^
Main.java:4: error: illegal start of expression
???int x = new java.util.Scanner(System.in).nextInt()... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910872986|p02388|0 | u910872986|p02388|0 | codenet | Compile Error | 157 | |
v2_s723657599 | s723657599 | s723657599 | p02388 | p02388 | u910872986 | u910872986 | 1,486,102,822 | 2017-02-03T06:20:22 | Main.java | public class Main {
public static void main(String[] args) {
???int x = new java.util.Scanner(System.in).nextInt();
System.out.println("x*x*x");
}
} | Main.java:3: error: illegal start of expression
???int x = new java.util.Scanner(System.in).nextInt();
^
Main.java:3: error: illegal start of expression
???int x = new java.util.Scanner(System.in).nextInt();
^
Main.java:3: error: illegal start of expression
???int x = new java.util.Scanner(System.in).nextInt()... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910872986|p02388|0 | u910872986|p02388|0 | codenet | Compile Error | 156 | |
v2_s007875099 | s007875099 | s007875099 | p02388 | p02388 | u910872986 | u910872986 | 1,486,102,948 | 2017-02-03T06:22:28 | Main.java | public class Main {
public static void main(String[] args) {
???int x = new java.util.Scanner(System.in).nextInt();
System.out.println("x*x*x");
}
} | Main.java:3: error: illegal start of expression
???int x = new java.util.Scanner(System.in).nextInt();
^
Main.java:3: error: illegal start of expression
???int x = new java.util.Scanner(System.in).nextInt();
^
Main.java:3: error: illegal start of expression
???int x = new java.util.Scanner(System.in).nextInt()... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910872986|p02388|0 | u910872986|p02388|0 | codenet | Compile Error | 156 | |
v2_s485600914 | s485600914 | s485600914 | p02388 | p02388 | u910872986 | u910872986 | 1,486,103,312 | 2017-02-03T06:28:32 | Main.java | import java.util.scanner;
public class Main {
public static void main(String[] args) {
???int x = Scanner(System.in);
System.out.println("x*x*x");
}
} | Main.java:4: error: illegal start of expression
???int x = Scanner(System.in);
^
Main.java:4: error: illegal start of expression
???int x = Scanner(System.in);
^
Main.java:4: error: illegal start of expression
???int x = Scanner(System.in);
^
Main.java:4: error: '.class' expected
???int x = Scanner(System.in)... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910872986|p02388|0 | u910872986|p02388|0 | codenet | Compile Error | 157 | |
v2_s380648508 | s380648508 | s380648508 | p02388 | p02388 | u911244533 | u911244533 | 1,494,039,421 | 2017-05-06T02:57:01 | Main.java | public class Main{
public static void main(String[] args){
int x = Integer.parseInt(arg[0]);
int result = x*x*x;
System.out.println(result);
}
} | Main.java:3: error: cannot find symbol
int x = Integer.parseInt(arg[0]);
^
symbol: variable arg
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u911244533|p02388|0 | u911244533|p02388|0 | codenet | Compile Error | 152 | |
v2_s059724853 | s059724853 | s059724853 | p02388 | p02388 | u912194667 | u912194667 | 1,453,457,779 | 2016-01-22T10:16:19 | Main.java | class main {
public static void (String [] args){
ver x = math.pow(2,3);
System.out.println(x);
}
} | Main.java:2: error: <identifier> expected
public static void (String [] args){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u912194667|p02388|0 | u912194667|p02388|0 | codenet | Compile Error | 111 | |
v2_s546894687 | s546894687 | s546894687 | p02388 | p02388 | u912194667 | u912194667 | 1,453,457,889 | 2016-01-22T10:18:09 | Main.java | class main {
public static void (String [] args){
int x = math.pow(2,3);
System.out.println(x);
}
} | Main.java:2: error: <identifier> expected
public static void (String [] args){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u912194667|p02388|0 | u912194667|p02388|0 | codenet | Compile Error | 111 | |
v2_s739912903 | s739912903 | s739912903 | p02388 | p02388 | u912194667 | u912194667 | 1,453,457,908 | 2016-01-22T10:18:28 | Main.java | class main {
Public static void (String [] args){
int x = math.pow(2,3);
System.out.println(x);
}
} | Main.java:2: error: <identifier> expected
Public static void (String [] args){
^
Main.java:2: error: <identifier> expected
Public static void (String [] args){
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u912194667|p02388|0 | u912194667|p02388|0 | codenet | Compile Error | 111 | |
v2_s184561053 | s184561053 | s184561053 | p02388 | p02388 | u912194667 | u912194667 | 1,453,457,980 | 2016-01-22T10:19:40 | Main.java | class main {
public static void (String [] args){
int x = math.pow(2,3);
System.out.println("x");
}
} | Main.java:2: error: <identifier> expected
public static void (String [] args){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u912194667|p02388|0 | u912194667|p02388|0 | codenet | Compile Error | 113 | |
v2_s381953513 | s381953513 | s381953513 | p02388 | p02388 | u912194667 | u912194667 | 1,453,458,027 | 2016-01-22T10:20:27 | main.java | public class main {
public static void (String [] args){
int x = math.pow(2,3);
System.out.println("x");
}
} | main.java:2: error: <identifier> expected
public static void (String [] args){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u912194667|p02388|0 | u912194667|p02388|0 | codenet | Compile Error | 120 | |
v2_s647141279 | s647141279 | s647141279 | p02388 | p02388 | u912194667 | u912194667 | 1,453,458,170 | 2016-01-22T10:22:50 | Main.java | class main {
public static void (String [] args){
int x = math.pow(2,3);
System.out.println("x");
}
} | Main.java:2: error: <identifier> expected
public static void (String [] args){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u912194667|p02388|0 | u912194667|p02388|0 | codenet | Compile Error | 113 | |
v2_s427435809 | s427435809 | s427435809 | p02388 | p02388 | u912194667 | u912194667 | 1,453,458,255 | 2016-01-22T10:24:15 | Main.java | class main {
public static void (String [ ] args){
int x = math.pow(2,3);
System.out.println("x");
}
} | Main.java:2: error: <identifier> expected
public static void (String [ ] args){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u912194667|p02388|0 | u912194667|p02388|0 | codenet | Compile Error | 114 | |
v2_s254241235 | s254241235 | s254241235 | p02388 | p02388 | u912194667 | u912194667 | 1,453,458,269 | 2016-01-22T10:24:29 | Main.java | class main {
static void (String [ ] args){
int x = math.pow(2,3);
System.out.println("x");
}
} | Main.java:2: error: <identifier> expected
static void (String [ ] args){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u912194667|p02388|0 | u912194667|p02388|0 | codenet | Compile Error | 107 | |
v2_s849320608 | s849320608 | s849320608 | p02388 | p02388 | u912194667 | u912194667 | 1,453,458,307 | 2016-01-22T10:25:07 | main.java | public class main {
public static void main (String [ ] args){
int x = math.pow(2,3);
System.out.println("x");
}
} | main.java:3: error: cannot find symbol
int x = math.pow(2,3);
^
symbol: variable math
location: class main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u912194667|p02388|0 | u912194667|p02388|0 | codenet | Compile Error | 127 | |
v2_s953545546 | s953545546 | s953545546 | p02388 | p02388 | u912194667 | u912194667 | 1,453,458,326 | 2016-01-22T10:25:26 | Main.java | class main {
public static void main (String [ ] args){
int x = math.pow(2,3);
System.out.println("x");
}
} | Main.java:3: error: cannot find symbol
int x = math.pow(2,3);
^
symbol: variable math
location: class main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u912194667|p02388|0 | u912194667|p02388|0 | codenet | Compile Error | 120 | |
v2_s322371491 | s322371491 | s322371491 | p02388 | p02388 | u912194667 | u912194667 | 1,453,459,814 | 2016-01-22T10:50:14 | main.java | public class main {
public static void (String [] args){
int x = math.pow(2,3);
System.out.println("x");
}
} | main.java:2: error: <identifier> expected
public static void (String [] args){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u912194667|p02388|0 | u912194667|p02388|0 | codenet | Compile Error | 120 | |
v2_s038007888 | s038007888 | s038007888 | p02388 | p02388 | u912194667 | u912194667 | 1,453,460,323 | 2016-01-22T10:58:43 | Main.java | import java.io.*;
public static void main( String[] args ) throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader( System.in ) );
int x = Integer.parseInt( br.readLine() );
System.out.println( x * x * x );
}
} | Main.java:2: error: unnamed classes are a preview feature and are disabled by default.
public static void main( String[] args ) throws IOException
^
(use --enable-preview to enable unnamed classes)
Main.java:8: error: class, interface, enum, or record expected
}
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u912194667|p02388|0 | u912194667|p02388|0 | codenet | Compile Error | 272 | |
v2_s911507539 | s911507539 | s911507539 | p02388 | p02388 | u913462354 | u913462354 | 1,525,918,756 | 2018-05-10T02:19:16 | Main.java | public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int num = scan.nextInt();
System.out.println(num*num*num);
}
}
| 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 | u913462354|p02388|0 | u913462354|p02388|0 | codenet | Compile Error | 204 | |
v2_s718667798 | s718667798 | s718667798 | p02388 | p02388 | u918457647 | u918457647 | 1,452,945,612 | 2016-01-16T12:00:12 | 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 | u918457647|p02388|0 | u918457647|p02388|0 | codenet | Compile Error | 101 | |
v2_s193591460 | s193591460 | s193591460 | p02388 | p02388 | u918457647 | u918457647 | 1,452,948,044 | 2016-01-16T12:40:44 | Main.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public Main {
public static void main(String[] args) throws IOException{
BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));
String input = br.readLine();
int x = Integer.parseInt(input);
Sy... | Main.java:5: error: class, interface, enum, or record expected
public Main {
^
Main.java:7: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) throws IOException{
^
(use --enable-preview to enable unnamed classes)
Main.java:14: error... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u918457647|p02388|0 | u918457647|p02388|0 | codenet | Compile Error | 353 | |
v2_s522702944 | s522702944 | s522702944 | p02388 | p02388 | u918457647 | u918457647 | 1,452,948,456 | 2016-01-16T12:47:36 | Main.java | import java.io.BufferedReader;
import java.io.InputStreamReader;
public Main {
public static void main(String[] args){
try{
BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));
String input = br.readLine();
int x = Integer.parseInt(input);
System.out.println(x * x * x);
br.close();... | Main.java:4: error: class, interface, enum, or record expected
public Main {
^
Main.java:6: 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:19: error: class, interface,... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u918457647|p02388|0 | u918457647|p02388|0 | codenet | Compile Error | 389 | |
v2_s083576327 | s083576327 | s083576327 | p02388 | p02388 | u918457647 | u918457647 | 1,452,948,494 | 2016-01-16T12:48:14 | Main.java | import java.io.BufferedReader;
import java.io.InputStreamReader;
public Main {
public static void main(String[] args){
try{
BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));
String input = br.readLine();
int x = Integer.parseInt(input);
System.out.println(x * x * x);
br.close();... | Main.java:4: error: class, interface, enum, or record expected
public Main {
^
Main.java:6: 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:19: error: class, interface,... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u918457647|p02388|0 | u918457647|p02388|0 | codenet | Compile Error | 389 | |
v2_s390954532 | s390954532 | s390954532 | p02388 | p02388 | u918457647 | u918457647 | 1,452,948,939 | 2016-01-16T12:55:39 | Main.java | import java.util.Scanner;
public 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: class, interface, enum, or record expected
public Main {
^
Main.java:5: 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:10: error: class, interface,... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u918457647|p02388|0 | u918457647|p02388|0 | codenet | Compile Error | 183 | |
v2_s236988788 | s236988788 | s236988788 | p02388 | p02388 | u918457647 | u918457647 | 1,452,949,231 | 2016-01-16T13:00:31 | Main.java | import java.util.Scanner;
public 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: class, interface, enum, or record expected
public Main {
^
Main.java:5: 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:10: error: class, interface,... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u918457647|p02388|0 | u918457647|p02388|0 | codenet | Compile Error | 183 | |
v2_s581945223 | s581945223 | s581945223 | p02388 | p02388 | u922633376 | u922633376 | 1,476,787,506 | 2016-10-18T10:45:06 | Main.java | class Main{
public static main void main(String[] args){
int x = args[0];
x = x*x*x;
System.out.plintln(x);
}
} | Main.java:3: error: <identifier> expected
public static main void main(String[] args){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u922633376|p02388|0 | u922633376|p02388|0 | codenet | Compile Error | 116 | |
v2_s826002066 | s826002066 | s826002066 | p02388 | p02388 | u922633376 | u922633376 | 1,476,787,567 | 2016-10-18T10:46:07 | Main.java | class Main{
public static void main(String[] args){
int x = args[0];
x = x*x*x;
System.out.plintln(x);
}
} | Main.java:5: error: incompatible types: String cannot be converted to int
int x = args[0];
^
Main.java:9: error: cannot find symbol
System.out.plintln(x);
^
symbol: method plintln(int)
location: variable out of type PrintStream
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u922633376|p02388|0 | u922633376|p02388|0 | codenet | Compile Error | 111 | |
v2_s607099347 | s607099347 | s607099347 | p02388 | p02388 | u922633376 | u922633376 | 1,476,787,908 | 2016-10-18T10:51:48 | Main.java | class Main{
public static void main(String[] args){
int x = Integer.parseInt(args[0]);
x = x*x*x;
System.out.plintln(x);
}
} | Main.java:9: error: cannot find symbol
System.out.plintln(x);
^
symbol: method plintln(int)
location: variable out of type PrintStream
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u922633376|p02388|0 | u922633376|p02388|0 | codenet | Compile Error | 129 | |
v2_s505805927 | s505805927 | s505805927 | p02388 | p02388 | u922633376 | u922633376 | 1,476,790,342 | 2016-10-18T11:32:22 | Main.java | import gnu.getopt.Getopt;
class Main{
public static void main(String[] args){
int x;
x = Integer.parseInt(args[0]);
x = x*x*x;
System.out.println(x);
}
} | Main.java:1: error: package gnu.getopt does not exist
import gnu.getopt.Getopt;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u922633376|p02388|0 | u922633376|p02388|0 | codenet | Compile Error | 160 | |
v2_s810494642 | s810494642 | s810494642 | p02388 | p02388 | u922633376 | u922633376 | 1,476,791,005 | 2016-10-18T11:43:25 | Main.java | import java.io.*;
class Main{
public static main(String[] args){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br);
x = x*x*x;
System.out.println(x);
}
} | Main.java:5: error: invalid method declaration; return type required
public static main(String[] args){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u922633376|p02388|0 | u922633376|p02388|0 | codenet | Compile Error | 212 | |
v2_s994564636 | s994564636 | s994564636 | p02388 | p02388 | u922633376 | u922633376 | 1,476,791,020 | 2016-10-18T11:43:40 | Main.java | import java.io.*;
class Main{
public static main(String[] args){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br);
x = x*x*x;
System.out.println(x);
}
} | Main.java:5: error: invalid method declaration; return type required
public static main(String[] args){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u922633376|p02388|0 | u922633376|p02388|0 | codenet | Compile Error | 212 | |
v2_s872172798 | s872172798 | s872172798 | p02388 | p02388 | u922633376 | u922633376 | 1,476,791,046 | 2016-10-18T11:44:06 | Main.java | import java.io.*;
class Main{
public static void main(String[] args){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br);
x = x*x*x;
System.out.println(x);
}
} | Main.java:8: error: incompatible types: BufferedReader cannot be converted to String
int x = Integer.parseInt(br);
^
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 | u922633376|p02388|0 | u922633376|p02388|0 | codenet | Compile Error | 217 | |
v2_s085556849 | s085556849 | s085556849 | p02388 | p02388 | u922633376 | u922633376 | 1,476,791,068 | 2016-10-18T11:44:28 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br);
x = x*x*x;
System.out.println(x);
}
} | Main.java:8: error: incompatible types: BufferedReader cannot be converted to String
int x = Integer.parseInt(br);
^
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 | u922633376|p02388|0 | u922633376|p02388|0 | codenet | Compile Error | 224 | |
v2_s792084399 | s792084399 | s792084399 | p02388 | p02388 | u922633376 | u922633376 | 1,476,791,370 | 2016-10-18T11:49:30 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args){
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String s = new String(in.readLine());
int x = Integer.parseInt(s);
x = x*x*x;
System.out.println(x);
}
} | Main.java:9: error: unreported exception IOException; must be caught or declared to be thrown
String s = new String(in.readLine());
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u922633376|p02388|0 | u922633376|p02388|0 | codenet | Compile Error | 271 | |
v2_s216782548 | s216782548 | s216782548 | p02388 | p02388 | u922633376 | u922633376 | 1,476,791,385 | 2016-10-18T11:49:45 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args){
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String s = new String(in.readLine());
int x = Integer.parseInt(s);
x = x*x*x;
System.out.println(x);
}
} | Main.java:9: error: unreported exception IOException; must be caught or declared to be thrown
String s = new String(in.readLine());
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u922633376|p02388|0 | u922633376|p02388|0 | codenet | Compile Error | 271 | |
v2_s088785007 | s088785007 | s088785007 | p02388 | p02388 | u925218603 | u925218603 | 1,422,495,457 | 2015-01-29T01:37:37 | 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 | u925218603|p02388|0 | u925218603|p02388|0 | codenet | Compile Error | 252 | |
v2_s182043108 | s182043108 | s182043108 | p02388 | p02388 | u925778868 | u925778868 | 1,546,072,480 | 2018-12-29T08:34:40 | Main.java | class Test{
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 Test
Main.java:3: error: cannot find symbol
Scanner sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Test
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u925778868|p02388|0 | u925778868|p02388|0 | codenet | Compile Error | 169 | |
v2_s745011880 | s745011880 | s745011880 | p02388 | p02388 | u926238961 | u926238961 | 1,371,746,315 | 2013-06-20T16:38:35 | Main.java | public class Main {
public static void main(String[] args) {
int n = (new Scanner(System.in)).nextInt();
System.out.println(Math.pow(n, 3));
}
} | Main.java:3: error: cannot find symbol
int n = (new Scanner(System.in)).nextInt();
^
symbol: class Scanner
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u926238961|p02388|0 | u926238961|p02388|0 | codenet | Compile Error | 168 | |
v2_s716783218 | s716783218 | s716783218 | p02388 | p02388 | u926657458 | u926657458 | 1,486,199,418 | 2017-02-04T09:10:18 | Main.java | public class Main{
public static void main(String[] args){
int x=System.in.read();
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 | u926657458|p02388|0 | u926657458|p02388|0 | codenet | Compile Error | 126 | |
v2_s635481247 | s635481247 | s635481247 | p02388 | p02388 | u928579315 | u928579315 | 1,514,820,742 | 2018-01-01T15:32:22 | 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 | u928579315|p02388|0 | u928579315|p02388|0 | codenet | Compile Error | 185 | |
v2_s833276824 | s833276824 | s833276824 | p02388 | p02388 | u930214620 | u930214620 | 1,487,485,954 | 2017-02-19T06:32:34 | Main.java | public static void main(String[] args) {
int sample = 0;
for(int i = 0; i<3;i++){
sample = sample * sample;
}
} | 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 | u930214620|p02388|0 | u930214620|p02388|0 | codenet | Compile Error | 134 | |
v2_s507002701 | s507002701 | s507002701 | p02388 | p02388 | u930214620 | u930214620 | 1,487,486,323 | 2017-02-19T06:38:43 | TEST.java | public class TEST {
public static void main(String[] args) {
int x = 3;
for(int i = 0; i<2;i++){
x = x * 3;
}
} | TEST.java:13: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u930214620|p02388|0 | u930214620|p02388|0 | codenet | Compile Error | 136 | |
v2_s311255470 | s311255470 | s311255470 | p02388 | p02388 | u933808920 | u933808920 | 1,508,853,173 | 2017-10-24T13:52:53 | Main.java | import java.io;
class Cubic{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamreader(System.in));
int x = Integer.parseInt(br.readLine());
System.out.println(a*a*a);
}
} | Main.java:1: error: cannot find symbol
import java.io;
^
symbol: class io
location: package java
Main.java:4: error: cannot find symbol
public static void main(String[] args) throws IOException{
^
symbol: class IOException
location: class Cubic
Ma... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u933808920|p02388|0 | u933808920|p02388|0 | codenet | Compile Error | 250 | |
v2_s906139101 | s906139101 | s906139101 | p02388 | p02388 | u933808920 | u933808920 | 1,508,853,206 | 2017-10-24T13:53:26 | Main.java | import java.io;
class Cubic{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamreader(System.in));
int a = Integer.parseInt(br.readLine());
System.out.println(a*a*a);
}
} | Main.java:1: error: cannot find symbol
import java.io;
^
symbol: class io
location: package java
Main.java:4: error: cannot find symbol
public static void main(String[] args) throws IOException{
^
symbol: class IOException
location: class Cubic
Ma... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u933808920|p02388|0 | u933808920|p02388|0 | codenet | Compile Error | 250 | |
v2_s550490788 | s550490788 | s550490788 | p02388 | p02388 | u933808920 | u933808920 | 1,508,853,344 | 2017-10-24T13:55:44 | Main.java | import java.io.*;
class Cubic{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamreader(System.in));
int a = Integer.parseInt(br.readLine());
System.out.println(a*a*a);
}
} | Main.java:5: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamreader(System.in));
^
symbol: class InputStreamreader
location: class Cubic
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u933808920|p02388|0 | u933808920|p02388|0 | codenet | Compile Error | 252 | |
v2_s187474398 | s187474398 | s187474398 | p02388 | p02388 | u934482888 | u934482888 | 1,459,679,149 | 2016-04-03T10:25:49 | Main.java | class Main {
public static void main(String[] args) {
System.out.println(args ^ 3);
}
} | Main.java:3: error: bad operand types for binary operator '^'
System.out.println(args ^ 3);
^
first type: String[]
second type: int
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u934482888|p02388|0 | u934482888|p02388|0 | codenet | Compile Error | 103 | |
v2_s909835384 | s909835384 | s909835384 | p02388 | p02388 | u934482888 | u934482888 | 1,459,679,196 | 2016-04-03T10:26:36 | Main.java | class Main {
public static void main(String[] args) {
System.out.println(args[0] ^ 3);
}
} | Main.java:3: error: bad operand types for binary operator '^'
System.out.println(args[0] ^ 3);
^
first type: String
second type: int
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u934482888|p02388|0 | u934482888|p02388|0 | codenet | Compile Error | 106 | |
v2_s217967116 | s217967116 | s217967116 | p02388 | p02388 | u936047536 | u936047536 | 1,485,842,823 | 2017-01-31T06:07:03 | Main.java | public class Main {
//?????°
public static int x;
//????????????
public static void solve(){
Scanner sc = new Scanner(System.in);
x=sc.nextInt();
System.out.println(x*x*x);
}
public static void main(String[] args) {
solve();
// TODO ?????????????????????????????????????????????
}
} | Main.java:6: error: cannot find symbol
Scanner sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:6: error: cannot find symbol
Scanner sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u936047536|p02388|0 | u936047536|p02388|0 | codenet | Compile Error | 310 | |
v2_s477290198 | s477290198 | s477290198 | p02388 | p02388 | u936255724 | u936255724 | 1,464,847,681 | 2016-06-02T06:08:01 | Main.java | public static void main (String args[]){
BufferedReader br = new BufferedReader();
String str = br.readLine();
System.out.println(str * str * str);
} | 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 | u936255724|p02388|0 | u936255724|p02388|0 | codenet | Compile Error | 158 | |
v2_s142466093 | s142466093 | s142466093 | p02388 | p02388 | u936255724 | u936255724 | 1,464,847,917 | 2016-06-02T06:11:57 | Main.java | public static void main (String args[]){
BufferedReader br = new BufferedReader();
String str = br.readLine();
System.out.print(str * str * str);
} | 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 | u936255724|p02388|0 | u936255724|p02388|0 | codenet | Compile Error | 156 | |
v2_s529401330 | s529401330 | s529401330 | p02388 | p02388 | u936255724 | u936255724 | 1,464,847,975 | 2016-06-02T06:12:55 | Main.java | public static void main (String args[]) throws IOException {
BufferedReader br = new BufferedReader();
String str = br.readLine();
System.out.print(str * str * str);
} | Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main (String args[]) throws IOException {
^
(use --enable-preview to enable unnamed classes)
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u936255724|p02388|0 | u936255724|p02388|0 | codenet | Compile Error | 176 | |
v2_s150957610 | s150957610 | s150957610 | p02388 | p02388 | u936255724 | u936255724 | 1,464,848,058 | 2016-06-02T06:14:18 | Main.java | class main{
public static void main (String args[]) {
BufferedReader br = new BufferedReader();
String str = br.readLine();
System.out.print(str * str * str);
}
} | Main.java:4: error: cannot find symbol
BufferedReader br = new BufferedReader();
^
symbol: class BufferedReader
location: class main
Main.java:4: error: cannot find symbol
BufferedReader br = new BufferedReader();
^
symbol: class BufferedReader
location: class main
Main.java:... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u936255724|p02388|0 | u936255724|p02388|0 | codenet | Compile Error | 173 | |
v2_s808263423 | s808263423 | s808263423 | p02388 | p02388 | u936255724 | u936255724 | 1,464,848,085 | 2016-06-02T06:14:45 | Main.java | class main{
public static void main (String args[]) throws IOException {
BufferedReader br = new BufferedReader();
String str = br.readLine();
System.out.print(str * str * str);
}
} | Main.java:3: 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();
^
symbol: class BufferedReade... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u936255724|p02388|0 | u936255724|p02388|0 | codenet | Compile Error | 192 | |
v2_s267193834 | s267193834 | s267193834 | p02388 | p02388 | u936255724 | u936255724 | 1,464,848,161 | 2016-06-02T06:16:01 | Main.java | class main{
public static void main (String args[]) throws IOException {
BufferedReader br = new BufferedReader();
String str = br.readLine(System.in);
System.out.print(str * str * str);
}
} | Main.java:3: 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();
^
symbol: class BufferedReade... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u936255724|p02388|0 | u936255724|p02388|0 | codenet | Compile Error | 201 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.