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_s750673054
s750673054
s750673054
p03109
p03109
u701556667
u701556667
1,551,296,075
2019-02-27T19:34:35
Main.java
class main1{ public Main(){ String S; if(S < 2019/4/30) { System.out.println("Heisei"); }else { System.out.println("TBD"); } return; } }
Main.java:2: error: invalid method declaration; return type required public Main(){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u701556667|p03109|0
u701556667|p03109|0
codenet
Compile Error
144
v2_s416632274
s416632274
s416632274
p03109
p03109
u701556667
u701556667
1,551,296,170
2019-02-27T19:36:10
Main.java
class Main{ public main(){ String S; if(S < 2019/4/30) { System.out.println("Heisei"); }else { System.out.println("TBD"); } return; } }
Main.java:2: error: invalid method declaration; return type required public main(){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u701556667|p03109|0
u701556667|p03109|0
codenet
Compile Error
143
v2_s706812452
s706812452
s706812452
p03109
p03109
u701556667
u701556667
1,551,296,205
2019-02-27T19:36:45
Main.java
class main1{ public void Main(){ String S; if(S < 2019/4/30) { System.out.println("Heisei"); }else { System.out.println("TBD"); } return; } }
Main.java:4: error: bad operand types for binary operator '<' if(S < 2019/4/30) ^ first type: String second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u701556667|p03109|0
u701556667|p03109|0
codenet
Compile Error
149
v2_s284826902
s284826902
s284826902
p03109
p03109
u701556667
u701556667
1,551,296,321
2019-02-27T19:38:41
Main.java
class main1{ public void Main(){ String S; if(S.toString() < 2019/4/30) { System.out.println("Heisei"); }else { System.out.println("TBD"); } return; } }
Main.java:4: error: bad operand types for binary operator '<' if(S.toString() < 2019/4/30) ^ first type: String second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u701556667|p03109|0
u701556667|p03109|0
codenet
Compile Error
160
v2_s873869595
s873869595
s873869595
p03109
p03109
u701556667
u701556667
1,551,296,396
2019-02-27T19:39:56
Main.java
class main1{ public void Main(){ String S; if(S.toINT() < 2019/4/30) { System.out.println("Heisei"); }else { System.out.println("TBD"); } return; } }
Main.java:4: error: cannot find symbol if(S.toINT() < 2019/4/30) ^ symbol: method toINT() location: variable S of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u701556667|p03109|0
u701556667|p03109|0
codenet
Compile Error
157
v2_s128312073
s128312073
s128312073
p03109
p03109
u701556667
u701556667
1,551,296,450
2019-02-27T19:40:50
Main.java
class main1{ public void Main(){ String S; if(S < (2019/4/30).toString()) { System.out.println("Heisei"); }else { System.out.println("TBD"); } return; } }
Main.java:4: error: int cannot be dereferenced if(S < (2019/4/30).toString()) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u701556667|p03109|0
u701556667|p03109|0
codenet
Compile Error
162
v2_s007325681
s007325681
s007325681
p03109
p03109
u701556667
u701556667
1,551,296,493
2019-02-27T19:41:33
Main.java
class main1{ public void Main(){ String S; if(S < (String)2019/4/30) { System.out.println("Heisei"); }else { System.out.println("TBD"); } return; } }
Main.java:4: error: incompatible types: int cannot be converted to String if(S < (String)2019/4/30) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u701556667|p03109|0
u701556667|p03109|0
codenet
Compile Error
157
v2_s729135283
s729135283
s729135283
p03109
p03109
u701556667
u701556667
1,551,296,544
2019-02-27T19:42:24
Main.java
class main1{ public void Main(){ String S; if(S < "2019/4/30") { System.out.println("Heisei"); }else { System.out.println("TBD"); } return; } }
Main.java:4: error: bad operand types for binary operator '<' if(S < "2019/4/30") ^ first type: String second type: String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u701556667|p03109|0
u701556667|p03109|0
codenet
Compile Error
151
v2_s470039307
s470039307
s470039307
p03109
p03109
u701556667
u701556667
1,551,296,594
2019-02-27T19:43:14
Main.java
class main1{ public void Main(){ String S; if((int)S < 2019/4/30) { System.out.println("Heisei"); }else { System.out.println("TBD"); } return; } }
Main.java:4: error: incompatible types: String cannot be converted to int if((int)S < 2019/4/30) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u701556667|p03109|0
u701556667|p03109|0
codenet
Compile Error
154
v2_s460236318
s460236318
s460236318
p03109
p03109
u701556667
u701556667
1,551,296,753
2019-02-27T19:45:53
Main.java
class main1{ public void Main(){ String S; int i = Integer.parseInt(S); if(i < 2019/4/30) { System.out.println("Heisei"); }else { System.out.println("TBD"); } return; } }
Main.java:4: error: variable S might not have been initialized int i = Integer.parseInt(S); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u701556667|p03109|0
u701556667|p03109|0
codenet
Compile Error
182
v2_s603215841
s603215841
s603215841
p03109
p03109
u701556667
u701556667
1,551,296,806
2019-02-27T19:46:46
Main.java
class main1{ public void Main(){ int i = Integer.parseInt(S); if(i < 2019/4/30) { System.out.println("Heisei"); }else { System.out.println("TBD"); } return; } }
Main.java:3: error: cannot find symbol int i = Integer.parseInt(S); ^ symbol: variable S location: class main1 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u701556667|p03109|0
u701556667|p03109|0
codenet
Compile Error
173
v2_s316781960
s316781960
s316781960
p03109
p03109
u701556667
u701556667
1,551,296,916
2019-02-27T19:48:36
Main.java
class main1{ public void Main(){ String S; System.out.scanf(S); int i = Integer.parseInt(S); if(i < 2019/4/30) { System.out.println("Heisei"); }else { System.out.println("TBD"); } return; } }
Main.java:4: error: cannot find symbol System.out.scanf(S); ^ symbol: method scanf(String) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u701556667|p03109|0
u701556667|p03109|0
codenet
Compile Error
209
v2_s127220360
s127220360
s127220360
p03109
p03109
u740667034
u740667034
1,551,038,991
2019-02-24T20:09:51
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); String str=scan.next(); int y=Integer.parseInt(str.substring(0,4)); int m=Integer.parseInt(str.substring(6,8)); int d=Integer.parseInt(str.substring(9,11)); if((y>2019)||((y=2019)...
Main.java:9: error: bad operand types for binary operator '&&' if((y>2019)||((y=2019)&&(m>=5))){ ^ first type: int second type: boolean 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u740667034|p03109|0
u740667034|p03109|0
codenet
Compile Error
423
v2_s941138979
s941138979
s941138979
p03109
p03109
u740667034
u740667034
1,551,039,095
2019-02-24T20:11:35
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); String str=scan.next(); int y=Integer.parseInt(str.substring(0,4)); int m=Integer.parseInt(str.substring(5,7)); int d=Integer.parseInt(str.substring(8,10)); if((y>2019)||((y=2019)...
Main.java:9: error: bad operand types for binary operator '&&' if((y>2019)||((y=2019)&&(m>=5))){ ^ first type: int second type: boolean 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u740667034|p03109|0
u740667034|p03109|0
codenet
Compile Error
424
v2_s549298325
s549298325
s549298325
p03109
p03109
u749601238
u749601238
1,551,096,769
2019-02-25T12:12:49
Main.java
import java.text.SimpleDateFormat; import java.util.Date; import java.util.Scanner; class stillTBD { public static void main(String args[]) { try{ Date boundaryDate = ConvertDateFromString("2019/04/30"); Scanner scanner = new Scanner(System.in); String input = scanner.nextLine(); int r...
Main.java:28: error: cannot find symbol public static Date ConvertDateFromString(String dateStr) throws ParseException { ^ symbol: class ParseException location: class stillTBD 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u749601238|p03109|1
u749601238|p03109|1
codenet
Compile Error
894
v2_s988384634
s988384634
s988384634
p03109
p03109
u749601238
u749601238
1,551,096,804
2019-02-25T12:13:24
Main.java
import java.text.SimpleDateFormat; import java.util.Date; import java.util.Scanner; class Main { public static void main(String args[]) { try{ Date boundaryDate = ConvertDateFromString("2019/04/30"); Scanner scanner = new Scanner(System.in); String input = scanner.nextLine(); int resul...
Main.java:28: error: cannot find symbol public static Date ConvertDateFromString(String dateStr) throws ParseException { ^ symbol: class ParseException location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u749601238|p03109|1
u749601238|p03109|1
codenet
Compile Error
890
v2_s301111034
s301111034
s301111034
p03109
p03109
u749601238
u749601238
1,551,096,938
2019-02-25T12:15:38
Main.java
import java.text.SimpleDateFormat; import java.util.Date; import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { try{ Date boundaryDate = ConvertDateFromString("2019/04/30"); Scanner scanner = new Scanner(System.in); String input =...
Main.java:29: error: cannot find symbol public static Date ConvertDateFromString(String dateStr) throws ParseException { ^ symbol: class ParseException location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u749601238|p03109|1
u749601238|p03109|1
codenet
Compile Error
929
v2_s980133061
s980133061
s980133061
p03109
p03109
u749601238
u749601238
1,551,097,033
2019-02-25T12:17:13
Main.java
import java.text.SimpleDateFormat; import java.util.Date; import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Date boundaryDate = ConvertDateFromString("2019/04/30"); Scanner scanner = new Scanner(System.in); String input = scanner.ne...
Main.java:25: error: cannot find symbol public static Date ConvertDateFromString(String dateStr) throws ParseException { ^ symbol: class ParseException location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u749601238|p03109|1
u749601238|p03109|1
codenet
Compile Error
860
v2_s996253466
s996253466
s996253466
p03109
p03109
u753946386
u753946386
1,551,038,672
2019-02-24T20:04:32
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.util.Date; import java.io.BufferedWriter; import java.text.SimpleDateFormat; import java.util.InputMismatchException; import java.io.IOException; import java.io.Write...
Main.java:28: error: unreported exception ParseException; must be caught or declared to be thrown solver.solve(1, in, out); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753946386|p03109|0
u753946386|p03109|0
codenet
Compile Error
3,939
v2_s323800446
s323800446
s323800446
p03109
p03109
u777283665
u777283665
1,563,952,774
2019-07-24T07:19:34
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.next(); String yyyy = S.substring(0, 4); String mm = S.substring(5, 7); String dd = S.substring(8, 10); if (Integer.parseInt(yyyy) >= 2019 && Integer.parseInt(mm) >= ...
Main.java:20: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777283665|p03109|0
u777283665|p03109|0
codenet
Compile Error
408
v2_s600593573
s600593573
s600593573
p03109
p03109
u803314854
u803314854
1,551,043,872
2019-02-24T21:31:12
Main.java
import java.util.*; public class Main { public static void main(String[]args) { Scanner sc=new Scanner(System.in); String po=sc.nextLine(); String p[]=po.substring("/",0); System.out.println((Integer.parseInt(p[1])<5)?"Heisei":"TBD"); } }
Main.java:6: error: incompatible types: String cannot be converted to int String p[]=po.substring("/",0); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p03109|0
u803314854|p03109|0
codenet
Compile Error
253
v2_s337474712
s337474712
s337474712
p03109
p03109
u803314854
u803314854
1,551,044,082
2019-02-24T21:34:42
Main.java
import java.util.*; public class Main { public static void main(String[]args) { Scanner sc=new Scanner(System.in); String po=sc.nextLine(); String p[]=po.substring("//",0); System.out.println((Integer.parseInt(p[1])<5)?"Heisei":"TBD"); } }
Main.java:6: error: incompatible types: String cannot be converted to int String p[]=po.substring("//",0); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p03109|0
u803314854|p03109|0
codenet
Compile Error
254
v2_s261679153
s261679153
s261679153
p03109
p03109
u803314854
u803314854
1,551,044,129
2019-02-24T21:35:29
Main.java
import java.util.*; public class Main { public static void main(String[]args) { Scanner sc=new Scanner(System.in); String po=sc.nextLine(); po=po.replace("/","."); String p[]=po.substring(".",0); System.out.println((Integer.parseInt(p[1])<5)?"Heisei":"TBD"); } }
Main.java:7: error: incompatible types: String cannot be converted to int String p[]=po.substring(".",0); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p03109|0
u803314854|p03109|0
codenet
Compile Error
283
v2_s233101289
s233101289
s233101289
p03109
p03109
u902973687
u902973687
1,552,325,737
2019-03-11T17:35:37
Main.java
import java.text.DateFormat; import java.text.ParseException; import java.util.Date; import java.util.*; public class Main { public static void main (String[] args) { try { Scanner sc = new Scanner(System.in); String a = sc.next();//A // 日付1を「A」に設定 Date date...
Main.java:20: error: illegal start of type if (diff =< 0) { ^ Main.java:20: error: ';' expected if (diff =< 0) { ^ Main.java:22: error: 'else' without 'if' } else if (diff > 0) { ^ Main.java:25: error: 'catch' without 'tr...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902973687|p03109|1
u902973687|p03109|1
codenet
Compile Error
888
v2_s436742778
s436742778
s436742778
p03109
p03109
u902973687
u902973687
1,552,325,873
2019-03-11T17:37:53
Main.java
import java.text.DateFormat; import java.text.ParseException; import java.util.Date; import java.util.*; public class Main { public static void main (String[] args) { try { Scanner sc = new Scanner(System.in); String a = sc.next();//A // 日付1を「A」に設定 Date date...
Main.java:26: error: 'catch' without 'try' } catch (ParseException e) { ^ Main.java:9: error: 'try' without 'catch', 'finally' or resource declarations try { ^ Main.java:30: error: reached end of file while parsing } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902973687|p03109|1
u902973687|p03109|1
codenet
Compile Error
884
v2_s636932125
s636932125
s636932125
p03109
p03109
u990846642
u990846642
1,551,039,269
2019-02-24T20:14:29
Main.java
public class Main{ public static void main(String[] args}{ int year = args[0].substring(0, 3); int month = args[0].substring(5, 6); int day = args[0].substring(8, 9); Date inputDay = new Date(year, month, day. 12, 0, 0); Date s = new Date(2019, 4, 30, 12, 0, 0); if(s.before(inputDay){ Sy...
Main.java:2: error: ',', ')', or '[' expected public static void main(String[] args}{ ^ Main.java:2: error: class, interface, enum, or record expected public static void main(String[] args}{ ^ Main.java:4: error: unnamed classes are a pr...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990846642|p03109|0
u990846642|p03109|0
codenet
Compile Error
403
v2_s104545663
s104545663
s104545663
p03109
p03109
u990846642
u990846642
1,551,039,300
2019-02-24T20:15:00
Main.java
public class Main{ public static void main(String[] args}{ int year = args[0].substring(0, 3); int month = args[0].substring(5, 6); int day = args[0].substring(8, 9); Date inputDay = new Date(year, month, day, 12, 0, 0); Date s = new Date(2019, 4, 30, 12, 0, 0); if(s.before(inputDay){ Sy...
Main.java:2: error: ',', ')', or '[' expected public static void main(String[] args}{ ^ Main.java:2: error: class, interface, enum, or record expected public static void main(String[] args}{ ^ Main.java:4: error: unnamed classes are a pr...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990846642|p03109|0
u990846642|p03109|0
codenet
Compile Error
403
v2_s151910545
s151910545
s151910545
p03109
p03109
u990846642
u990846642
1,551,039,344
2019-02-24T20:15:44
Main.java
public class Main{ public static void main(String[] args)}{ int year = args[0].substring(0, 3); int month = args[0].substring(5, 6); int day = args[0].substring(8, 9); Date inputDay = new Date(year, month, day, 12, 0, 0); Date s = new Date(2019, 4, 30, 12, 0, 0); if(s.before(inputDay)){ ...
Main.java:2: error: ';' expected public static void main(String[] args)}{ ^ Main.java:2: error: class, interface, enum, or record expected public static void main(String[] args)}{ ^ Main.java:4: error: unnamed classes are a preview fea...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990846642|p03109|0
u990846642|p03109|0
codenet
Compile Error
405
v2_s215400349
s215400349
s215400349
p03109
p03109
u990846642
u990846642
1,551,039,402
2019-02-24T20:16:42
Main.java
public class Main{ public static void main(String[] args){ int year = args[0].substring(0, 3); int month = args[0].substring(5, 6); int day = args[0].substring(8, 9); Date inputDay = new Date(year, month, day, 12, 0, 0); Date s = new Date(2019, 4, 30, 12, 0, 0); if(s.before(inputDay)){ S...
Main.java:3: error: incompatible types: String cannot be converted to int int year = args[0].substring(0, 3); ^ Main.java:4: error: incompatible types: String cannot be converted to int int month = args[0].substring(5, 6); ^ Main.java:5: error: in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990846642|p03109|0
u990846642|p03109|0
codenet
Compile Error
404
v2_s812382425
s812382425
s812382425
p03109
p03109
u990846642
u990846642
1,551,039,487
2019-02-24T20:18:07
Main.java
public class Main{ public static void main(String[] args){ int year = Integer.valueOf(args[0].substring(0, 3)); int month = Integer.valueOfargs[0].substring(5, 6)); int day = Integer.valueOfargs[0].substring(8, 9)); Date inputDay = new Date(year, month, day, 12, 0, 0); Date s = new Date(2019, 4, 3...
Main.java:4: error: ';' expected int month = Integer.valueOfargs[0].substring(5, 6)); ^ Main.java:5: error: ';' expected int day = Integer.valueOfargs[0].substring(8, 9)); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990846642|p03109|0
u990846642|p03109|0
codenet
Compile Error
453
v2_s409666606
s409666606
s409666606
p03109
p03109
u990846642
u990846642
1,551,039,524
2019-02-24T20:18:44
Main.java
public class Main{ public static void main(String[] args){ int year = Integer.valueOf(args[0].substring(0, 3)); int month = Integer.valueOf(args[0].substring(5, 6)); int day = Integer.valueOf(args[0].substring(8, 9)); Date inputDay = new Date(year, month, day, 12, 0, 0); Date s = new Date(2019, 4,...
Main.java:6: error: cannot find symbol Date inputDay = new Date(year, month, day, 12, 0, 0); ^ symbol: class Date location: class Main Main.java:6: error: cannot find symbol Date inputDay = new Date(year, month, day, 12, 0, 0); ^ symbol: class Date location: class Main Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990846642|p03109|0
u990846642|p03109|0
codenet
Compile Error
455
v2_s058598788
s058598788
s058598788
p03109
p03109
u990846642
u990846642
1,551,039,555
2019-02-24T20:19:15
Main.java
public class Main{ import java.util.Date; public static void main(String[] args){ int year = Integer.valueOf(args[0].substring(0, 3)); int month = Integer.valueOf(args[0].substring(5, 6)); int day = Integer.valueOf(args[0].substring(8, 9)); Date inputDay = new Date(year, month, day, 12, 0, 0); Dat...
Main.java:2: error: illegal start of type import java.util.Date; ^ Main.java:2: error: <identifier> expected import java.util.Date; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990846642|p03109|0
u990846642|p03109|0
codenet
Compile Error
478
v2_s462734312
s462734312
s462734312
p03109
p03109
u990846642
u990846642
1,551,039,613
2019-02-24T20:20:13
Main.java
public class Main{ import java.util.Date; public static void main(String[] args){ int year = Integer.valueOf(args[0].substring(0, 3)); int month = Integer.valueOf(args[0].substring(5, 6)); int day = Integer.valueOf(args[0].substring(8, 9)); Date inputDay = new Date(year, month, day, 12, 0, 0); D...
Main.java:2: error: illegal start of type import java.util.Date; ^ Main.java:2: error: <identifier> expected import java.util.Date; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990846642|p03109|0
u990846642|p03109|0
codenet
Compile Error
480
v2_s684826513
s684826513
s684826513
p03109
p03109
u999478725
u999478725
1,558,431,040
2019-05-21T09:30:40
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int S = sc.nextInt(); int T =S-20190000; if (T<=430){System.out.println(Heisei);} else{Syeten.out.println(TBD);} } }
Main.java:9: error: cannot find symbol if (T<=430){System.out.println(Heisei);} ^ symbol: variable Heisei location: class Main Main.java:10: error: cannot find symbol else{Syeten.out.println(TBD);} ^ symbol: variable TBD location: class ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u999478725|p03109|0
u999478725|p03109|0
codenet
Compile Error
259
v2_s821880902
s821880902
s821880902
p03109
p03109
u999478725
u999478725
1,558,431,108
2019-05-21T09:31:48
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int S = sc.nextInt(); int T =S-20190000; if (T<=430){System.out.println("Heisei");} else{Syeten.out.println("TBD");} } }
Main.java:10: error: package Syeten does not exist else{Syeten.out.println("TBD");} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u999478725|p03109|0
u999478725|p03109|0
codenet
Compile Error
263
v2_s815451324
s815451324
s815451324
p03110
p03110
u240229631
u240229631
1,551,039,862
2019-02-24T20:24:22
Main.java
public Class Main{ public static void main(String args[]) { int n = args[0]; int b = 380000; double d=0; for(int i=1;i<n;i++) { String[] s=args[i].split(" "); if(s[1].equals("JPY")) { d+=Integer.parseInt(s[0]); } else{ d+=Double.parseDouble(s[0])*b; } ...
Main.java:1: error: class, interface, enum, or record expected public Class Main{ ^ Main.java:2: 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:17: error: class, in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u240229631|p03110|0
u240229631|p03110|0
codenet
Compile Error
354
v2_s143128663
s143128663
s143128663
p03110
p03110
u240229631
u240229631
1,551,040,157
2019-02-24T20:29:17
Main.java
public class Main{ public static void main(String args[]) { int n = args[0]; int b = 380000; double d=0; for(int i=1;i<n;i++) { String[] s=args[i].split(" "); if(s[1].equals("JPY")) { d+=Integer.parseInt(s[0]); } else{ d+=Double.parseDouble(s[0])*b; } ...
Main.java:3: error: incompatible types: String cannot be converted to int int n = args[0]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u240229631|p03110|0
u240229631|p03110|0
codenet
Compile Error
354
v2_s596322272
s596322272
s596322272
p03110
p03110
u266624656
u266624656
1,555,860,540
2019-04-21T15:29:00
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n=sc.nextInt(); double[] money = new int[n]; String[] syurui = new String[n]; double sum = 0.0; for(int i=0; i<n; i++){ money[i] = sc.nextInt(); syurui[i] = sc.ne...
Main.java:6: error: incompatible types: int[] cannot be converted to double[] double[] money = new int[n]; ^ Main.java:12: error: incompatible types: String cannot be converted to boolean if(syurui[i] = "BTC"){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u266624656|p03110|0
u266624656|p03110|0
codenet
Compile Error
477
v2_s552574340
s552574340
s552574340
p03110
p03110
u369190981
u369190981
1,551,040,335
2019-02-24T20:32:15
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = Integer.parseInt(sc.nextLine()); int jap = Integer.parseInt(sc.nextLine()); long btc = Integer.parseInt(sc.nextLine()); long sum = jap + btc *380000.0; System.out.println(sum);...
Main.java:9: error: incompatible types: possible lossy conversion from double to long long sum = jap + btc *380000.0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369190981|p03110|0
u369190981|p03110|0
codenet
Compile Error
325
v2_s888975818
s888975818
s888975818
p03110
p03110
u369190981
u369190981
1,551,040,619
2019-02-24T20:36:59
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = Integer.parseInt(sc.nextLine()); int jap = Integer.parseInt(sc.nextLine()); long btc = Integer.parseInt(sc.nextLine()); long sum =(long)jap + btc *380000.0; System.out.println(...
Main.java:9: error: incompatible types: possible lossy conversion from double to long long sum =(long)jap + btc *380000.0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369190981|p03110|0
u369190981|p03110|0
codenet
Compile Error
330
v2_s900456535
s900456535
s900456535
p03110
p03110
u369190981
u369190981
1,551,040,815
2019-02-24T20:40:15
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = Integer.parseInt(sc.nextLine()); float jap = Integer.parseInt(sc.nextLine()); float btc = Integer.parseInt(sc.nextLine()); float sum = jap + btc *380000.0; System.out.println...
Main.java:9: error: incompatible types: possible lossy conversion from double to float float sum = jap + btc *380000.0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369190981|p03110|0
u369190981|p03110|0
codenet
Compile Error
331
v2_s748006563
s748006563
s748006563
p03110
p03110
u369190981
u369190981
1,551,040,988
2019-02-24T20:43:08
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = Integer.parseInt(sc.nextLine()); long jap = Integer.parseInt(sc.nextLine()); long btc = Integer.parseInt(sc.nextLine()); long sum = jap +(long) btc *380000.0; System.out.pri...
Main.java:9: error: incompatible types: possible lossy conversion from double to long long sum = jap +(long) btc *380000.0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369190981|p03110|0
u369190981|p03110|0
codenet
Compile Error
335
v2_s562909058
s562909058
s562909058
p03110
p03110
u369190981
u369190981
1,551,041,282
2019-02-24T20:48:02
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = Integer.parseInt(sc.nextLine()); long jap = Integer.parseInt(sc.nextLine()); long btc = Integer.parseInt(sc.nextLine()); long sum = (long)jap +(long) btc *380000.0; System.o...
Main.java:9: error: incompatible types: possible lossy conversion from double to long long sum = (long)jap +(long) btc *380000.0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369190981|p03110|0
u369190981|p03110|0
codenet
Compile Error
341
v2_s128127630
s128127630
s128127630
p03110
p03110
u369190981
u369190981
1,551,041,357
2019-02-24T20:49:17
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = Integer.parseInt(sc.nextLine()); long jap = sc.nextLine(); long btc = sc.nextLine(); long sum = jap + btc *380000.0; System.out.println(sum); } }
Main.java:7: error: incompatible types: String cannot be converted to long long jap = sc.nextLine(); ^ Main.java:8: error: incompatible types: String cannot be converted to long long btc = sc.nextLine(); ^ Main.java:9: error: incompatible types: possible lossy con...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369190981|p03110|0
u369190981|p03110|0
codenet
Compile Error
293
v2_s104769505
s104769505
s104769505
p03110
p03110
u369190981
u369190981
1,551,041,471
2019-02-24T20:51:11
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = Integer.parseInt(sc.nextLine()); long jap = long.parseLong(sc.nextLine()); long btc = long.parseLong(sc.nextLine()); long sum = jap + btc *380000.0; System.out.println(sum);...
Main.java:7: error: class expected long jap = long.parseLong(sc.nextLine()); ^ Main.java:7: error: ';' expected long jap = long.parseLong(sc.nextLine()); ^ Main.java:7: error: ';' expected long jap = long.parseLong(sc.nextLine()); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369190981|p03110|0
u369190981|p03110|0
codenet
Compile Error
325
v2_s512923460
s512923460
s512923460
p03110
p03110
u471642439
u471642439
1,551,040,935
2019-02-24T20:42:15
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); double c = 0; for (int i = 0;i < N; i++){ double a = sc.nextDouble(); String st = sc.next(); if (st.equals("JPY")) { ...
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u471642439|p03110|0
u471642439|p03110|0
codenet
Compile Error
482
v2_s834044937
s834044937
s834044937
p03110
p03110
u563321291
u563321291
1,591,473,338
2020-06-06T19:55:38
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.math.BigInteger; import java.util.ArrayList; import java.util.Collections; import java.util.NoSuchElementException; public class Main { public static void main(String[] args) { slover(); out.flush(); } static Fast...
Main.java:308: error: illegal start of expression return array;import java.io.IOException; ^ Main.java:308: error: not a statement return array;import java.io.IOException; ^ Main.java:309: error: illegal start of expression import java.io.Input...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u563321291|p03110|0
u563321291|p03110|0
codenet
Compile Error
14,321
v2_s436778065
s436778065
s436778065
p03110
p03110
u563321291
u563321291
1,591,473,453
2020-06-06T19:57:33
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.math.BigInteger; import java.util.ArrayList; import java.util.Collections; import java.util.NoSuchElementException; public class Main { public static void main(String[] args) { slover(); out.flush(); } static Fast...
Main.java:308: error: illegal start of expression return array;import java.io.IOException; ^ Main.java:308: error: not a statement return array;import java.io.IOException; ^ Main.java:309: error: illegal start of expression import java.io.Input...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u563321291|p03110|0
u563321291|p03110|0
codenet
Compile Error
14,321
v2_s599805839
s599805839
s599805839
p03110
p03110
u563853779
u563853779
1,552,581,043
2019-03-14T16:30:43
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.time.LocalDate; import java.time.format.DateTimeFormatter; import java.util.Scanner; public void DigitalGifts() throws IOException { Scanner sc = new Scanner(System.in); int count = sc.nextInt(); ...
Main.java:8: error: unnamed classes are a preview feature and are disabled by default. public void DigitalGifts() throws IOException { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u563853779|p03110|0
u563853779|p03110|0
codenet
Compile Error
707
v2_s997126020
s997126020
s997126020
p03110
p03110
u622400537
u622400537
1,553,962,680
2019-03-30T16:18:00
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); int N = scan.nextInt(); double x; double sum = 0; String str; for(int i = 0;i < n; i++){ x = scan.nextDouble(); str = scan.next(); if(str.equals("BTC")) x = x*38...
Main.java:9: error: cannot find symbol for(int i = 0;i < n; i++){ ^ symbol: variable n location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u622400537|p03110|0
u622400537|p03110|0
codenet
Compile Error
386
v2_s429459625
s429459625
s429459625
p03110
p03110
u648912196
u648912196
1,551,040,373
2019-02-24T20:32:53
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scannr sc = new Scanner(System.in); int i,ans,n = nextInt(); ans = 0; for(i=0;i<n;i++){ double x = nextInt(); string u = nextInt(); if(u==BTC){ x *= 380000; } ans += x; } System.out.p...
Main.java:5: error: cannot find symbol Scannr sc = new Scanner(System.in); ^ symbol: class Scannr location: class Main Main.java:6: error: cannot find symbol int i,ans,n = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:9: error: cannot find symbol do...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u648912196|p03110|0
u648912196|p03110|0
codenet
Compile Error
338
v2_s785012052
s785012052
s785012052
p03110
p03110
u648912196
u648912196
1,551,040,424
2019-02-24T20:33:44
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int i,ans,n = nextInt(); ans = 0; for(i=0;i<n;i++){ double x = nextInt(); string u = nextInt(); if(u==BTC){ x *= 380000; } ans += x; } System.out....
Main.java:6: error: cannot find symbol int i,ans,n = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:9: error: cannot find symbol double x = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:10: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u648912196|p03110|0
u648912196|p03110|0
codenet
Compile Error
340
v2_s138513656
s138513656
s138513656
p03110
p03110
u648912196
u648912196
1,551,040,513
2019-02-24T20:35:13
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int i,ans,n = sc.nextInt(); ans = 0; for(i=0;i<n;i++){ double x = sc.nextInt(); string u = sc.nextInt(); if(u==BTC){ x *= 380000; } ans += x; } Sy...
Main.java:10: error: cannot find symbol string u = sc.nextInt(); ^ symbol: class string location: class Main Main.java:11: error: cannot find symbol if(u==BTC){ ^ symbol: variable BTC location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u648912196|p03110|0
u648912196|p03110|0
codenet
Compile Error
349
v2_s490256550
s490256550
s490256550
p03110
p03110
u648912196
u648912196
1,551,040,597
2019-02-24T20:36:37
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int i,ans,n = sc.nextInt(); ans = 0; for(i=0;i<n;i++){ double x = sc.nextInt(); String u = sc.nextInt(); if(u=="BTC"){ x *= 380000; } ans += x; }...
Main.java:11: error: incompatible types: int cannot be converted to String String u = sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u648912196|p03110|0
u648912196|p03110|0
codenet
Compile Error
356
v2_s755806860
s755806860
s755806860
p03110
p03110
u648912196
u648912196
1,551,040,683
2019-02-24T20:38:03
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int i,ans,n = sc.nextInt(); ans = 0; for(i=0;i<n;i++){ double x = sc.nextDouble(); String u = sc.nextString(); if(u=="BTC"){ x *= 380000; } ans += x;...
Main.java:11: error: cannot find symbol String u = sc.nextString(); ^ symbol: method nextString() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u648912196|p03110|0
u648912196|p03110|0
codenet
Compile Error
362
v2_s701968715
s701968715
s701968715
p03110
p03110
u682395093
u682395093
1,551,739,217
2019-03-04T22:40:17
Main.java
public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ double ans = 0; double num = 0; String s; Scanner sc = new Scanner(System.in); int N = sc.nextInt(); for(int i = 0; i < N; i++) { num = sc.nextDouble(); s = sc.next(); if(s.equals("JPY")) { ans += num; ...
Main.java:9: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:9: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u682395093|p03110|0
u682395093|p03110|0
codenet
Compile Error
446
v2_s682931831
s682931831
s682931831
p03110
p03110
u704373596
u704373596
1,557,158,343
2019-05-06T15:59:03
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int monies[] = new int[N]; String currencies[] = new String[N]; for (int i = 0; i < N; i++){ mon...
Main.java:22: error: array required, but int found if (coefficient[i].equals("JPY")) { ^ Main.java:24: error: array required, but int found } else if (coefficient[i].equals("BTC")) { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u704373596|p03110|0
u704373596|p03110|0
codenet
Compile Error
809
v2_s794079836
s794079836
s794079836
p03110
p03110
u843129591
u843129591
1,551,039,787
2019-02-24T20:23:07
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); //ArrayList<Integer> JPY = new ArrayList<Integer>(); ArrayList<Double> BTC = new ArrayList<Double>(); Double x; String u; Double su...
Main.java:23: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843129591|p03110|0
u843129591|p03110|0
codenet
Compile Error
580
v2_s942156232
s942156232
s942156232
p03110
p03110
u989306199
u989306199
1,584,487,355
2020-03-17T23:22:35
Main.java
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> P; #define rep(i, n) for (int i = 0; i < (int)(n); ++i) template <class T> inline bool chmin(T &a, T b) {if (a > b){a = b;return true;}return false;} template <class T> inline bool chmax(T &a, T b) {if (a < b){a = b;return true;}...
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:3: error: class, interface, enum, or record expected typedef long long ll; ^ Main.java:4: error: class, interface, enum, or record expected t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u989306199|p03110|0
u989306199|p03110|0
codenet
Compile Error
702
v2_s957440428
s957440428
s957440428
p03110
p03110
u989306199
u989306199
1,584,487,376
2020-03-17T23:22:56
Main.java
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> P; #define rep(i, n) for (int i = 0; i < (int)(n); ++i) template <class T> inline bool chmin(T &a, T b) {if (a > b){a = b;return true;}return false;} template <class T> inline bool chmax(T &a, T b) {if (a < b){a = b;return true;}...
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:3: error: class, interface, enum, or record expected typedef long long ll; ^ Main.java:4: error: class, interface, enum, or record expected t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u989306199|p03110|0
u989306199|p03110|0
codenet
Compile Error
702
v2_s337984703
s337984703
s337984703
p03110
p03110
u990037841
u990037841
1,585,929,500
2020-04-03T15:58:20
Main.java
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<pair<long double,string>> p(n); for(int i = 0; i < n; i++){ double a; string b; cin >> a >> b; p.at(i) = make_pair(a,b); } double sum = 0; for(int i = 0; i < n; i++){ i...
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:6: error: not a statement cin >> n; ^ Main.java:7: error: not a statement vector<pair<long double,string>> p(n); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990037841|p03110|0
u990037841|p03110|0
codenet
Compile Error
515
v2_s267626027
s267626027
s267626027
p03111
p03111
u029115008
u029115008
1,551,044,102
2019-02-24T21:35:02
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); ArraysList<Integer> l = new ArraysList<>(); ArraysList<Integer> ans = new ArraysList<>(); ...
Main.java:10: error: cannot find symbol ArraysList<Integer> l = new ArraysList<>(); ^ symbol: class ArraysList location: class Main Main.java:10: error: cannot find symbol ArraysList<Integer> l = new ArraysList<>(); ^ symbol: class ArraysList location: class Main ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u029115008|p03111|0
u029115008|p03111|0
codenet
Compile Error
1,426
v2_s949055435
s949055435
s949055435
p03111
p03111
u029115008
u029115008
1,551,044,388
2019-02-24T21:39:48
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); ArrayList<Integer> l = new ArrayList<>(); ArrayList<Integer> ans = new ArrayList<>(); ...
Main.java:17: error: cannot find symbol tmp = sc.nextInt(); ^ symbol: variable tmp location: class Main Main.java:19: error: cannot find symbol if (tmp == ans.get(j)) { ^ symbol: variable tmp location: class Main Main.java:23: error: cannot find symbol l.add(tmp); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u029115008|p03111|0
u029115008|p03111|0
codenet
Compile Error
1,673
v2_s516687666
s516687666
s516687666
p03111
p03111
u091010228
u091010228
1,554,181,881
2019-04-02T05:11:21
Main.java
import java.util.ArrayList; import java.util.Scanner; // C - Synthetic Kadomatsu class Main {
Main.java:5: error: reached end of file while parsing class Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u091010228|p03111|1
u091010228|p03111|1
codenet
Compile Error
97
v2_s082979392
s082979392
s082979392
p03111
p03111
u492989229
u492989229
1,580,746,284
2020-02-03T16:11:24
Main.java
import javafx.util.Pair; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.HashSet; import java.util.Set; import java.util.Stack; import java.util.StringTokenizer; public class Main { static int n; ...
Main.java:1: error: package javafx.util does not exist import javafx.util.Pair; ^ Main.java:76: error: cannot find symbol static Pair<Integer, HashSet<Integer>> findMin(int i, Stack<Integer> path, int v, HashSet<Integer> used) { ^ symbol: class Pair location: class Main Main.java:35: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u492989229|p03111|0
u492989229|p03111|0
codenet
Compile Error
5,117
v2_s006967764
s006967764
s006967764
p03111
p03111
u726872801
u726872801
1,551,040,180
2019-02-24T20:29:40
Main.java
import scala.Int; import java.util.Arrays; import java.util.Scanner; public class Main { int a, b, c, n; int[] ls; int[] ts; void run() { Scanner sc = new Scanner(System.in); n = sc.nextInt(); a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); ts = new int[]{a, b,...
Main.java:2: error: package scala does not exist import scala.Int; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u726872801|p03111|0
u726872801|p03111|0
codenet
Compile Error
1,643
v2_s649217093
s649217093
s649217093
p03111
p03111
u740667034
u740667034
1,551,040,891
2019-02-24T20:41:31
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); int n=scan.nextInt(); int a=scan.nextInt(); int b=scan.nextInt(); int c=scan.nextInt(); int l[]=new int[8]; for(int i=0;i<8;i++){ l[i]=0; } for(int i=0;i<n;i++){...
Main.java:16: error: ';' expected int x[]=new int[4] ^ Main.java:41: error: ';' expected min=Math.min(min,x[0]+x[1]+x[2]) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u740667034|p03111|0
u740667034|p03111|0
codenet
Compile Error
1,017
v2_s348607444
s348607444
s348607444
p03111
p03111
u989306199
u989306199
1,584,492,528
2020-03-18T00:48:48
Main.java
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> P; #define rep(i, n) for (int i = 0; i < (int)(n); ++i) template <class T> inline bool chmin(T &a, T b) {if (a > b){a = b;return true;}return false;} template <class T> inline bool chmax(T &a, T b) {if (a < b){a = b;return true;}...
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:3: error: class, interface, enum, or record expected typedef long long ll; ^ Main.java:4: error: class, interface, enum, or record expected t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u989306199|p03111|0
u989306199|p03111|0
codenet
Compile Error
1,278
v2_s749656788
s749656788
s749656788
p03112
p03112
u291133005
u291133005
1,555,176,028
2019-04-13T17:20:28
ABC119D.java
import java.util.Arrays; import java.util.Scanner; public class ABC119D { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int Q = sc.nextInt(); long[] S = new long[A]; long[] T = new long[B]; long[] X = new long[Q];...
ABC119D.java:22: error: cannot find symbol Main abc119D = new Main(); ^ symbol: class Main location: class ABC119D ABC119D.java:22: error: cannot find symbol Main abc119D = new Main(); ^ symbol: class Main location: class ABC119D 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u291133005|p03112|0
u291133005|p03112|0
codenet
Compile Error
2,848
v2_s756992752
s756992752
s756992752
p03112
p03112
u417414025
u417414025
1,572,016,969
2019-10-25T15:22:49
Main.java
import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.ListIterator; import java.util.Scanner; public class Main { public static final Long INF = Long.MAX_VALUE; public static List<Point> distanceFromWest = new ArrayList<>()...
Main.java:555: error: class Point is public, should be declared in a file named Point.java public class Point { ^ Main.java:594: error: class PointComparator is public, should be declared in a file named PointComparator.java public class PointComparator implements Comparator<Point> { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u417414025|p03112|0
u417414025|p03112|0
codenet
Compile Error
14,609
v2_s384937392
s384937392
s384937392
p03112
p03112
u472301895
u472301895
1,551,044,307
2019-02-24T21:38:27
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int q = sc.nextInt(); long[] s = new long[a]; for (int i = 0; i < a; i++) { s[i] = sc...
Main.java:25: error: integer number too large long shr = 9223372036854775807; ^ Main.java:26: error: integer number too large long tem = 9223372036854775807; ^ Main.java:29: error: integer number too large long shrine2 = 92233720368547758...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u472301895|p03112|0
u472301895|p03112|0
codenet
Compile Error
1,768
v2_s070982066
s070982066
s070982066
p03112
p03112
u653981267
u653981267
1,586,678,572
2020-04-12T08:02:52
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int q = sc.nextInt(); long[] s = new long[a + 1]; long[] t = new long[b + 1]; for(int i = 0; i < a; i++) { s[i] = sc.next...
Main.java:48: error: incompatible types: possible lossy conversion from long to int ans = Math.max(s[0] - x, t[0] - x); ^ Main.java:50: error: incompatible types: possible lossy conversion from long to int ans = Math.max(s[0] - x, x - t[tx]); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03112|1
u653981267|p03112|1
codenet
Compile Error
1,804
v2_s052537364
s052537364
s052537364
p03112
p03112
u653981267
u653981267
1,586,678,622
2020-04-12T08:03:42
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int q = sc.nextInt(); long[] s = new long[a + 1]; long[] t = new long[b + 1]; for(int i = 0; i < a; i++) { s[i] = sc.next...
Main.java:50: error: incompatible types: possible lossy conversion from long to int ans = Math.max(s[0] - x, x - t[tx]); ^ Main.java:51: error: incompatible types: possible lossy conversion from long to int if((tx + 1) < b) ans = Math.min(ans, Math.max(s[0] -...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03112|1
u653981267|p03112|1
codenet
Compile Error
1,805
v2_s410443521
s410443521
s410443521
p03112
p03112
u653981267
u653981267
1,586,681,648
2020-04-12T08:54:08
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int q = sc.nextInt(); long[] s = new long[a + 1]; long[] t = new long[b + 1]; for(int i = 0; i < a; i++) { s[i] = sc.next...
Main.java:59: error: no suitable method found for min(long,long,long) ans = Math.min(ans, s[sx + 1] - x, t[tx + 1] - x); ^ method Math.min(int,int) is not applicable (actual and formal argument lists differ in length) method Math.min(long,long) is not applicable (actual...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03112|1
u653981267|p03112|1
codenet
Compile Error
1,844
v2_s397300425
s397300425
s397300425
p03112
p03112
u740667034
u740667034
1,551,043,483
2019-02-24T21:24:43
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); int a=scan.nextInt(); int b=scan.nextInt(); int q=scan.nextInt(); long s[]=new long[a]; long t[]=new long[b]; long x[]=new long[q]; long min; long u,v; f...
Main.java:41: error: variable jj might not have been initialized if((x[i]>s[jj-j])&&(x[i]<s[jj-j+1])){ ^ Main.java:45: error: variable ii might not have been initialized c=x[i]-s[ii]; ^ Main.java:54: error: variable jj might not have been initialized if((x[i]>t[jj...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u740667034|p03112|0
u740667034|p03112|0
codenet
Compile Error
1,426
v2_s339313827
s339313827
s339313827
p03112
p03112
u973997867
u973997867
1,551,383,378
2019-02-28T19:49:38
Main.java
import java.util.Scanner; public class Main{ static int A,B,Q; static Long[] S,T,X; public static void main(String[] args){ Scanner sc = new Scanner(System.in); A = sc.nextInt(); B = sc.nextInt(); Q = sc.nextInt(); S = new Long[A+2]; T = new Long[B+2]; X = new Long[Q]; for(int i=1...
Main.java:94: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973997867|p03112|1
u973997867|p03112|0
codenet
Compile Error
3,070
v2_s985608319
s985608319
s985608319
p03112
p03112
u981808900
u981808900
1,555,367,815
2019-04-15T22:36:55
Main.java
import java.util.*; import java.util.stream.*; public class Main { static Scanner scanner = new Scanner(System.in); public static void main(String[]$) { int a = scanner.nextInt(), b = scanner.nextInt(), q = scanner.nextInt(); List<Long> s = IntStream.range(0, a).mapToObj(i -> scanner.nextLong(...
Main.java:20: error: cannot find symbol int s1 = Util.binarySearch(s, (e, j) -> e < x); ^ symbol: variable Util location: class Main Main.java:21: error: cannot find symbol int t1 = Util.binarySearch(t, (e, j) -> e < x); ^ symbol: variable Util...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p03112|0
u981808900|p03112|0
codenet
Compile Error
1,605
v2_s605807136
s605807136
s605807136
p03113
p03113
u740667034
u740667034
1,550,994,983
2019-02-24T07:56:23
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); int n=scan.nextInt(); int k=scan.nextInt(); int a[]=new int[n]; for(int i=0;i<n;i++){ a[i]=scan.nextInt(); a[i]=k+1-a[i]; a[i]=Math.max(a[i],0); } int sum=0;...
Main.java:40: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u740667034|p03113|0
u740667034|p03113|0
codenet
Compile Error
803
v2_s077689211
s077689211
s077689211
p03113
p03113
u740667034
u740667034
1,550,995,059
2019-02-24T07:57:39
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); int n=scan.nextInt(); int k=scan.nextInt(); int a[]=new int[n]; for(int i=0;i<n;i++){ a[i]=scan.nextInt(); a[i]=k+1-a[i]; a[i]=Math.max(a[i],0); } int sum=0;...
Main.java:41: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u740667034|p03113|0
u740667034|p03113|0
codenet
Compile Error
810
v2_s328539782
s328539782
s328539782
p03113
p03113
u861755736
u861755736
1,551,022,341
2019-02-24T15:32:21
Main.java
import java.util.*; public class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int K = sc.nextInt(); int a[] = new int[N]; int min = 1000; for(int i = 0; i < N; i++){ a[i] = sc.nextInt(); min = Math.min(min, a[i]); } ...
Main.java:23: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u861755736|p03113|0
u861755736|p03113|0
codenet
Compile Error
545
v2_s699433208
s699433208
s699433208
p03125
p03125
u006971340
u006971340
1,551,639,333
2019-03-03T18:55:33
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); if(B%A == 0) System.out.println(A + B); else System.out.println(B - A); } }
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u006971340|p03125|0
u006971340|p03125|0
codenet
Compile Error
235
v2_s955224189
s955224189
s955224189
p03125
p03125
u006971340
u006971340
1,551,639,347
2019-03-03T18:55:47
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); if(B%A == 0) System.out.println(A + B); else System.out.println(B - A); } }
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u006971340|p03125|0
u006971340|p03125|0
codenet
Compile Error
235
v2_s090471717
s090471717
s090471717
p03125
p03125
u007815330
u007815330
1,550,369,673
2019-02-17T02:14:33
Main.java
public class Main { public static void main(String[] args) { Scanner scnr = new Scanner(System.in); int a = scnr.nextInt(); int b = scnr.nextInt(); if (b % a == 0) { System.out,println(a + b); } else { System.out,println(b - a;); } } }
Main.java:7: error: not a statement System.out,println(a + b); ^ Main.java:7: error: ';' expected System.out,println(a + b); ^ Main.java:9: error: not a statement System.out,println(b - a;); ^ Main.java:9: error: ';' expected System.ou...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u007815330|p03125|0
u007815330|p03125|0
codenet
Compile Error
306
v2_s934582199
s934582199
s934582199
p03125
p03125
u020177012
u020177012
1,550,637,315
2019-02-20T04:35:15
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { public static void main(String[] args) { Scanner sc = new Scanner(System.in); final int A = sc.nextInt(); final int B = sc.nextInt(); final boolean isDivisor = B % A == 0; if (isDivis...
Main.java:5: error: illegal start of expression public static void main(String[] args) { ^ Main.java:22: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u020177012|p03125|0
u020177012|p03125|0
codenet
Compile Error
488
v2_s872201372
s872201372
s872201372
p03125
p03125
u065052748
u065052748
1,550,368,901
2019-02-17T02:01:41
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(), B = sc.nextInt(); if (B % A == 0) { System.out.println((A + B)); } else System.out.println((B - A)); }
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u065052748|p03125|0
u065052748|p03125|0
codenet
Compile Error
318
v2_s735878501
s735878501
s735878501
p03125
p03125
u069369981
u069369981
1,550,659,987
2019-02-20T10:53:07
Main.java
class AtCoder(){ public static void main(String[] args){ int A,B; if(B % A == 0){ System.out.println(A + B) else{ System.out.println(B - A) } }
Main.java:1: error: '{' expected class AtCoder(){ ^ Main.java:5: error: ';' expected System.out.println(A + B) ^ Main.java:7: error: ';' expected System.out.println(B - A) ^ Main.java:6: error: 'else' without 'if' else{ ^ Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u069369981|p03125|0
u069369981|p03125|0
codenet
Compile Error
174
v2_s244204314
s244204314
s244204314
p03125
p03125
u078902541
u078902541
1,550,388,372
2019-02-17T07:26:12
Main.java
if( A%B == 0 ) { System.out.println( A + B); } else { System.out.println( A - B); }
Main.java:1: error: class, interface, enum, or record expected if( A%B == 0 ) { ^ Main.java:3: error: class, interface, enum, or record expected } else { ^ Main.java:5: error: class, interface, enum, or record expected } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u078902541|p03125|0
u078902541|p03125|0
codenet
Compile Error
87
v2_s853496992
s853496992
s853496992
p03125
p03125
u078902541
u078902541
1,550,388,509
2019-02-17T07:28:29
Main.java
Scanner sc = new Scanner(System.in); A = sc.nextInt(); B = sc.nextInt(); if( A%B == 0 ) { System.out.println( A + B); } else { System.out.println( A - B); }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Scanner sc = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:2: error: class, interface, enum, or record expected A = sc.nextInt(); ^ Main.java:3: error: class, interface, enum, or record expect...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u078902541|p03125|0
u078902541|p03125|0
codenet
Compile Error
161
v2_s467664405
s467664405
s467664405
p03125
p03125
u099178309
u099178309
1,551,125,694
2019-02-25T20:14:54
Main.java
public class Main{ public static void main(){ int a; int b; int c=0; Scanner sc = new Scanner(System.in); a = sc.nextInt(); b = sc.nextInt(); if(b%a==0){ c=a+b; } else { c=b-a; } System.out.println(c); return 0; } }
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:17: error: incompatible types: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u099178309|p03125|0
u099178309|p03125|0
codenet
Compile Error
249
v2_s706176401
s706176401
s706176401
p03125
p03125
u099178309
u099178309
1,551,125,740
2019-02-25T20:15:40
Main.java
import java.util.Scanner; public class Main{ public static void main(){ int a; int b; int c=0; Scanner sc = new Scanner(System.in); a = sc.nextInt(); b = sc.nextInt(); if(b%a==0){ c=a+b; } else { c=b-a; } System.out.println(c); return 0; } }
Main.java:19: error: incompatible types: unexpected return value return 0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u099178309|p03125|0
u099178309|p03125|0
codenet
Compile Error
276
v2_s996211452
s996211452
s996211452
p03125
p03125
u121724673
u121724673
1,550,369,861
2019-02-17T02:17:41
Main.java
import java.util.*; import java.io.*; public class Main{ public static void main(String args[]) { Scanner sc = new Scanner(System.in); int a,b; a = sc.nextInt(); b = sc.nextInt(); if(b/a==0) System.out.println(a+b); else System.out.println(b-a); } } import java.util.*;
Main.java:16: error: class, interface, enum, or record expected import java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u121724673|p03125|0
u121724673|p03125|0
codenet
Compile Error
306
v2_s745538053
s745538053
s745538053
p03125
p03125
u138937229
u138937229
1,577,407,572
2019-12-27T00:46:12
Main.java
public static void main(int arg[]) { System.out.println("start test"); //約数のとき int a = arg[0]; int b = arg[1]; int c = b / a; if(c == 0) { System.out.println(a + b); } else { //約数でない時 System.out.println(b - a); ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(int arg[]) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u138937229|p03125|0
u138937229|p03125|0
codenet
Compile Error
349
v2_s660457219
s660457219
s660457219
p03125
p03125
u138937229
u138937229
1,577,410,226
2019-12-27T01:30:26
Main.java
public class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println("キミとキミのパートナーの年齢を入力してね!"); try { int a = br.read(); int b = br.read(); if(a%...
Main.java:4: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:4: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u138937229|p03125|0
u138937229|p03125|0
codenet
Compile Error
639
v2_s638083110
s638083110
s638083110
p03125
p03125
u138937229
u138937229
1,577,410,881
2019-12-27T01:41:21
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if(a%b == 0) { System.out.println(a + b); } else { System.out.println(a - b); } } }
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u138937229|p03125|0
u138937229|p03125|0
codenet
Compile Error
310
v2_s418821942
s418821942
s418821942
p03125
p03125
u148142472
u148142472
1,550,368,982
2019-02-17T02:03:02
Main.java
import java.math.BigInteger; import java.util.*; import library.Other.Edge; public class Main { private void doit(){ Scanner sc = new Scanner(System.in); while(sc.hasNext()){ int a = sc.nextInt(); int b = sc.nextInt(); if(b % a == 0){ System.out.println(a + b); } else{ System.out.println...
Main.java:4: error: package library.Other does not exist import library.Other.Edge; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u148142472|p03125|0
u148142472|p03125|0
codenet
Compile Error
510
v2_s084372010
s084372010
s084372010
p03125
p03125
u172546930
u172546930
1,559,688,287
2019-06-04T22:44:47
Main.java
import java.util.* public class Main{ public static void main (String[] args){ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int result_1 = A + B; int result_2 = B - A; if (B % A == 0){ System.out.println(result_1); } else { System.out.println(result_2); } ...
Main.java:1: error: ';' expected import java.util.* ^ Main.java:16: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u172546930|p03125|0
u172546930|p03125|0
codenet
Compile Error
322
v2_s411717755
s411717755
s411717755
p03125
p03125
u210718367
u210718367
1,550,384,878
2019-02-17T06:27:58
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { static class TaskA { public void solve(int testNumber, InputReader in, Prin...
Main.java:14: error: incompatible types: int cannot be converted to boolean if (b % a) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u210718367|p03125|0
u210718367|p03125|0
codenet
Compile Error
1,743
v2_s268061252
s268061252
s268061252
p03125
p03125
u232052974
u232052974
1,550,720,912
2019-02-21T03:48:32
Main.java
class Main { public static int canDivide(int a, int b) { return (b % a == 0) ? a + b / b - a; } public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String line = scanner.nextLine(); String values = line.split(" ", 0); int a = values[0];...
Main.java:3: error: : expected return (b % a == 0) ? a + b / b - a; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u232052974|p03125|0
u232052974|p03125|0
codenet
Compile Error
403
v2_s552078212
s552078212
s552078212
p03125
p03125
u232052974
u232052974
1,550,720,977
2019-02-21T03:49:37
Main.java
import java.util.*; class Main { public static int canDivide(int a, int b) { return (b % a == 0) ? a + b : b - a; } public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String line = scanner.nextLine(); String values = line.split(" ", 0); ...
Main.java:11: error: incompatible types: String[] cannot be converted to String String values = line.split(" ", 0); ^ Main.java:13: error: array required, but String found int a = values[0]; ^ Main.java:14: error: array required, but String found int...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u232052974|p03125|0
u232052974|p03125|0
codenet
Compile Error
425
v2_s267708678
s267708678
s267708678
p03125
p03125
u286955577
u286955577
1,552,537,955
2019-03-14T04:32:35
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if (b % a == 0) System.out.println(B + A); else System.out.println(B - A); } }
Main.java:9: error: cannot find symbol System.out.println(B + A); ^ symbol: variable B location: class Main Main.java:9: error: cannot find symbol System.out.println(B + A); ^ symbol: variable A location: class Main Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u286955577|p03125|0
u286955577|p03125|0
codenet
Compile Error
306