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_s186587162
s186587162
s186587162
p00036
p00036
u684306364
u684306364
1,379,665,535
2013-09-20T08:25:35
Main.java
import java.util.*; class Main { public static void main (String[] args) { Scanner scanner = new Scanner(System.in); String out = ""; int[][] board = new int[20][20]; int[] hp = new int[8]; int[] vp = new int[8]; int row = 4; int twoCnt = 0; while (scanner.hasNext()) { String li...
Main.java:136: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u684306364|p00036|0
u684306364|p00036|0
codenet
Compile Error
3,504
v2_s486167894
s486167894
s486167894
p00036
p00036
u910402677
u910402677
1,482,287,330
2016-12-21T02:28:50
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ while(scan.hasNext()){ int[][] mas = new int[8][8]; for(int i = 0; i < 8; i++){ for(int j = 0; j < 8; j++){ mas[i][j] = scan.nextInt(); } } String ty...
Main.java:56: error: illegal start of expression && mas[i+2][[j+1] == 1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00036|0
u910402677|p00036|0
codenet
Compile Error
1,666
v2_s179540924
s179540924
s179540924
p00036
p00036
u910402677
u910402677
1,482,287,429
2016-12-21T02:30:29
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ while(scan.hasNext()){ int[][] mas = new int[8][8]; for(int i = 0; i < 8; i++){ for(int j = 0; j < 8; j++){ mas[i][j] = scan.nextInt(); } } String ty...
Main.java:50: error: illegal start of expression if(mas[i+1][j] == 1 && mas[i+1][j+1] == 1 && mas[i+2][[j+1] == 1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00036|0
u910402677|p00036|0
codenet
Compile Error
1,610
v2_s992595575
s992595575
s992595575
p00036
p00036
u910402677
u910402677
1,482,287,553
2016-12-21T02:32:33
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ while(scan.hasNext()){ int[][] mas = new int[8][8]; for(int i = 0; i < 8; i++){ for(int j = 0; j < 8; j++){ mas[i][j] = scan.nextInt(); } } String ty...
Main.java:50: error: illegal start of expression if(mas[i+1][j] == 1 && mas[i+1][j+1] == 1 && mas[i+2][[j+1] == 1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00036|0
u910402677|p00036|0
codenet
Compile Error
1,610
v2_s924891695
s924891695
s924891695
p00036
p00036
u910402677
u910402677
1,482,357,247
2016-12-21T21:54:07
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); static String A = "1100000011"; static String B = "10000000100000001"; static String C = "1111"; static String D = "1000000110000001"; static String E = "11000000011"; static String F = "100000001100000001"; stat...
Main.java:27: error: not a statement Loop;for(int i = 0; i < 8 * 8; i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00036|2
u910402677|p00036|1
codenet
Compile Error
998
v2_s299560951
s299560951
s299560951
p00036
p00036
u972901560
u972901560
1,441,370,658
2015-09-04T12:44:18
Main.java
import java.io.*; import java.util.*; import java.lang.Math.*; public class Main{ public static void main(String[] args)throws IOException{ try{ InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br=new BufferedReader(isr); String line; int[][] f=new int[8][8]; ...
Main.java:33: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u972901560|p00036|0
u972901560|p00036|0
codenet
Compile Error
700
v2_s044498683
s044498683
s044498683
p00037
p00037
u077582668
u077582668
1,412,667,199
2014-10-07T07:33:19
Main.java
import static color.ImageUtility.*; import java.awt.image.BufferedImage; import java.io.*; import java.util.ArrayList; import javax.imageio.ImageIO; public class Main { static int horW[]=new int[20],verW[]=new int[20]; public static void main(String[] args) { try{ BufferedReader br = new ...
Main.java:1: error: package color does not exist import static color.ImageUtility.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u077582668|p00037|0
u077582668|p00037|0
codenet
Compile Error
2,121
v2_s804575070
s804575070
s804575070
p00037
p00037
u211138527
u211138527
1,436,438,697
2015-07-09T10:44:57
Main.java
import java.io.*; import java.awt.*; import jav.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[40]; //n?????????????????????????¨????(?????????n=0?????¨??????"") static int[][] times=new int[5][5]; //????????????x,y????????£??????????¨????(?????????0,0???0??¨??????) public static...
Main.java:24: error: illegal start of expression static String turnLeft(String dir){ ^ Main.java:52: error: <identifier> expected static void gotoDirection(String dir,int x,inty){ ^ Main.java:82: error: ']' expected if(y+1<=4&&char[2*x][y]=='1'){ ^ Main.jav...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
2,509
v2_s475619615
s475619615
s475619615
p00037
p00037
u211138527
u211138527
1,436,439,090
2015-07-09T10:51:30
Main.java
import java.io.*; import java.awt.*; import jav.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[40]; //n?????????????????????????¨????(?????????n=0?????¨??????"") static int[][] times=new int[5][5]; //????????????x,y????????£??????????¨????(?????????0,0???0??¨??????) public static...
Main.java:53: error: <identifier> expected static void gotoDirection(String dir,int x,inty){ ^ Main.java:83: error: ']' expected if(y+1<=4&&char[2*x][y]=='1'){ ^ Main.java:83: error: not a statement if(y+1<=4&&char[2*x][y]=='1'){ ^ Main.jav...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
2,514
v2_s490727940
s490727940
s490727940
p00037
p00037
u211138527
u211138527
1,436,439,168
2015-07-09T10:52:48
Main.java
import java.io.*; import java.awt.*; import jav.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[40]; //n?????????????????????????¨????(?????????n=0?????¨??????"") static int[][] times=new int[5][5]; //????????????x,y????????£??????????¨????(?????????0,0???0??¨??????) public static...
Main.java:53: error: <identifier> expected static void gotoDirection(String dir,int x,inty){ ^ Main.java:114: error: illegal start of expression static void gotoPath(int x,int y){ ^ Main.java:127: error: not a statement returm; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
2,513
v2_s298868073
s298868073
s298868073
p00037
p00037
u211138527
u211138527
1,436,439,305
2015-07-09T10:55:05
Main.java
import java.io.*; import java.awt.*; import jav.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[40]; //n?????????????????????????¨????(?????????n=0?????¨??????"") static int[][] times=new int[5][5]; //????????????x,y????????£??????????¨????(?????????0,0???0??¨??????) public static...
Main.java:53: error: <identifier> expected static void gotoDirection(String dir,int x,inty){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
2,515
v2_s881958192
s881958192
s881958192
p00037
p00037
u211138527
u211138527
1,436,439,357
2015-07-09T10:55:57
Main.java
import java.io.*; import java.awt.*; import jav.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[40]; //n?????????????????????????¨????(?????????n=0?????¨??????"") static int[][] times=new int[5][5]; //????????????x,y????????£??????????¨????(?????????0,0???0??¨??????) public static...
Main.java:3: error: package jav.util does not exist import jav.util.*; ^ Main.java:15: error: cannot find symbol line=br.readLine; ^ symbol: variable readLine location: variable br of type BufferedReader Main.java:32: error: incompatible types: String cannot be converted to boolean if(dir="L"){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
2,516
v2_s591262950
s591262950
s591262950
p00037
p00037
u211138527
u211138527
1,436,439,472
2015-07-09T10:57:52
Main.java
import java.io.*; import java.awt.*; import java.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[40]; //n?????????????????????????¨????(?????????n=0?????¨??????"") static int[][] times=new int[5][5]; //????????????x,y????????£??????????¨????(?????????0,0???0??¨??????) public stati...
Main.java:15: error: cannot find symbol line=br.readLine; ^ symbol: variable readLine location: variable br of type BufferedReader Main.java:32: error: incompatible types: String cannot be converted to boolean if(dir="L"){ ^ Main.java:46: error: incompatible types: String cannot be converted to boole...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
2,517
v2_s063658301
s063658301
s063658301
p00037
p00037
u211138527
u211138527
1,436,439,541
2015-07-09T10:59:01
Main.java
import java.io.*; import java.awt.*; import java.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[40]; //n?????????????????????????¨????(?????????n=0?????¨??????"") static int[][] times=new int[5][5]; //????????????x,y????????£??????????¨????(?????????0,0???0??¨??????) public stati...
Main.java:46: error: incompatible types: String cannot be converted to boolean if(dir="L"){ ^ Main.java:60: error: incompatible types: String cannot be converted to boolean if(dir="L"){ ^ Main.java:74: error: incompatible types: String cannot be converted to boolean if(dir="L"){ ^ Main.java:98: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
2,520
v2_s997811715
s997811715
s997811715
p00037
p00037
u211138527
u211138527
1,436,439,598
2015-07-09T10:59:58
Main.java
import java.io.*; import java.awt.*; import java.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[40]; //n?????????????????????????¨????(?????????n=0?????¨??????"") static int[][] times=new int[5][5]; //????????????x,y????????£??????????¨????(?????????0,0???0??¨??????) public stati...
Main.java:46: error: incompatible types: String cannot be converted to boolean if(dir="L"){ ^ Main.java:60: error: incompatible types: String cannot be converted to boolean if(dir="L"){ ^ Main.java:122: error: cannot find symbol d.offerLast(p); ^ symbol: variable d location: class Main Main.java:123: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
2,522
v2_s059634305
s059634305
s059634305
p00037
p00037
u211138527
u211138527
1,436,439,669
2015-07-09T11:01:09
Main.java
import java.io.*; import java.awt.*; import java.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[40]; //n?????????????????????????¨????(?????????n=0?????¨??????"") static int[][] times=new int[5][5]; //????????????x,y????????£??????????¨????(?????????0,0???0??¨??????) public stati...
Main.java:122: error: cannot find symbol d.offerLast(p); ^ symbol: variable d location: class Main Main.java:123: error: cannot find symbol while(que.peekFirst!=null){ ^ symbol: variable peekFirst location: variable que of type Deque<Point> 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
2,524
v2_s824112248
s824112248
s824112248
p00037
p00037
u211138527
u211138527
1,436,443,135
2015-07-09T11:58:55
Main.java
import java.io.*; import java.awt.*; import java.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[25]; static int[][] times=new int[5][5]; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line...
Main.java:23: error: not a statement times[i][j]~0; ^ Main.java:23: error: ';' expected times[i][j]~0; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
2,476
v2_s240949270
s240949270
s240949270
p00037
p00037
u211138527
u211138527
1,436,443,487
2015-07-09T12:04:47
Main.java
import java.io.*; import java.awt.*; import java.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[25]; static int[][] times=new int[5][5]; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line...
Main.java:126: error: ')' expected if((px==0py==0){ ^ Main.java:126: error: not a statement if((px==0py==0){ ^ Main.java:126: error: ';' expected if((px==0py==0){ ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
2,414
v2_s113528152
s113528152
s113528152
p00037
p00037
u211138527
u211138527
1,436,443,515
2015-07-09T12:05:15
Main.java
import java.io.*; import java.awt.*; import java.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[25]; static int[][] times=new int[5][5]; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line...
Main.java:126: error: ')' expected if((px==0&&py==0){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
2,416
v2_s995141630
s995141630
s995141630
p00037
p00037
u211138527
u211138527
1,436,446,496
2015-07-09T12:54:56
Main.java
import java.io.*; import java.awt.*; import java.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[25]; static int[][] times=new int[5][5]; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line...
Main.java:162: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
2,275
v2_s254825934
s254825934
s254825934
p00037
p00037
u211138527
u211138527
1,436,447,948
2015-07-09T13:19:08
Main.java
import java.io.*; import java.awt.*; import java.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[25]; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; for(int i=0;i<9;i++){ line=br.read...
Main.java:120: error: variable dir is already defined in method gotoPath(int,int,String) String dir=this.dir; ^ Main.java:120: error: non-static variable this cannot be referenced from a static context String dir=this.dir; ^ Main.java:120: error: cannot find symbol String dir=this.dir; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
2,072
v2_s514725082
s514725082
s514725082
p00037
p00037
u211138527
u211138527
1,436,448,122
2015-07-09T13:22:02
Main.java
import java.io.*; import java.awt.*; import java.util.*; class Main{ static char[][] map=new char[9][5]; static String[] dp=new String[25]; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; for(int i=0;i<9;i++){ line=br.read...
Main.java:128: error: cannot find symbol else if(cangoNext(dir,px,py)){ ^ symbol: variable px location: class Main Main.java:128: error: cannot find symbol else if(cangoNext(dir,px,py)){ ^ symbol: variable py location: class Main Main.java:129: error: cannot fi...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
1,977
v2_s165779495
s165779495
s165779495
p00037
p00037
u211138527
u211138527
1,436,449,509
2015-07-09T13:45:09
Main.java
import java.io.*; import java.awt.*; import java.util.*; class Main{ static char[][] map=new char[9][5]; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; for(int i=0;i<9;i++){ line=br.readLine(); for(int j=0;j<4;j++){ map[i...
Main.java:118: error: variable di is already defined in method gotoPath(int,int,String) String di=dirr; ^ Main.java:122: error: variable di is already defined in method gotoPath(int,int,String) String di=dirb; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00037|0
u211138527|p00037|0
codenet
Compile Error
1,773
v2_s460222818
s460222818
s460222818
p00037
p00037
u377778881
u377778881
1,459,312,687
2016-03-30T04:38:07
Main.java
import java.util.Scanner; import java.util.Arrays; public class Main { static int[][] grid; static int MAX_HEIGHT = 9; static int MAX_WIDTH = 9; public static void main (String[] args) { Scanner scan = new Scanner(System.in); grid = new int[MAX_HEIGHT][MAX_WIDTH]; String line; int width, n, pos; fo...
Main.java:69: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u377778881|p00037|0
u377778881|p00037|0
codenet
Compile Error
1,893
v2_s767840539
s767840539
s767840539
p00037
p00037
u399118522
u399118522
1,339,853,611
2012-06-16T13:33:31
Main.java
public class Main { enum Vec { R, U, L, D; Vec next() { return (this == R) ? D : (this == D) ? L : (this == L) ? U : R; } } public static void main(String[] args) { Scanner in = new Scanner(System.in); boolean isKisu = true; List<boolean[]> gusu = new ArrayList<boolean[]>(); List<boolean[]> kisu = ne...
Main.java:14: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:14: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:16: error: cannot find symbol Li...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p00037|0
u399118522|p00037|0
codenet
Compile Error
1,896
v2_s705090232
s705090232
s705090232
p00037
p00037
u399118522
u399118522
1,339,853,612
2012-06-16T13:33:32
Main.java
public class Main { enum Vec { R, U, L, D; Vec next() { return (this == R) ? D : (this == D) ? L : (this == L) ? U : R; } } public static void main(String[] args) { Scanner in = new Scanner(System.in); boolean isKisu = true; List<boolean[]> gusu = new ArrayList<boolean[]>(); List<boolean[]> kisu = ne...
Main.java:14: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:14: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:16: error: cannot find symbol Li...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p00037|0
u399118522|p00037|0
codenet
Compile Error
1,896
v2_s156836840
s156836840
s156836840
p00037
p00037
u435518193
u435518193
1,364,549,408
2013-03-29T09:30:08
Main.java
import java.util.*; public class Main { int[][] mapA = new int[5][4]; int[][] mapB = new int[4][5]; int x, y, d; boolean flag; void U(){ if(flag==true && y>0 && mapB[y-1][x]==1){ d=0; y--; flag = false; System.out.print("U"); } } void R(){ if(flag==true && x<4 && mapA[y][x]==1){ d=1; ...
Main.java:94: error: cannot find symbol new AOJ_0037().solve(); ^ symbol: class AOJ_0037 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u435518193|p00037|0
u435518193|p00037|0
codenet
Compile Error
1,313
v2_s996353251
s996353251
s996353251
p00037
p00037
u435518193
u435518193
1,364,549,435
2013-03-29T09:30:35
Main.java
import java.util.*; public class Main { int[][] mapA = new int[5][4]; int[][] mapB = new int[4][5]; int x, y, d; boolean flag; void U(){ if(flag==true && y>0 && mapB[y-1][x]==1){ d=0; y--; flag = false; System.out.print("U"); } } void R(){ if(flag==true && x<4 && mapA[y][x]==1){ d=1; ...
Main.java:94: error: cannot find symbol new Main.solve(); ^ symbol: class solve location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u435518193|p00037|0
u435518193|p00037|0
codenet
Compile Error
1,307
v2_s798003031
s798003031
s798003031
p00037
p00037
u606597258
u606597258
1,390,974,128
2014-01-29T05:42:08
Main.java
import java.util.Scanner; //Path on a Grid public class Main { void run(){ int[][] move = {{-1,0},{0,1},{1,0},{0,-1}}; char[] ch = {'U','R','D','L'}; Scanner sc = new Scanner(System.in); boolean[][] e = new boolean[25][25]; int h = 0, t = 0; for(int x=0;x<9;x++){ char[] s = sc.next().toCharArray(); ...
Main.java:42: error: cannot find symbol new AOJ0037().run(); ^ symbol: class AOJ0037 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606597258|p00037|0
u606597258|p00037|0
codenet
Compile Error
1,001
v2_s832162397
s832162397
s832162397
p00038
p00038
u269308343
u269308343
1,442,326,406
2015-09-15T14:13:26
Main.java
import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main{ Map<Integer, Integer> number_of_cards; PokerHand(int... cards){ this.number_of_cards = new HashMap<Integer, Integer>(); for(int c = 1; c <= 13; c++) this.number_of_cards.put(c, 0); for(int i: cards) this.number_of...
Main.java:10: error: invalid method declaration; return type required PokerHand(int... cards){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u269308343|p00038|0
u269308343|p00038|0
codenet
Compile Error
2,166
v2_s049573030
s049573030
s049573030
p00038
p00038
u630718233
u630718233
1,485,082,445
2017-01-22T10:54:05
Main.java
import java.util.Arrays; import java.util.Comparator; import java.util.HashMap; import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNextLine()) { String[] cards = sc.nextLine().split(","); // ?????????????????????????...
Main.java:53: error: cannot find symbol Arrays.sort(cards, new PokerHand().new Compare()); ^ symbol: class PokerHand location: class Main Main.java:70: error: cannot find symbol Arrays.sort(cards, new PokerHand().new Compare()); ^ symbol: class PokerHand loc...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u630718233|p00038|0
u630718233|p00038|0
codenet
Compile Error
3,214
v2_s883614204
s883614204
s883614204
p00039
p00039
u211138527
u211138527
1,436,457,534
2015-07-09T15:58:54
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; while((line=br.readLine())!=null){ int ans=0: char[] n=line.toCharArray(); int[] fig=new int[n.length]; for(int i=0;i<fig.length;i++){ fig[i]=toN...
Main.java:8: error: ';' expected int ans=0: ^ Main.java:23: error: illegal start of expression static int toNum(char c){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00039|0
u211138527|p00039|0
codenet
Compile Error
627
v2_s132649817
s132649817
s132649817
p00039
p00039
u211138527
u211138527
1,436,457,600
2015-07-09T16:00:00
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; while((line=br.readLine())!=null){ int ans=0; char[] n=line.toCharArray(); int[] fig=new int[n.length]; for(int i=0;i<fig.length;i++){ fig[i]=toN...
Main.java:34: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00039|0
u211138527|p00039|0
codenet
Compile Error
627
v2_s026149294
s026149294
s026149294
p00039
p00039
u211138527
u211138527
1,436,457,652
2015-07-09T16:00:52
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; while((line=br.readLine())!=null){ int ans=0; char[] n=line.toCharArray(); int[] fig=new int[n.length]; for(int i=0;i<fig.length;i++){ fig[i]=toN...
Main.java:26: error: cannot find symbol case I: return 1; ^ symbol: variable I location: class Main Main.java:27: error: cannot find symbol case V: return 5; ^ symbol: variable V location: class Main Main.java:28: error: cannot find symbol case X: return 10; ^ symbol: variable X locatio...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00039|0
u211138527|p00039|0
codenet
Compile Error
629
v2_s952539670
s952539670
s952539670
p00039
p00039
u211138527
u211138527
1,436,457,770
2015-07-09T16:02:50
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; while((line=br.readLine())!=null){ int ans=0; char[] n=line.toCharArray(); int[] fig=new int[n.length]; for(int i=0;i<fig.length;i++){ fig[i]=toN...
Main.java:34: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00039|0
u211138527|p00039|0
codenet
Compile Error
643
v2_s970329378
s970329378
s970329378
p00039
p00039
u211138527
u211138527
1,436,457,883
2015-07-09T16:04:43
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; while((line=br.readLine())!=null){ int ans=0; char[] n=line.toCharArray(); int[] fig=new int[n.length]; for(int i=0;i<fig.length;i++){ fig[i]=toN...
Main.java:34: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00039|0
u211138527|p00039|0
codenet
Compile Error
643
v2_s200314705
s200314705
s200314705
p00039
p00039
u211138527
u211138527
1,436,458,114
2015-07-09T16:08:34
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; while((line=br.readLine())!=null){ int ans=0; char[] n=line.toCharArray(); int[] fig=new int[n.length]; for(int i=0;i<fig.length;i++){ fig[i]=toN...
Main.java:42: error: variable n might not have been initialized return n; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00039|0
u211138527|p00039|0
codenet
Compile Error
744
v2_s274050341
s274050341
s274050341
p00039
p00039
u226079266
u226079266
1,357,797,513
2013-01-10T05:58:33
AOJ0039.java
import java.util.Scanner; public class AOJ0039 { int n; public static void main(String[] args) { //new AOJ0039().run(); new Main().run(); } void run(){ Scanner sc=new Scanner(System.in); while(sc.hasNext()){ String str=sc.next(); n=str.length(); System.out.println(roman(str.toCharArray(),0,0,0))...
AOJ0039.java:7: error: cannot find symbol new Main().run(); ^ symbol: class Main location: class AOJ0039 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u226079266|p00039|0
u226079266|p00039|0
codenet
Compile Error
1,260
v2_s909218166
s909218166
s909218166
p00039
p00039
u489809100
u489809100
1,440,863,295
2015-08-29T15:48:15
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main{ public static void main(String args[]){ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String st = ""; int[] a = new int[100]; ...
Main.java:41: error: unreachable statement try{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u489809100|p00039|0
u489809100|p00039|0
codenet
Compile Error
1,310
v2_s629510981
s629510981
s629510981
p00039
p00039
u813675766
u813675766
1,522,833,564
2018-04-04T09:19:24
Main.java
import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import javafx.scene.shape.Ellipse; class Main { static String line; static String[] sx = { "XC", "XL", "XXX", "XX", "XIX", "XIV", "XIII", "XII", "XI", "XVIII", "XVII", "XVI", "XV", "X" }; static int[]...
Main.java:5: error: package javafx.scene.shape does not exist import javafx.scene.shape.Ellipse; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u813675766|p00039|0
u813675766|p00039|0
codenet
Compile Error
2,080
v2_s844100206
s844100206
s844100206
p00039
p00039
u814387366
u814387366
1,395,715,988
2014-03-25T02:53:08
Main.java
import java.io.*; class Main { public static void main(String args[])throws IOException { BufferedReader input=new BufferedReader(new InputStreamReader(System.in)); String str; int a[]=new int[str.length()]; while((str=input.readLine())!=null) { String str_ary[]=new String[str.length()]; for(int i=...
Main.java:8: error: variable str might not have been initialized int a[]=new int[str.length()]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u814387366|p00039|0
u814387366|p00039|0
codenet
Compile Error
993
v2_s880575640
s880575640
s880575640
p00040
p00040
u211138527
u211138527
1,436,534,630
2015-07-10T13:23:50
Main.java
import java.io.*: import java.util.ArrayList; import java.util.HashMap; class Main{ public static void main(String[] args) throws IOException{ final static int[] alphas={3,5,7,9,11,15,17,19,21,23,25}; final static int[] beta={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}; BufferedReader br=new B...
Main.java:1: error: ';' expected import java.io.*: ^ Main.java:26: error: ';' expected int[] uc=new int[4] ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00040|0
u211138527|p00040|0
codenet
Compile Error
1,543
v2_s923768318
s923768318
s923768318
p00040
p00040
u211138527
u211138527
1,436,534,805
2015-07-10T13:26:45
Main.java
import java.io.*; import java.util.ArrayList; import java.util.HashMap; class Main{ public static void main(String[] args) throws IOException{ final static int[] alphas={3,5,7,9,11,15,17,19,21,23,25}; final static int[] beta={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}; BufferedReader br=new B...
Main.java:7: error: modifier static not allowed here final static int[] alphas={3,5,7,9,11,15,17,19,21,23,25}; ^ Main.java:8: error: modifier static not allowed here final static int[] beta={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}; ^ Main.java:18: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00040|0
u211138527|p00040|0
codenet
Compile Error
1,544
v2_s835765324
s835765324
s835765324
p00040
p00040
u211138527
u211138527
1,436,535,328
2015-07-10T13:35:28
Main.java
import java.io.*; import java.util.ArrayList; import java.util.HashMap; class Main{ public static void main(String[] args) throws IOException{ final int[] alphas={3,5,7,9,11,15,17,19,21,23,25}; final int[] beta={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}; BufferedReader br=new BufferedReader(...
Main.java:37: error: ')' expected char ca=(char)(beta[b]%26+97; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00040|0
u211138527|p00040|0
codenet
Compile Error
1,585
v2_s518162508
s518162508
s518162508
p00040
p00040
u211138527
u211138527
1,436,535,428
2015-07-10T13:37:08
Main.java
import java.io.*; import java.util.ArrayList; import java.util.HashMap; class Main{ public static void main(String[] args) throws IOException{ final int[] alphas={3,5,7,9,11,15,17,19,21,23,25}; final int[] beta={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}; BufferedReader br=new BufferedReader(...
Main.java:18: error: cannot find symbol char[] chararray=line.toCarArray(); ^ symbol: method toCarArray() location: variable line of type String Main.java:46: error: variable i is already defined in method main(String[]) for(int i=0;i<26;i++){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00040|0
u211138527|p00040|0
codenet
Compile Error
1,586
v2_s866247106
s866247106
s866247106
p00040
p00040
u211138527
u211138527
1,436,535,542
2015-07-10T13:39:02
Main.java
import java.io.*; import java.util.ArrayList; import java.util.HashMap; class Main{ public static void main(String[] args) throws IOException{ final int[] alphas={3,5,7,9,11,15,17,19,21,23,25}; final int[] beta={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}; BufferedReader br=new BufferedReader(...
Main.java:47: error: variable ga might not have been initialized char nc=(char)((ga*j+gb)%26+97); ^ Main.java:47: error: variable gb might not have been initialized char nc=(char)((ga*j+gb)%26+97); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00040|0
u211138527|p00040|0
codenet
Compile Error
1,587
v2_s256294746
s256294746
s256294746
p00040
p00040
u211138527
u211138527
1,436,536,997
2015-07-10T14:03:17
Main.java
import java.io.*; import java.util.ArrayList; import java.util.HashMap; class Main{ public static void main(String[] args) throws IOException{ final int[] alphas={1,3,5,7,9,11,15,17,19,21,23,25}; final int[] beta={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}; BufferedReader br=new BufferedReade...
Main.java:59: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00040|0
u211138527|p00040|0
codenet
Compile Error
1,573
v2_s443367379
s443367379
s443367379
p00040
p00040
u211138527
u211138527
1,436,541,117
2015-07-10T15:11:57
Main.java
import java.io.*; import java.util.ArrayList; import java.util.HashMap; class Main{ public static void main(String[] args) throws IOException{ final int[] alphas={1,3,5,7,9,11,15,17,19,21,23,25}; final int[] beta={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}; BufferedReader br=new BufferedReade...
Main.java:44: error: variable ga might not have been initialized char nc=(char)((ga*j+gb)%26+97); ^ Main.java:44: error: variable gb might not have been initialized char nc=(char)((ga*j+gb)%26+97); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00040|0
u211138527|p00040|0
codenet
Compile Error
1,606
v2_s413783863
s413783863
s413783863
p00040
p00040
u211138527
u211138527
1,436,541,390
2015-07-10T15:16:30
Main.java
import java.io.*; import java.util.ArrayList; import java.util.HashMap; class Main{ public static void main(String[] args) throws IOException{ final int[] alphas={1,3,5,7,9,11,15,17,19,21,23,25}; final int[] beta={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}; BufferedReader br=new BufferedReade...
Main.java:12: error: incompatible types: <null> cannot be converted to int int ga=null; ^ Main.java:13: error: incompatible types: <null> cannot be converted to int int gb=null; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00040|0
u211138527|p00040|0
codenet
Compile Error
1,616
v2_s555065997
s555065997
s555065997
p00040
p00040
u211138527
u211138527
1,436,542,263
2015-07-10T15:31:03
Main.java
import java.io.*; import java.util.ArrayList; import java.util.HashMap; class Main{ public static void main(String[] args) throws IOException{ final int[] alphas={1,3,5,7,9,11,15,17,19,21,23,25}; final int[] beta={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}; BufferedReader br=new BufferedReade...
Main.java:17: error: cannot find symbol ga=o; ^ symbol: variable o location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00040|0
u211138527|p00040|0
codenet
Compile Error
1,667
v2_s173181501
s173181501
s173181501
p00040
p00040
u211138527
u211138527
1,436,545,400
2015-07-10T16:23:20
Main.java
import java.io.*; import java.util.ArrayList; import java.util.HashMap; class Main{ public static void main(String[] args) throws IOException{ final int[] alphas={1,3,5,7,9,11,15,17,19,21,23,25}; final int[] betas={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}; BufferedReader br=new BufferedRea...
Main.java:30: error: cannot find symbol char ct=(char)((alphas[a]*('t'-97)+beta[b])%26+97); ^ symbol: variable beta location: class Main Main.java:31: error: cannot find symbol char ch=(char)((alphas[a]*('h'-97)+beta[b])%26+97); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00040|0
u211138527|p00040|0
codenet
Compile Error
1,655
v2_s143999296
s143999296
s143999296
p00040
p00040
u213849509
u213849509
1,423,495,920
2015-02-09T15:32:00
Main.java
1 y eazqyp pnop pngtg ye obmpngt xmybp mr lygw
Main.java:1: error: class, interface, enum, or record expected 1 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u213849509|p00040|0
u213849509|p00040|0
codenet
Compile Error
46
v2_s837680393
s837680393
s837680393
p00040
p00040
u985809245
u985809245
1,337,493,047
2012-05-20T05:50:47
Main.java
import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.ArrayList;import java.util.List; public class Main { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); List<...
Main.java:1: error: reached end of file while parsing import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.ArrayList;import java.util.List; public class Main { public static void main(String[] args) throws IOException{ BufferedReader br = new Buffered...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985809245|p00040|0
u985809245|p00040|0
codenet
Compile Error
2,564
v2_s766992738
s766992738
s766992738
p00041
p00041
u213849509
u213849509
1,423,534,670
2015-02-10T02:17:50
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; import java.util.regex.Pattern; import org.apache.el.stream.Stream; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReade...
Main.java:8: error: package org.apache.el.stream does not exist import org.apache.el.stream.Stream; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u213849509|p00041|0
u213849509|p00041|0
codenet
Compile Error
1,990
v2_s592206810
s592206810
s592206810
p00041
p00041
u306553775
u306553775
1,392,023,209
2014-02-10T09:06:49
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.LinkedList; import java.util.Queue; public class Main{ static int NUM = 4; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(ne...
Main.java:141: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u306553775|p00041|1
u306553775|p00041|1
codenet
Compile Error
3,401
v2_s634986639
s634986639
s634986639
p00041
p00041
u306553775
u306553775
1,392,023,267
2014-02-10T09:07:47
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.LinkedList; import java.util.Queue; public class Main{ static int NUM = 4; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(ne...
Main.java:140: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u306553775|p00041|1
u306553775|p00041|1
codenet
Compile Error
3,387
v2_s954897625
s954897625
s954897625
p00041
p00041
u496767920
u496767920
1,493,050,117
2017-04-24T16:08:37
Main.java
import java.io.IOException; import java.lang.reflect.Array; import java.util.*; class Main { public static void main(String[] args) throws Exception { Scanner in = new Scanner(System.in); while(in.hasNext()) { List<Integer> ints = new ArrayList<>(); ints.add(in.nextInt()); ints.add(in.nextInt()); ints...
Main.java:106: error: '}' expected "a x (a x (a x a))" ^ Main.java:110: error: illegal start of type for(int a=0;a<4;a++) { ^ Main.java:110: error: illegal start of type for(int a=0;a<4;a++) { ^ Main.java:110: error: <identifier> expected for(int a=0;a<4;a++) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u496767920|p00041|1
u496767920|p00041|1
codenet
Compile Error
3,584
v2_s139313587
s139313587
s139313587
p00042
p00042
u211138527
u211138527
1,436,730,932
2015-07-12T19:55:32
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; int count=1; while(!(line=br.readLine()).equals("0")){ int weight=0; static int W=Integer.parseInt(line); static int n=Integer.parseInt(br.rea...
Main.java:10: error: illegal start of expression static int W=Integer.parseInt(line); ^ Main.java:16: error: illegal start of type for(int i=0;i<n;i++){ ^ Main.java:16: error: > or ',' expected for(int i=0;i<n;i++){ ^ Main.java:16: error: <identifier> expected for(int i=0;i<n;i++){ ^ Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00042|0
u211138527|p00042|0
codenet
Compile Error
1,082
v2_s929169221
s929169221
s929169221
p00042
p00042
u211138527
u211138527
1,436,766,652
2015-07-13T05:50:52
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; int count=1; while(!(line=br.readLine()).equals("0")){ int weight=0; static int W=Integer.parseInt(line); static int n=Integer.parseInt(br.re...
Main.java:10: error: illegal start of expression static int W=Integer.parseInt(line); ^ Main.java:16: error: illegal start of type for(int i=0;i<n;i++){ ^ Main.java:16: error: > or ',' expected for(int i=0;i<n;i++){ ^ Main.java:16: error: <identifier> expected for(int i=0;i<n;i++){ ^ Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00042|1
u211138527|p00042|1
codenet
Compile Error
1,209
v2_s283718932
s283718932
s283718932
p00042
p00042
u211138527
u211138527
1,436,766,999
2015-07-13T05:56:39
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; int count=1; while(!(line=br.readLine()).equals("0")){ int weight=0; int W=Integer.parseInt(line); int n=Integer.parseInt(br.readLine()); in...
Main.java:31: error: illegal start of expression private static int MaxValue(int W,int n,int[] v,int[] w,int[][] dp,boolean[] use,int i,int j){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00042|1
u211138527|p00042|1
codenet
Compile Error
1,125
v2_s906486941
s906486941
s906486941
p00042
p00042
u214600613
u214600613
1,405,001,578
2014-07-10T14:12:58
Main.java
#include<iostream> #include<string> #include<algorithm> #include<map> #include<set> #include<utility> #include<vector> #include<cmath> #include<cstdio> #define loop(i,a,b) for(int i=a;i<b;i++) #define rep(i,a) loop(i,0,a) #define pb push_back #define mp make_pair #define it ::iterator #define all(in) in.begin(),in.end...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include<string> ^ Main.java:3: error: illegal character: '#' #include<algorithm> ^ Main.java:4: error: illegal character: '#' #include<map> ^ Main.java:5: error: illegal character: '#' #include<set> ^ Main.java:6...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u214600613|p00042|0
u214600613|p00042|0
codenet
Compile Error
917
v2_s146777043
s146777043
s146777043
p00042
p00042
u413313314
u413313314
1,426,833,735
2015-03-20T06:42:15
Main.java
import java.io.*; import java.util.StringTokenizer; class Item { int cost,weight; Item(int c,int w) { this.cost = c; this.weight = w; } } class Main { private static final int NOT_ADD = -1; public static void main (String args[]) { InputStreamReader isr = new InputStreamReader(System.in); BufferedReade...
Main.java:22: error: not a statement long long count = 1; ^ Main.java:22: error: ';' expected long long count = 1; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u413313314|p00042|1
u413313314|p00042|1
codenet
Compile Error
1,698
v2_s394930349
s394930349
s394930349
p00042
p00042
u825684692
u825684692
1,293,112,301
2010-12-23T13:51:41
Main.java
public class Main { Scanner sc = new Scanner(System.in); class t implements Comparable<t> { int worth; int weight; t(String s) { Scanner sc = new Scanner(s.replace(',', ' ')); worth = sc.nextInt(); weight = sc.nextInt(); } public int compareTo(t o) { return this.weight - o.weight; } } vo...
Main.java:2: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:2: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:9: error: cannot find symbol Sca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825684692|p00042|1
u825684692|p00042|0
codenet
Compile Error
1,315
v2_s986188406
s986188406
s986188406
p00042
p00042
u985809245
u985809245
1,360,337,954
2013-02-08T15:39:14
Main.java
package jp.ac.innami.volume0; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; public class Main { protected static final int MAX_BAG_WEIGHT = 1000; protected static final int MAX_NUM_TREASURES = 1000; protected ...
Main.java:71: error: cannot find symbol treasures = new ArrayList<Treasure>(AThief.MAX_NUM_TREASURES); ^ symbol: variable AThief location: class Bag 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985809245|p00042|0
u985809245|p00042|0
codenet
Compile Error
4,375
v2_s391530192
s391530192
s391530192
p00042
p00042
u985809245
u985809245
1,360,338,004
2013-02-08T15:40:04
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; public class Main { protected static final int MAX_BAG_WEIGHT = 1000; protected static final int MAX_NUM_TREASURES = 1000; protected static final int MAX_VALUE = 10...
Main.java:69: error: cannot find symbol treasures = new ArrayList<Treasure>(AThief.MAX_NUM_TREASURES); ^ symbol: variable AThief location: class Bag 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985809245|p00042|0
u985809245|p00042|0
codenet
Compile Error
4,344
v2_s856667714
s856667714
s856667714
p00042
p00042
u985809245
u985809245
1,361,977,634
2013-02-27T15:07:14
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; public class Main { protected static final int MAX_BAG_WEIGHT = 1000; protected static final int MAX_NUM_TREASURES = 1000; protected static final int MAX_VALUE = 10000; ...
Main.java:47: error: cannot find symbol public static int[] getMaxValue(int bagWeight, ArrayList<Treasure> treasureList){ ^ symbol: class Treasure location: class Main Main.java:20: error: cannot find symbol ArrayList<Treasure> treasureList; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985809245|p00042|1
u985809245|p00042|1
codenet
Compile Error
3,063
v2_s205284317
s205284317
s205284317
p00043
p00043
u211138527
u211138527
1,436,779,581
2015-07-13T09:26:21
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine)!=null){ int n=new int[10]; for(int i=0;i<13;i++){ n[(int)(line.charAt(i)-'1'+1)]++; } for(int i=1;i<=9;i++){ if(n[i]<...
Main.java:7: error: cannot find symbol while((line=br.readLine)!=null){ ^ symbol: variable readLine location: variable br of type BufferedReader Main.java:8: error: incompatible types: int[] cannot be converted to int int n=new int[10]; ^ Main.java:10: error: array required, but int found n[(i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00043|0
u211138527|p00043|0
codenet
Compile Error
694
v2_s158169519
s158169519
s158169519
p00043
p00043
u211138527
u211138527
1,436,779,622
2015-07-13T09:27:02
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null){ int[] n=new int[10]; for(int i=0;i<13;i++){ n[(int)(line.charAt(i)-'1'+1)]++; } for(int i=1;i<=9;i++){ if(n...
Main.java:27: error: cannot find symbol it min=0; ^ symbol: class it location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00043|0
u211138527|p00043|0
codenet
Compile Error
698
v2_s476427521
s476427521
s476427521
p00044
p00044
u097334177
u097334177
1,385,537,240
2013-11-27T07:27:20
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main { static BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args) throws Exception{ int N = 50022; int[] primes = new int...
Main.java:42: error: reached end of file while parsing System.out.println(prime_seq[in-1] + " " + prime_seq[in+1]) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u097334177|p00044|0
u097334177|p00044|0
codenet
Compile Error
1,347
v2_s957801320
s957801320
s957801320
p00044
p00044
u211138527
u211138527
1,436,802,054
2015-07-13T15:40:54
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.mth.BigInteger; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null){ int ...
Main.java:4: error: package java.mth does not exist import java.mth.BigInteger; ^ Main.java:12: error: cannot find symbol BigInteger x=new BigInteger(a); ^ symbol: class BigInteger location: class Main Main.java:12: error: cannot find symbol BigInteger x=new BigInteger(a); ^ symb...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00044|0
u211138527|p00044|0
codenet
Compile Error
592
v2_s285627452
s285627452
s285627452
p00044
p00044
u211138527
u211138527
1,436,802,138
2015-07-13T15:42:18
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null){ int...
Main.java:12: error: no suitable constructor found for BigInteger(int) BigInteger x=new BigInteger(a); ^ constructor BigInteger.BigInteger(byte[]) is not applicable (argument mismatch; int cannot be converted to byte[]) constructor BigInteger.BigInteger(int[]) is not applicable (argumen...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00044|0
u211138527|p00044|0
codenet
Compile Error
593
v2_s409723069
s409723069
s409723069
p00044
p00044
u211138527
u211138527
1,436,802,221
2015-07-13T15:43:41
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null){ int...
Main.java:12: error: no suitable constructor found for BigInteger(int) BigInteger x=new BigInteger(a); ^ constructor BigInteger.BigInteger(byte[]) is not applicable (argument mismatch; int cannot be converted to byte[]) constructor BigInteger.BigInteger(int[]) is not applicable (argumen...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00044|0
u211138527|p00044|0
codenet
Compile Error
592
v2_s238570078
s238570078
s238570078
p00044
p00044
u211138527
u211138527
1,436,802,235
2015-07-13T15:43:55
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null){ int...
Main.java:12: error: no suitable constructor found for BigInteger(int) BigInteger x=new BigInteger(a); ^ constructor BigInteger.BigInteger(byte[]) is not applicable (argument mismatch; int cannot be converted to byte[]) constructor BigInteger.BigInteger(int[]) is not applicable (argumen...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00044|0
u211138527|p00044|0
codenet
Compile Error
594
v2_s371812297
s371812297
s371812297
p00044
p00044
u211138527
u211138527
1,436,802,937
2015-07-13T15:55:37
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null){ int...
Main.java:12: error: no suitable constructor found for BigInteger(long) BigInteger x=new BigInteger((long)a); ^ constructor BigInteger.BigInteger(byte[]) is not applicable (argument mismatch; long cannot be converted to byte[]) constructor BigInteger.BigInteger(int[]) is not applicable ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00044|0
u211138527|p00044|0
codenet
Compile Error
606
v2_s531277101
s531277101
s531277101
p00044
p00044
u211138527
u211138527
1,436,804,596
2015-07-13T16:23:16
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null){ int...
Main.java:20: error: method isProbablePrime in class BigInteger cannot be applied to given types; if(y.isProbablePrime()){ ^ required: int found: no arguments reason: actual and formal argument lists differ in length 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00044|0
u211138527|p00044|0
codenet
Compile Error
600
v2_s502856937
s502856937
s502856937
p00044
p00044
u211138527
u211138527
1,436,804,796
2015-07-13T16:26:36
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null){ int...
Main.java:18: error: no suitable method found for valueOf(String) y=y.subtract(BigInteger.valueOf("1")); ^ method BigInteger.valueOf(long) is not applicable (argument mismatch; String cannot be converted to long) method BigInteger.valueOf(int[]) is not applicable (argument mis...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00044|0
u211138527|p00044|0
codenet
Compile Error
669
v2_s097266884
s097266884
s097266884
p00044
p00044
u358879127
u358879127
1,342,237,757
2012-07-14T03:49:17
Main.java
import java.util.*; import static java.util.Arrays.*; import static java.lang.Math.*; public class Main { void run(){ Scanner sc = new Scanner(System.in); while(sc.hasNext()) { int n =sc.nextInt(); int min, max; for(max=p-1;!isP(max);max--); for(min=p+1;!isP(min);min++); System.out.println(max + " ...
Main.java:11: error: cannot find symbol for(max=p-1;!isP(max);max--); ^ symbol: variable p location: class Main Main.java:12: error: cannot find symbol for(min=p+1;!isP(min);min++); ^ symbol: variable p location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358879127|p00044|0
u358879127|p00044|0
codenet
Compile Error
501
v2_s078905185
s078905185
s078905185
p00045
p00045
u211138527
u211138527
1,436,977,217
2015-07-15T16:20:17
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; int sum=0; int amount=0; int p=0; int q=0; int count=0; while((line=br.readLine())!=null){ String[] values=line.split(","); p=Integer.parseInt...
Main.java:21: error: cannot find symbol System.out.println(Math.round((flaot)amount/count)); ^ symbol: class flaot location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00045|0
u211138527|p00045|0
codenet
Compile Error
477
v2_s484606853
s484606853
s484606853
p00045
p00045
u399118522
u399118522
1,341,917,906
2012-07-10T10:58:26
Main.java
public class Main { public static void main(String[] args) { int price; int n; int all = 0; int allN = 0; int rCount = 0; for (Scanner in = new Scanner(System.in); in.hasNext();) { String[] r = in.next().split(","); price = Integer.parseInt(r[0]); n = Integer.parseInt(r[1]); all += price * n; ...
Main.java:8: error: cannot find symbol for (Scanner in = new Scanner(System.in); in.hasNext();) { ^ symbol: class Scanner location: class Main Main.java:8: error: cannot find symbol for (Scanner in = new Scanner(System.in); in.hasNext();) { ^ symbol: class Scanner location...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p00045|0
u399118522|p00045|0
codenet
Compile Error
438
v2_s236958413
s236958413
s236958413
p00045
p00045
u814387366
u814387366
1,395,844,106
2014-03-26T14:28:26
Main.java
import java.io.*; class Main { public static void main(String args[])throws IOException { BufferedReader input=new BufferedReader(new InputStreamReader(System.in)); String str; int sum=0; float n=0,ave,j=1f; while((str=input.readLine())!=null) { String str_ary[]=str.split(","); int a[]=new int[2]...
Main.java:27: error: variable ave might not have been initialized System.out.println(sum+"\n"+(int)(ave)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u814387366|p00045|0
u814387366|p00045|0
codenet
Compile Error
530
v2_s871617200
s871617200
s871617200
p00046
p00046
u046673593
u046673593
1,397,517,975
2014-04-14T23:26:15
Differential.java
public class Differential { public static void main(String[] args) throws NumberFormatException, IOException { List<Double> hList = new ArrayList<Double>(); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); for (int i = 0; i < 5; i++) { double h = Double.parseDouble(br.readLine()); ...
Differential.java:3: error: cannot find symbol public static void main(String[] args) throws NumberFormatException, IOException { ^ symbol: class IOException location: class Differential Differential.java:4: error: cannot find symbol List<Do...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u046673593|p00046|0
u046673593|p00046|0
codenet
Compile Error
502
v2_s177819183
s177819183
s177819183
p00046
p00046
u046908378
u046908378
1,501,046,667
2017-07-26T05:24:27
Main.java
mport java.util.Collections; import java.util.LinkedList; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); LinkedList<Double> list = new LinkedList<Double>(); while(s.hasNext()){ list.add(s.nextDouble()); } Collections.sort(list);...
Main.java:1: error: class, interface, enum, or record expected mport java.util.Collections; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.LinkedList; ^ Main.java:3: error: class, interface, enum, or record expected import java.util.Scanner; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u046908378|p00046|0
u046908378|p00046|0
codenet
Compile Error
385
v2_s122219621
s122219621
s122219621
p00046
p00046
u136197690
u136197690
1,405,060,154
2014-07-11T06:29:14
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args){ BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); double now_read,max=Integer.MIN_VALUE,min=Integer.MAX_VALUE; String line = ""; w...
Main.java:12: error: unreported exception IOException; must be caught or declared to be thrown line = read.readLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u136197690|p00046|0
u136197690|p00046|0
codenet
Compile Error
605
v2_s970229078
s970229078
s970229078
p00046
p00046
u211138527
u211138527
1,436,977,948
2015-07-15T16:32: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 line=""; double height; double max=Double.parseDouble(br.readLine); double min=max; while((line=br.readLine())!=null){ height=Double.parseDouble(line);...
Main.java:8: error: cannot find symbol double max=Double.parseDouble(br.readLine); ^ symbol: variable readLine location: variable br of type BufferedReader 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00046|0
u211138527|p00046|0
codenet
Compile Error
407
v2_s369892448
s369892448
s369892448
p00046
p00046
u322035943
u322035943
1,487,992,825
2017-02-25T03:20:25
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); List<Double> list = new ArrayList<>(); while(sc.hasNext()){ double x = sc.nextDouble(); list.add(x); } Double max = list.get(0); Double min = list.get(0); for (int i = 1; i < list.size(); i++){ Double v ...
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:4: error: cannot find symbol List<...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u322035943|p00046|0
u322035943|p00046|0
codenet
Compile Error
506
v2_s277320920
s277320920
s277320920
p00046
p00046
u549183537
u549183537
1,397,519,243
2014-04-14T23:47:23
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { private static double x; private static double max; private static double min; private static String val; public static void main(String args[]) throws Exception { BufferedReader br = new BufferedReade...
Main.java:14: error: cannot find symbol if(i==0){ ^ symbol: variable i location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u549183537|p00046|0
u549183537|p00046|0
codenet
Compile Error
724
v2_s700062871
s700062871
s700062871
p00046
p00046
u625127260
u625127260
1,340,775,443
2012-06-27T05:37:23
Main.java
public class Main { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); double tall,max,min; tall = max = min = sc.nextDouble(); while(sc.hasNextDouble()){ tall = sc.nextDouble(); if(max < tall) max = tall;...
Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:8: 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
u625127260|p00046|0
u625127260|p00046|0
codenet
Compile Error
396
v2_s908616532
s908616532
s908616532
p00046
p00046
u720902416
u720902416
1,436,881,174
2015-07-14T13:39:34
Main.java
package aoj; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String tes = null; List<Double> al = new A...
Main.java:13: error: cannot find symbol List<Double> al = new ArrayList(); ^ symbol: class List location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u720902416|p00046|0
u720902416|p00046|0
codenet
Compile Error
1,074
v2_s268086193
s268086193
s268086193
p00046
p00046
u720902416
u720902416
1,436,881,958
2015-07-14T13:52:38
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String tes = null; List<Double> al = new ArrayList<Doubl...
Main.java:11: error: cannot find symbol List<Double> al = new ArrayList<Double>(); ^ symbol: class List location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u720902416|p00046|0
u720902416|p00046|0
codenet
Compile Error
1,109
v2_s437878528
s437878528
s437878528
p00046
p00046
u720902416
u720902416
1,436,882,409
2015-07-14T14:00:09
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; public class Main { public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String tes = null; List<Double> a...
Main.java:44: error: unreachable statement for(int i=0;i<al.size();i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u720902416|p00046|0
u720902416|p00046|0
codenet
Compile Error
1,131
v2_s236018115
s236018115
s236018115
p00046
p00046
u759791460
u759791460
1,470,622,702
2016-08-08T02:18:22
Main.java
import java.io.InputStreamReader; import java.io.BufferedReader; import java.io.IOException; public class Main { public static void main(String args[] ) throws IOException { BufferedReader br; br = InputFile.load(); Float f = Float.parseFloat(br.readLine()); float high = f, low = f; String line; ...
Main.java:8: error: cannot find symbol br = InputFile.load(); ^ symbol: variable InputFile location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759791460|p00046|0
u759791460|p00046|0
codenet
Compile Error
547
v2_s539884920
s539884920
s539884920
p00046
p00046
u814387366
u814387366
1,395,833,375
2014-03-26T11:29:35
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scan=new Scanner(System.in); float high=0,low=0,x,ans; int i=0; while(scan.hasNext()) { x=scan.nextFloat(); if(i==0) { low=x; } if(high<x)high=low; if(low>x)low=x; ans=high-low; i+...
Main.java:23: error: variable ans might not have been initialized System.out.println(ans); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u814387366|p00046|0
u814387366|p00046|0
codenet
Compile Error
363
v2_s296994287
s296994287
s296994287
p00047
p00047
u211138527
u211138527
1,436,979,080
2015-07-15T16:51:20
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; int[] ball={1,0,0}; while((line=br.readLine())!=null){ char[] c=line.toCharArray(); reverse(c[0],c[2],ball); } for(int i=0;i<ball.length;i++){...
Main.java:14: error: ')' or ',' expected System.out.println(String.valueOf((char)('A'+1)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00047|0
u211138527|p00047|0
codenet
Compile Error
530
v2_s617362490
s617362490
s617362490
p00047
p00047
u211138527
u211138527
1,436,979,215
2015-07-15T16:53:35
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; int[] ball={1,0,0}; while((line=br.readLine())!=null){ char[] c=line.toCharArray(); reverse(c[0],c[2],ball); } for(int i=0;i<ball.length;i++){...
Main.java:21: error: illegal start of expression private static void reverse(char c1,char c2,final int[] ball){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00047|0
u211138527|p00047|0
codenet
Compile Error
587
v2_s869747112
s869747112
s869747112
p00047
p00047
u227732373
u227732373
1,335,868,485
2012-05-01T10:34:45
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; public class Main { public static void main(String[] args) { try { BufferedReader questionreader = new BufferedReader(new InputStreamReader(System.in)); PrintWriter answerwriter = new ...
Main.java:32: error: cannot find symbol } catch (FileNotFoundException e) { ^ symbol: class FileNotFoundException location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u227732373|p00047|0
u227732373|p00047|0
codenet
Compile Error
922
v2_s015300017
s015300017
s015300017
p00047
p00047
u227732373
u227732373
1,335,872,892
2012-05-01T11:48:12
Main.java
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; public class Main { public static void main(String[...
Main.java:25: error: cannot find symbol while (questionreader.ready()) { ^ symbol: variable questionreader location: class Main Main.java:26: error: cannot find symbol if ("".equals(question = questionreader.readLine())) break; ^ symbol: variable questionreader ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u227732373|p00047|0
u227732373|p00047|0
codenet
Compile Error
1,070
v2_s899849912
s899849912
s899849912
p00048
p00048
u088290348
u088290348
1,416,416,510
2014-11-19T17:01:50
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()){ double x = sc.nextDouble(); System.out.println(x<=48.00?"light fly":x<=51.00?"fly":x<=54.00?"bantam":x<=57.00?"feather": ...
Main.java:11: error: : expected x<=75.00?"light middle":x<=81.00?"middle":x<=91.00?"light heavy":x>=91.00?"heavy"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00048|0
u088290348|p00048|0
codenet
Compile Error
517
v2_s592690079
s592690079
s592690079
p00048
p00048
u088290348
u088290348
1,416,416,791
2014-11-19T17:06:31
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()){ double x = sc.nextDouble(); System.out.println(x<=48.00?"light fly":x<=51.00?"fly":x<=54.00?"bantam":x<=57.00?"feather": ...
Main.java:11: error: : expected x<=75.00?"light middle":x<=81.00?"middle":x<=91.00?"light heavy":x>=91.00?"heavy"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00048|0
u088290348|p00048|0
codenet
Compile Error
517
v2_s441750758
s441750758
s441750758
p00048
p00048
u211138527
u211138527
1,436,980,814
2015-07-15T17:20:14
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new ImputStreamReader(System.in)); String line=""; double weight; while((line=br.readLine())!=null){ weight=Double.parseDouble(line); classOfBoxing(weight); } } private static void classOfBoxin...
Main.java:48: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00048|0
u211138527|p00048|0
codenet
Compile Error
807
v2_s475399505
s475399505
s475399505
p00048
p00048
u211138527
u211138527
1,436,980,835
2015-07-15T17:20:35
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new ImputStreamReader(System.in)); String line=""; double weight; while((line=br.readLine())!=null){ weight=Double.parseDouble(line); classOfBoxing(weight); } } private static void classOfBoxin...
Main.java:5: error: cannot find symbol BufferedReader br=new BufferedReader(new ImputStreamReader(System.in)); ^ symbol: class ImputStreamReader location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00048|0
u211138527|p00048|0
codenet
Compile Error
809