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_s766294582 | s766294582 | s766294582 | p02388 | p02388 | u050753299 | u050753299 | 1,503,906,758 | 2017-08-28T07:52:38 | Main.java | import java.io.*;
class Main
{
public static void main (String[] args)
{
BufferedReader r = new BufferedReader (new InputStreamReader (System.in));
String s = r.readLine();
int x = Integer.parseInt(s);
System.out.println(x * x * x);
}
} | Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown
String s = r.readLine();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u050753299|p02388|0 | u050753299|p02388|0 | codenet | Compile Error | 282 | |
v2_s682744530 | s682744530 | s682744530 | p02388 | p02388 | u051380959 | u051380959 | 1,473,501,828 | 2016-09-10T10:03:48 | Main.java | class Main
{
public static void main(String args[]) throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
String str = br.readline();
int N = Integer.parseInt(str);
int Ans = N^3;
System.out.println(Ans);
}
} | 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 br = new BufferedReader(new InputStreamReader(system.in));
^
s... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051380959|p02388|0 | u051380959|p02388|0 | codenet | Compile Error | 258 | |
v2_s876054042 | s876054042 | s876054042 | p02388 | p02388 | u051380959 | u051380959 | 1,473,501,988 | 2016-09-10T10:06:28 | 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 N = Integer.parseInt(str);
int Ans = N^3;
System.out.println(Ans);
}
} | Main.java:7: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
^
symbol: variable system
location: class Main
Main.java:9: error: cannot find symbol
String str = br.readline();
^
sym... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051380959|p02388|0 | u051380959|p02388|0 | codenet | Compile Error | 277 | |
v2_s094628687 | s094628687 | s094628687 | p02388 | p02388 | u051380959 | u051380959 | 1,473,502,164 | 2016-09-10T10:09:24 | Main.java | import java.io.*;
public class Main
{
public static void main(String args[]) throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
String str = br.readline();
int N = Integer.parseInt(str);
int Ans = N^3;
System.out.println(Ans);
}
} | Main.java:7: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
^
symbol: variable system
location: class Main
Main.java:9: error: cannot find symbol
String str = br.readline();
^
sym... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051380959|p02388|0 | u051380959|p02388|0 | codenet | Compile Error | 284 | |
v2_s288560405 | s288560405 | s288560405 | p02388 | p02388 | u051380959 | u051380959 | 1,473,502,425 | 2016-09-10T10:13:45 | Main.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main
{
public static void main(String args[]) throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
String str = br.readline();
int N = Integer.parseInt(str);
int Ans = N^3... | Main.java:9: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
^
symbol: variable system
location: class Main
Main.java:11: error: cannot find symbol
String str = br.readline();
^
sy... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051380959|p02388|0 | u051380959|p02388|0 | codenet | Compile Error | 352 | |
v2_s147222310 | s147222310 | s147222310 | p02388 | p02388 | u051654626 | u051654626 | 1,496,645,318 | 2017-06-05T06:48:38 | Main.java | import java.io.*
public class Main{
public static void main(String[] args){
BufferReadered r = new BurfferedReader(new InputStreamReader(System.in), 1);
int x = Integer.parseInt(r.readLine());
if(0 <= x && x <= 100){
int cube = x * x * x;
System.out.println(cube);
... | Main.java:1: error: ';' expected
import java.io.*
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051654626|p02388|0 | u051654626|p02388|0 | codenet | Compile Error | 337 | |
v2_s715107572 | s715107572 | s715107572 | p02388 | p02388 | u051654626 | u051654626 | 1,496,645,740 | 2017-06-05T06:55:40 | Main.java | import java.io.*
public class Main{
public static void main(String[] args){
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
x = Integer.perseInt(r.readLine);
int cube = x * x * x;
System.out.println(cube);
}
} | Main.java:1: error: ';' expected
import java.io.*
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051654626|p02388|0 | u051654626|p02388|0 | codenet | Compile Error | 285 | |
v2_s020880145 | s020880145 | s020880145 | p02388 | p02388 | u051654626 | u051654626 | 1,496,645,829 | 2017-06-05T06:57:09 | Main.java | import java.io.*
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
x = Integer.perseInt(r.readLine);
int cube = x * x * x;
System.out.println(cube);
}
} | Main.java:1: error: ';' expected
import java.io.*
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051654626|p02388|0 | u051654626|p02388|0 | codenet | Compile Error | 307 | |
v2_s565647450 | s565647450 | s565647450 | p02388 | p02388 | u051654626 | u051654626 | 1,496,645,870 | 2017-06-05T06:57:50 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
x = Integer.perseInt(r.readLine);
int cube = x * x * x;
System.out.println(cube);
}
} | Main.java:5: error: cannot find symbol
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
^
symbol: class InputStremaReader
location: class Main
Main.java:6: error: cannot find symbol
x = Integer.perseInt(r.readLine);
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051654626|p02388|0 | u051654626|p02388|0 | codenet | Compile Error | 311 | |
v2_s786714861 | s786714861 | s786714861 | p02388 | p02388 | u051654626 | u051654626 | 1,496,645,980 | 2017-06-05T06:59:40 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
int x = Integer.perseInt(r.readLine);
int cube = x * x * x;
System.out.println(cube);
}
} | Main.java:5: error: cannot find symbol
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
^
symbol: class InputStremaReader
location: class Main
Main.java:6: error: cannot find symbol
int x = Integer.perseInt(r.readLine);
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051654626|p02388|0 | u051654626|p02388|0 | codenet | Compile Error | 315 | |
v2_s231858469 | s231858469 | s231858469 | p02388 | p02388 | u051654626 | u051654626 | 1,496,646,036 | 2017-06-05T07:00:36 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
int x, cube;
x = Integer.perseInt(r.readLine);
int cube = x * x * x;
System.out.println(cube);
... | Main.java:5: error: cannot find symbol
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
^
symbol: class InputStremaReader
location: class Main
Main.java:8: error: cannot find symbol
x = Integer.perseInt(r.readLine);
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051654626|p02388|0 | u051654626|p02388|0 | codenet | Compile Error | 330 | |
v2_s809773213 | s809773213 | s809773213 | p02388 | p02388 | u051654626 | u051654626 | 1,496,646,117 | 2017-06-05T07:01:57 | Main.java | mport java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
int x, cube;
x = Integer.parseInt(r.readLine);
int cube = x * x * x;
System.out.println(cube);
... | Main.java:1: error: class, interface, enum, or record expected
mport java.io.*;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051654626|p02388|0 | u051654626|p02388|0 | codenet | Compile Error | 332 | |
v2_s939083146 | s939083146 | s939083146 | p02388 | p02388 | u051654626 | u051654626 | 1,496,646,183 | 2017-06-05T07:03:03 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
int x, cube;
x = Integer.parseInt(r.readLine);
cube = x * x * x;
System.out.println(cube);
... | Main.java:5: error: cannot find symbol
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
^
symbol: class InputStremaReader
location: class Main
Main.java:8: error: cannot find symbol
x = Integer.parseInt(r.readLine);
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051654626|p02388|0 | u051654626|p02388|0 | codenet | Compile Error | 329 | |
v2_s538460173 | s538460173 | s538460173 | p02388 | p02388 | u051654626 | u051654626 | 1,496,646,220 | 2017-06-05T07:03:40 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args) throws Exception{
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
int x, cube;
x = Integer.parseInt(r.readLine);
cube = x * x * x;
System.out.println(cube);
... | Main.java:5: error: cannot find symbol
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
^
symbol: class InputStremaReader
location: class Main
Main.java:8: error: cannot find symbol
x = Integer.parseInt(r.readLine);
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051654626|p02388|0 | u051654626|p02388|0 | codenet | Compile Error | 330 | |
v2_s495277493 | s495277493 | s495277493 | p02388 | p02388 | u051654626 | u051654626 | 1,496,646,286 | 2017-06-05T07:04:46 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args) throws Exception{
int x, cube;
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
x = Integer.parseInt(r.readLine);
cube = x * x * x;
System.out.println(cube);
... | Main.java:7: error: cannot find symbol
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
^
symbol: class InputStremaReader
location: class Main
Main.java:9: error: cannot find symbol
x = Integer.parseInt(r.readLine);
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051654626|p02388|0 | u051654626|p02388|0 | codenet | Compile Error | 334 | |
v2_s471801678 | s471801678 | s471801678 | p02388 | p02388 | u051654626 | u051654626 | 1,496,646,456 | 2017-06-05T07:07:36 | Main.java | import java.io.*;
class Main{
public static void main(String[] args) throws Exception{
int x, cube;
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
x = Integer.parseInt(r.readLine);
cube = x * x * x;
System.out.println(cube); ... | Main.java:7: error: cannot find symbol
BufferedReader r = new BufferedReader(new InputStremaReader(System.in));
^
symbol: class InputStremaReader
location: class Main
Main.java:8: error: cannot find symbol
x = Integer.parseInt(r.readLine);
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051654626|p02388|0 | u051654626|p02388|0 | codenet | Compile Error | 331 | |
v2_s288361721 | s288361721 | s288361721 | p02388 | p02388 | u051654626 | u051654626 | 1,496,646,583 | 2017-06-05T07:09:43 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args) throws Exception{
int x, ans;
BufferedReader br = new BufferedReader(new InputStremaReader(System.in));
x = Integer.parseInt(br.readLine);
ans = x*x*x;
System.out.println(ans); ... | Main.java:7: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStremaReader(System.in));
^
symbol: class InputStremaReader
location: class Main
Main.java:8: error: cannot find symbol
x = Integer.parseInt(br.readLine);
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051654626|p02388|0 | u051654626|p02388|0 | codenet | Compile Error | 328 | |
v2_s880174438 | s880174438 | s880174438 | p02388 | p02388 | u051654626 | u051654626 | 1,496,646,629 | 2017-06-05T07:10:29 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args) throws Exception{
int x, ans;
BufferedReader br = new BufferedReader(new InputStremaReader(System.in));
x = Integer.parseInt(br.readLine());
ans = x*x*x;
System.out.println(ans); ... | Main.java:7: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStremaReader(System.in));
^
symbol: class InputStremaReader
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u051654626|p02388|0 | u051654626|p02388|0 | codenet | Compile Error | 330 | |
v2_s701271450 | s701271450 | s701271450 | p02388 | p02388 | u056328744 | u056328744 | 1,464,835,431 | 2016-06-02T02:43:51 | Main.java | import java.io.*;
class Main{
public static void main(Sting[] args) throws Exception{
int x, ans;
BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
x = Integer.parseInt(br.readLine());
ans = x*x*x;
System.out.printIn(ans);
}
} | Main.java:4: error: cannot find symbol
public static void main(Sting[] args) throws Exception{
^
symbol: class Sting
location: class Main
Main.java:7: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u056328744|p02388|0 | u056328744|p02388|0 | codenet | Compile Error | 253 | |
v2_s515357350 | s515357350 | s515357350 | p02388 | p02388 | u056328744 | u056328744 | 1,464,835,460 | 2016-06-02T02:44:20 | Main.java | import java.io.*;
class Main{
public static void main(Sting[] args) throws Exception{
int x, ans;
BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
x = Integer.parseInt(br.readLine());
ans = x*x*x;
System.out.printIn(ans);
}
} | Main.java:4: error: cannot find symbol
public static void main(Sting[] args) throws Exception{
^
symbol: class Sting
location: class Main
Main.java:7: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u056328744|p02388|0 | u056328744|p02388|0 | codenet | Compile Error | 253 | |
v2_s522414081 | s522414081 | s522414081 | p02388 | p02388 | u056328744 | u056328744 | 1,464,835,585 | 2016-06-02T02:46:25 | Main.java | import java.io.*;
class Main{
public static void main(Sting[] args) throws Exception{
int x, ans;
BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
x = Integer.parseInt(br.readLine());
ans = x*x*x;
System.out.printIn(ans);
}
} | Main.java:4: error: cannot find symbol
public static void main(Sting[] args) throws Exception{
^
symbol: class Sting
location: class Main
Main.java:7: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(system.in));
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u056328744|p02388|0 | u056328744|p02388|0 | codenet | Compile Error | 253 | |
v2_s641103551 | s641103551 | s641103551 | p02388 | p02388 | u061116826 | u061116826 | 1,423,575,858 | 2015-02-10T13:44:18 | Main.java | class Main {
public static void main(String[] args) throws java.io.IOException {
System.out.println(Math.pow(System.in.read(), 3);
}
} | Main.java:3: error: ')' or ',' expected
System.out.println(Math.pow(System.in.read(), 3);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u061116826|p02388|0 | u061116826|p02388|0 | codenet | Compile Error | 138 | |
v2_s593608976 | s593608976 | s593608976 | p02388 | p02388 | u067471423 | u067471423 | 1,440,074,554 | 2015-08-20T12:42:34 | ITP1_1_B.java | public class ITP1_1_B {
public static void main[String[] args]{
int x = new java.util.Scanner(System.in).nextInt();
ans = x*x*x;
System.out.println(ans);
}
} | ITP1_1_B.java:2: error: '(' expected
public static void main[String[] args]{
^
ITP1_1_B.java:2: error: ';' expected
public static void main[String[] args]{
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u067471423|p02388|0 | u067471423|p02388|0 | codenet | Compile Error | 165 | |
v2_s128491609 | s128491609 | s128491609 | p02388 | p02388 | u067471423 | u067471423 | 1,440,074,617 | 2015-08-20T12:43:37 | ITP1_1_B.java | public class ITP1_1_B {
public static void main[String[] args]{
int x = new java.util.Scanner(System.in).nextInt();
int ans = x*x*x;
System.out.println(ans);
}
} | ITP1_1_B.java:2: error: '(' expected
public static void main[String[] args]{
^
ITP1_1_B.java:2: error: ';' expected
public static void main[String[] args]{
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u067471423|p02388|0 | u067471423|p02388|0 | codenet | Compile Error | 169 | |
v2_s431070728 | s431070728 | s431070728 | p02388 | p02388 | u071959880 | u071959880 | 1,506,514,982 | 2017-09-27T12:23:02 | Sample.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
public class Sample {
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter a ... | Sample.java:25: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u071959880|p02388|0 | u071959880|p02388|0 | codenet | Compile Error | 683 | |
v2_s279711598 | s279711598 | s279711598 | p02388 | p02388 | u074136789 | u074136789 | 1,482,188,743 | 2016-12-19T23:05:43 | Main.java | public class Main{
public static void main(String[] args){
int x;
int x = 2;
System.out.println( x * x * x );
}
} | Main.java:4: error: variable x is already defined in method main(String[])
int x = 2;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u074136789|p02388|0 | u074136789|p02388|0 | codenet | Compile Error | 121 | |
v2_s034836259 | s034836259 | s034836259 | p02388 | p02388 | u074136789 | u074136789 | 1,482,274,190 | 2016-12-20T22:49:50 | Main.java | public class Main{
public static void main(String[] args){
int x;
int ans = x * x * x;
System.out.println( ans );
}
} | Main.java:4: error: variable x might not have been initialized
int ans = x * x * x;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u074136789|p02388|1 | u074136789|p02388|1 | codenet | Compile Error | 125 | |
v2_s955910620 | s955910620 | s955910620 | p02388 | p02388 | u076000289 | u076000289 | 1,501,306,794 | 2017-07-29T05:39:54 | Main.java | class Main {
public static void main( String[] args )
{
int x = 50
System.out.println( x * x * x );
}
} | Main.java:4: error: ';' expected
int x = 50
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u076000289|p02388|0 | u076000289|p02388|0 | codenet | Compile Error | 131 | |
v2_s960392502 | s960392502 | s960392502 | p02388 | p02388 | u076000289 | u076000289 | 1,501,308,842 | 2017-07-29T06:14:02 | Main.java | import java.io.*;
class Main {
public static void main( String[] args ) throws IOException
{
String line;
int x;
BufferedReader br = new BufferdReader( InputStreamReader( System.in ) );
line = br.readLine();
x = Integer.parseInt( line );
System.out.println( x*x*... | Main.java:8: error: cannot find symbol
BufferedReader br = new BufferdReader( InputStreamReader( System.in ) );
^
symbol: class BufferdReader
location: class Main
Main.java:8: error: cannot find symbol
BufferedReader br = new BufferdReader( InputStreamReader( System... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u076000289|p02388|0 | u076000289|p02388|0 | codenet | Compile Error | 342 | |
v2_s981827799 | s981827799 | s981827799 | p02388 | p02388 | u076000289 | u076000289 | 1,501,308,957 | 2017-07-29T06:15:57 | Main.java | import java.io.*;
class Main {
public static void main( String[] args ) throws IOException
{
String line;
int x;
BufferedReader br = new BufferedReader( InputStreamReader( System.in ) );
line = br.readLine();
x = Integer.parseInt( line );
System.out.println( x*... | Main.java:8: error: cannot find symbol
BufferedReader br = new BufferedReader( InputStreamReader( System.in ) );
^
symbol: method InputStreamReader(InputStream)
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u076000289|p02388|0 | u076000289|p02388|0 | codenet | Compile Error | 336 | |
v2_s294625126 | s294625126 | s294625126 | p02388 | p02388 | u077844738 | u077844738 | 1,492,419,547 | 2017-04-17T08:59:07 | Main.java | class Main{
public int pow(int num,int count){
for(int i=0,i<count,i++){
num *= num;
}
return num;
}
public static void main(String args[]){
Main m = new Main();
System.out.println(m.pow(2,3));
System.out.println(m.pow(3,3));
}
} | Main.java:4: error: ';' expected
for(int i=0,i<count,i++){
^
Main.java:4: error: > or ',' expected
for(int i=0,i<count,i++){
^
Main.java:4: error: illegal start of expression
for(int i=0,i<count,i++){
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u077844738|p02388|0 | u077844738|p02388|0 | codenet | Compile Error | 274 | |
v2_s701009837 | s701009837 | s701009837 | p02388 | p02388 | u077844738 | u077844738 | 1,492,419,794 | 2017-04-17T09:03:14 | Main.java | class Main{
public int pow(int num,int count){
int answer;
for(int i=0;i<count;i++){
answer *= num;
}
return answer;
}
public static void main(String args[]){
Main m = new Main();
System.out.println(m.pow(2,3));
System.out.println(m.pow(3,3));
}
} | Main.java:6: error: variable answer might not have been initialized
answer *= num;
^
Main.java:8: error: variable answer might not have been initialized
return answer;
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u077844738|p02388|0 | u077844738|p02388|0 | codenet | Compile Error | 299 | |
v2_s727022835 | s727022835 | s727022835 | p02388 | p02388 | u077844738 | u077844738 | 1,492,420,168 | 2017-04-17T09:09:28 | Main.java | class Main{
public int pow3(int num){
int answer=1;
for(int i=0;i<3;i++){
answer *= num;
}
return answer;
}
public static void main(String args[]){
Main m = new Main();
System.out.println(m.pow(2));
System.out.println(m.pow(3));
}
} | Main.java:14: error: cannot find symbol
System.out.println(m.pow(2));
^
symbol: method pow(int)
location: variable m of type Main
Main.java:15: error: cannot find symbol
System.out.println(m.pow(3));
^
symbol: method pow(int)
location: variable m o... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u077844738|p02388|0 | u077844738|p02388|0 | codenet | Compile Error | 302 | |
v2_s597896007 | s597896007 | s597896007 | p02388 | p02388 | u078519975 | u078519975 | 1,471,845,347 | 2016-08-22T05:55:47 | Main.java | class Main{public static void main(String args[]){int x=Integer.ParseInt(args[0]);System.out.println(x*x*x);)}} | Main.java:1: error: illegal start of expression
class Main{public static void main(String args[]){int x=Integer.ParseInt(args[0]);System.out.println(x*x*x);)}}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u078519975|p02388|0 | u078519975|p02388|0 | codenet | Compile Error | 111 | |
v2_s841681651 | s841681651 | s841681651 | p02388 | p02388 | u085346669 | u085346669 | 1,546,500,714 | 2019-01-03T07:31:54 | 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 | u085346669|p02388|0 | u085346669|p02388|0 | codenet | Compile Error | 176 | |
v2_s679696325 | s679696325 | s679696325 | p02388 | p02388 | u092742949 | u092742949 | 1,452,046,727 | 2016-01-06T02:18:47 | 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 a=Integer,perseInt(str);
System.out.println(a*a*a);
}
} | Main.java:7: error: ';' expected
int a=Integer,perseInt(str);
^
Main.java:7: error: not a statement
int a=Integer,perseInt(str);
^
Main.java:7: error: ';' expected
int a=Integer,perseInt(str);
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u092742949|p02388|0 | u092742949|p02388|0 | codenet | Compile Error | 247 | |
v2_s904026753 | s904026753 | s904026753 | p02388 | p02388 | u092829549 | u092829549 | 1,427,857,231 | 2015-04-01T03:00:31 | Main.java | class Main
{
public static void main(String args[]) throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
int num = Integer.parseInt(str);
System.out.println(num*num*num);
}
} | Main.java:3: error: cannot find symbol
public static void main(String args[]) throws IOException
^
symbol: class IOException
location: class Main
Main.java:5: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
^
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u092829549|p02388|0 | u092829549|p02388|0 | codenet | Compile Error | 255 | |
v2_s935177325 | s935177325 | s935177325 | p02388 | p02388 | u092829549 | u092829549 | 1,427,857,256 | 2015-04-01T03:00:56 | Main.java | class Main
{
public static void main(String args[]) throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
int num = Integer.parseInt(str);
System.out.println(num*num*num);
}
} | Main.java:3: error: cannot find symbol
public static void main(String args[]) throws IOException
^
symbol: class IOException
location: class Main
Main.java:5: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
^
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u092829549|p02388|0 | u092829549|p02388|0 | codenet | Compile Error | 255 | |
v2_s729583329 | s729583329 | s729583329 | p02388 | p02388 | u101491879 | u101491879 | 1,505,899,637 | 2017-09-20T09:27:17 | Main.java | class Xcubic{
public static void main(String[] args) {
int x = Integer.parseInt(args[0]);
if(1 <= x <= 100){
int ans = x * x * x;
System.out.println(ans);
}
}
} | Main.java:5: error: bad operand types for binary operator '<='
if(1 <= x <= 100){
^
first type: boolean
second type: int
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u101491879|p02388|0 | u101491879|p02388|0 | codenet | Compile Error | 177 | |
v2_s687938698 | s687938698 | s687938698 | p02388 | p02388 | u101491879 | u101491879 | 1,506,281,428 | 2017-09-24T19:30:28 | Main.java | import java.io.*;
class Main{
public static void main(String[] args){
BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
int x = Integer.parseInt(str);
System.out.println( x*x*x );
}
} | Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown
String str = br.readLine();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u101491879|p02388|1 | u101491879|p02388|1 | codenet | Compile Error | 264 | |
v2_s008695671 | s008695671 | s008695671 | p02388 | p02388 | u103858661 | u103858661 | 1,423,898,077 | 2015-02-14T07:14:37 | main.java | import java.io.*;
public class main{
public static void main(String args[]){
BufferdReader bufferdReader = new BufferdReader(new InputStreamReader(System.in));
String inputNum = bufferdReader.readLine();
System.out.println(inputNum * inputNum * inputNum);
}
} | main.java:6: error: cannot find symbol
BufferdReader bufferdReader = new BufferdReader(new InputStreamReader(System.in));
^
symbol: class BufferdReader
location: class main
main.java:6: error: cannot find symbol
BufferdReader bufferdReader = new BufferdReader(new InputStreamReader(System.i... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u103858661|p02388|0 | u103858661|p02388|0 | codenet | Compile Error | 293 | |
v2_s151009924 | s151009924 | s151009924 | p02388 | p02388 | u103858661 | u103858661 | 1,428,821,879 | 2015-04-12T06:57:59 | XCubic.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class XCubic {
public static void main(String args[]) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int inputNum = Integer.parseInt(br.readLine());
System.out.pri... | XCubic.java:14: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u103858661|p02388|1 | u103858661|p02388|1 | codenet | Compile Error | 362 | |
v2_s119835014 | s119835014 | s119835014 | p02388 | p02388 | u106214670 | u106214670 | 1,491,804,561 | 2017-04-10T06:09:21 | Main.java | public class Main{
public static void main(string args[]){
Scanner scan= new Scanner(Ststem.in);
int x = scan.next();
int y=x*x*x;
System.out.println(y);
}
} | Main.java:2: error: cannot find symbol
public static void main(string args[]){
^
symbol: class string
location: class Main
Main.java:3: error: cannot find symbol
Scanner scan= new Scanner(Ststem.in);
^
symbol: class Scanner
location: class Main
Main.java:3: error: cannot find s... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u106214670|p02388|0 | u106214670|p02388|0 | codenet | Compile Error | 167 | |
v2_s815593707 | s815593707 | s815593707 | p02388 | p02388 | u106214670 | u106214670 | 1,491,804,868 | 2017-04-10T06:14:28 | Main.java | public class Main{
public static void main(String args[]){
scanner scan= new Scanner(System.in);
int x = scan.next();
int y=x*x*x;
System.out.println(y);
} | Main.java:7: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u106214670|p02388|0 | u106214670|p02388|0 | codenet | Compile Error | 165 | |
v2_s904133513 | s904133513 | s904133513 | p02388 | p02388 | u106214670 | u106214670 | 1,491,805,161 | 2017-04-10T06:19:21 | Main.java | public class Main{
public static void main(String[] args){
scanner scan= new Scanner(System.in);
int x = scan.nextInt();
int y=x*x*x;
System.out.println(y);
}
} | Main.java:3: error: cannot find symbol
scanner scan= new Scanner(System.in);
^
symbol: class scanner
location: class Main
Main.java:3: error: cannot find symbol
scanner scan= new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u106214670|p02388|0 | u106214670|p02388|0 | codenet | Compile Error | 170 | |
v2_s961271121 | s961271121 | s961271121 | p02388 | p02388 | u107084759 | u107084759 | 1,464,848,180 | 2016-06-02T06:16:20 | Main.java | class main{
public static void main(Strings arg[]){
int i;
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
i=x*x*x;
System.out.println(i);
} | Main.java:13: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u107084759|p02388|0 | u107084759|p02388|0 | codenet | Compile Error | 191 | |
v2_s859593800 | s859593800 | s859593800 | p02388 | p02388 | u107084759 | u107084759 | 1,464,848,521 | 2016-06-02T06:22:01 | Main.java | class main{
public static void main(Strings arg[]){
int i=0;
int x=3;
i=x*x*x;
System.out.println(i);
} | Main.java:12: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u107084759|p02388|0 | u107084759|p02388|0 | codenet | Compile Error | 139 | |
v2_s990413878 | s990413878 | s990413878 | p02388 | p02388 | u107084759 | u107084759 | 1,464,848,631 | 2016-06-02T06:23:51 | Main.java | class main{
public static void main(Strings arg[]){
int x = 3;
System.out.println(x*x*x);
}
} | Main.java:3: error: cannot find symbol
public static void main(Strings arg[]){
^
symbol: class Strings
location: class main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u107084759|p02388|0 | u107084759|p02388|0 | codenet | Compile Error | 119 | |
v2_s848142891 | s848142891 | s848142891 | p02388 | p02388 | u107084759 | u107084759 | 1,464,849,021 | 2016-06-02T06:30:21 | Main.java | class main{
public static void main(Strings arg[]){
int i=3;
System.out.println(i*i*i);
}
} | Main.java:3: error: cannot find symbol
public static void main(Strings arg[]){
^
symbol: class Strings
location: class main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u107084759|p02388|0 | u107084759|p02388|0 | codenet | Compile Error | 113 | |
v2_s501122197 | s501122197 | s501122197 | p02388 | p02388 | u108796149 | u108796149 | 1,521,547,639 | 2018-03-20T12:07:19 | Main.java | import java.io.*;
class Main{
public static void main(String args[]){
int num;
String buf;
try{
BufferdReader br=new BufferdeReader(new InputStreamReader(System.in));
buf=br.readLine();
num=Integer.parseInt(buf);
System.out.println(num*num*num);
... | Main.java:5: error: illegal character: '\u3000'
???public static void main(String args[]){
^
Main.java:5: error: illegal character: '\u3000'
???public static void main(String args[]){
^
Main.java:5: error: illegal character: '\u3000'
???public static void main(String args[]){
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u108796149|p02388|0 | u108796149|p02388|0 | codenet | Compile Error | 375 | |
v2_s367829692 | s367829692 | s367829692 | p02388 | p02388 | u108796149 | u108796149 | 1,521,547,667 | 2018-03-20T12:07:47 | Main.java | import java.io.*;
class Main{
public static void main(String args[]){
int num;
String buf;
try{
BufferdReader br=new BufferdeReader(new InputStreamReader(System.in));
buf=br.readLine();
num=Integer.parseInt(buf);
System.out.println(num*num*num);
... | Main.java:5: error: illegal character: '\u3000'
???public static void main(String args[]){
^
Main.java:5: error: illegal character: '\u3000'
???public static void main(String args[]){
^
Main.java:5: error: illegal character: '\u3000'
???public static void main(String args[]){
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u108796149|p02388|0 | u108796149|p02388|0 | codenet | Compile Error | 375 | |
v2_s717904410 | s717904410 | s717904410 | p02388 | p02388 | u108796149 | u108796149 | 1,521,547,741 | 2018-03-20T12:09:01 | Main.java | import java.io.*;
class Main{
public static void main(String args[]){
int num;
String buf;
try{
BufferdReader br=new BufferdeReader(new InputStreamReader(System.in));
buf=br.readLine();
num=Integer.parseInt(buf);
System.out.println(num*num*num);
... | Main.java:4: error: illegal character: '\u3000'
???public static void main(String args[]){
^
Main.java:4: error: illegal character: '\u3000'
???public static void main(String args[]){
^
Main.java:4: error: illegal character: '\u3000'
???public static void main(String args[]){
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u108796149|p02388|0 | u108796149|p02388|0 | codenet | Compile Error | 360 | |
v2_s740664732 | s740664732 | s740664732 | p02388 | p02388 | u108796149 | u108796149 | 1,521,547,771 | 2018-03-20T12:09:31 | Main.java | import java.io.*;
class Main{
public static void main(String args[])
{
int num;
String buf;
try{
BufferdReader br=new BufferdeReader(new InputStreamReader(System.in));
buf=br.readLine();
num=Integer.parseInt(buf);
System.out.println(num*num*num);... | Main.java:4: error: illegal character: '\u3000'
???public static void main(String args[])
^
Main.java:4: error: illegal character: '\u3000'
???public static void main(String args[])
^
Main.java:4: error: illegal character: '\u3000'
???public static void main(String args[])
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u108796149|p02388|0 | u108796149|p02388|0 | codenet | Compile Error | 367 | |
v2_s284968742 | s284968742 | s284968742 | p02388 | p02388 | u108796149 | u108796149 | 1,521,548,983 | 2018-03-20T12:29:43 | Main.java | import java.io.*;
class Main{
public static void main(String args[]){
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String buf;
buf=br.readLine();
int x=Integer.parseInt(buf);
System.out.println(x*x*x);
}
}
| Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown
buf=br.readLine();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u108796149|p02388|0 | u108796149|p02388|0 | codenet | Compile Error | 277 | |
v2_s453790823 | s453790823 | s453790823 | p02388 | p02388 | u108796149 | u108796149 | 1,521,549,068 | 2018-03-20T12:31:08 | Main.java | import java.io.*;
class Main{
public static void main(String args[]){
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String buf;
buf=br.readLine();
try{
int x=Integer.parseInt(buf);
System.out.println(x*x*x);
}catch(Exception e){
... | Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown
buf=br.readLine();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u108796149|p02388|0 | u108796149|p02388|0 | codenet | Compile Error | 341 | |
v2_s017888728 | s017888728 | s017888728 | p02388 | p02388 | u108796149 | u108796149 | 1,521,549,537 | 2018-03-20T12:38:57 | Main.java | import java.io.*;
class Main{
public static void main(String args[]){
int x;
String buf;
BufferedReader br=new BufferedReader(new StreamReader(System.in));
try{
buf=br.readline();
x=Integer.parseInt(buf);
System.out.println(x*x*x);
}catch(IOException e){
... | Main.java:8: error: cannot find symbol
BufferedReader br=new BufferedReader(new StreamReader(System.in));
^
symbol: class StreamReader
location: class Main
Main.java:11: error: cannot find symbol
buf=br.readline();
^
symbol: method rea... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u108796149|p02388|0 | u108796149|p02388|0 | codenet | Compile Error | 380 | |
v2_s186564107 | s186564107 | s186564107 | p02388 | p02388 | u108796149 | u108796149 | 1,521,549,587 | 2018-03-20T12:39:47 | Main.java | import java.io.*;
class Main{
public static void main(String args[]){
int x;
String buf;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
try{
buf=br.readline();
x=Integer.parseInt(buf);
System.out.println(x*x*x);
}catch(IOException e){
... | Main.java:11: error: cannot find symbol
buf=br.readline();
^
symbol: method readline()
location: variable br of type BufferedReader
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u108796149|p02388|0 | u108796149|p02388|0 | codenet | Compile Error | 385 | |
v2_s220399348 | s220399348 | s220399348 | p02388 | p02388 | u108796149 | u108796149 | 1,521,549,965 | 2018-03-20T12:46:05 | Main.java | import java.io.*;
class Main{
public static void main(String args[]){
int x;
String buf;
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
try{
buf=br.readLine();
x=Integer.parseInt(buf);
System.out.println(x*x*x);
... | Main.java:8: error: cannot find symbol
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
^
symbol: class BufferdReader
location: class Main
Main.java:8: error: cannot find symbol
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u108796149|p02388|0 | u108796149|p02388|0 | codenet | Compile Error | 428 | |
v2_s553042738 | s553042738 | s553042738 | p02388 | p02388 | u108796149 | u108796149 | 1,521,550,007 | 2018-03-20T12:46:47 | Main.java | import java.io.*;
class Main{
public static void main(String args[]){
int x;
String buf;
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
try{
buf=br.readLine();
x=Integer.parseInt(buf);
System.out.println(x*x*x);
... | Main.java:8: error: cannot find symbol
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
^
symbol: class BufferdReader
location: class Main
Main.java:8: error: cannot find symbol
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u108796149|p02388|0 | u108796149|p02388|0 | codenet | Compile Error | 428 | |
v2_s106732180 | s106732180 | s106732180 | p02388 | p02388 | u108796149 | u108796149 | 1,521,550,091 | 2018-03-20T12:48:11 | Main.java | import java.io.*;
class Main{
public static void main(String args[]){
int x;
String buf;
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
try{
buf=br.readLine();
x=Integer.parseInt(buf);
System.out.println(x*x*x)... | Main.java:8: error: cannot find symbol
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
^
symbol: class BufferdReader
location: class Main
Main.java:8: error: cannot find symbol
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u108796149|p02388|0 | u108796149|p02388|0 | codenet | Compile Error | 439 | |
v2_s687081994 | s687081994 | s687081994 | p02388 | p02388 | u108796149 | u108796149 | 1,521,550,169 | 2018-03-20T12:49:29 | Main.java | import java.io.*;
class Main{
public static void main(String args[]){
int x;
String buf;
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
try{
buf=br.readLine();
x=Integer.parseInt(buf);
System.out.println(x*x*x)... | Main.java:8: error: cannot find symbol
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
^
symbol: class BufferdReader
location: class Main
Main.java:8: error: cannot find symbol
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u108796149|p02388|0 | u108796149|p02388|0 | codenet | Compile Error | 440 | |
v2_s479341270 | s479341270 | s479341270 | p02388 | p02388 | u108796149 | u108796149 | 1,521,550,220 | 2018-03-20T12:50:20 | Main.java | import java.IO.*;
class Main{
public static void main(String args[]){
int x;
String buf;
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
try{
buf=br.readLine();
x=Integer.parseInt(buf);
System.out.println(x*x*x)... | Main.java:1: error: package java.IO does not exist
import java.IO.*;
^
Main.java:8: error: cannot find symbol
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
^
symbol: class BufferdReader
location: class Main
Main.java:8: error: cannot find symbol
Buf... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u108796149|p02388|0 | u108796149|p02388|0 | codenet | Compile Error | 440 | |
v2_s872771335 | s872771335 | s872771335 | p02388 | p02388 | u108796149 | u108796149 | 1,521,550,236 | 2018-03-20T12:50:36 | Main.java | import java.Io.*;
class Main{
public static void main(String args[]){
int x;
String buf;
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
try{
buf=br.readLine();
x=Integer.parseInt(buf);
System.out.println(x*x*x)... | Main.java:1: error: package java.Io does not exist
import java.Io.*;
^
Main.java:8: error: cannot find symbol
BufferdReader br=new BufferdReader(new InputStreamReader(System.in));
^
symbol: class BufferdReader
location: class Main
Main.java:8: error: cannot find symbol
Buf... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u108796149|p02388|0 | u108796149|p02388|0 | codenet | Compile Error | 440 | |
v2_s412256631 | s412256631 | s412256631 | p02388 | p02388 | u109818173 | u109818173 | 1,398,209,238 | 2014-04-22T23:27:18 | Main.java | class Main{
public static void main(String[] args){
int x;
x = args[0];
System.out.println("入力した値の3乗は"+x*x*x+"です");
}
} | Main.java:4: error: incompatible types: String cannot be converted to int
x = args[0];
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u109818173|p02388|0 | u109818173|p02388|0 | codenet | Compile Error | 149 | |
v2_s396285825 | s396285825 | s396285825 | p02388 | p02388 | u111312636 | u111312636 | 1,480,344,955 | 2016-11-28T14:55:55 | Main.java | public class Main {
public static void main(String[] args) throws Exception {
// Here your code !
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
int num = Integer.parseInt(line);
int sum;
sum = num * num... | Main.java:4: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
^
symbol: class BufferedReader
location: class Main
Main.java:4: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u111312636|p02388|0 | u111312636|p02388|0 | codenet | Compile Error | 377 | |
v2_s468777044 | s468777044 | s468777044 | p02388 | p02388 | u118723993 | u118723993 | 1,464,065,123 | 2016-05-24T04:45:23 | Main.java | public class Main{
public static void main(String args[]){
int a = 2
int x = 3
System.out.println(a * x);
}
} | Main.java:3: error: ';' expected
int a = 2
^
Main.java:4: error: ';' expected
int x = 3
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u118723993|p02388|0 | u118723993|p02388|0 | codenet | Compile Error | 141 | |
v2_s561815402 | s561815402 | s561815402 | p02388 | p02388 | u118723993 | u118723993 | 1,464,065,714 | 2016-05-24T04:55:14 | Main.java | public class Main{
public static void main(String[] args){
int = 3;
int = x;
System.out.println(3 * x);
}
} | Main.java:3: error: not a statement
int = 3;
^
Main.java:3: error: ';' expected
int = 3;
^
Main.java:4: error: not a statement
int = x;
^
Main.java:4: error: ';' expected
int = x;
^
Main.java:4: error: not a statement
int = x;
^
5 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u118723993|p02388|0 | u118723993|p02388|0 | codenet | Compile Error | 127 | |
v2_s144567574 | s144567574 | s144567574 | p02388 | p02388 | u118723993 | u118723993 | 1,464,066,128 | 2016-05-24T05:02:08 | Main.java | public class Main{
public static void main(String args[]){
int a = 3;
int x = 7;
int num =Math.pow(a, x);
System.out.println(Math.pow);
}
} | Main.java:6: error: incompatible types: possible lossy conversion from double to int
int num =Math.pow(a, x);
^
Main.java:7: error: cannot find symbol
System.out.println(Math.pow);
^
symbol: variable pow
location: class Math
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u118723993|p02388|0 | u118723993|p02388|0 | codenet | Compile Error | 166 | |
v2_s995335766 | s995335766 | s995335766 | p02388 | p02388 | u118723993 | u118723993 | 1,464,066,607 | 2016-05-24T05:10:07 | Main.java | public class Main{
public static void main(String args[]){
int a = 3;
int x = 7;
int num =Math.pow(a, x);
System.out.println(Math.pow(a, x));
}
} | Main.java:6: error: incompatible types: possible lossy conversion from double to int
int num =Math.pow(a, x);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u118723993|p02388|0 | u118723993|p02388|0 | codenet | Compile Error | 172 | |
v2_s221847782 | s221847782 | s221847782 | p02388 | p02388 | u118723993 | u118723993 | 1,464,066,935 | 2016-05-24T05:15:35 | Main.java | public class Main{
public static void main(String args[]){
int a = 3;
int x = 7;
int num =Math.pow(a, x);
System.out.println((int)Math.pow(a, x));
}
} | Main.java:6: error: incompatible types: possible lossy conversion from double to int
int num =Math.pow(a, x);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u118723993|p02388|0 | u118723993|p02388|0 | codenet | Compile Error | 177 | |
v2_s314010733 | s314010733 | s314010733 | p02388 | p02388 | u118723993 | u118723993 | 1,464,066,968 | 2016-05-24T05:16:08 | Main.java | public class Main{
public static void main(String args[]){
double a = 3;
double x = 7;
int num =Math.pow(a, x);
System.out.println((int)Math.pow(a, x));
}
} | Main.java:6: error: incompatible types: possible lossy conversion from double to int
int num =Math.pow(a, x);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u118723993|p02388|0 | u118723993|p02388|0 | codenet | Compile Error | 183 | |
v2_s449329258 | s449329258 | s449329258 | p02388 | p02388 | u119780928 | u119780928 | 1,483,593,153 | 2017-01-05T05:12:33 | Main.java | import java.io.*;
class Main
{
public static void main(String[] args)throws IOException
{
BufferedReader br=
new BufferedReader(new InputStreamReader(System.in));
String str1=br.readLine();
int x=Integer.parseInt(str);
System.out.println(x*x*x);
}
} | Main.java:10: error: cannot find symbol
int x=Integer.parseInt(str);
^
symbol: variable str
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u119780928|p02388|0 | u119780928|p02388|0 | codenet | Compile Error | 261 | |
v2_s169542608 | s169542608 | s169542608 | p02388 | p02388 | u119930104 | u119930104 | 1,478,936,487 | 2016-11-12T07:41:27 | Main.java | public class Main{
public static void main(String[] args) {
int x = (new Scanner(System.in)).nextInt();
System.out.println(x*x*x);
}
} | Main.java:3: error: cannot find symbol
int x = (new Scanner(System.in)).nextInt();
^
symbol: class Scanner
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u119930104|p02388|0 | u119930104|p02388|0 | codenet | Compile Error | 141 | |
v2_s361632346 | s361632346 | s361632346 | p02388 | p02388 | u122134364 | u122134364 | 1,461,724,013 | 2016-04-27T02:26:53 | Main.java | import java.util.Scanner;
class Main{
public static void main(String [] args){
Scanner x = new Scanner(System.in);
System.out.println(x*x*x);
}
} | Main.java:5: error: bad operand types for binary operator '*'
System.out.println(x*x*x);
^
first type: Scanner
second type: Scanner
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u122134364|p02388|0 | u122134364|p02388|0 | codenet | Compile Error | 152 | |
v2_s593703079 | s593703079 | s593703079 | p02388 | p02388 | u122134364 | u122134364 | 1,461,724,300 | 2016-04-27T02:31:40 | Main.java | import java.util.Scanner;
class Main{
public static void main(String [] args){
Scanner x = new Scanner(System.in);
System.out.println((x*x)*x);
}
} | Main.java:5: error: bad operand types for binary operator '*'
System.out.println((x*x)*x);
^
first type: Scanner
second type: Scanner
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u122134364|p02388|0 | u122134364|p02388|0 | codenet | Compile Error | 154 | |
v2_s739849060 | s739849060 | s739849060 | p02388 | p02388 | u126202702 | u126202702 | 1,455,546,762 | 2016-02-15T14:32:42 | Main.java | class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
int x = Integer.parseInt(line[0]);
}
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
Main.java:5: erro... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u126202702|p02388|0 | u126202702|p02388|0 | codenet | Compile Error | 229 | |
v2_s392826975 | s392826975 | s392826975 | p02388 | p02388 | u126202702 | u126202702 | 1,455,546,866 | 2016-02-15T14:34:26 | Main.java | class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
String[] line = sc.nextLine().split(" ");
int x = Integer.parseInt(line[0]);
}
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
Main.java:8: erro... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u126202702|p02388|0 | u126202702|p02388|0 | codenet | Compile Error | 283 | |
v2_s005832213 | s005832213 | s005832213 | p02388 | p02388 | u127232286 | u127232286 | 1,448,980,416 | 2015-12-01T14:33:36 | Main.java | import java.util.Scanner;
class Main{
public static void main(String args[] {
Scanner stdIn = new Scanner(System.in);
int n = stdIn.nextInt();
System.out.println(pow(n,3));
}
} | Main.java:4: error: ',', ')', or '[' expected
public static void main(String args[] {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u127232286|p02388|0 | u127232286|p02388|0 | codenet | Compile Error | 201 | |
v2_s131059600 | s131059600 | s131059600 | p02388 | p02388 | u127232286 | u127232286 | 1,448,980,460 | 2015-12-01T14:34:20 | Main.java | import java.util.Scanner;
class Main{
public static void main(String args[]) {
Scanner stdIn = new Scanner(System.in);
int n = stdIn.nextInt();
System.out.println(pow(n,3));
}
} | Main.java:7: error: cannot find symbol
System.out.println(pow(n,3));
^
symbol: method pow(int,int)
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u127232286|p02388|0 | u127232286|p02388|0 | codenet | Compile Error | 202 | |
v2_s372205718 | s372205718 | s372205718 | p02388 | p02388 | u127232286 | u127232286 | 1,448,980,486 | 2015-12-01T14:34:46 | Main.java | import java.util.Scanner;
class Main{
public static void main(String args[]) {
Scanner stdIn = new Scanner(System.in);
int n = stdIn.nextInt();
System.out.println(pow(n,3));
}
} | Main.java:7: error: cannot find symbol
System.out.println(pow(n,3));
^
symbol: method pow(int,int)
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u127232286|p02388|0 | u127232286|p02388|0 | codenet | Compile Error | 202 | |
v2_s214662198 | s214662198 | s214662198 | p02388 | p02388 | u127232286 | u127232286 | 1,448,980,937 | 2015-12-01T14:42:17 | Main.java | import java.util.Scanner;
import java.lang.Math;
class Main{
public static void main(String args[]) {
Scanner stdIn = new Scanner(System.in);
int n = stdIn.nextInt();
System.out.println(pow(n,3));
}
} | Main.java:8: error: cannot find symbol
System.out.println(pow(n,3));
^
symbol: method pow(int,int)
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u127232286|p02388|0 | u127232286|p02388|0 | codenet | Compile Error | 225 | |
v2_s053277070 | s053277070 | s053277070 | p02388 | p02388 | u129719663 | u129719663 | 1,525,951,638 | 2018-05-10T11:27:18 | Main.java | public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner (System.in);
int x = scan.nextInt();
System.out.println(x * x * x);
}
}
| Main.java: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 | u129719663|p02388|0 | u129719663|p02388|0 | codenet | Compile Error | 188 | |
v2_s147608233 | s147608233 | s147608233 | p02388 | p02388 | u129719663 | u129719663 | 1,525,951,700 | 2018-05-10T11:28:20 | Main.java |
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner (System.in);
int x = scan.nextInt();
System.out.println(x * x * x);
}
}
| Main.java:4: error: cannot find symbol
Scanner scan = new Scanner (System.in);
^
symbol: class Scanner
location: class Main
Main.java:4: 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 | u129719663|p02388|0 | u129719663|p02388|0 | codenet | Compile Error | 190 | |
v2_s795186861 | s795186861 | s795186861 | p02388 | p02388 | u129719663 | u129719663 | 1,525,951,791 | 2018-05-10T11:29:51 | Main.java |
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner (System.in);
int x = scan.nextInt();
System.out.println(x * x * x);
}
}
| Main.java:4: error: cannot find symbol
Scanner scan = new Scanner (System.in);
^
symbol: class Scanner
location: class Main
Main.java:4: 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 | u129719663|p02388|0 | u129719663|p02388|0 | codenet | Compile Error | 190 | |
v2_s604911977 | s604911977 | s604911977 | p02388 | p02388 | u131119602 | u131119602 | 1,507,753,467 | 2017-10-11T20:24:27 | Main.java | System.out.println(Math.pow((double)x, 3d)); | Main.java:1: error: class, interface, enum, or record expected
System.out.println(Math.pow((double)x, 3d));
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u131119602|p02388|0 | u131119602|p02388|0 | codenet | Compile Error | 44 | |
v2_s921978827 | s921978827 | s921978827 | p02388 | p02388 | u131119602 | u131119602 | 1,507,754,484 | 2017-10-11T20:41:24 | Main.java | public static void main(String[] args) {
int x;
System.out.println(Math.pow((double) x, 3d));
} | 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 | u131119602|p02388|0 | u131119602|p02388|0 | codenet | Compile Error | 119 | |
v2_s754098545 | s754098545 | s754098545 | p02388 | p02388 | u131119602 | u131119602 | 1,507,754,565 | 2017-10-11T20:42:45 | Main.java | public class Main {
public static void main(String[] args) {
int x;
System.out.println(Math.pow((double) x, 3d));
}
} | Main.java:5: error: variable x might not have been initialized
System.out.println(Math.pow((double) x, 3d));
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u131119602|p02388|0 | u131119602|p02388|0 | codenet | Compile Error | 142 | |
v2_s712175344 | s712175344 | s712175344 | p02388 | p02388 | u131119602 | u131119602 | 1,507,754,936 | 2017-10-11T20:48:56 | Main.java | public class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
int x = 0;
try {
x = Integer.parseInt(in.readLine());
} catch(Exception e) {
e.printStackTrace();
... | 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 in = new BufferedReader(new InputStreamReader(Syst... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u131119602|p02388|0 | u131119602|p02388|0 | codenet | Compile Error | 393 | |
v2_s784712850 | s784712850 | s784712850 | p02388 | p02388 | u131691870 | u131691870 | 1,487,737,981 | 2017-02-22T04:33:01 | Main.java | import java.util.Scanner;
class ITP1_1B{
public static void main(String arg[]){
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
System.out.println(x*x*x);
return 0;
}
} | Main.java:11: error: incompatible types: unexpected return value
return 0;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u131691870|p02388|0 | u131691870|p02388|0 | codenet | Compile Error | 203 | |
v2_s013204203 | s013204203 | s013204203 | p02388 | p02388 | u135240742 | u135240742 | 1,431,631,140 | 2015-05-14T19:19:00 | Main.java | /*Cubic.java
*/
import java.io.*;
public class Main
{
public static void main(String[] args) throws IOException
{
String s;
int a;
int b;
BufferedReader buf = new BufferedReader (new InputStreamReader(System.in));
s=buf.readLine();
a=Integer.parseInt(s);
b=a*a*a;
System.out.println(b);
} | Main.java:18: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u135240742|p02388|0 | u135240742|p02388|0 | codenet | Compile Error | 311 | |
v2_s990687604 | s990687604 | s990687604 | p02388 | p02388 | u135762515 | u135762515 | 1,490,062,249 | 2017-03-21T02:10:49 | Main.java | class Main{
public static void main(string[] args){
int x;
}
} | Main.java:2: 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 | u135762515|p02388|0 | u135762515|p02388|0 | codenet | Compile Error | 78 | |
v2_s434718008 | s434718008 | s434718008 | p02388 | p02388 | u136295375 | u136295375 | 1,525,679,738 | 2018-05-07T07:55:38 | Main.java | import java.io.*;
class Main {
public static void main(String[] args) throws IOException{
BufferedReader reader
= new BufferedReader(new InputStreamReader(System.in));
int x=reader.readLine();
Ststem.out.println(x*x*x);
}
}
| Main.java:8: error: incompatible types: String cannot be converted to int
int x=reader.readLine();
^
Main.java:9: error: package Ststem does not exist
Ststem.out.println(x*x*x);
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u136295375|p02388|0 | u136295375|p02388|0 | codenet | Compile Error | 226 | |
v2_s627244404 | s627244404 | s627244404 | p02388 | p02388 | u136295375 | u136295375 | 1,525,679,787 | 2018-05-07T07:56:27 | Main.java | import java.io.*;
class Main {
public static void main(String[] args) throws IOException{
BufferedReader reader
= new BufferedReader(new InputStreamReader(System.in));
int x=reader.readLine();
System.out.println(x*x*x);
}
}
| Main.java:8: error: incompatible types: String cannot be converted to int
int x=reader.readLine();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u136295375|p02388|0 | u136295375|p02388|0 | codenet | Compile Error | 226 | |
v2_s643708938 | s643708938 | s643708938 | p02388 | p02388 | u136295375 | u136295375 | 1,525,679,795 | 2018-05-07T07:56:35 | Main.java | import java.io.*;
class Main {
public static void main(String[] args) throws IOException{
BufferedReader reader
= new BufferedReader(new InputStreamReader(System.in));
int x=reader.readLine();
System.out.println(x*x*x);
}
}
| Main.java:8: error: incompatible types: String cannot be converted to int
int x=reader.readLine();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u136295375|p02388|0 | u136295375|p02388|0 | codenet | Compile Error | 226 | |
v2_s853185060 | s853185060 | s853185060 | p02388 | p02388 | u136295375 | u136295375 | 1,525,679,972 | 2018-05-07T07:59:32 | Main.java | import java.io.*;
class Main {
public static void main(String[] args) throws IOException{
BufferedReader reader
= new BufferedReader(new InputStreamReader(System.in));
String x=reader.readLine();
System.out.println(x*x*x);
}
}
| Main.java:9: error: bad operand types for binary operator '*'
System.out.println(x*x*x);
^
first type: String
second type: String
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u136295375|p02388|0 | u136295375|p02388|0 | codenet | Compile Error | 229 | |
v2_s811480528 | s811480528 | s811480528 | p02388 | p02388 | u138233443 | u138233443 | 1,540,183,633 | 2018-10-22T04:47:13 | Main.java | public class Main{
public static void main(string [] args){
int x;
x = System.in.read();
System.out.println(x*x*x);
}
}
| Main.java:2: 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 | u138233443|p02388|0 | u138233443|p02388|0 | codenet | Compile Error | 147 | |
v2_s780051099 | s780051099 | s780051099 | p02388 | p02388 | u138233443 | u138233443 | 1,540,183,686 | 2018-10-22T04:48:06 | Main.java | public class Main{
public static void main(string [] args){
int x;
x = System.in.read();
System.out.println(x*x*x);
}
}
| Main.java:2: 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 | u138233443|p02388|0 | u138233443|p02388|0 | codenet | Compile Error | 147 | |
v2_s986509628 | s986509628 | s986509628 | p02388 | p02388 | u138233443 | u138233443 | 1,540,183,763 | 2018-10-22T04:49:23 | Main.java | public 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 | u138233443|p02388|0 | u138233443|p02388|0 | codenet | Compile Error | 147 | |
v2_s799141168 | s799141168 | s799141168 | p02388 | p02388 | u138233443 | u138233443 | 1,540,184,194 | 2018-10-22T04:56:34 | 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();
System.out.println(x*x*x);
sc.close;
}
}
| Main.java:9: error: not a statement
sc.close;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u138233443|p02388|0 | u138233443|p02388|0 | codenet | Compile Error | 222 | |
v2_s002016845 | s002016845 | s002016845 | p02388 | p02388 | u139687801 | u139687801 | 1,504,987,012 | 2017-09-09T19:56:52 | Main.java | import java.util.scanner;
public class Main{
public static void main(String[] args){
int buffernum = GetInt();
if(buffernum > 100){
System.out.println(buffernum*buffernum*buffernum);
}
}
int GetInt(){
Scanner sc = new Scanner(System.in);
int getnum = s... | Main.java:1: error: cannot find symbol
import java.util.scanner;
^
symbol: class scanner
location: package java.util
Main.java:4: error: non-static method GetInt() cannot be referenced from a static context
int buffernum = GetInt();
^
Main.java:10: error: cannot fin... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u139687801|p02388|0 | u139687801|p02388|0 | codenet | Compile Error | 363 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.