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_s169466459
s169466459
s169466459
p00754
p00754
u825684692
u825684692
1,334,588,741
2012-04-16T15:05:41
Main.java
class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);for(;;){String t,r;t=sc.nextLine();if(t.equals("."))break;r="";for(char c:t.toCharArray())if("()[]".indexOf(c)<0)r+=(c+8);for(int i=0;i<50;i++)r=r.replace("01","").replace("ce","");System.out.println(r.equals("")?"no":"yes");}}}
Main.java:1: error: cannot find symbol class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);for(;;){String t,r;t=sc.nextLine();if(t.equals("."))break;r="";for(char c:t.toCharArray())if("()[]".indexOf(c)<0)r+=(c+8);for(int i=0;i<50;i++)r=r.replace("01","").replace("ce","");System.out.println(r....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825684692|p00754|1
u825684692|p00754|1
codenet
Compile Error
307
v2_s903402907
s903402907
s903402907
p00754
p00754
u825684692
u825684692
1,334,588,868
2012-04-16T15:07:48
Main.java
import java.util.*;class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);for(;;){String t,r;t=sc.nextLine();if(t.equals("."))break;r="";for(char c:t.toCharArray())if("()[]".indexOf(c)<0)r+=(c+8);for(int i=0;i<50;i++)r=r.replace("01","").replace("ce","");System.out.println(r.equals("")?"no":"yes...
Main.java:1: error: cannot find symbol import java.util.*;class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);for(;;){String t,r;t=sc.nextLine();if(t.equals("."))break;r="";for(char c:t.toCharArray())if("()[]".indexOf(c)<0)r+=(c+8);for(int i=0;i<50;i++)r=r.replace("01","").replace("ce","");Sy...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825684692|p00754|1
u825684692|p00754|1
codenet
Compile Error
326
v2_s805010689
s805010689
s805010689
p00754
p00754
u825684692
u825684692
1,334,589,238
2012-04-16T15:13:58
Main.java
import java.util.*;class Main{public static void main(String[]a){int i;Scanner s=new Scanner(System.in);for(;;){String t,r;t=s.nextLine();if(t.equals("."))break;r="";for(char c:t.toCharArray()){i="()[]".indexOf(c);if(i>=0)r+=i;}for(;i<99;i++)r=r.replace("01","").replace("23","");System.out.println(r.equals("")?"no":"ye...
Main.java:1: error: variable i might not have been initialized import java.util.*;class Main{public static void main(String[]a){int i;Scanner s=new Scanner(System.in);for(;;){String t,r;t=s.nextLine();if(t.equals("."))break;r="";for(char c:t.toCharArray()){i="()[]".indexOf(c);if(i>=0)r+=i;}for(;i<99;i++)r=r.replace("01...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825684692|p00754|1
u825684692|p00754|1
codenet
Compile Error
327
v2_s928872868
s928872868
s928872868
p00754
p00754
u843866464
u843866464
1,401,980,151
2014-06-05T14:55:51
TheBalanceoftheWorld.java
public class TheBalanceoftheWorld{ static Scanner sc = new Scanner(System.in); public static void main(String[] args){ String line; int number_round, number_square, p; char[] sentence; outer: while(!(line = sc.nextLine()).equals(".")){ char[] check_stack = ne...
TheBalanceoftheWorld.java:2: error: cannot find symbol static Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class TheBalanceoftheWorld TheBalanceoftheWorld.java:2: error: cannot find symbol static Scanner sc = new Scanner(System.in); ^ symb...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843866464|p00754|0
u843866464|p00754|0
codenet
Compile Error
1,580
v2_s473745474
s473745474
s473745474
p00754
p00754
u963196256
u963196256
1,559,118,673
2019-05-29T08:31:13
main.java
public class main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); scanner.useDelimiter("."); while (scanner.hasNext()){ String s = scanner.nextLine(); } } }
main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class main main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class main 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u963196256|p00754|0
u963196256|p00754|0
codenet
Compile Error
249
v2_s375115327
s375115327
s375115327
p00754
p00754
u963196256
u963196256
1,559,118,775
2019-05-29T08:32:55
main.java
public class main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); while (scanner.hasNext()){ String s = scanner.nextLine(); } } }
main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class main main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class main 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u963196256|p00754|0
u963196256|p00754|0
codenet
Compile Error
214
v2_s589008683
s589008683
s589008683
p00754
p00754
u963196256
u963196256
1,559,120,352
2019-05-29T08:59:12
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); while (scanner.hasNext()){ String input = scanner.nextLine(); boolean isSmall = checkBracket(input,'(',')'); boolean isLarge = checkBracket(input,'[',']'); ...
Main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u963196256|p00754|0
u963196256|p00754|0
codenet
Compile Error
928
v2_s266247906
s266247906
s266247906
p00756
p00756
u514348819
u514348819
1,373,354,611
2013-07-09T07:23:31
Main.java
import java.awt.geom.Point2D; import java.util.*; import static java.lang.Math.*; public class Main { final Scanner sc = new Scanner(System.in); public static void main(String[] args) { new Main().init(); } void init(){ new AOJ1175(); } final int INF=1<<28; class AOJ1175{ AOJ1175(){ ccc = new Circle[...
Main.java:81: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u514348819|p00756|0
u514348819|p00756|0
codenet
Compile Error
2,035
v2_s817329985
s817329985
s817329985
p00757
p00757
u211138527
u211138527
1,529,741,652
2018-06-23T08:14:12
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.InputMismatchException; import java.util.NoSuchElementException; public class Main { static PrintWriter out; static InputReader ir; static boolean debug = false; static int s; static voi...
Main.java:12: error: illegal character: '\u3000' static boolean debug =?false; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00757|0
u211138527|p00757|0
codenet
Compile Error
5,300
v2_s021623978
s021623978
s021623978
p00757
p00757
u496826839
u496826839
1,341,304,219
2012-07-03T08:30:19
Main.java
import java.io.*; import java.util.*; public class Main { private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); private static StringTokenizer st; public static void main ( String [] args ) throws IOException { int h,w,s; while(true){ st = new StringTokeniz...
Main.java:53: error: variable declaration not allowed here int[] temp = {0, 0}; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u496826839|p00757|0
u496826839|p00757|0
codenet
Compile Error
2,863
v2_s358732109
s358732109
s358732109
p00760
p00760
u014050391
u014050391
1,353,490,308
2012-11-21T09:31:48
Main.java
import java.util.*; public class 1179Millennium { static Scanner kbd = new Scanner(System.in); public static void main(String[] args) { int n = kbd.nextInt(); //データセット数 while(n>0) { solve(); n--; } } static void solve() { int y = kbd.nextInt(); //誕生年 int m = kbd.nextInt(); /...
Main.java:3: error: <identifier> expected public class 1179Millennium { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u014050391|p00760|0
u014050391|p00760|0
codenet
Compile Error
1,215
v2_s778992805
s778992805
s778992805
p00760
p00760
u211138527
u211138527
1,446,014,530
2015-10-28T06:42:10
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigDecimal; import java.math.BigInteger; public cl...
Main.java:29: error: not a statement a[2]==1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00760|0
u211138527|p00760|0
codenet
Compile Error
3,450
v2_s993425665
s993425665
s993425665
p00760
p00760
u211138527
u211138527
1,446,014,574
2015-10-28T06:42:54
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigDecimal; import java.math.BigInteger; public cl...
Main.java:22: error: cannot find symbol int[] a=ir.nextIntArray(n); ^ symbol: variable n location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00760|0
u211138527|p00760|0
codenet
Compile Error
3,449
v2_s872402682
s872402682
s872402682
p00760
p00760
u211138527
u211138527
1,446,014,609
2015-10-28T06:43:29
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigDecimal; import java.math.BigInteger; public cl...
Main.java:29: error: not a statement a[2]==1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00760|0
u211138527|p00760|0
codenet
Compile Error
3,450
v2_s340297276
s340297276
s340297276
p00760
p00760
u211138527
u211138527
1,446,015,229
2015-10-28T06:53:49
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigDecimal; import java.math.BigInteger; public cl...
Main.java:33: error: cannot find symbol out.println(birth-ans); ^ symbol: variable ans location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00760|0
u211138527|p00760|0
codenet
Compile Error
3,244
v2_s504006096
s504006096
s504006096
p00760
p00760
u394402865
u394402865
1,416,639,671
2014-11-22T07:01:11
Main.java
// 国内予選 2012 A ミレニアム import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for (int i = 0; i < n; i++) { int y = sc.nextInt(); int m = sc.nextInt(); int d...
Main.java:22: error: ';' expected length += lengthOfMonth(y, m) - d a+ 1; ^ Main.java:22: error: not a statement length += lengthOfMonth(y, m) - d a+ 1; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u394402865|p00760|0
u394402865|p00760|0
codenet
Compile Error
1,238
v2_s965138296
s965138296
s965138296
p00760
p00760
u534752820
u534752820
1,463,977,015
2016-05-23T04:16:55
Main.java
#include <stdio.h> int Days(int year, int month, int day); int main(){ int data; int year, month, day; int i; int millennium_days = Days(1000, 1, 1); int birthday; scanf("%d", &data); for(i=0; i<data; i++){ scanf("%d %d %d", &year, &month, &day); birthday = Days(year, month, day); printf("%d\n", millenn...
Main.java:1: error: illegal character: '#' #include <stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <stdio.h> ^ Main.java:5: error: unnamed classes are a preview feature and are disabled by default. int main(){ ^ (use --enable-preview to enable unnamed classes) Main.java:1...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u534752820|p00760|0
u534752820|p00760|0
codenet
Compile Error
626
v2_s461544540
s461544540
s461544540
p00760
p00760
u846318214
u846318214
1,370,586,348
2013-06-07T06:25:48
AOJ1179.java
mport java.util.*; public class AOJ1179{ public static boolean judge(int y){ if(y%3==0) return true; return false; } public static int days(int y,int m,int d){ int days = 0; for(int i=1;i<y;i++){ if(i%3=...
AOJ1179.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u846318214|p00760|0
u846318214|p00760|0
codenet
Compile Error
1,300
v2_s604429443
s604429443
s604429443
p00760
p00760
u846318214
u846318214
1,370,586,408
2013-06-07T06:26:48
Main.java
mport java.util.*; public class Main{ public static boolean judge(int y){ if(y%3==0) return true; return false; } public static int days(int y,int m,int d){ int days = 0; for(int i=1;i<y;i++){ if(i%3==0)...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u846318214|p00760|0
u846318214|p00760|0
codenet
Compile Error
1,297
v2_s537463827
s537463827
s537463827
p00760
p00760
u846318214
u846318214
1,370,586,472
2013-06-07T06:27:52
Main.java
mport java.util.*; class AOJ1179{ public static boolean judge(int y){ if(y%3==0) return true; return false; } public static int days(int y,int m,int d){ int days = 0; for(int i=1;i<y;i++){ if(i%3==0){ ...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u846318214|p00760|0
u846318214|p00760|0
codenet
Compile Error
1,293
v2_s165844272
s165844272
s165844272
p00760
p00760
u846318214
u846318214
1,370,586,494
2013-06-07T06:28:14
Main.java
mport java.util.*; class Main{ public static boolean judge(int y){ if(y%3==0) return true; return false; } public static int days(int y,int m,int d){ int days = 0; for(int i=1;i<y;i++){ if(i%3==0){ ...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u846318214|p00760|0
u846318214|p00760|0
codenet
Compile Error
1,290
v2_s658168684
s658168684
s658168684
p00760
p00760
u974257345
u974257345
1,499,694,636
2017-07-10T13:50:36
Main.java
import java.util.*; class Main { public static void main(String[] args) { int big=20; int sml=19; Scanner scn=new Scanner(System.in); int n=scn.nextInt(); int[][] dat=new int[n][3]; int[] ans=new int[n]; for (int i=0;i<dat.length;i++){ for(int j=0;j<3;j++){ dat[i][j]=scn.nextInt(); } int cnt...
Main.java:50: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u974257345|p00760|0
u974257345|p00760|0
codenet
Compile Error
1,016
v2_s816486329
s816486329
s816486329
p00761
p00761
u211138527
u211138527
1,455,712,839
2016-02-17T12:40:39
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:27: error: incompatible types: possible lossy conversion from double to int dig[i]=a/Math.pow(10,i); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00761|0
u211138527|p00761|0
codenet
Compile Error
3,247
v2_s272410337
s272410337
s272410337
p00761
p00761
u338478106
u338478106
1,400,917,386
2014-05-24T07:43:06
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); int a=0,l=0; int as=0,am=0; // テ・ツ、ツァテ」ツ?催」ツ??ヲツ閉ーテ」ツ?ィテ・ツーツ湘」ツ?陛」ツ??ヲツ閉ー while(sc.hasNext()){ a = sc.nextInt(); l = sc.nextInt(); if(a == 0 && ...
Main.java:38: error: cannot find symbol check = true; ^ symbol: variable check location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u338478106|p00761|1
u338478106|p00761|1
codenet
Compile Error
2,476
v2_s343210867
s343210867
s343210867
p00761
p00761
u338478106
u338478106
1,400,917,432
2014-05-24T07:43:52
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); int a=0,l=0; int as=0,am=0; // テ・ツ、ツァテ」ツ?催」ツ??ヲツ閉ーテ」ツ?ィテ・ツーツ湘」ツ?陛」ツ??ヲツ閉ーテァツ板ィ while(sc.hasNext()){ a = sc.nextInt(); l = sc.nextInt(); if(a == ...
Main.java:38: error: cannot find symbol check = true; ^ symbol: variable check location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u338478106|p00761|1
u338478106|p00761|1
codenet
Compile Error
2,491
v2_s160975948
s160975948
s160975948
p00761
p00761
u605325206
u605325206
1,433,683,400
2015-06-07T13:23:20
Main.java
#include <iostream> #include <stdio.h> #include <string> #include <sstream> #include <vector> #include <stdlib.h> #include <math.h> #include <list> #include <algorithm> using namespace std; int main(void){ //FILE* fp_in = freopen("data.txt", "r", stdin); while( 1 ) { stringstream a_0; int a,L; cin >> a >> L...
Main.java:2: error: illegal character: '#' #include <iostream> ^ Main.java:3: error: illegal character: '#' #include <stdio.h> ^ Main.java:4: error: illegal character: '#' #include <string> ^ Main.java:5: error: illegal character: '#' #include <sstream> ^ Main.java:6: error: illegal character: '#' #include <vector> ^ M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u605325206|p00761|0
u605325206|p00761|0
codenet
Compile Error
1,340
v2_s955739031
s955739031
s955739031
p00762
p00762
u031194354
u031194354
1,475,627,829
2016-10-05T00:37:09
Dice.java
import java.util.Scanner; class Main { public static void main(String args[]){ Scanner scan = new Scanner(System.in); int n; int[][][] ans; int t, f; int posX, posY, minX, maxX, minY, maxY, move, max; int[] xi = {1, 2, 3, 4, 5, 6}; while(true) { n = scan.nextInt(); if(n == 0)break; m...
Dice.java:50: error: variable f might not have been initialized while(xi[1] != f) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u031194354|p00762|0
u031194354|p00762|0
codenet
Compile Error
5,291
v2_s935259884
s935259884
s935259884
p00762
p00762
u031194354
u031194354
1,475,627,860
2016-10-05T00:37:40
Main.java
import java.util.Scanner; public class Main { public static void main(String args[]){ Scanner scan = new Scanner(System.in); int n; int[][][] ans; int t, f; int posX, posY, minX, maxX, minY, maxY, move, max; int[] xi = {1, 2, 3, 4, 5, 6}; while(true) { n = scan.nextInt(); if(n == 0)break...
Main.java:164: error: class Dice is public, should be declared in a file named Dice.java public class Dice { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u031194354|p00762|0
u031194354|p00762|0
codenet
Compile Error
5,298
v2_s937262644
s937262644
s937262644
p00762
p00762
u031194354
u031194354
1,475,627,899
2016-10-05T00:38:19
Main.java
import java.util.Scanner; class Main { public static void main(String args[]){ Scanner scan = new Scanner(System.in); int n; int[][][] ans; int t, f; int posX, posY, minX, maxX, minY, maxY, move, max; int[] xi = {1, 2, 3, 4, 5, 6}; while(true) { n = scan.nextInt(); if(n == 0)break; m...
Main.java:50: error: variable f might not have been initialized while(xi[1] != f) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u031194354|p00762|0
u031194354|p00762|0
codenet
Compile Error
5,284
v2_s159339943
s159339943
s159339943
p00763
p00763
u534752820
u534752820
1,477,593,494
2016-10-27T18:38:14
Main.java
#include <stdio.h> #define inf 1000000000 struct company_info{ int rail[100][100]; int p; int dst[51]; int cost[10001]; }; int main(){ int n, m, c, s, g; struct company_info company[20]; int i, j, k, l; int x, y, d, ci; int r; int dp[100][100]; while(1){ scanf("%d %d %d %d %d", &n, &m, &c, &s, &g); ...
Main.java:1: error: illegal character: '#' #include <stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <stdio.h> ^ Main.java:3: error: illegal character: '#' #define inf 1000000000 ^ Main.java:7: error: unnamed classes are a preview feature and are disabled by default. int p; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u534752820|p00763|0
u534752820|p00763|0
codenet
Compile Error
1,844
v2_s695519235
s695519235
s695519235
p00763
p00763
u688860661
u688860661
1,541,010,938
2018-10-31T18:35:38
Main.java
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #define NA 1000000000 typedef struct tFare { int borderDistance[50]; int faresPerUnitDistance[50]; } TFare; int n, m, c, s, g; int intervalNum[20]; TFare fareData[20]; int distances[20][100][100]; int fares[20][100][100]; int faresConsideredAllCompany[10...
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:3: error: illegal character: '#' #include <stdbool.h> ^ Main.java:5: error: illegal char...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u688860661|p00763|0
u688860661|p00763|0
codenet
Compile Error
3,130
v2_s640760337
s640760337
s640760337
p00767
p00767
u085235382
u085235382
1,528,453,694
2018-06-08T10:28:14
Main.java
import com.sun.tools.javac.util.List; import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line; while ((line = br.rea...
Main.java:1: error: package com.sun.tools.javac.util is not visible import com.sun.tools.javac.util.List; ^ (package com.sun.tools.javac.util 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
u085235382|p00767|0
u085235382|p00767|0
codenet
Compile Error
1,347
v2_s971388249
s971388249
s971388249
p00767
p00767
u211138527
u211138527
1,455,714,425
2016-02-17T13:07:05
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:27: error: cannot find symbol if(i*i+a*a<mi){ ^ symbol: variable mi location: class Main Main.java:28: error: cannot find symbol mi=i*i+a*a; ^ symbol: variable mi location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00767|0
u211138527|p00767|0
codenet
Compile Error
3,038
v2_s095118825
s095118825
s095118825
p00767
p00767
u418162644
u418162644
1,528,453,314
2018-06-08T10:21:54
Main.java
import java.util.*; import java.lang.*; import java.io.*; public class Main { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); int num1 = scan.nextInt(); int num2 = scan.nextInt(); System.out.println("最初のトークンは: "+ num1 + num2)...
Main.java:18: error: non-static variable this cannot be referenced from a static context int a = this.checkA(num1); ^ Main.java:20: error: non-static variable this cannot be referenced from a static context int b = this.checkB(num2); ^ Main.java:64: error: cannot find sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u418162644|p00767|0
u418162644|p00767|0
codenet
Compile Error
1,470
v2_s106014899
s106014899
s106014899
p00767
p00767
u778656645
u778656645
1,528,452,779
2018-06-08T10:12:59
Main.java
public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { String str1 = br.readLine(); String str2 = br.readLine(); int h = Integer.parseInt(str1); int w = Integer.parseInt(str2); if(h==...
Main.java:2: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:4: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u778656645|p00767|0
u778656645|p00767|0
codenet
Compile Error
845
v2_s130415407
s130415407
s130415407
p00767
p00767
u806788716
u806788716
1,528,442,584
2018-06-08T07:23:04
Main.java
あああ
Main.java:1: error: reached end of file while parsing ??? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u806788716|p00767|0
u806788716|p00767|0
codenet
Compile Error
10
v2_s792254677
s792254677
s792254677
p00768
p00768
u211138527
u211138527
1,455,893,057
2016-02-19T14:44:17
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter o...
Main.java:48: error: cannot find symbol for(int i=0;i<n;){ ^ symbol: variable n location: class Main Main.java:50: error: cannot find symbol while(i<n&&dat[i][1]==dat[st][1]&&dat[i][2]==dat[st][2]) i++; ^ symbol: variable n location: class Main Main.java:55: error: cannot fin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00768|0
u211138527|p00768|0
codenet
Compile Error
3,716
v2_s531186703
s531186703
s531186703
p00768
p00768
u342359022
u342359022
1,528,453,801
2018-06-08T10:30:01
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[]args) { List<Team> team_list = new ArrayList<Team>(); Scanner sc = new Scanner(System.in); int M = sc.nextInt(), T = sc.nextInt(), P = sc.nextInt(), R = sc.nextInt(); for(int i...
Main.java:38: error: unexpected type team_list.get(j) = team_list.get(j); ^ required: variable found: value Main.java:39: error: unexpected type team_list.get(j) = team_tmp; ^ required: variable found: value 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u342359022|p00768|0
u342359022|p00768|0
codenet
Compile Error
1,810
v2_s483894832
s483894832
s483894832
p00769
p00769
u591947012
u591947012
1,498,286,002
2017-06-24T06:33:22
Main.java
import java.util.*; public enum Main { _; Scanner sc = new Scanner(System.in); public static void main(String[] args) { _.run(); } void run() { int n = Integer.parseInt(sc.nextLine()); while(n-- > 0) { String str = sc.nextLine(); Parser p = new Parser(str); int res = p.get().need(); System...
Main.java:5: error: as of release 9, '_' is a keyword, and may not be used as an identifier _; ^ Main.java:10: error: as of release 9, '_' is a keyword, and may not be used as an identifier _.run(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u591947012|p00769|0
u591947012|p00769|0
codenet
Compile Error
2,067
v2_s431778134
s431778134
s431778134
p00769
p00769
u693762292
u693762292
1,433,461,855
2015-06-04T23:50:55
Main.java
import java.io.*; import java.util.*; import java.lang.ArrayIndexOutOfBoundsException; import java.math.BigInteger; import topcoder.SRM660Div2.PrivateD2party; /** * @author yoshikyoto */ class Main { public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamRe...
Main.java:6: error: package topcoder.SRM660Div2 does not exist import topcoder.SRM660Div2.PrivateD2party; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u693762292|p00769|0
u693762292|p00769|0
codenet
Compile Error
4,025
v2_s274292155
s274292155
s274292155
p00770
p00770
u158979022
u158979022
1,530,663,883
2018-07-04T00:24:43
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { static boolean[] isPrime; static int[][] data static void prime() { isPrime = new boolean[1000000]; Arrays.fill(isPrime, true); isPrime[0] = false; isPrime[1] = false; for(int i=2; i*i<=1000000; i++) { if(isPrime[i]) { for(in...
Main.java:6: error: ';' expected static int[][] data ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u158979022|p00770|0
u158979022|p00770|0
codenet
Compile Error
2,759
v2_s326648094
s326648094
s326648094
p00770
p00770
u928389529
u928389529
1,498,292,549
2017-06-24T08:22:29
Main.java
#include <iostream> #include <vector> #include <algorithm> #include <map> using namespace std; #define REP(i,n) for(int i = 0;i < (n);i++) #define FOR(i,a,n) for(int i = (a);i < (n);i++) const int MAX_E = 1e3 + 3; const int START = MAX_E / 2; const int N = 1e6 + 3; const int INF = 1e9; int p[N+1]; void e(){ fill(p,p...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <vector> ^ Main.java:3: error: illegal character: '#' #include <algorithm> ^ Main.java:4: error: illegal character: '#' #include <map> ^ Main.java:7: error: illegal character: '#' #define REP(i,n) for(in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u928389529|p00770|0
u928389529|p00770|0
codenet
Compile Error
2,952
v2_s378282688
s378282688
s378282688
p00773
p00773
u040556632
u040556632
1,508,403,163
2017-10-19T08:52:43
Main.java
import java.util.*; public class Main { void run(){ Scanner sc = new Scanner(System.in); while(true){ int x = sc.nextInt(); int y = sc.nextInt(); int s = sc.nextInt(); if ( ( x | y | s ) == 0 ) { break; } } public static void main(String[] args){ new Main().run(); } }
Main.java:15: error: illegal start of expression public static void main(String[] args){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u040556632|p00773|0
u040556632|p00773|0
codenet
Compile Error
311
v2_s046953776
s046953776
s046953776
p00773
p00773
u241980714
u241980714
1,465,389,933
2016-06-08T12:45:33
Main.java
import java.util.Scanner; public class Main { void run(){ Scanner s = new Scanner(System.in); while(true){ int x = s.nextInt(); int y = s.nextInt(); int p = s.nextInt(); if (x == 0 && y == 0 & p == 0) break; int max = 0; for(int i = 1; i < p; i++) { ...
Main.java:21: error: ')' or ',' expected System.out.println(max ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u241980714|p00773|0
u241980714|p00773|0
codenet
Compile Error
761
v2_s328464630
s328464630
s328464630
p00773
p00773
u241980714
u241980714
1,465,463,018
2016-06-09T09:03:38
Main.java
import java.util.Scanner; public class Main { void run(){ Scanner s = new Scanner(System.in); while(true){ int x = s.nextInt(); int y = s.nextInt(); int p = s.nextInt(); if (x == 0 && y == 0 & p == 0) break; int max = 0; for(int i = 1; i < p; i++) { ...
Main.java:16: error: ';' expected int onceNum = (i * (100 + y) / 100) + (j * (100 + y) / 100)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u241980714|p00773|1
u241980714|p00773|1
codenet
Compile Error
741
v2_s231328020
s231328020
s231328020
p00773
p00773
u592118612
u592118612
1,530,787,827
2018-07-05T10:50:27
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner in=new Scanner(System.in); while(true) { double x=in.nextInt(),y=in.nextInt(),s=in.nextInt(); if(x==0)break; int max=0; for(double i=1;i<=s;i++) { for(double j=1;j<s=;j++) { if((int)(i*((100+x)/100))+(in...
Main.java:12: error: illegal start of expression for(double j=1;j<s=;j++) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u592118612|p00773|0
u592118612|p00773|0
codenet
Compile Error
542
v2_s799374746
s799374746
s799374746
p00773
p00773
u909494196
u909494196
1,511,253,351
2017-11-21T08:35:51
Main.java
import java.io.*; import java.util.*; class Main { public static void main(String args[]) { while(true){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); StringTokenizer st = new StringTokenizer(str, " "); ...
Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown String str = br.readLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u909494196|p00773|0
u909494196|p00773|0
codenet
Compile Error
1,270
v2_s965346434
s965346434
s965346434
p00774
p00774
u305660980
u305660980
1,430,830,174
2015-05-05T12:49:34
Main.java
#include <iostream> #include <stdio.h> #include <stdlib.h> using namespace std; int jera(int H,int **C) { for(int i=0;i<H;i++){ if(C[i][0]==C[i][1]){ if(C[i][1]==C[i][2]){ if(C[i][2]==C[i][3]){ if(C[i][3]==C[i][4]){ C[i][0] =C[i][1] =C[i][2] =C[i][3] =C[i][4] =0; }...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <stdio.h> ^ Main.java:3: error: illegal character: '#' #include <stdlib.h> ^ Main.java:6: error: unnamed classes are a preview feature and are disabled by default. int jera(int H,int **C) ^ (use --enab...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u305660980|p00774|1
u305660980|p00774|1
codenet
Compile Error
1,595
v2_s492904168
s492904168
s492904168
p00774
p00774
u473115569
u473115569
1,529,510,728
2018-06-20T16:05:28
Main.java
public class Main { static int H; static int[][] stone=new int[11][6]; static int search() { int len; int point=0; for(int row=0; row<H; row++) { for(int col=0; col<=2; col++) { for(len=1; col+len<=4; len++) { if(stone[row][col]!=stone[row][col+len]) { break; } } if(len<=2) { ...
Main.java:39: error: cannot find symbol try(Scanner sc = new Scanner(System.in)){ ^ symbol: class Scanner location: class Main Main.java:39: error: cannot find symbol try(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
u473115569|p00774|0
u473115569|p00774|0
codenet
Compile Error
1,289
v2_s298915318
s298915318
s298915318
p00775
p00775
u693762292
u693762292
1,434,379,958
2015-06-15T14:52:38
Main.java
import java.io.*; import java.util.*; import java.lang.ArrayIndexOutOfBoundsException; import java.math.*; class Main { static Scanner sc = new Scanner(new InputStreamReader(System.in)); public static void main(String[] args) throws Exception { while(true) { int r = sc.nextInt(); int n = sc.nextInt(); if...
Main.java:19: error: <identifier> expected static double solve(int r, int n) throws { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u693762292|p00775|0
u693762292|p00775|0
codenet
Compile Error
4,350
v2_s964619521
s964619521
s964619521
p00776
p00776
u313705878
u313705878
1,461,066,063
2016-04-19T11:41:03
Main.java
#include <bits/stdc++.h> using namespace std; #define rep(i,x,y) for(int i=(x);i<(y);++i) #define debug(x) #x << "=" << (x) #ifdef DEBUG #define _GLIBCXX_DEBUG #define dump(x) std::cerr << debug(x) << " (L:" << __LINE__ << ")" << std::endl #else #define dump(x) #endif typedef long long int ll; typedef pair<int,int> ...
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: illegal character: '#' #define rep(i,x,y) for(int i=(x);i<(y);++i) ^ Main.java:4: error: class, interface, enum, or record expected...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u313705878|p00776|0
u313705878|p00776|0
codenet
Compile Error
2,360
v2_s654274837
s654274837
s654274837
p00780
p00780
u763253508
u763253508
1,461,598,006
2016-04-25T15:26:46
Main.java
class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int max = (int)(Math.pow(2,15)); int count=0; List<Integer> list = new ArrayList<Integer>(); boolean[] a = new boolean[max]; for(int i=0;i<max;i++){ a[i] = true; } a[0]=false; a[1]=false; for(int i=2;i<ma...
Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u763253508|p00780|0
u763253508|p00780|0
codenet
Compile Error
865
v2_s660395661
s660395661
s660395661
p00781
p00781
u413996626
u413996626
1,311,314,351
2011-07-22T05:59:11
Main.java
import java.util.HashSet; import java.util.Scanner; import java.util.Set; //Lattice Practices public class Main{ String[] s; String[] rev; char[][] m; boolean[] u; Set<String> set; int c = 0; char[][] rotate(char[][] t){ char[][] r = new char[5][5]; for(int i=0;i<5;i++)for(int j=0;j<5;j++)r[i][j] = t[4-j]...
Main.java:117: error: cannot find symbol new M().run(); ^ symbol: class M location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u413996626|p00781|0
u413996626|p00781|0
codenet
Compile Error
2,423
v2_s232778600
s232778600
s232778600
p00789
p00789
u047988051
u047988051
1,323,329,526
2011-12-08T07:32:06
Main.java
#include<stdio.h> #define rep(i,n,m) for((i)=(int)(n);(i)<=(int)(m);(i)++) int memo[301]; int main(void){ int i,j,n,coin[18]; rep(i,0,16)coin[i]=(i+1)*(i+1); memo[0]=1; rep(i,0,16)rep(j,1,300) if(j>=coin[i])memo[j]+=memo[j-coin[i]]; while(scanf("%d",&n),n) printf("%d\n",memo[n]); 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:2: error: illegal character: '#' #define rep(i,n,m) for((i)=(int)(n);(i)<=(int)(m);(i)++) ^ Main.java:2: error: class, interface, enum, or record expected #...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u047988051|p00789|0
u047988051|p00789|0
codenet
Compile Error
322
v2_s252122027
s252122027
s252122027
p00790
p00790
u031194354
u031194354
1,470,366,449
2016-08-05T03:07:29
Main.java
import java.util.Scanner; class Main { private int[] dice = new int[6]; public static void main(String[] args){ Scanner scan = new Scanner(System.in); Dice dice = new Dice(); int n; String dir; dice.left(); dice.left(); while (true) { ...
Main.java:36: error: invalid method declaration; return type required Dice() { ^ Main.java:40: error: invalid method declaration; return type required Dice(int[] val) { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u031194354|p00790|0
u031194354|p00790|0
codenet
Compile Error
1,779
v2_s397762371
s397762371
s397762371
p00790
p00790
u031194354
u031194354
1,470,372,968
2016-08-05T04:56:08
Main.java
import java.util.Scanner; class Main { private int[] dice = new int[6]; public static void main(String[] args){ Scanner scan = new Scanner(System.in); Dice dice = new Dice(); int n; String dir; while (true) { for (int i = 0; i < 6; i++) { di...
Main.java:36: error: invalid method declaration; return type required Dice() { ^ Main.java:40: error: invalid method declaration; return type required Dice(int[] val) { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u031194354|p00790|0
u031194354|p00790|0
codenet
Compile Error
1,790
v2_s398283586
s398283586
s398283586
p00802
p00802
u116766943
u116766943
1,376,521,297
2013-08-14T23:01:37
Main.java
#include<iostream> #include<vector> #include<cmath> #include<algorithm> #include<cassert> #include<iomanip> #define REP(i,s,n) for(int i=s;i<n;i++) #define rep(i,n) REP(i,0,n) #define inf (1<<28) #define PI 3.14159265358979 #define MAX 45 #define EPS (1e-10) #define equals(a,b) (fabs((a)-(b)) < EPS) using namespace std...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include<vector> ^ Main.java:3: error: illegal character: '#' #include<cmath> ^ Main.java:4: error: illegal character: '#' #include<algorithm> ^ Main.java:5: error: illegal character: '#' #include<cassert> ^ Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u116766943|p00802|0
u116766943|p00802|0
codenet
Compile Error
1,869
v2_s014616570
s014616570
s014616570
p00803
p00803
u018304279
u018304279
1,524,646,946
2018-04-25T09:02:26
AOJ1224.java
public class AOJ1224{ void run(String num){ Integer[] f1=new Integer[54]; for(int i=0;i<54;i++) f1[i] = i*i*i; Integer[] f2=new Integer[96]; for(int i=0;i<54;i++) f2[i] = i*(i+1)*(i+2)/6; for(Integer i=0;i<54;i++){ for(Intgeter j=0;j<96;j++){ if(f1[i]+f2[j]<=num) max=Math.max(max,f1[i]+f2[j]); } ...
AOJ1224.java:8: error: cannot find symbol for(Intgeter j=0;j<96;j++){ ^ symbol: class Intgeter location: class AOJ1224 AOJ1224.java:9: error: bad operand types for binary operator '<=' if(f1[i]+f2[j]<=num) max=Math.max(max,f1[i]+f2[j]); ^ first type: int second type: String AO...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018304279|p00803|0
u018304279|p00803|0
codenet
Compile Error
517
v2_s225057259
s225057259
s225057259
p00803
p00803
u018304279
u018304279
1,524,646,984
2018-04-25T09:03:04
AOJ1224.java
public class AOJ1224{ void run(String num){ int max=0; Integer[] f1=new Integer[54]; for(int i=0;i<54;i++) f1[i] = i*i*i; Integer[] f2=new Integer[96]; for(int i=0;i<54;i++) f2[i] = i*(i+1)*(i+2)/6; for(Integer i=0;i<54;i++){ for(Intgeter j=0;j<96;j++){ if(f1[i]+f2[j]<=num) max=Math.max(max,f1[i]+f2...
AOJ1224.java:9: error: cannot find symbol for(Intgeter j=0;j<96;j++){ ^ symbol: class Intgeter location: class AOJ1224 AOJ1224.java:10: error: bad operand types for binary operator '<=' if(f1[i]+f2[j]<=num) max=Math.max(max,f1[i]+f2[j]); ^ first type: int second type: String 2...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018304279|p00803|0
u018304279|p00803|0
codenet
Compile Error
530
v2_s288881478
s288881478
s288881478
p00803
p00803
u018304279
u018304279
1,524,647,565
2018-04-25T09:12:45
AOJ1224.java
public class AOJ1224{ void run(String num){ int max=0; Integer[] f1=new Integer[54]; for(int i=0;i<54;i++) f1[i] = i*i*i; Integer[] f2=new Integer[96]; for(int i=0;i<54;i++) f2[i] = i*(i+1)*(i+2)/6; for(Integer i=0;i<54;i++){ for(Intgeter j=0;j<96;j++){ if(f1[i]+f2[j]<=num) max=Math.max(max,f1[i]+f2...
AOJ1224.java:9: error: cannot find symbol for(Intgeter j=0;j<96;j++){ ^ symbol: class Intgeter location: class AOJ1224 AOJ1224.java:10: error: bad operand types for binary operator '<=' if(f1[i]+f2[j]<=num) max=Math.max(max,f1[i]+f2[j]); ^ first type: int second type: String 2...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018304279|p00803|0
u018304279|p00803|0
codenet
Compile Error
530
v2_s678600250
s678600250
s678600250
p00803
p00803
u018304279
u018304279
1,524,647,641
2018-04-25T09:14:01
AOJ1224.java
public class AOJ1224{ void run(String num){ int max=0; Integer[] f1=new Integer[54]; for(int i=0;i<54;i++) f1[i] = i*i*i; Integer[] f2=new Integer[96]; for(int i=0;i<54;i++) f2[i] = i*(i+1)*(i+2)/6; for(Integer i=0;i<54;i++){ for(Integer j=0;j<96;j++){ if(f1[i]+f2[j]<=num) max=Math.max(max,f1[i]+f2[...
AOJ1224.java:10: error: bad operand types for binary operator '<=' if(f1[i]+f2[j]<=num) max=Math.max(max,f1[i]+f2[j]); ^ first type: int second type: String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018304279|p00803|0
u018304279|p00803|0
codenet
Compile Error
529
v2_s846066186
s846066186
s846066186
p00803
p00803
u018304279
u018304279
1,524,647,682
2018-04-25T09:14:42
AOJ1224.java
public class AOJ1224{ void run(String num){ int max=0; Integer[] f1=new Integer[54]; for(int i=0;i<54;i++) f1[i] = i*i*i; Integer[] f2=new Integer[96]; for(int i=0;i<54;i++) f2[i] = i*(i+1)*(i+2)/6; for(Integer i=0;i<54;i++){ for(Integer j=0;j<96;j++){ if((f1[i]+f2[j])<=num) max=Math.max(max,f1[i]+f...
AOJ1224.java:10: error: bad operand types for binary operator '<=' if((f1[i]+f2[j])<=num) max=Math.max(max,f1[i]+f2[j]); ^ first type: int second type: String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018304279|p00803|0
u018304279|p00803|0
codenet
Compile Error
531
v2_s717772088
s717772088
s717772088
p00803
p00803
u018304279
u018304279
1,524,647,939
2018-04-25T09:18:59
AOJ1224.java
public class AOJ1224{ void run(String num){ int max=0,tiaojian; Integer[] f1=new Integer[54]; for(int i=0;i<54;i++) f1[i] = i*i*i; Integer[] f2=new Integer[96]; for(int i=0;i<54;i++) f2[i] = i*(i+1)*(i+2)/6; for(Integer i=0;i<54;i++){ for(Integer j=0;j<96;j++){ tiaojian=f1[i]+f2[j]; if(tiaojian<...
AOJ1224.java:11: error: bad operand types for binary operator '<=' if(tiaojian<=num) max=Math.max(max,tiaojian); ^ first type: int second type: String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018304279|p00803|0
u018304279|p00803|0
codenet
Compile Error
558
v2_s753017002
s753017002
s753017002
p00803
p00803
u018304279
u018304279
1,524,647,983
2018-04-25T09:19:43
Main.java
class AOJ1224{ void run(String num){ int max=0,tiaojian; Integer[] f1=new Integer[54]; for(int i=0;i<54;i++) f1[i] = i*i*i; Integer[] f2=new Integer[96]; for(int i=0;i<54;i++) f2[i] = i*(i+1)*(i+2)/6; for(Integer i=0;i<54;i++){ for(Integer j=0;j<96;j++){ tiaojian=f1[i]+f2[j]; if(tiaojian<=num) m...
Main.java:11: error: bad operand types for binary operator '<=' if(tiaojian<=num) max=Math.max(max,tiaojian); ^ first type: int second type: String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018304279|p00803|0
u018304279|p00803|0
codenet
Compile Error
551
v2_s392062753
s392062753
s392062753
p00803
p00803
u018304279
u018304279
1,524,648,008
2018-04-25T09:20:08
Main.java
class AOJ1224{ void run(String num){ int max=0,tiaojian; Integer[] f1=new Integer[54]; for(int i=0;i<54;i++) f1[i] = i*i*i; Integer[] f2=new Integer[96]; for(int i=0;i<54;i++) f2[i] = i*(i+1)*(i+2)/6; for(Integer i=0;i<54;i++){ for(Integer j=0;j<96;j++){ tiaojian=f1[i]+f2[j]; if(tiaojian<num) ma...
Main.java:11: error: bad operand types for binary operator '<' if(tiaojian<num) max=Math.max(max,tiaojian); ^ first type: int second type: String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018304279|p00803|0
u018304279|p00803|0
codenet
Compile Error
550
v2_s008803922
s008803922
s008803922
p00803
p00803
u018304279
u018304279
1,524,648,650
2018-04-25T09:30:50
Main.java
import java.util.Scanner; class AOJ1224{ void run(){ int tiaojian; Integer[] f1=new Integer[54]; for(int i=0;i<54;i++) f1[i] = i*i*i; Integer[] f2=new Integer[96]; for(int i=0;i<54;i++) f2[i] = i*(i+1)*(i+2)/6; Scanner n = new Scanner(System.in); for(;;){ int num = sc.nextInt(); if (num.euals(0)) bre...
Main.java:11: error: cannot find symbol int num = sc.nextInt(); ^ symbol: variable sc location: class AOJ1224 Main.java:12: error: int cannot be dereferenced if (num.euals(0)) break; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018304279|p00803|0
u018304279|p00803|0
codenet
Compile Error
606
v2_s028423998
s028423998
s028423998
p00803
p00803
u018304279
u018304279
1,524,648,735
2018-04-25T09:32:15
Main.java
import java.util.Scanner; class AOJ1224{ void run(){ int tiaojian; Integer[] f1=new Integer[54]; for(int i=0;i<54;i++) f1[i] = i*i*i; Integer[] f2=new Integer[96]; for(int i=0;i<54;i++) f2[i] = i*(i+1)*(i+2)/6; Scanner n = new Scanner(System.in); for(;;){ int num = n.nextInt(); if (num.euqls(0)) brea...
Main.java:12: error: int cannot be dereferenced if (num.euqls(0)) break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018304279|p00803|0
u018304279|p00803|0
codenet
Compile Error
605
v2_s410886567
s410886567
s410886567
p00803
p00803
u018304279
u018304279
1,524,648,770
2018-04-25T09:32:50
Main.java
import java.util.Scanner; class AOJ1224{ void run(){ int tiaojian; Integer[] f1=new Integer[54]; for(int i=0;i<54;i++) f1[i] = i*i*i; Integer[] f2=new Integer[96]; for(int i=0;i<54;i++) f2[i] = i*(i+1)*(i+2)/6; Scanner n = new Scanner(System.in); for(;;){ int num = n.nextInt(); if (num.equals(0)) bre...
Main.java:12: error: int cannot be dereferenced if (num.equals(0)) break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018304279|p00803|0
u018304279|p00803|0
codenet
Compile Error
606
v2_s196158592
s196158592
s196158592
p00803
p00803
u018304279
u018304279
1,524,663,887
2018-04-25T13:44:47
Main.java
import java.util.Scanner; class AOJ1224{ void run(){ int tiaojian; Integer[] f1=new Integer[54]; for(int i=0;i<54;i++) f1[i] = i*i*i; Integer[] f2=new Integer[96]; for(int i=0;i<54;i++) f2[i] = i*(i+1)*(i+2)/6; Scanner n = new Scanner(System.in); for(;;){ int num = n.nextInt(); if (num.equals(0)) bre...
Main.java:12: error: int cannot be dereferenced if (num.equals(0)) break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018304279|p00803|1
u018304279|p00803|0
codenet
Compile Error
606
v2_s010072778
s010072778
s010072778
p00803
p00803
u018304279
u018304279
1,524,667,346
2018-04-25T14:42:26
Main.java
class AOJ1224{ void run(){ int tiaojian; Integer[] f1=new Integer[54]; for(int i=0;i<54;i++) f1[i] = i*i*i; Integer[] f2=new Integer[96]; for(int i=0;i<96;i++) f2[i] = i*(i+1)*(i+2)/6; Scanner n = new Scanner(System.in); for(;;){ Integer num = n.nextInt(); // System.out.println(num); if (num.equals...
Main.java:8: error: cannot find symbol Scanner n = new Scanner(System.in); ^ symbol: class Scanner location: class AOJ1224 Main.java:8: error: cannot find symbol Scanner n = new Scanner(System.in); ^ symbol: class Scanner location: class AOJ1224 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018304279|p00803|1
u018304279|p00803|0
codenet
Compile Error
615
v2_s191289051
s191289051
s191289051
p00811
p00811
u211138527
u211138527
1,457,594,933
2016-03-10T07:28:53
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:30: error: cannot find symbol Fracion f=new Fraction(ir.nextLong(),ir.nextLong()); ^ symbol: class Fracion location: class Main Main.java:31: error: cannot find symbol if(m==0&&a==0&&b==0) return; ^ symbol: variable a location: class Main Main.java:31: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00811|0
u211138527|p00811|0
codenet
Compile Error
4,338
v2_s409794735
s409794735
s409794735
p00811
p00811
u211138527
u211138527
1,457,595,415
2016-03-10T07:36:55
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:31: error: incomparable types: boolean and int while(d[m]==null||d[m].subtract(f).signum()!=1) m--; ^ Main.java:91: error: non-static variable nu cannot be referenced from a static context if(nu==0) return 0; ^ Main.java:91: error: incompatible types: int ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00811|0
u211138527|p00811|0
codenet
Compile Error
4,443
v2_s818841058
s818841058
s818841058
p00811
p00811
u211138527
u211138527
1,457,595,427
2016-03-10T07:37:07
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:91: error: non-static variable nu cannot be referenced from a static context if(nu==0) return 0; ^ Main.java:92: error: non-static variable de cannot be referenced from a static context if(de*nu>0) return 1; ^ Main.java:92: error: non-static variable nu cannot be referenced from a static context...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00811|0
u211138527|p00811|0
codenet
Compile Error
4,439
v2_s181028489
s181028489
s181028489
p00811
p00811
u211138527
u211138527
1,457,595,492
2016-03-10T07:38:12
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:91: error: non-static variable this cannot be referenced from a static context if(this.nu==0) return 0; ^ Main.java:92: error: non-static variable this cannot be referenced from a static context if(this.de*this.nu>0) return 1; ^ Main.java:92: error: non-static variable this cannot be referenced ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00811|0
u211138527|p00811|0
codenet
Compile Error
4,460
v2_s702754017
s702754017
s702754017
p00812
p00812
u532353839
u532353839
1,480,758,090
2016-12-03T09:41:30
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; public class Main{ public void solve() throws Exception{ BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); String exp; Parser parser = new Parser(); while(!(exp =...
Main.java:130: error: class Polynomial is public, should be declared in a file named Polynomial.java public class Polynomial implements Comparable<Polynomial>{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532353839|p00812|0
u532353839|p00812|0
codenet
Compile Error
6,555
v2_s952738989
s952738989
s952738989
p00819
p00819
u211138527
u211138527
1,455,959,588
2016-02-20T09:13:08
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:61: error: '.class' expected else s=s.substring(0,i)+String.valueOf(char(c+1))+s.substring(i+1); ^ Main.java:61: error: not a statement else s=s.substring(0,i)+String.valueOf(char(c+1))+s.substring(i+1); ^ Main.jav...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00819|0
u211138527|p00819|0
codenet
Compile Error
4,003
v2_s425825713
s425825713
s425825713
p00819
p00819
u211138527
u211138527
1,455,959,623
2016-02-20T09:13:43
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:23: error: cannot find symbol for(int i=0;i<s.length;i++){ ^ symbol: variable length location: variable s of type String Main.java:24: error: array required, but String found if(s[i]=='J') J(s); ^ Main.java:25: error: array required, but String found else if(s[i]=='C') C(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00819|0
u211138527|p00819|0
codenet
Compile Error
4,007
v2_s993829004
s993829004
s993829004
p00819
p00819
u211138527
u211138527
1,455,959,665
2016-02-20T09:14:25
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:23: error: cannot find symbol for(int i=0;i<cm.length;i++){ ^ symbol: variable cm location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00819|0
u211138527|p00819|0
codenet
Compile Error
4,018
v2_s916417871
s916417871
s916417871
p00819
p00819
u211138527
u211138527
1,455,960,690
2016-02-20T09:31:30
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:21: error: cannot find symbol com=new StringBuilder(ir.next()).reverse.toString.toCharArray(); ^ symbol: variable reverse location: class StringBuilder 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00819|0
u211138527|p00819|0
codenet
Compile Error
3,953
v2_s700117700
s700117700
s700117700
p00819
p00819
u211138527
u211138527
1,455,960,706
2016-02-20T09:31:46
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:21: error: cannot find symbol com=new StringBuilder(ir.next()).reverse().toString.toCharArray(); ^ symbol: variable toString location: class StringBuilder 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00819|0
u211138527|p00819|0
codenet
Compile Error
3,955
v2_s278322439
s278322439
s278322439
p00819
p00819
u676399799
u676399799
1,324,386,941
2011-12-20T13:15:41
Main.java
import java.util.*; class Main{ public static void main(ping[] args){ Scanner s=new Scanner(System.in); int a=s.nextInt(); for(int i=0;i<a;i++){ ping command=s.next(); String str=s.next(); for(int j=command.length()-1;j>=0;j--){ switch(command.charAt(j)){ case 'J': str=str.charAt(str.leng...
Main.java:3: error: cannot find symbol public static void main(ping[] args){ ^ symbol: class ping location: class Main Main.java:7: error: cannot find symbol ping command=s.next(); ^ symbol: class ping location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u676399799|p00819|0
u676399799|p00819|0
codenet
Compile Error
1,412
v2_s586408161
s586408161
s586408161
p00819
p00819
u676399799
u676399799
1,324,387,025
2011-12-20T13:17:05
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner s=new Scanner(System.in); int a=s.nextInt(); for(int i=0;i<a;i++){ ping command=s.next(); String str=s.next(); for(int j=command.length()-1;j>=0;j--){ switch(command.charAt(j)){ case 'J': str=str.charAt(str.le...
Main.java:7: error: cannot find symbol ping command=s.next(); ^ symbol: class ping location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u676399799|p00819|0
u676399799|p00819|0
codenet
Compile Error
1,414
v2_s003157985
s003157985
s003157985
p00822
p00822
u605441342
u605441342
1,372,054,742
2013-06-24T06:19:02
Main.java
import java.util.Scanner; import java.util.Stack; public class Main { // 日数、雲の場所、左上の降ってない日数、右上、左下、右下 static int n; static int[][][][][][] dp; static int[][] field; static int[] v1={-8,-4,-1,-2,1,2,4,8,0}; static int[] v2={0,1,4,5}; public static void main(String[] args) { Scanner cin=new Scanner(System.in...
Main.java:19: error: cannot find symbol stack=new Stack<Integer[]>(); ^ symbol: variable stack location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u605441342|p00822|0
u605441342|p00822|0
codenet
Compile Error
3,000
v2_s489013443
s489013443
s489013443
p00827
p00827
u482574623
u482574623
1,422,617,442
2015-01-30T11:30:42
Main.java
import java.io.*; import java.util.*; public class Main { FastScanner in = new FastScanner(System.in); PrintWriter out = new PrintWriter(System.out); int MAX = 100000; public void run() { while (true) { int a = in.nextInt(), b = in.nextInt(), d = in.nextInt(); if (a == 0) break; HashMap<Integer, ...
Main.java:178: error: class, interface, enum, or record expected import java.io.*; ^ Main.java:179: error: class, interface, enum, or record expected import java.util.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u482574623|p00827|0
u482574623|p00827|0
codenet
Compile Error
7,183
v2_s128353310
s128353310
s128353310
p00828
p00828
u763253508
u763253508
1,464,377,823
2016-05-27T19:37:03
Main.java
import java.util.*; public class Main{ public static final int EMPTY = 0; public static final int BLACK = 1; public static final int WHITE = 2; int n; int m; int p; int[] count; int basis_num; int patern = 13; boolean winFrag = false; boolean[] colorFrag = new boolean[patern*2]; public void run(){ Scann...
Main.java:216: error: cannot find symbol Asia2004B app = new Asia2004B(); ^ symbol: class Asia2004B location: class Main Main.java:216: error: cannot find symbol Asia2004B app = new Asia2004B(); ^ symbol: class Asia2004B location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u763253508|p00828|0
u763253508|p00828|0
codenet
Compile Error
5,672
v2_s999725517
s999725517
s999725517
p00836
p00836
u808689778
u808689778
1,461,387,341
2016-04-23T04:55:41
Main.java
import java.io.*; import java.util.*; class Eratos{ public static void main(String[] args) throws IOException{ ArrayList<Integer> prime_list = new ArrayList<Integer>(); for(int j = 2;j <= 10000; j++){ for(int n = 2; n <= j;n++){ if(j == n){ prime_list....
Main.java:46: error: incompatible types: unexpected return value return 0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u808689778|p00836|0
u808689778|p00836|0
codenet
Compile Error
1,427
v2_s712590883
s712590883
s712590883
p00854
p00854
u300645821
u300645821
1,413,364,106
2014-10-15T09:08:26
Main.java
import java.util.*; class Main{ public static void main(String[]z){ Scanner cin=new Scanner(System.in); int n,k,m; for(;;System.out.println((r+m)%n+1)){ n=cin.nextInt();k=cin.nextInt();m=cin.nextInt(); if(n==0)break; for(r=i=0;++i<n;r%=i)r+=k; } } }
Main.java:6: error: cannot find symbol for(;;System.out.println((r+m)%n+1)){ ^ symbol: variable r location: class Main Main.java:9: error: cannot find symbol for(r=i=0;++i<n;r%=i)r+=k; ^ symbol: variable r location: class Main Main.java:9: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u300645821|p00854|0
u300645821|p00854|0
codenet
Compile Error
268
v2_s241117523
s241117523
s241117523
p00858
p00858
u660879425
u660879425
1,349,021,289
2012-09-30T16:08:09
Main.java
import java.util.*; import java.awt.geom.*; import ICPClibrary.Geometry.Point3D; public class Main { double EPS = 1.0e-08; int INF = 1 << 24; Comparator< Point2D > com = new Comparator< Point2D >() { public int compare(Point2D o1, Point2D o2) { if(o1.getX() < o2.getX()) return -1; else if(o1.getX() > o2.get...
Main.java:4: error: package ICPClibrary.Geometry does not exist import ICPClibrary.Geometry.Point3D; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660879425|p00858|1
u660879425|p00858|1
codenet
Compile Error
8,233
v2_s605858249
s605858249
s605858249
p00862
p00862
u918572590
u918572590
1,376,033,663
2013-08-09T07:34:23
Main.java
import java.util.*; import java.awt.geom.*; import java.awt.geom.Point2D.Double; import static java.lang.Math.*; public class Main { final Scanner sc = new Scanner(System.in); public static void main(String[] args) { new Main().init(); } void init(){ new Q2007I(); } class Q2007I{ int N; Q2007I(){ wh...
Main.java:63: error: cannot find symbol cuts[i] = new Line2D.Double(sum(p1, v1), sum(p2, v1)); ^ symbol: method sum(Point2D,Point2D) location: class Main.Q2007I Main.java:63: error: cannot find symbol cuts[i] = new Line2D.Double(sum(p1, v1), sum(p2, v1)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918572590|p00862|0
u918572590|p00862|0
codenet
Compile Error
2,440
v2_s570915104
s570915104
s570915104
p00862
p00862
u918572590
u918572590
1,376,033,695
2013-08-09T07:34:55
Main.java
import java.util.*; import java.awt.geom.*; import java.awt.geom.Point2D.Double; import static java.lang.Math.*; public class Main { final Scanner sc = new Scanner(System.in); public static void main(String[] args) { new Main().init(); } void init(){ new Q2007I(); } class Q2007I{ int N; Q2007I(){ wh...
Main.java:63: error: cannot find symbol cuts[i] = new Line2D.Double(sum(p1, v1), sum(p2, v1)); ^ symbol: method sum(Point2D,Point2D) location: class Main.Q2007I Main.java:63: error: cannot find symbol cuts[i] = new Line2D.Double(sum(p1, v1), sum(p2, v1)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918572590|p00862|0
u918572590|p00862|0
codenet
Compile Error
2,440
v2_s016458238
s016458238
s016458238
p00864
p00864
u211138527
u211138527
1,457,446,530
2016-03-08T14:15:30
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; import java.text.DecimalFormat; public cla...
Main.java:30: error: variable ma_h might not have been initialized ma_h=Math.max(ma_h,h[p]); ^ Main.java:34: error: variable ma_h might not have been initialized ans.add(new Fraction(ma-i,ma).multiply(new Fraction(h[i],ma_h))); ^ 2 error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00864|0
u211138527|p00864|0
codenet
Compile Error
4,236
v2_s276448567
s276448567
s276448567
p00864
p00864
u211138527
u211138527
1,457,446,645
2016-03-08T14:17:25
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; import java.text.DecimalFormat; public cla...
Main.java:35: error: cannot find symbol out.println(df.format(ans.doubleValue())); ^ symbol: variable df location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00864|0
u211138527|p00864|0
codenet
Compile Error
4,343
v2_s303835205
s303835205
s303835205
p00874
p00874
u251222750
u251222750
1,355,484,334
2012-12-14T11:25:34
Main.java
import java.util.*; import java.io.*; public class Main{ public static void main(String[] args){ new Main().solve(); } void solve(){ Scanner cin = new Scanner(System.in); while() { int h = cin.nextInt(); int d = cin.nextInt(); if(h==0) return; int[] a = new int[h]; int[] b = new int[d]; ...
Main.java:12: error: illegal start of expression while() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u251222750|p00874|0
u251222750|p00874|0
codenet
Compile Error
971
v2_s583158847
s583158847
s583158847
p00874
p00874
u759934006
u759934006
1,496,537,907
2017-06-04T00:58:27
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; import static java.lang.Integer.parseInt; /** * Problem A: Cubist Artwork */ public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new Buff...
Main.java:18: error: cannot find symbol P1295 main = new P1295(); ^ symbol: class P1295 location: class Main Main.java:18: error: cannot find symbol P1295 main = new P1295(); ^ symbol: class P1295 location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759934006|p00874|0
u759934006|p00874|0
codenet
Compile Error
1,077
v2_s419362528
s419362528
s419362528
p00881
p00881
u947087252
u947087252
1,525,953,526
2018-05-10T11:58:46
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { int m = sc.nextInt(); int n = sc.nextInt(); if (m == 0 && n == 0) break; boolean[][] dset = new boolean[n][m];...
Main.java:102: error: class, interface, enum, or record expected import java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u947087252|p00881|1
u947087252|p00881|1
codenet
Compile Error
6,069
v2_s365877220
s365877220
s365877220
p00881
p00881
u947087252
u947087252
1,526,036,679
2018-05-11T11:04:39
Main.java
import java.util.*; public class Main { static int minmin; public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { int m = sc.nextInt(); int n = sc.nextInt(); if (m == 0 && n == 0) break; List<boolean[]>...
Main.java:143: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u947087252|p00881|2
u947087252|p00881|2
codenet
Compile Error
4,672
v2_s651780104
s651780104
s651780104
p00884
p00884
u104102582
u104102582
1,404,313,066
2014-07-02T14:57:46
Main.java
// Membership Management import java.util.*; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); while (true) { int n = scanner.nextInt(); if (n == 0) break; String[] data = new String[n]; for (int i = 0; i < n; i++) data[i] = scanner.next(); ...
Main.java:19: error: illegal escape character String[] members = data[group].split("[:,\.]"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u104102582|p00884|4
u104102582|p00884|4
codenet
Compile Error
886
v2_s448436289
s448436289
s448436289
p00899
p00899
u011621222
u011621222
1,383,304,944
2013-11-01T11:22:24
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner scan = new Scanner(System.in); String s[] = new String[20]; int [][] g = new int[20][20]; int [][] vis = new int[1 << 14][14]; int [][] d = new int[1 << 14][14]; int [][] tp = new int[1 << 14][14]; int n; int cao(int i, int j){ i...
Main.java:27: error: cannot find symbol int ans = Ox7fffffff; ^ symbol: variable Ox7fffffff location: class Main Main.java:68: error: cannot find symbol int ans = Ox7fffffff; ^ symbol: variable Ox7fffffff location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u011621222|p00899|0
u011621222|p00899|0
codenet
Compile Error
1,702
v2_s382537942
s382537942
s382537942
p00903
p00903
u323357326
u323357326
1,476,433,556
2016-10-14T08:25:56
Main.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.PriorityQueue; public class Main { public static void main(String[] args) { new RoundTrip().run(); } int[] e; int n; int...
Main.java:11: error: cannot find symbol new RoundTrip().run(); ^ symbol: class RoundTrip location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p00903|1
u323357326|p00903|1
codenet
Compile Error
6,895
v2_s452968526
s452968526
s452968526
p00903
p00903
u323357326
u323357326
1,476,433,585
2016-10-14T08:26:25
Main.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.PriorityQueue; public class Main { public static void main(String[] args) { new RoundTrip().run(); } int[] e; int n; int...
Main.java:11: error: cannot find symbol new RoundTrip().run(); ^ symbol: class RoundTrip location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p00903|1
u323357326|p00903|1
codenet
Compile Error
6,895