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_s556747771
s556747771
s556747771
p00121
p00121
u392875227
u392875227
1,509,356,805
2017-10-30T09:46:45
Main.java
import java.util.*; import java.io.*; public class Main { static IO io = new IO(); public static void main(String[] args) { while (io.hasNext()) { // 0..7:????????????????????¶??? 8:???????????§?¨? 9:??´??????????????§?¨? 10:???????????° int n[] = new int[11]; Deque<int[]> que = new ArrayDeque<int[]>()...
Main.java:209: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:210: error: class, interface, enum, or record expected import java.io.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u392875227|p00121|0
u392875227|p00121|0
codenet
Compile Error
11,000
v2_s947488992
s947488992
s947488992
p00121
p00121
u422535245
u422535245
1,350,658,319
2012-10-19T14:51:59
Main.java
#include <iostream> #include <cstring> #include <queue> #define SIZE (8) #define ANSWER_STATE_CODE (342391) #define STATE_SIZE (16434824+1-ANSWER_STATE_CODE) int coefficients[SIZE] = {2097152, 262144, 32768, 4096, 512, 64, 8, 1}; int movablePairs[SIZE][4] = { {1,4,-1,-1}, {0,2,5,-1}, {1,3,6,-1}, {2,7,-1,-1}, ...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <cstring> ^ Main.java:3: error: illegal character: '#' #include <queue> ^ Main.java:5: error: illegal character: '#' #define SIZE (8) ^ Main.java:6: error: illegal character: '#' #define ANSWER_STATE_COD...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u422535245|p00121|2
u422535245|p00121|1
codenet
Compile Error
2,380
v2_s008843856
s008843856
s008843856
p00121
p00121
u422535245
u422535245
1,350,997,443
2012-10-23T13:04:03
Main.java
import java.util.ArrayDeque; import java.util.Arrays; import java.util.Scanner; public class Main { private final static int SIZE = 8; private final static int[][] MOVABLE_PAIRS = { {1,4}, {0,2,5}, {1,3,6}, {2,7}, {0,5}, {1,4,6}, {2,5,7}, {3,6} }; private final static int[] coefficients = {5040, 720, 120, ...
Main.java:29: error: not a statement - start); ^ Main.java:29: error: ';' expected - start); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u422535245|p00121|4
u422535245|p00121|3
codenet
Compile Error
2,955
v2_s385348450
s385348450
s385348450
p00121
p00121
u422535245
u422535245
1,350,997,551
2012-10-23T13:05:51
Main.java
package exp0121; import java.util.ArrayDeque; import java.util.Arrays; import java.util.Scanner; public class Main { private final static int SIZE = 8; private final static int[][] MOVABLE_PAIRS = { {1,4}, {0,2,5}, {1,3,6}, {2,7}, {0,5}, {1,4,6}, {2,5,7}, {3,6} }; private final static int[] coefficients =...
Main.java:22: error: invalid method declaration; return type required private Main3() { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u422535245|p00121|4
u422535245|p00121|3
codenet
Compile Error
3,054
v2_s627180401
s627180401
s627180401
p00121
p00121
u434428594
u434428594
1,425,226,278
2015-03-01T16:11:18
Main.java
import com.sun.tools.javac.parser.Tokens; import java.io.*; import java.util.*; public class Main { void run() { try { for (String line; (line = in.readLine()) != null; ) { StringTokenizer tokenizer = new StringTokenizer(line); int[] init = new int[8]; ...
Main.java:1: error: package com.sun.tools.javac.parser is not visible import com.sun.tools.javac.parser.Tokens; ^ (package com.sun.tools.javac.parser is declared in module jdk.compiler, which does not export it to the unnamed module) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u434428594|p00121|0
u434428594|p00121|0
codenet
Compile Error
3,123
v2_s983299331
s983299331
s983299331
p00121
p00121
u434428594
u434428594
1,425,226,300
2015-03-01T16:11:40
Main.java
import com.sun.tools.javac.parser.Tokens; import java.io.*; import java.util.*; public class Main { void run() { try { for (String line; (line = in.readLine()) != null; ) { StringTokenizer tokenizer = new StringTokenizer(line); int[] init = new int[8]; ...
Main.java:1: error: package com.sun.tools.javac.parser is not visible import com.sun.tools.javac.parser.Tokens; ^ (package com.sun.tools.javac.parser is declared in module jdk.compiler, which does not export it to the unnamed module) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u434428594|p00121|0
u434428594|p00121|0
codenet
Compile Error
3,128
v2_s430281300
s430281300
s430281300
p00121
p00121
u441557598
u441557598
1,492,415,404
2017-04-17T07:50:04
Main.java
import java.util.*; class State { private static int[] vy = {0, 1, 0, -1}; private static int[] vx = {1, 0, -1, 0}; private int[][] nums; private int zeroY, zeroX; private int hash; int step; public State(int[][] _nums, int _zeroY, int _zeroX, int _step) { nums = _nums; ze...
Main.java:101: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u441557598|p00121|0
u441557598|p00121|0
codenet
Compile Error
2,849
v2_s203577446
s203577446
s203577446
p00121
p00121
u677561663
u677561663
1,509,110,875
2017-10-27T13:27:55
Main.java
public class Main { private static int[] move = {1, -1, 4, -4}; private static Map<String, Integer> map = new HashMap<>(); public static void main(String[] args) { Scanner in = new Scanner(System.in); dsf(); while (in.hasNext()) { String str = in.nextLine(); s...
Main.java:3: error: cannot find symbol private static Map<String, Integer> map = new HashMap<>(); ^ symbol: class Map location: class Main Main.java:3: error: cannot find symbol private static Map<String, Integer> map = new HashMap<>(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u677561663|p00121|0
u677561663|p00121|0
codenet
Compile Error
1,702
v2_s078512123
s078512123
s078512123
p00121
p00121
u863528327
u863528327
1,523,964,826
2018-04-17T11:33:46
Main.java
public class Main { public static void main(String[] agrs){ Scanner x = new Scanner(System.in); int data [] = new int[8]; for(int i = 0;i<8;i++) { data[i]=x.nextInt(); } int count = 0; for(int i = 0;i < data.length;i++) { for(int j = i + 1; j<data.length;j++) { if(data[i]>data[j...
Main.java:5: error: cannot find symbol Scanner x = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner x = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863528327|p00121|0
u863528327|p00121|0
codenet
Compile Error
472
v2_s408702276
s408702276
s408702276
p00121
p00121
u863528327
u863528327
1,523,965,204
2018-04-17T11:40:04
Main.java
7 パズルは 8 つの正方形のカードとこれらのカードがぴたりと収まる枠で構成されています。それぞれのカードには、互いに区別できるように 0, 1, 2, ..., 7 と番号がつけられています。枠には、縦に 2 個、横に 4 個のカードを並べることができます。 7 パズルを始めるときには、まず枠にすべてのカードを入れます。枠のなかで 0 のカードだけは、上下左右に隣接するカードと位置を交換することができます。たとえば、枠の状態が図(a) のときに、0 のカードの右に隣接した、7 のカードと位置を交換すれば、図(b) の状態になります。あるいは、図(a) の状態から 0 のカードの下に隣接した 2 のカードと位置を交換すれば図(c)...
Main.java:1: error: class, interface, enum, or record expected 7 ???? 8 ?????????????????????????????????????????????????????????? 0, 1, 2, ..., 7 ??????????????????? 2 ???? 4 ????????????????? ^ Main.java:1: error: illegal character: '\u3002' 7 ???? 8 ?????????????????????????????????????????????????????????? 0, 1, 2,...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863528327|p00121|0
u863528327|p00121|0
codenet
Compile Error
1,044
v2_s087319137
s087319137
s087319137
p00121
p00121
u947087252
u947087252
1,524,319,070
2018-04-21T13:57:50
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { HashMap<Integer, Integer> map = new HashMap<>(); Queue<int[]> que = new ArrayDeque<int[]>(); int[] state = new int[9]; int[] temp = new i...
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:6: erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u947087252|p00121|2
u947087252|p00121|1
codenet
Compile Error
3,073
v2_s731853977
s731853977
s731853977
p00123
p00123
u663419588
u663419588
1,342,336,706
2012-07-15T07:18:26
Main.java
ublic class Main { double[] grade_500 = {35.5, 37.5, 40.0, 43.0, 50.0, 55.0, 70.0}; double[] grade_1000 = {71.0, 77.0, 83.0, 89.0, 105.0, 116.0, 148.0}; String[] grade = {"AAA", "AA", "A", "B", "C", "D", "E"}; public void solve() throws IOException{ while( stdIn.hasNext() ){ double x = stdIn.nextDouble(); d...
Main.java:1: error: class, interface, enum, or record expected ublic class Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u663419588|p00123|0
u663419588|p00123|0
codenet
Compile Error
1,183
v2_s593966967
s593966967
s593966967
p00124
p00124
u435952407
u435952407
1,319,953,959
2011-10-30T05:52:39
Main.java
#include<stdio.h> #include<stdlib.h> typedef struct team{ int p; char n[23]; }TEAM; int comp(const void *p,const void *q){ TEAM *a=(TEAM *)p,*b=(TEAM *)q; return b->p - a->p; } TEAM x[12]; int main(){ int n,p,q,r,i,f=1; while(scanf("%d",&n)!=EOF){ if(n==0)break; if(f==1)f==0; else printf("\n"); for(i=0;i<...
Main.java:1: error: illegal character: '#' #include<stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<stdio.h> ^ Main.java:2: error: illegal character: '#' #include<stdlib.h> ^ Main.java:5: error: class, interface, enum, or record expected char n[23]; ^ Main.java:6: error: cla...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u435952407|p00124|0
u435952407|p00124|0
codenet
Compile Error
485
v2_s975556590
s975556590
s975556590
p00124
p00124
u910780605
u910780605
1,434,357,345
2015-06-15T08:35:45
Main.java
import java.util.*;class Main{public static void main(String[]args){Scanner sc = new Scanner(System.in);int c=0;for(;;){ int???s=sc.nextInt();if(s==0)break;if(c!=0)System.out.println();String tn[] =new String[s];int tp[]=new int[s]; int tpc[]=new int[s];for(int i=0;i<s;i++){ tn[i]=sc.next();tp[i]=(sc.nextInt()*3+sc.n...
Main.java:1: error: not a statement import java.util.*;class Main{public static void main(String[]args){Scanner sc = new Scanner(System.in);int c=0;for(;;){ int???s=sc.nextInt();if(s==0)break;if(c!=0)System.out.println();String tn[] =new String[s];int tp[]=new int[s]; int tpc[]=new int[s];for(int i=0;i<s;i++){ tn[i]=...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910780605|p00124|1
u910780605|p00124|1
codenet
Compile Error
483
v2_s956423997
s956423997
s956423997
p00130
p00130
u017525488
u017525488
1,374,976,974
2013-07-28T02:02:54
Main.java
gimport java.util.*; import java.io.*; import static java.lang.Math.*; class Main { public static void main( final String[] args ) { final Scanner stdin = new Scanner( System.in ); final int n = Integer.parseInt( stdin.nextLine() ); for ( int t = 0; t < n; t++ ) { final String input = stdin.nextLine();...
Main.java:1: error: class, interface, enum, or record expected gimport java.util.*; ^ Main.java:2: error: class, interface, enum, or record expected import java.io.*; ^ Main.java:3: error: class, interface, enum, or record expected import static java.lang.Math.*; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017525488|p00130|0
u017525488|p00130|0
codenet
Compile Error
847
v2_s431990938
s431990938
s431990938
p00132
p00132
u722076734
u722076734
1,436,188,223
2015-07-06T13:10:23
Main.java
import java.awt.*; import java.awt.geom.*; import java.io.*; import java.util.*; class Main { static int h; static int w; static int[] map; static int n; static int[][][] piece; static int[][] hp; static int[][] wp; static HashMap MAP; public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(...
Main.java:1: error: reached end of file while parsing import java.awt.*; import java.awt.geom.*; import java.io.*; import java.util.*; class Main { static int h; static int w; static int[] map; static int n; static int[][][] piece; static int[][] hp; static int[][] wp; static HashMap MAP; public static void main(String...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u722076734|p00132|0
u722076734|p00132|0
codenet
Compile Error
2,650
v2_s725558407
s725558407
s725558407
p00132
p00132
u722076734
u722076734
1,436,194,216
2015-07-06T14:50:16
Main.java
import java.awt.*; import java.awt.geom.*; import java.io.*; import java.util.*; class Main { static int h; static int w; static int[] map; static int n; static int[][][] piece; static int[][] hp; static int[][] wp; static HashMap<Integer,Boolean> MAP; public static void main(String[] args) { Scanner s...
Main.java:119: error: cannot find symbol cu[y+l] |= (piece[i][j][l] << t); ^ symbol: variable cu location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u722076734|p00132|0
u722076734|p00132|0
codenet
Compile Error
3,086
v2_s736333878
s736333878
s736333878
p00134
p00134
u088290348
u088290348
1,399,578,308
2014-05-08T19:45:08
AOJ0134.java
import java.util.Scanner; public class AOJ0134 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nexint(); long a = 0; for(int i=0;i<n;i++)a+=sc.nextint(); System.out.println(a/n); } }
AOJ0134.java:6: error: cannot find symbol long n = sc.nexint(); ^ symbol: method nexint() location: variable sc of type Scanner AOJ0134.java:8: error: cannot find symbol for(int i=0;i<n;i++)a+=sc.nextint(); ^ symbol: method nextint() location: variable sc of type ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00134|0
u088290348|p00134|0
codenet
Compile Error
239
v2_s372121861
s372121861
s372121861
p00134
p00134
u088290348
u088290348
1,399,578,338
2014-05-08T19:45:38
AOJ0134.java
import java.util.Scanner; public class AOJ0134 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextint(); long a = 0; for(int i=0;i<n;i++)a+=sc.nextint(); System.out.println(a/n); } }
AOJ0134.java:6: error: cannot find symbol long n = sc.nex?int(); ^ symbol: method nex?int() location: variable sc of type Scanner AOJ0134.java:8: error: cannot find symbol for(int i=0;i<n;i++)a+=sc.nextint(); ^ symbol: method nextint() location: variable sc of typ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00134|0
u088290348|p00134|0
codenet
Compile Error
242
v2_s900386648
s900386648
s900386648
p00134
p00134
u088290348
u088290348
1,399,578,678
2014-05-08T19:51:18
AOJ0134.java
import java.util.Scanner; public class AOJ0134 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextdouble(); long a = 0; for(int i=0;i<n;i++)a+=sc.nextdouble(); System.out.println(a/n); } }
AOJ0134.java:6: error: cannot find symbol long n = sc.nex?double(); ^ symbol: method nex?double() location: variable sc of type Scanner AOJ0134.java:8: error: cannot find symbol for(int i=0;i<n;i++)a+=sc.nextdouble(); ^ symbol: method nextdouble() location: variab...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00134|0
u088290348|p00134|0
codenet
Compile Error
248
v2_s258454045
s258454045
s258454045
p00134
p00134
u088290348
u088290348
1,399,579,299
2014-05-08T20:01:39
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextlong(); long a = 0; for(int i=0) { for(i<n;i++) { a+=sc.nextlong(); System.out.println(a/n); } ...
Main.java:8: error: ';' expected for(int i=0) { ^ Main.java:9: error: > or ',' expected for(i<n;i++) { ^ Main.java:9: error: not a statement for(i<n;i++) { ^ Main.java:9: error: ';' expected for(i<n...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00134|0
u088290348|p00134|0
codenet
Compile Error
337
v2_s870957520
s870957520
s870957520
p00134
p00134
u088290348
u088290348
1,399,579,447
2014-05-08T20:04:07
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextlong(); long a = 0; for(int i=0;i<n;i++) { a+=sc.nextlong(); System.out.println(a/n); } } } }
Main.java:14: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00134|0
u088290348|p00134|0
codenet
Compile Error
311
v2_s183025204
s183025204
s183025204
p00134
p00134
u088290348
u088290348
1,399,579,478
2014-05-08T20:04:38
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextlong(); long a = 0; for(int i=0;i<n;i++) { a+=sc.nextlong(); System.out.println(a/n); } } }
Main.java:6: error: cannot find symbol long n = sc.nextlong(); ^ symbol: method nextlong() location: variable sc of type Scanner Main.java:9: error: cannot find symbol a+=sc.nextlong(); ^ symbol: method nextlong() location: variable sc of typ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00134|0
u088290348|p00134|0
codenet
Compile Error
286
v2_s802889022
s802889022
s802889022
p00134
p00134
u088290348
u088290348
1,399,579,573
2014-05-08T20:06:13
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextlong(); long a = 0; for(int i=0;i<n;i++)a+=sc.nextlong(); System.out.println(a/n); } }
Main.java:6: error: cannot find symbol long n = sc.nextlong(); ^ symbol: method nextlong() location: variable sc of type Scanner Main.java:8: error: cannot find symbol for(int i=0;i<n;i++)a+=sc.nextlong(); ^ symbol: method nextlong() location: variable sc of type ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00134|0
u088290348|p00134|0
codenet
Compile Error
246
v2_s623969937
s623969937
s623969937
p00134
p00134
u441981269
u441981269
1,319,350,866
2011-10-23T06:21:06
Main.java
import java.io.*; import java.util.*; // 2011/10/23 // 0134 oŒû’²¸ public class Main { // ƒƒCƒ“ return false‚Å‚¨‚µ‚Ü‚¢ boolean main() throws IOException { int size = 0; try { size = readIntArray()[0]; } catch(Exception e) { return false; } long sum = 0; for(int i = 0; i < size; i++) { ...
Main.java:28: error: unreachable statement return true; // ?????I?? ???? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u441981269|p00134|0
u441981269|p00134|0
codenet
Compile Error
2,033
v2_s884956599
s884956599
s884956599
p00134
p00134
u907626292
u907626292
1,338,193,001
2012-05-28T08:16:41
Main.java
public class Main{ public static void main(String a[]) throws java.io.IOException{ Scanner scan = new Scanner(System.in); int n =scan.nextInt(); long sum=0; while(scan.hasNext()){ sum+=scan.nextInt(); } System.out.println(sum/n); } }
Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00134|0
u907626292|p00134|0
codenet
Compile Error
306
v2_s189447319
s189447319
s189447319
p00135
p00135
u197786702
u197786702
1,329,733,932
2012-02-20T10:32:12
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.nextLine()); for(int i = 0; i < n; i++){ String[] strs = sc.nextLine().split(":"); int hour = Integer.parseInt(strs[0]); int min = Integer.parse...
Main.java:32: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u197786702|p00135|0
u197786702|p00135|0
codenet
Compile Error
766
v2_s689065192
s689065192
s689065192
p00135
p00135
u580216947
u580216947
1,313,964,530
2011-08-21T22:08:50
Main.java
import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); static int n; public static void main(String[] args) { read(); } static boolean read(){ if(!sc.hasNext())return false; n = sc.nextInt(); for(int i = 0; i < n; i++){ String[] line = new String[2]; line = sc.next().spli...
Main.java:32: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u580216947|p00135|0
u580216947|p00135|0
codenet
Compile Error
830
v2_s627803919
s627803919
s627803919
p00136
p00136
u759934006
u759934006
1,371,857,689
2013-06-21T23:34:49
Main.java
freq=Array.new(6, 0) gets.to_i.times { h=gets.to_f case when h<165 freq[0]+=1 when h<170 freq[1]+=1 when h<175 freq[2]+=1 when h<180 freq[3]+=1 when h<185 freq[4]+=1 else freq[5]+=1 end } freq.each_index { |i| puts "#{i+1}:" << '*' * freq[i] }
Main.java:1: error: class, interface, enum, or record expected freq=Array.new(6, 0) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759934006|p00136|0
u759934006|p00136|0
codenet
Compile Error
313
v2_s347751863
s347751863
s347751863
p00138
p00138
u032662562
u032662562
1,468,328,275
2016-07-12T12:57:55
Main.java
def main if true then fh=STDIN else fh=open("in1_0138.txt") end rec=[] while fh.gets do f = $_.chomp.split id=f[0].to_i tm=f[1].to_f rec.push([id, tm]) end ans=[] g1=rec[0..7].sort{|a,b| a[1]<=>b[1]} g2=rec[8..15].sort{|a,b| a[1]<=>b[1]} g3=rec[16..23].sort{|a,b| a[1]<=>b[1]...
Main.java:1: error: class, interface, enum, or record expected def main ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u032662562|p00138|0
u032662562|p00138|0
codenet
Compile Error
525
v2_s022262235
s022262235
s022262235
p00138
p00138
u158338651
u158338651
1,462,810,040
2016-05-09T16:07:20
Main.java
import java.util.*; public class Main { void doIt(){ Scanner sc = new Scanner(System.in); Person pa[][] = new Person[3][8]; Person pa1[] = new Person[24]; for(int i = 0;i < 3;i++){ for(int k = 0;k < 8;k++){ pa[i][k] = new Person(sc.nextInt(), sc.nextDouble()); pa1[i * 8 + k] = pa[i][k]; } Arra...
Main.java:36: error: double cannot be dereferenced return time.compareTo(p.time); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u158338651|p00138|0
u158338651|p00138|0
codenet
Compile Error
988
v2_s006039904
s006039904
s006039904
p00138
p00138
u158338651
u158338651
1,463,026,083
2016-05-12T04:08:03
Main.java
import java.util.*; public class Main { void doIt(){ Scanner sc = new Scanner(System.in); Person pa[] = new Person[24]; int cnt = 0; for(int i = 0;i < 3;i++){ for(int k = 0;k < 8;k++){ pa[i][k] = new Person(sc.nextInt(), sc.nextDouble(), true); } Arrays.sort(pa, i * 8, i * 8 + 7); for(int k = 0...
Main.java:9: error: array required, but Main.Person found pa[i][k] = new Person(sc.nextInt(), sc.nextDouble(), true); ^ Main.java:19: error: cannot find symbol if(pa1[i].flag == true){ ^ symbol: variable pa1 location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u158338651|p00138|1
u158338651|p00138|1
codenet
Compile Error
992
v2_s154594728
s154594728
s154594728
p00138
p00138
u233030964
u233030964
1,462,617,399
2016-05-07T10:36:39
Main.java
import java.lang.reflect.Array; import java.util.*; public class Main { race[] raceArray = new race[8]; race[] raceArrays = new race[6]; void doIt(){ String a, b; int p = 0; Scanner sc = new Scanner(System.in); for(int m = 0; m < 3; m++){ for(int i = 0; i < 8; i++){ a = sc.next(); b = ...
Main.java:36: error: cannot find symbol new AOJ_0138().doIt(); ^ symbol: class AOJ_0138 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233030964|p00138|0
u233030964|p00138|0
codenet
Compile Error
1,096
v2_s929827559
s929827559
s929827559
p00138
p00138
u233030964
u233030964
1,462,617,425
2016-05-07T10:37:05
AOJ_0138.java
import java.lang.reflect.Array; import java.util.*; import SDkadai.SortExample.Person; public class AOJ_0138 { race[] raceArray = new race[8]; race[] raceArrays = new race[6]; void doIt(){ String a, b; int p = 0; Scanner sc = new Scanner(System.in); for(int m = 0; m < 3; m++){ for(int i = 0; ...
AOJ_0138.java:4: error: package SDkadai.SortExample does not exist import SDkadai.SortExample.Person; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233030964|p00138|0
u233030964|p00138|0
codenet
Compile Error
1,136
v2_s534362749
s534362749
s534362749
p00138
p00138
u352015392
u352015392
1,462,993,710
2016-05-11T19:08:30
Main.java
public class Main { void doIt(){ Runner[] runner = new Runner[8];//????????\???????????? Runner[] loser = new Runner[18];//?????????3?????\????????\???????????? Scanner sc = new Scanner(System.in); int c = 0;//loser????¨???¶??¨ int num; String time; for(int pare = 0; pare < 3; pare++){ for(int run = 0...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:15: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u352015392|p00138|0
u352015392|p00138|0
codenet
Compile Error
1,135
v2_s564394428
s564394428
s564394428
p00138
p00138
u352015392
u352015392
1,462,994,593
2016-05-11T19:23:13
Main.java
public class Main { void doIt(){ Runner[] runner = new Runner[8];//????????\???????????? Runner[] winner = new Runner[6];//????????????1?????¨???????????\?????? Runner[] loser = new Runner[18];//?????????3?????\????????\???????????? Scanner sc = new Scanner(System.in); int l = 0, w = 0;//loser,winner????¨???...
Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:16: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u352015392|p00138|0
u352015392|p00138|0
codenet
Compile Error
1,303
v2_s358975602
s358975602
s358975602
p00138
p00138
u352015392
u352015392
1,462,994,749
2016-05-11T19:25:49
Main.java
public class Main { Runner[] runner = new Runner[8];//????????\???????????? Runner[] winner = new Runner[6];//????????????1?????¨???????????\?????? Runner[] loser = new Runner[18];//?????????3?????\????????\???????????? void doIt(){ Scanner sc = new Scanner(System.in); int l = 0, w = 0;//loser,winner????¨???¶??...
Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:16: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u352015392|p00138|0
u352015392|p00138|0
codenet
Compile Error
1,300
v2_s057103241
s057103241
s057103241
p00138
p00138
u352015392
u352015392
1,463,014,710
2016-05-12T00:58:30
Main.java
public class Main { Runner[] runner = new Runner[8];//????????\???????????? Runner[] winner = new Runner[6];//????????????1?????¨???????????\?????? Runner[] loser = new Runner[18];//?????????3?????\????????\???????????? void doIt(){ Scanner sc = new Scanner(System.in); int l = 0, w = 0;//loser,winner????¨???¶??...
Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:16: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u352015392|p00138|1
u352015392|p00138|0
codenet
Compile Error
1,300
v2_s052003899
s052003899
s052003899
p00138
p00138
u547217070
u547217070
1,463,021,036
2016-05-12T02:43:56
Main.java
import java.util.*; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); Person[] p = new Person[8]; Person[] nizi = new Person[18]; for(int i= 0; i < 3; i++){ for(int j = 0; j < 8; j++){ int no =...
Main.java:14: error: non-static variable this cannot be referenced from a static context p[j] = new Person(no,result); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547217070|p00138|0
u547217070|p00138|0
codenet
Compile Error
1,088
v2_s153113172
s153113172
s153113172
p00138
p00138
u600584317
u600584317
1,462,625,306
2016-05-07T12:48:26
Main.java
import java.util.Arrays; import java.util.Scanner; class Player implements Comparable<Player>{ int num; double time; public Player(int num,double time){ this.num=num; this.time=time; } @Override public String toString(){ return num+" "+time; } @Override public int compareTo(Player p){ return new Doub...
Main.java:1: error: illegal character: '\u0008' import java.util.Arrays; ^ Main.java:1: error: class, interface, enum, or record expected import java.util.Arrays; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.Scanner; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600584317|p00138|0
u600584317|p00138|0
codenet
Compile Error
1,315
v2_s979621087
s979621087
s979621087
p00138
p00138
u600584317
u600584317
1,462,625,385
2016-05-07T12:49:45
Main.java
import java.util.Arrays; import java.util.Scanner; class Player implements Comparable<Player>{ int num; double time; public Player(int num,double time){ this.num=num; this.time=time; } @Override public String toString(){ return num+" "+time; } @Override public int compareTo(Player p){ return new Doub...
Main.java:1: error: illegal character: '\u0008' import java.util.Arrays; ^ Main.java:1: error: class, interface, enum, or record expected import java.util.Arrays; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.Scanner; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600584317|p00138|0
u600584317|p00138|0
codenet
Compile Error
1,130
v2_s600623905
s600623905
s600623905
p00138
p00138
u608108146
u608108146
1,462,899,975
2016-05-10T17:06:15
Main.java
import java.util.Arrays; import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int[] Upper = new int[3]; int[][] t= new int[3][8]; Person[] person = new Person[24]; for(int i=0;i<3;i++){ for(int k=0;k<8;k++){ person[i*8+k] = new person(...
Main.java:12: error: cannot find symbol person[i*8+k] = new person(i,sc.nextInt(),sc.next()); ^ symbol: class person location: class Main Main.java:13: error: incompatible types: Person cannot be converted to int t[i][k] = person[i*8+k]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u608108146|p00138|0
u608108146|p00138|0
codenet
Compile Error
1,312
v2_s984408092
s984408092
s984408092
p00138
p00138
u608108146
u608108146
1,462,900,035
2016-05-10T17:07:15
Main.java
import java.util.*; class sample { public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); Player[] person = new Player[24]; int[][] rank = new int[3][8]; int[] cnt = new int[3]; for(int i = 0;i < 3;i++){ for(int j...
Main.java:12: error: non-static variable this cannot be referenced from a static context person[i*8+j] = new Player(i,sc.nextInt(),sc.next()); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u608108146|p00138|0
u608108146|p00138|0
codenet
Compile Error
1,380
v2_s413644589
s413644589
s413644589
p00138
p00138
u608108146
u608108146
1,462,947,804
2016-05-11T06:23:24
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); Player[] winner = new Player[6]; Player[][] r = new Player[3][8]; for(int i=0;i<3;i++){ for(int j=0;j<8;j++){r[i][j]=n...
Main.java:36: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u608108146|p00138|1
u608108146|p00138|1
codenet
Compile Error
1,199
v2_s959446405
s959446405
s959446405
p00138
p00138
u770679852
u770679852
1,368,546,265
2013-05-14T15:44:25
Main.java
import java.util.*; public class Main { Scanner s = new Scanner(System.in); void doIt(){ // 自作クラス(Person)オブジェクトの並べ替え Person []personone = new Person[8]; Person []result = new Person[8]; Person []three = new Person[6]; for(int i=0; i<8; i++){ personone[i] = new Person(s.nextInt(), s.nextDouble());...
Main.java:42: error: cannot find symbol new Aizu0138().doIt(); ^ symbol: class Aizu0138 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770679852|p00138|0
u770679852|p00138|0
codenet
Compile Error
1,453
v2_s689026189
s689026189
s689026189
p00138
p00138
u918572590
u918572590
1,334,845,509
2012-04-19T14:25:09
Main.java
import java.util.*; import static java.lang.Math.*; import static java.lang.System.out; public class Main { Scanner sc = new Scanner(System.in); public static void main(String[] args) { new Main().AOJ0138(); } void AOJ0138(){ // Track and Field Competition Time138[] times1st = new Time138[8]; Time138[] tim...
Main.java:143: error: method does not override or implement a method from a supertype @Override ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918572590|p00138|0
u918572590|p00138|0
codenet
Compile Error
4,035
v2_s683581588
s683581588
s683581588
p00138
p00138
u918572590
u918572590
1,334,845,566
2012-04-19T14:26:06
Main.java
import java.util.*; import static java.lang.Math.*; import static java.lang.System.out; public class Main { Scanner sc = new Scanner(System.in); public static void main(String[] args) { new Main().AOJ0138(); } void AOJ0138(){ // Track and Field Competition Time138[] times1st = new Time138[8]; Time138[] tim...
Main.java:142: error: method does not override or implement a method from a supertype @Override ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918572590|p00138|0
u918572590|p00138|0
codenet
Compile Error
4,023
v2_s699203755
s699203755
s699203755
p00138
p00138
u931639161
u931639161
1,462,995,678
2016-05-11T19:41:18
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); Person [][] personArray = new Person[3][8]; Person [] nextwinner = new Person[18]; int k = 0; public void doIt(){ for(int i = 0; i < 3; i++){ for(int j = 0; j < 8; j++){ personArray[i][j] = new Per...
Main.java:34: error: cannot find symbol Main().doIt(); ^ symbol: method Main() location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u931639161|p00138|0
u931639161|p00138|0
codenet
Compile Error
1,238
v2_s952839921
s952839921
s952839921
p00138
p00138
u978794529
u978794529
1,462,368,280
2016-05-04T13:24:40
Main.java
import java.util.*; public class Main { int i,runner; String time; Runner timeArray[] = new Runner[24]; int flag[] = new int[timeArray.length]; Runner subArray[] = new Runner[timeArray.length]; void doIt(){ Scanner sc = new Scanner(System.in); for(i = 0; i < timeArray.length; i ++ ){ runner = sc.nextInt(...
Main.java:48: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978794529|p00138|0
u978794529|p00138|0
codenet
Compile Error
1,294
v2_s083541076
s083541076
s083541076
p00139
p00139
u195518036
u195518036
1,519,804,860
2018-02-28T08:01:00
Main.java
public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); while (n-- > 0) { String snake = sc.next(); if (snake.indexOf('#') > 0 && snake.charAt(0) == '>' && snake.charAt(1) == '\'' && snake.charAt(snake.length() - 1) == '~') ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) Main.java:20: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u195518036|p00139|0
u195518036|p00139|0
codenet
Compile Error
959
v2_s286093643
s286093643
s286093643
p00143
p00143
u760351030
u760351030
1,368,306,373
2013-05-11T21:06:13
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in=new Scanner(System.in); int N=in.nextInt(); while(N-->0) { double xp1=in.nextDouble(),yp1=in.nextDouble(); double xp2=in.nextDouble(),yp2=in.nextDouble(); double xp3=in.nextDouble(),yp3=in.nextDouble();...
Main.java:22: error: cannot find symbol System.out.println(kabe==1 ? "OK":"NG"); ^ symbol: variable kabe location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u760351030|p00143|1
u760351030|p00143|0
codenet
Compile Error
984
v2_s453737668
s453737668
s453737668
p00144
p00144
u358879127
u358879127
1,400,235,444
2014-05-16T10:17:24
Main.java
import java.util.*; import java.io.*; import static java.util.Arrays.*; import static java.util.Collections.*; import static java.lang.Math.*; public class Main { int INF = 1 << 28; //long INF = 1L << 62; double EPS = 1e-10; int n; int[][] es; void run() { Scanner sc = new Scanner(System.in); n = sc.ne...
Main.java:50: error: bad operand types for binary operator '&&' for (int i=0;i<n;i++) if (! used[i] && es[cur.p][i] ) { ^ first type: boolean second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358879127|p00144|0
u358879127|p00144|0
codenet
Compile Error
1,545
v2_s557266083
s557266083
s557266083
p00144
p00144
u529013669
u529013669
1,323,683,585
2011-12-12T09:53:05
Main.java
import java.util.*; public class Main { static final int inf = 99999; int[][] a; Main(){ Scanner sc = new Scanner(System.in); int n, m, s, t; while(sc.hasNext()){ n = sc.nextInt(); a = new int[n+1][n+1]; for(int i = 0; i <= n; ++i) for(int j = i+1; j <= n; ++j) a[i][j] = a[j][i...
Main.java:39: error: cannot find symbol if(a[s][t] < u) ^ symbol: variable u location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u529013669|p00144|0
u529013669|p00144|0
codenet
Compile Error
944
v2_s939377788
s939377788
s939377788
p00145
p00145
u317038881
u317038881
1,289,351,388
2010-11-10T01:09:48
Main.java
import java.io.*; import java.util.*; public class Main{ public static void main(String args[]){ try{ new Main(); }catch(IOException e){ e.printStackTrace(); } } public Main() throws IOException{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String line = in.readLine();...
Main.java:32: error: cannot find symbol public long get_cost(List<Cards> data, long cost){ ^ symbol: class Cards location: class Main Main.java:17: error: cannot find symbol List<Cards> data = new ArrayList<Cards>(); ^ symbol: class Cards location: class Main Main.java:1...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u317038881|p00145|1
u317038881|p00145|1
codenet
Compile Error
1,145
v2_s262946515
s262946515
s262946515
p00145
p00145
u317038881
u317038881
1,289,351,429
2010-11-10T01:10:29
Main.java
import java.io.*; import java.util.*; public class Main{ public static void main(String args[]){ try{ new Main(); }catch(IOException e){ e.printStackTrace(); } } public Main() throws IOException{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String line = in.readLine()...
Main.java:53: error: class, interface, enum, or record expected lass Cards{ ^ Main.java:55: error: unnamed classes are a preview feature and are disabled by default. long bottom; ^ (use --enable-preview to enable unnamed classes) Main.java:56: error: class, interface, enum, or record expected public Cards(long a, ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u317038881|p00145|1
u317038881|p00145|1
codenet
Compile Error
1,448
v2_s446377877
s446377877
s446377877
p00147
p00147
u067299340
u067299340
1,428,670,948
2015-04-10T13:02:28
Main.java
import java.util.Arrays; import java.util.List; import java.util.ArrayList; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; /** * Fukushimaken */ public class Main{ /** 食べ終わるまでの時間 */ public static final int[] timeToEatList = {19, 39, 25, 36, 22, 42}; /** 座席数 ...
Main.java:129: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u067299340|p00147|1
u067299340|p00147|1
codenet
Compile Error
4,741
v2_s992782068
s992782068
s992782068
p00147
p00147
u190923288
u190923288
1,430,224,098
2015-04-28T12:28:18
Main03.java
public class Main03 { public static void main(String[] args) { } /** * index番目のグループの到着時刻を返却する(正午からの経過時間) * 単位:分 * @param index * @return 到着時刻 */ private static int getArriveTime(int index) { return index * 5; } /** * index番目のグループの人数を返却する * 単位:人 ...
Main03.java:56: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u190923288|p00147|0
u190923288|p00147|0
codenet
Compile Error
1,400
v2_s434004678
s434004678
s434004678
p00147
p00147
u340523328
u340523328
1,428,370,807
2015-04-07T01:40:07
Main.java
<?php $waitTime = array(0, 0, 0, 0, 0, 0, 14, 9, 4, 0, 0, 8, 3, 2, 0, 0, 15, 10, 15, 10, 6, 12, 7, 9, 11, 6, 23, 18, 13, 8, 3, 23, 18, 13, 8, 3, 34, 29, 24, 22, 17, 28, 23, 24, 19, 27, 34, 29, 35, 30, 28, 31, 28, 23, 24, 28, 42, 37, 32, 27, 22, 42, 37, 32, 27, 22, 53, 48, 43, 41, 36, 47, 42, 43, 38, 46, 64, 59, 54, 49...
Main.java:1: error: class, interface, enum, or record expected <?php ^ Main.java:104: error: class, interface, enum, or record expected while($input = fscanf(STDIN, "%d")){ ^ Main.java:106: error: class, interface, enum, or record expected } ^ Main.java:108: error: class, interface, enum, or record expected ?> ^ 4 erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u340523328|p00147|3
u340523328|p00147|3
codenet
Compile Error
502
v2_s245419317
s245419317
s245419317
p00147
p00147
u340523328
u340523328
1,429,059,983
2015-04-15T01:06:23
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { int[] seats = new int[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; int[] groupMembers = new int[] {2, 5, 2, 2, 2}; int[] e...
Main.java:24: error: cannot find symbol inputted.put(ni); ^ symbol: method put(int) location: variable inputted of type List<Integer> 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u340523328|p00147|4
u340523328|p00147|4
codenet
Compile Error
2,437
v2_s155678062
s155678062
s155678062
p00147
p00147
u630718233
u630718233
1,485,781,714
2017-01-30T13:08:34
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; public class Main{ // ??£????????????????????????????????? private int time = 0; // ?????????????????????????????§????????°???????????° private int groupCount = 0; public static vo...
Main.java:15: error: cannot find symbol new Fukushimaken().execute(); ^ symbol: class Fukushimaken location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u630718233|p00147|1
u630718233|p00147|1
codenet
Compile Error
5,779
v2_s587217728
s587217728
s587217728
p00148
p00148
u197786702
u197786702
1,333,547,195
2012-04-04T13:46:35
Main.java
#include <stdio.h> int main(int argc,char* argv[]){ int num; while(scanf("%d",&num) != EOF){ int d = num % 39; if(d == 0){ d = 39; } printf("3C%02d\n",d); } return 0; }
Main.java:1: error: illegal character: '#' #include <stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <stdio.h> ^ Main.java:7: error: class, interface, enum, or record expected while(scanf("%d",&num) != EOF){ ^ Main.java:9: error: class, interface, enum, or record expected...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u197786702|p00148|0
u197786702|p00148|0
codenet
Compile Error
214
v2_s093734568
s093734568
s093734568
p00150
p00150
u453728254
u453728254
1,377,956,973
2013-08-31T13:49:33
Twin.java
import java.util.Scanner; public class Twin Prime { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = 0,i,j,b=0,k=0; System.out.println("\u0047"+"\u004F"); int[] data= new int [10001]; char ku=' '; for(...
Twin.java:3: error: '{' expected public class Twin Prime { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u453728254|p00150|1
u453728254|p00150|1
codenet
Compile Error
831
v2_s956472751
s956472751
s956472751
p00150
p00150
u453728254
u453728254
1,377,957,052
2013-08-31T13:50:52
Main.java
import java.util.Scanner; Public class sample { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = 0,i,j,b=0,k=0; int[] data= new int [10001]; char ku=' '; for(i=2;i<=10000;i++){ if(data[i]==0){...
Main.java:3: error: class, interface, enum, or record expected Public class sample { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u453728254|p00150|1
u453728254|p00150|1
codenet
Compile Error
788
v2_s917572144
s917572144
s917572144
p00150
p00150
u453728254
u453728254
1,377,957,201
2013-08-31T13:53:21
Main.java
import java.util.Scanner; Public class twin prime { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = 0,i,j,b=0,k=0; int[] data= new int [10001]; char ku=' '; for(i=2;i<=10000;i++){ if(data[i]=...
Main.java:3: error: class, interface, enum, or record expected Public class twin prime { ^ Main.java:3: error: '{' expected Public class twin prime { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u453728254|p00150|1
u453728254|p00150|1
codenet
Compile Error
792
v2_s651987622
s651987622
s651987622
p00150
p00150
u453728254
u453728254
1,377,957,221
2013-08-31T13:53:41
Main.java
import java.util.Scanner; Public class twin { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = 0,i,j,b=0,k=0; int[] data= new int [10001]; char ku=' '; for(i=2;i<=10000;i++){ if(data[i]==0){ ...
Main.java:3: error: class, interface, enum, or record expected Public class twin { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u453728254|p00150|1
u453728254|p00150|1
codenet
Compile Error
786
v2_s437183179
s437183179
s437183179
p00154
p00154
u213849509
u213849509
1,424,520,773
2015-02-21T12:12:53
Main.java
public static void main(String[] args) { Scanner scanner = new Scanner(System.in); while (true) { int n = scanner.nextInt(); if (n == 0) break; Map<Integer, Integer> memo = new HashMap<Integer, Integer>(); memo.put(0, 1); for (int i = 0; i < n; i++) { int a = scanner.nextInt(); int b = sc...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) Main.java:43: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u213849509|p00154|0
u213849509|p00154|0
codenet
Compile Error
997
v2_s451190423
s451190423
s451190423
p00159
p00159
u088290348
u088290348
1,417,023,883
2014-11-26T17:44:43
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true){ int n = sc.nextInt(); if(n==0)break; int a = sc.nextInt(); double h = sc.nextDouble()/100; double w = sc.nextDouble(); double b = Math.abs(22-w/(h*h)); for...
Main.java:18: error: variable a is already defined in method main(String[]) double a = Math.abs(22-w/(h*h)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00159|0
u088290348|p00159|0
codenet
Compile Error
567
v2_s692726320
s692726320
s692726320
p00159
p00159
u088290348
u088290348
1,417,023,964
2014-11-26T17:46:04
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true){ int n = sc.nextInt(); if(n==0)break; int a = sc.nextInt(); double h = sc.nextDouble()/100; double w = sc.nextDouble(); double b = Math.abs(22-w/(h*h)); for...
Main.java:18: error: variable a is already defined in method main(String[]) double a = Math.abs(22-w(h*h)); ^ Main.java:18: error: cannot find symbol double a = Math.abs(22-w(h*h)); ^ symbol: method w(double) location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00159|0
u088290348|p00159|0
codenet
Compile Error
566
v2_s828930121
s828930121
s828930121
p00159
p00159
u088290348
u088290348
1,417,023,978
2014-11-26T17:46:18
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true){ int n = sc.nextInt(); if(n==0)break; int a = sc.nextInt(); double h = sc.nextDouble()/100; double w = sc.nextDouble(); double b = Math.abs(22-(w/(h*h))); f...
Main.java:18: error: variable a is already defined in method main(String[]) double a = Math.abs(22-(w/(h*h))); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00159|0
u088290348|p00159|0
codenet
Compile Error
571
v2_s665291771
s665291771
s665291771
p00159
p00159
u088290348
u088290348
1,417,024,068
2014-11-26T17:47:48
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true){ int n = sc.nextInt(); if(n==0)break; int a = sc.nextInt(); double h = sc.nextDouble()/100; double w = sc.nextDouble(); double b = Math.abs(22-(w/(h*h))); f...
Main.java:18: error: variable a is already defined in method main(String[]) double a = Math.abs(22-(w/(h*h))); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00159|0
u088290348|p00159|0
codenet
Compile Error
571
v2_s925820868
s925820868
s925820868
p00159
p00159
u814387366
u814387366
1,399,183,341
2014-05-04T06:02:21
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scan=new Scanner(System.in); while(true) { int n=scan.nextInt(); if(n==0)break; int num[]=new int[n]; double bmi; int ans=0,x=0,near=100; for(int i=0;i<n;i++) { num[i]=scan.next(); int h,w; ...
Main.java:17: error: incompatible types: String cannot be converted to int num[i]=scan.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u814387366|p00159|0
u814387366|p00159|0
codenet
Compile Error
594
v2_s568958141
s568958141
s568958141
p00159
p00159
u814387366
u814387366
1,399,186,815
2014-05-04T07:00:15
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scan=new Scanner(System.in); while(true) { int n=scan.nextInt(); if(n==0)break; int ans=0,x=0,near=0,j=0; for(int i=0;i<n;i++) { int num=scan.nextInt(); int w; double h; h=scan.nextD...
Main.java:27: error: incompatible types: possible lossy conversion from double to int near=Double.MAX_VALUE; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u814387366|p00159|0
u814387366|p00159|0
codenet
Compile Error
592
v2_s508834643
s508834643
s508834643
p00160
p00160
u759934006
u759934006
1,371,737,366
2013-06-20T14:09:26
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Map.Entry; import java.util.StringTokenizer; import java.util.TreeMap; /** * Delivery Fee */ public class Main { static P0160 main = new P0160(); static TreeMap<Parcel, Integer> fee = new TreeMap<Parcel, ...
Main.java:13: error: cannot find symbol static P0160 main = new P0160(); ^ symbol: class P0160 location: class Main Main.java:13: error: cannot find symbol static P0160 main = new P0160(); ^ symbol: class P0160 location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759934006|p00160|0
u759934006|p00160|0
codenet
Compile Error
1,776
v2_s006246914
s006246914
s006246914
p00160
p00160
u759934006
u759934006
1,371,737,468
2013-06-20T14:11:08
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Map.Entry; import java.util.StringTokenizer; import java.util.TreeMap; /** * Delivery Fee */ public class Main { static P0160 main = new P0160(); static TreeMap<Parcel, Integer> fee = new TreeMap<Parcel, ...
Main.java:13: error: cannot find symbol static P0160 main = new P0160(); ^ symbol: class P0160 location: class Main Main.java:13: error: cannot find symbol static P0160 main = new P0160(); ^ symbol: class P0160 location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759934006|p00160|0
u759934006|p00160|0
codenet
Compile Error
1,827
v2_s379001427
s379001427
s379001427
p00160
p00160
u770686467
u770686467
1,348,798,905
2012-09-28T02:21:45
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); while(true){ int baggageNum = stdIn.nextInt(); if(baggageNum = 0)break; int cost = 0; for(int i=0;i < baggageNum;i++){ int w,size = 0; for(int i=0;i<3;i++)size += st...
Main.java:33: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00160|0
u770686467|p00160|0
codenet
Compile Error
742
v2_s522693868
s522693868
s522693868
p00160
p00160
u770686467
u770686467
1,348,799,204
2012-09-28T02:26:44
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); while(true){ int baggageNum = stdIn.nextInt(); if(baggageNum = 0)break; int cost = 0; for(int i=0;i < baggageNum;i++){ int size = 0; for(int i=0;i<3;i++)size += stdI...
Main.java:9: error: incompatible types: int cannot be converted to boolean if(baggageNum = 0)break; ^ Main.java:13: error: variable i is already defined in method main(String[]) for(int i=0;i<3;i++)size += stdIn.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00160|0
u770686467|p00160|0
codenet
Compile Error
740
v2_s298793910
s298793910
s298793910
p00160
p00160
u770686467
u770686467
1,348,799,266
2012-09-28T02:27:46
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); while(true){ int baggageNum = stdIn.nextInt(); if(baggageNum == 0)break; int cost = 0; for(int i=0;i < baggageNum;i++){ int size = 0; for(int i=0;i<3;i++)size += std...
Main.java:13: error: variable i is already defined in method main(String[]) for(int i=0;i<3;i++)size += stdIn.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00160|0
u770686467|p00160|0
codenet
Compile Error
741
v2_s839637368
s839637368
s839637368
p00162
p00162
u606460153
u606460153
1,528,802,898
2018-06-12T11:28:18
Main.java
#include<iostream> #include<math.h> #include<vector> #include<algorithm> #include<cstdio> #include <string> #include <complex> #include <functional> using namespace std; typedef pair<int,int> P; int h[1000001]; int main(){ h[1]=1; for(int i=2;i<=1000000;i*=2)h[i]=1; for(int i=1;i<=1000000;i++){ if(...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include<math.h> ^ Main.java:3: error: illegal character: '#' #include<vector> ^ Main.java:4: error: illegal character: '#' #include<algorithm> ^ Main.java:5: error: illegal character: '#' #include<cstdio> ^ Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606460153|p00162|0
u606460153|p00162|0
codenet
Compile Error
697
v2_s419870720
s419870720
s419870720
p00170
p00170
u435518193
u435518193
1,387,083,977
2013-12-15T05:06:17
Main.java
import java.util.*; public class Main { int n, sum; String[] f; int[] w, s, memo, ans; double min; public void loop(int m, int gsum, int wsum){ if(m==n){ if(min>(double)gsum/wsum){ min = (double)gsum/wsum; for(int i=0;i<n;i++) ans[i] = memo[i]; } return; } for(int i=0;i<n;i++){ bool...
Main.java:59: error: cannot find symbol new Main.run(); ^ symbol: class run location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u435518193|p00170|0
u435518193|p00170|0
codenet
Compile Error
1,082
v2_s893463719
s893463719
s893463719
p00173
p00173
u031194354
u031194354
1,474,009,147
2016-09-16T06:59:07
Main.java
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); String str; int am, pm; for(int i = 0; i < 9; i++){ str = scan.next(); am = scan.nextInt(); pm = scan.nextInt(); System.out.println(str + " " + am + pm + " " + am * 200 + pm...
Main.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u031194354|p00173|0
u031194354|p00173|0
codenet
Compile Error
332
v2_s873402336
s873402336
s873402336
p00173
p00173
u088290348
u088290348
1,382,891,641
2013-10-27T16:34:01
Main.java
import java.util.*; public Main { public static void main(String[] args) { static Scanner stdin = new Scanner(System.in); int i = 9; while(i-- > 0){ String s = stdin.next(); int a = stdin.nextInt(), b = stdin.nextInt(); System.out.println(s + " " + (a+b) + " " + (200*a...
Main.java:2: error: class, interface, enum, or record expected public Main { ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) Main.java:4: error: illegal start...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00173|0
u088290348|p00173|0
codenet
Compile Error
338
v2_s447514821
s447514821
s447514821
p00173
p00173
u088290348
u088290348
1,382,891,687
2013-10-27T16:34:47
Main.java
import java.util.*; public Main { public static void main(String[] args) { static final Scanner stdin = new Scanner(System.in); int i = 9; while(i-- > 0){ String s = stdin.next(); int a = stdin.nextInt(), b = stdin.nextInt(); System.out.println(s + " " + (a+b) + " " + (...
Main.java:2: error: class, interface, enum, or record expected public Main { ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) Main.java:4: error: illegal start...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00173|0
u088290348|p00173|0
codenet
Compile Error
343
v2_s908088232
s908088232
s908088232
p00173
p00173
u088290348
u088290348
1,382,891,735
2013-10-27T16:35:35
Main.java
import java.util.*; public Main { static final Scanner stdin = new Scanner(System.in); public static void main(String[] args) { int i = 9; while(i-- > 0){ String s = stdin.next(); int a = stdin.nextInt(), b = stdin.nextInt(); System.out.println(s + " " + (a+b) + " " + (200*a+300*b));...
Main.java:2: error: class, interface, enum, or record expected public Main { ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. static final Scanner stdin = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:12: error: class...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00173|0
u088290348|p00173|0
codenet
Compile Error
329
v2_s608035953
s608035953
s608035953
p00176
p00176
u506537276
u506537276
1,529,230,145
2018-06-17T10:09:05
Main.java
static double dis(double r, double g, double b) { return Math.sqrt( r*r+ g*g+ b*b); } public static void main(String[] args) throws Exception { String [] names ={“000black”,“001blue”,“010lime”,“011aqua”,“100red”,“101fuchsia”,“110yellow”,“111white”}; Scanner sc = new Scanner(System.i...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. static double dis(double r, double g, double b) { ^ (use --enable-preview to enable unnamed classes) Main.java:5: error: illegal character: '\u201c' String [] names ={?000black?,?001blue?,?010lime?,?011aqua?,?100red?...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506537276|p00176|1
u506537276|p00176|1
codenet
Compile Error
1,167
v2_s064832494
s064832494
s064832494
p00176
p00176
u506537276
u506537276
1,529,230,280
2018-06-17T10:11:20
Main.java
import java.util.*; static double dis(double r, double g, double b) { return Math.sqrt( r*r+ g*g+ b*b); } public class Main { public static void main(String[] args) throws Exception { String [] names ={“000black”,“001blue”,“010lime”,“011aqua”,“100red”,“101fuchsia”,“110yellow”,“111white”}; ...
Main.java:3: error: unnamed classes are a preview feature and are disabled by default. static double dis(double r, double g, double b) { ^ (use --enable-preview to enable unnamed classes) Main.java:9: error: illegal character: '\u201c' String [] names ={?000black?,?001blue?,?010lime?,?011aqua?,?100red?...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506537276|p00176|1
u506537276|p00176|1
codenet
Compile Error
1,211
v2_s190867542
s190867542
s190867542
p00176
p00176
u506537276
u506537276
1,529,230,388
2018-06-17T10:13:08
Main.java
import java.util.*; public class Main { static double dis(double r, double g, double b) { return Math.sqrt( r*r+ g*g+ b*b); } public static void main(String[] args) throws Exception { String [] names ={“000black”,“001blue”,“010lime”,“011aqua”,“100red”,“101fuchsia”,“110yellow”,“111white”}; ...
Main.java:8: error: illegal character: '\u201c' String [] names ={?000black?,?001blue?,?010lime?,?011aqua?,?100red?,?101fuchsia?,?110yellow?,?111white?}; ^ Main.java:8: error: illegal character: '\u201d' String [] names ={?000black?,?001blue?,?010lime?,?011aqua?,?100red?,?...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506537276|p00176|1
u506537276|p00176|1
codenet
Compile Error
1,214
v2_s523504949
s523504949
s523504949
p00176
p00176
u506537276
u506537276
1,529,230,461
2018-06-17T10:14:21
Main.java
import java.util.*; public class Main { static double dis(double r, double g, double b) { return Math.sqrt( r*r+ g*g+ b*b); } public static void main(String[] args) throws Exception { String [] names ={“000black”,“001blue”,“010lime”,“011aqua”,“100red”,“101fuchsia”,“110yellow”,“111white...
Main.java:9: error: illegal character: '\u201c' String [] names ={?000black?,?001blue?,?010lime?,?011aqua?,?100red?,?101fuchsia?,?110yellow?,?111white?}; ^ Main.java:9: error: illegal character: '\u201d' String [] names ={?000black?,?001blue?,?010lime?,?011aqua?,?100red?,?1...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506537276|p00176|1
u506537276|p00176|1
codenet
Compile Error
1,218
v2_s290644187
s290644187
s290644187
p00176
p00176
u506537276
u506537276
1,529,241,326
2018-06-17T13:15:26
Main.java
import java.util.*; public class Main { static double distance(double r,double g,double b){ return Math.sqrt(r*r+g*g+b*b); } public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); String [] colors = {"000black","001blue","010lime","011aqua","...
Main.java:21: error: cannot find symbol for(String c:color){ ^ symbol: variable color location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506537276|p00176|2
u506537276|p00176|1
codenet
Compile Error
1,153
v2_s981775001
s981775001
s981775001
p00176
p00176
u506537276
u506537276
1,529,366,476
2018-06-19T00:01:16
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { String [] unit = {"","Man","Oku","Cho","Kei","Gai","Jo","Jou","Ko","Kan","Sei","Sai","Gok","Ggs","Asg","Nyt","Fks","Mts"}; Scanner sc = new Scanner(System.in); while(sc.hasNextInt()){ in...
Main.java:11: error: cannot find symbol BigInteger b = valueOf(Math.pow(m,n)); ^ symbol: class BigInteger location: class Main Main.java:11: error: cannot find symbol BigInteger b = valueOf(Math.pow(m,n)); ^ symbol: method valueOf(double) location: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506537276|p00176|3
u506537276|p00176|2
codenet
Compile Error
731
v2_s682543808
s682543808
s682543808
p00176
p00176
u506537276
u506537276
1,529,366,588
2018-06-19T00:03:08
Main.java
import java.util.*; import java.math.BigInteger; public class Main { public static void main(String[] args) throws Exception { String [] unit = {"","Man","Oku","Cho","Kei","Gai","Jo","Jou","Ko","Kan","Sei","Sai","Gok","Ggs","Asg","Nyt","Fks","Mts"}; Scanner sc = new Scanner(System.in); while(sc...
Main.java:12: error: cannot find symbol BigInteger b = valueOf(Math.pow(m,n)); ^ symbol: method valueOf(double) location: class Main Main.java:16: error: cannot find symbol String digit = remainder(b,10000); ^ symbol: method rem...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506537276|p00176|3
u506537276|p00176|2
codenet
Compile Error
760
v2_s639824150
s639824150
s639824150
p00176
p00176
u506537276
u506537276
1,529,366,677
2018-06-19T00:04:37
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { String [] unit = {"","Man","Oku","Cho","Kei","Gai","Jo","Jou","Ko","Kan","Sei","Sai","Gok","Ggs","Asg","Nyt","Fks","Mts"}; Scanner sc = new Scanner(System.in); while(sc.hasNextInt()){ in...
Main.java:11: error: cannot find symbol BigInteger b = valueOf(Math.pow(m,n)); ^ symbol: class BigInteger location: class Main Main.java:11: error: cannot find symbol BigInteger b = valueOf(Math.pow(m,n)); ^ symbol: method valueOf(double) location: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506537276|p00176|3
u506537276|p00176|2
codenet
Compile Error
731
v2_s605680763
s605680763
s605680763
p00176
p00176
u506537276
u506537276
1,529,366,741
2018-06-19T00:05:41
Main.java
import java.util.*; import java.math.BigInteger; public class Main { public static void main(String[] args) throws Exception { String [] unit = {"","Man","Oku","Cho","Kei","Gai","Jo","Jou","Ko","Kan","Sei","Sai","Gok","Ggs","Asg","Nyt","Fks","Mts"}; Scanner sc = new Scanner(System.in); while(sc...
Main.java:12: error: cannot find symbol BigInteger b = valueOf(Math.pow(m,n)); ^ symbol: method valueOf(double) location: class Main Main.java:16: error: cannot find symbol String digit = remainder(b,10000); ^ symbol: method rem...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506537276|p00176|3
u506537276|p00176|2
codenet
Compile Error
760
v2_s596800845
s596800845
s596800845
p00181
p00181
u473115569
u473115569
1,532,182,911
2018-07-21T14:21:51
Main.java
#include<bits/stdc++.h> using namespace std; typedef long long ll; ll m, n; ll w[110]; bool check(ll mid){ ll sum=0, count=1; for(ll i=1; i<=n; i++){ if(w[i]>mid) return false; sum+=w[i]; if(sum>mid){ count++; sum=...
Main.java:1: error: illegal character: '#' #include<bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<bits/stdc++.h> ^ Main.java:4: error: class, interface, enum, or record expected typedef long long ll; ^ Main.java:6: error: class, interface, enum, or record expected ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u473115569|p00181|1
u473115569|p00181|1
codenet
Compile Error
841
v2_s356801298
s356801298
s356801298
p00182
p00182
u892831253
u892831253
1,466,955,169
2016-06-26T15:32:49
Main.java
import java.util.Arrays; import java.util.Scanner; //Beaker public class Main { int n; int[] a; boolean[] have, t; boolean dfs(int k, int rest){ if(rest==0){ for(int i=0;i<n;i++)t[i]=have[i]; return greedy(); } if(rest < a[k])return false; have[k] = true; if(dfs(k+1, rest-a[k]))return true; ha...
Main.java:62: error: cannot find symbol new AOJ0182().run(); ^ symbol: class AOJ0182 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u892831253|p00182|0
u892831253|p00182|0
codenet
Compile Error
1,173
v2_s997639893
s997639893
s997639893
p00185
p00185
u435518193
u435518193
1,362,819,716
2013-03-09T09:01:56
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] pri = new int[1000002]; for(int i=2;i<=1000000;i++){ pri[i] = i; } for(int i=2;i<=1000000;i++){ for(int j=i+i;j<=1000000;j+=i){ pri[j]=0; } } while(true){ in...
Main.java:30: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u435518193|p00185|0
u435518193|p00185|0
codenet
Compile Error
495
v2_s284184488
s284184488
s284184488
p00188
p00188
u529013669
u529013669
1,313,405,886
2011-08-15T10:58:06
Main.java
import java.util.*; public class Main{ Main(){ Scanner sc = new Scanner(System.in); while(sc.hasNext()){ int r = sc.nextInt(), t, cnt=1, l=0; if(r == 0) break; int[] ary = new int[r+1]; for(int i = 0; i < r; i++) ary[i] = sc.nextInt(); t = sc.nextInt(); r--; for(;l <=...
Main.java:24: error: ';' expected if(l >= r) break ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u529013669|p00188|0
u529013669|p00188|0
codenet
Compile Error
569
v2_s307419862
s307419862
s307419862
p00188
p00188
u759949288
u759949288
1,284,148,978
2010-09-10T20:02:58
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); if (n == 0) break; int num[] = new int[n]; for (int i = 0; i < n; i++) num[i] = sc.nextInt(); int x = sc.nextInt(); int left = 0, right...
Main.java:25: error: 'else' without 'if' else if (right - left < 2) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759949288|p00188|0
u759949288|p00188|0
codenet
Compile Error
751
v2_s557777459
s557777459
s557777459
p00189
p00189
u323357326
u323357326
1,460,634,191
2016-04-14T11:43:11
Main.java
import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.PriorityQueue; import java.util.Scanner; public class Main{ public static void main(String[] args)throws Exception{ new Main().solve(); } void solve(){ Scanner sc=new Scanner(System.in); while(sc.hasNext()){ int n=...
Main.java:67: error: cannot find symbol for(int ii=0;ii<edges[u.me].size();ii++){ ^ symbol: variable edges location: class Main.Dijkstra Main.java:68: error: cannot find symbol Edge e=edges[u.me].get(ii); ^ symbol: variable edges location: class Main.Dijkstra Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p00189|0
u323357326|p00189|0
codenet
Compile Error
2,277
v2_s803140804
s803140804
s803140804
p00189
p00189
u814815126
u814815126
1,497,520,123
2017-06-15T09:48:43
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; ?? import static java.lang.Integer.parseInt; ?? /** ??* Convenient Location ??*/ public class Main { ?? ????????static final int MAX_LOC = 10; ?? ????????public static void main(String[] args) throws IOException { ?????????????...
Main.java:4: error: class, interface, enum, or record expected ?? ^ Main.java:6: error: class, interface, enum, or record expected ?? ^ Main.java:11: error: illegal start of type ?? ^ Main.java:13: error: illegal start of type ?? ^ Main.java:15: error: illegal start of expression ????????????????BufferedReader br = new...
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u814815126|p00189|0
u814815126|p00189|0
codenet
Compile Error
2,632
v2_s372877060
s372877060
s372877060
p00189
p00189
u814815126
u814815126
1,497,520,132
2017-06-15T09:48:52
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; ?? import static java.lang.Integer.parseInt; ?? /** ??* Convenient Location ??*/ public class Main { ?? ????????static final int MAX_LOC = 10; ?? ????????public static void main(String[] args) throws IOException { ?????????????...
Main.java:4: error: class, interface, enum, or record expected ?? ^ Main.java:6: error: class, interface, enum, or record expected ?? ^ Main.java:11: error: illegal start of type ?? ^ Main.java:13: error: illegal start of type ?? ^ Main.java:15: error: illegal start of expression ????????????????BufferedReader br = new...
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u814815126|p00189|0
u814815126|p00189|0
codenet
Compile Error
2,632