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_s332055466
s332055466
s332055466
p03369
p03369
u347452770
u347452770
1,551,994,906
2019-03-07T21:41:46
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String s = scan.next(); int counter = 0; if(s.charAt(0) = "o"){ counter++; } if(s.charAt(1) = "o"){ counter++; } if(s.charAt(...
Main.java:8: error: unexpected type if(s.charAt(0) = "o"){ ^ required: variable found: value Main.java:11: error: unexpected type if(s.charAt(1) = "o"){ ^ required: variable found: value Main.java:14: error: unexpected type if(s.charAt(2) = "o"){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u347452770|p03369|0
u347452770|p03369|0
codenet
Compile Error
414
v2_s519077880
s519077880
s519077880
p03369
p03369
u347452770
u347452770
1,551,994,968
2019-03-07T21:42:48
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String s = scan.next(); int counter = 0; if(s.charAt(0) == o){ counter++; } if(s.charAt(1) == o){ counter++; } if(s.charAt(2)...
Main.java:8: error: cannot find symbol if(s.charAt(0) == o){ ^ symbol: variable o location: class Main Main.java:11: error: cannot find symbol if(s.charAt(1) == o){ ^ symbol: variable o location: class Main Main.java:14: error: cannot find symb...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u347452770|p03369|0
u347452770|p03369|0
codenet
Compile Error
411
v2_s529466603
s529466603
s529466603
p03369
p03369
u369712616
u369712616
1,584,688,783
2020-03-20T07:19:43
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String in = sc.next(); int out = 0; for(int i = 0; i < 3; i++){ if(in.charAt(i) == 'o')out++; } System.out.pritnln(700 + 100 * out); } }
Main.java:10: error: cannot find symbol System.out.pritnln(700 + 100 * out); ^ symbol: method pritnln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369712616|p03369|0
u369712616|p03369|0
codenet
Compile Error
285
v2_s848777469
s848777469
s848777469
p03369
p03369
u416732145
u416732145
1,525,141,314
2018-05-01T02:21:54
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); char a[] = new char[3]; String str = ""; int price = 700; str = scan.next(); for (int i=0; i<str.length; i++) { if (str.charAt(m) == '〇') { price += 100; } } Sys...
Main.java:14: error: cannot find symbol for (int i=0; i<str.length; i++) { ^ symbol: variable length location: variable str of type String Main.java:15: error: cannot find symbol if (str.charAt(m) == '?') { ^ symbol: variable m location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u416732145|p03369|0
u416732145|p03369|0
codenet
Compile Error
370
v2_s565793380
s565793380
s565793380
p03369
p03369
u440949328
u440949328
1,525,644,497
2018-05-06T22:08:17
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String[] S = new String[3]; int sum = 700; int add = 0; for (int i = 0; i < 3; i++) { S[i] = scan.next(); if (S[i].equals("o")) { add += 100; } } System.out.print(sum + add); } }
Main.java:4: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u440949328|p03369|0
u440949328|p03369|0
codenet
Compile Error
310
v2_s189711728
s189711728
s189711728
p03369
p03369
u480442172
u480442172
1,524,362,427
2018-04-22T02:00:27
Main.java
import java.util.*; import sun.font.TrueTypeFont; import static java.lang.System.out; public class Main{ public static Scanner sc = new Scanner(System.in); public static void main(String args[]){ char[] str = sc.next().toCharArray() int count = 700; for (char c : str){ count += c == ...
Main.java:10: error: ';' expected char[] str = sc.next().toCharArray() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u480442172|p03369|0
u480442172|p03369|0
codenet
Compile Error
376
v2_s741681999
s741681999
s741681999
p03369
p03369
u492223956
u492223956
1,525,102,456
2018-04-30T15:34:16
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(); int count = 700; for(int i = 0; i < 3; i++){ if(s.CharAt(i) == 'o') count += 100; } System.out.println(count); } }
Main.java:8: error: cannot find symbol if(s.CharAt(i) == 'o') ^ symbol: method CharAt(int) location: variable s of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u492223956|p03369|0
u492223956|p03369|0
codenet
Compile Error
300
v2_s083750266
s083750266
s083750266
p03369
p03369
u533017901
u533017901
1,560,292,232
2019-06-11T22:30:32
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(); char c[]=s.toCharArray; int n = 700; for(int i=0;i<=2;i++){ if(c[i]=='o'){ n+=100; } } System.out.println(n); }}
Main.java:8: error: cannot find symbol char c[]=s.toCharArray; ^ symbol: variable toCharArray location: variable s of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u533017901|p03369|0
u533017901|p03369|0
codenet
Compile Error
283
v2_s818333093
s818333093
s818333093
p03369
p03369
u547167033
u547167033
1,561,646,662
2019-06-27T14:44:22
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int str = sc.next(); int count = 0; if(str.substring(0,1).equals("o")) count++; if(str.substring(1,2).equals("o")) count++; if(str.substring(2,3).equals("o")) count++; ...
Main.java:5: error: incompatible types: String cannot be converted to int int str = sc.next(); ^ Main.java:7: error: int cannot be dereferenced if(str.substring(0,1).equals("o")) count++; ^ Main.java:8: error: int cannot be dereferenced if(str.substring(1,2).equals("o")) c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03369|0
u547167033|p03369|0
codenet
Compile Error
367
v2_s858497018
s858497018
s858497018
p03369
p03369
u571638716
u571638716
1,524,360,505
2018-04-22T01:28:25
Main.java
public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next(); int result = 700; char[] unko = s.toCharArray(); for(int i=0;i<unko.length;i++){ if(unko[i]=='o'){ result += 100; } } System.out...
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
u571638716|p03369|0
u571638716|p03369|0
codenet
Compile Error
349
v2_s818040311
s818040311
s818040311
p03369
p03369
u646483356
u646483356
1,544,595,730
2018-12-12T06:22:10
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.next(); int b = 0; for(int i=0;i<4;i++){ if(charAt(i)=='o'){ b++; } } System.out.println(700+b*100); } ...
Main.java:11: error: cannot find symbol if(charAt(i)=='o'){ ^ symbol: method charAt(int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u646483356|p03369|0
u646483356|p03369|0
codenet
Compile Error
321
v2_s004849092
s004849092
s004849092
p03369
p03369
u659156129
u659156129
1,595,249,216
2020-07-20T12:46:56
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); String s = scn.next(); String[] list = s.split(""); int add = 0; for(int i=0; i<s.length(); ++i){ if(slist[i].equals("o")){ add = add +...
Main.java:10: error: cannot find symbol if(slist[i].equals("o")){ ^ symbol: variable slist location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03369|0
u659156129|p03369|0
codenet
Compile Error
390
v2_s501762040
s501762040
s501762040
p03369
p03369
u661351644
u661351644
1,555,962,529
2019-04-22T19:48:49
Main.java
public class Main { public static void main(String[] args) { int total = 700; Scanner scanner = new Scanner(System.in); String string = scanner.next(); string = string.replaceAll("x", ""); total = 700 + 100*string.length(); System.out.println(total); scanner.close(); } }
Main.java:6: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u661351644|p03369|0
u661351644|p03369|0
codenet
Compile Error
296
v2_s324414327
s324414327
s324414327
p03369
p03369
u726439578
u726439578
1,533,794,863
2018-08-09T06:07:43
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int A = in.nextInt(); int B = in.nextInt(); int C = in.nextInt(); int X = in.nextInt(); int Y = in.nextInt(); int ans=A*X+B*Y; int N=X+Y; for(int i=0;i<Math.max(X, Y);i++){ ...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u726439578|p03369|0
u726439578|p03369|0
codenet
Compile Error
392
v2_s878525564
s878525564
s878525564
p03369
p03369
u764060069
u764060069
1,540,924,562
2018-10-30T18:36:02
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String S = scanner.next(); int price = 700; for (int i = 0; i < 3; i++) { //文字列Sを1文字ずつに分解し、listに追加 String s = S.substring(i,i+1); //もし、"o"であれば、priceにプラス100 if (s.equa...
Main.java:19: error: reached end of file while parsing System.out.println(price); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764060069|p03369|0
u764060069|p03369|0
codenet
Compile Error
444
v2_s278236406
s278236406
s278236406
p03369
p03369
u772563415
u772563415
1,542,122,452
2018-11-13T15:20:52
Main.java
public static void main(String[] args) { Scanner sc = new Scanner(System.in); int ramen = 700; char[] ary = sc.next().toCharArray(); for (char c : ary) { if(c == 'o') ramen += 100; } System.out.println(ramen); }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u772563415|p03369|0
u772563415|p03369|0
codenet
Compile Error
228
v2_s046969234
s046969234
s046969234
p03369
p03369
u782685137
u782685137
1,524,366,135
2018-04-22T03:02:15
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { try (Scanner sc = new Scanner(System.in)) { while (sc.hasNext()) { String s = sc.nextLine(); int t = 0; if(s.charAt(0).equals("o")) t++; ...
Main.java:8: error: char cannot be dereferenced if(s.charAt(0).equals("o")) t++; ^ Main.java:9: error: char cannot be dereferenced if(s.charAt(1).equals("o")) t++; ^ Main.java:10: error: char cannot be dereferenced ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u782685137|p03369|0
u782685137|p03369|0
codenet
Compile Error
487
v2_s305615360
s305615360
s305615360
p03369
p03369
u782685137
u782685137
1,524,382,993
2018-04-22T07:43:13
Main.java
print(700 + 100*input().count('o'))
Main.java:1: error: class, interface, enum, or record expected print(700 + 100*input().count('o')) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u782685137|p03369|1
u782685137|p03369|0
codenet
Compile Error
35
v2_s117922479
s117922479
s117922479
p03369
p03369
u809407598
u809407598
1,552,061,805
2019-03-08T16:16:45
Main.java
import java.util.*; public class Main { public static void main(String[] args){ //データ取り込み Scanner sc = new Scanner(System.in); int cnt = 700; String S = sc.next(); String a[] = S.split(); for(int i=0;i<3;i++){ if(a[i].equals("o")){ cnt += 100; } } ...
Main.java:8: error: no suitable method found for split(no arguments) String a[] = S.split(); ^ method String.split(String,int) is not applicable (actual and formal argument lists differ in length) method String.split(String,int,boolean) is not applicable (actual and forma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809407598|p03369|0
u809407598|p03369|0
codenet
Compile Error
386
v2_s000065739
s000065739
s000065739
p03369
p03369
u809407598
u809407598
1,552,062,262
2019-03-08T16:24:22
Main.java
import java.util.*; public class Main { public static void main(String[] args){ //データ取り込み Scanner sc = new Scanner(System.in); int cnt = 700; String S = sc.next(); for(int i=0;i<3;i++){ if S.charAt(i)=='o' ? cnt += 100:; } System.out.println(cnt); } }
Main.java:10: error: '(' expected if S.charAt(i)=='o' ? cnt += 100:; ^ Main.java:10: error: illegal start of expression if S.charAt(i)=='o' ? cnt += 100:; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809407598|p03369|0
u809407598|p03369|0
codenet
Compile Error
334
v2_s576980438
s576980438
s576980438
p03369
p03369
u809407598
u809407598
1,552,062,359
2019-03-08T16:25:59
Main.java
import java.util.*; public class Main { public static void main(String[] args){ //データ取り込み Scanner sc = new Scanner(System.in); int cnt = 700; String S = sc.next(); for(int i=0;i<3;i++){ S.charAt(i)=='o' ? cnt += 100:; } System.out.println(cnt); } }
Main.java:10: error: illegal start of expression S.charAt(i)=='o' ? cnt += 100:; ^ Main.java:10: error: not a statement S.charAt(i)=='o' ? cnt += 100:; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809407598|p03369|0
u809407598|p03369|0
codenet
Compile Error
331
v2_s860013422
s860013422
s860013422
p03369
p03369
u809407598
u809407598
1,552,062,431
2019-03-08T16:27:11
Main.java
import java.util.*; public class Main { public static void main(String[] args){ //データ取り込み Scanner sc = new Scanner(System.in); int cnt = 700; String S = sc.next(); for(int i=0;i<3;i++){ if(S.charAt(i)=='o')cnt += 100:; } System.out.println(cnt); } }
Main.java:10: error: ';' expected if(S.charAt(i)=='o')cnt += 100:; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809407598|p03369|0
u809407598|p03369|0
codenet
Compile Error
332
v2_s164550866
s164550866
s164550866
p03369
p03369
u871313203
u871313203
1,592,521,921
2020-06-18T23:12:01
Main.java
class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int p = 700; String s = sc.next(); for(int i = 0; i < s.length(); i++){ if(s.charAt(i).equals("o"){ p+=100; } } System.out.println(p);
Main.java:10: error: ')' expected if(s.charAt(i).equals("o"){ ^ Main.java:14: error: reached end of file while parsing System.out.println(p); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u871313203|p03369|0
u871313203|p03369|0
codenet
Compile Error
283
v2_s968477553
s968477553
s968477553
p03369
p03369
u925103765
u925103765
1,531,941,095
2018-07-18T19:11:35
Main.java
import java.util.* class Main{ public static void main(String[] args){ Scanner sc = new Scanner(system.in); String S = sc.next; int count = 0; for(int i=0;i<3;i++){ if(S.charAt(i)=='o') count++; } System.out.print(700+count*100); } }
Main.java:1: error: ';' expected import java.util.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925103765|p03369|0
u925103765|p03369|0
codenet
Compile Error
267
v2_s067315459
s067315459
s067315459
p03369
p03369
u952491523
u952491523
1,552,868,105
2019-03-18T00:15:05
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next().replace("x", ""); System.out.println(700 + 100 * s.length()); } } }
Main.java:9: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u952491523|p03369|0
u952491523|p03369|0
codenet
Compile Error
224
v2_s534650469
s534650469
s534650469
p03369
p03369
u953534783
u953534783
1,558,201,321
2019-05-18T17:42:01
Main.java
public static void main(String[] args) { Scanner s = new Scanner(System.in); String order = s.nextLine(); int cost = 700; for(int i = 0; i < 3 ; i++) if(order.charAt(i) == 'o')cost += 100; System.out.printf("%d",cost); }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u953534783|p03369|0
u953534783|p03369|0
codenet
Compile Error
248
v2_s870487200
s870487200
s870487200
p03369
p03369
u953534783
u953534783
1,558,203,152
2019-05-18T18:12:32
Main.java
public class Main{ public static void main(String[] args) { Scanner s = new Scanner(System.in); String order = s.nextLine(); int cost = 700; for(int i = 0; i < 3 ; i++) if(order.charAt(i) == 'o')cost += 100; System.out.printf("%d",cost); } }
Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u953534783|p03369|0
u953534783|p03369|0
codenet
Compile Error
271
v2_s165780723
s165780723
s165780723
p03369
p03369
u953534783
u953534783
1,558,203,181
2019-05-18T18:13:01
Main.java
public class Main{ public static void main(String[] args) { Scanner s = new Scanner(System.in); String order = s.nextLine(); int cost = 700; for(int i = 0; i < 3 ; i++) if(order.charAt(i) == 'o')cost += 100; System.out.printf("%d",cost); } }
Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u953534783|p03369|0
u953534783|p03369|0
codenet
Compile Error
271
v2_s677141017
s677141017
s677141017
p03369
p03369
u997005069
u997005069
1,594,381,621
2020-07-10T11:47:01
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); String s = sc.next(); int a =700; if(s.equals("ooo")){ a = 1000; }else if(s.equals("oxo")||s.equals("oox")||s.equals("xoo")) { a = 900; } else if(s.equals("oxx"...
Main.java:13: error: not a statement } else if(s.equals("oxx")||s.equals("xxo")||s.equals("xox"))oxx{ ^ Main.java:13: error: ';' expected } else if(s.equals("oxx")||s.equals("xxo")||s.equals("xox"))oxx{ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u997005069|p03369|0
u997005069|p03369|0
codenet
Compile Error
414
v2_s530456833
s530456833
s530456833
p03370
p03370
u207048881
u207048881
1,565,169,672
2019-08-07T09:21:12
Main.java
ソースコード Copy Copy import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = sc.nextInt(); int sum = 0; int count = n; int[] m = new int[n]; for (int i = 0; i < n; i++...
Main.java:2: error: class, interface, enum, or record expected ?????? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207048881|p03370|0
u207048881|p03370|0
codenet
Compile Error
708
v2_s403345665
s403345665
s403345665
p03370
p03370
u276492340
u276492340
1,558,135,262
2019-05-17T23:21: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 X = sc.nextInt(); int min = 100000; int ans = 0; for(int i = 0; i < N; i++) { int a = sc.nextInt(); X -= a; mi...
Main.java:14: error: cannot find symbol } while(x>=min){ ^ symbol: variable x location: class Main Main.java:15: error: cannot find symbol x -= min; ^ symbol: variable x location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03370|0
u276492340|p03370|0
codenet
Compile Error
462
v2_s584680936
s584680936
s584680936
p03370
p03370
u704373596
u704373596
1,557,926,365
2019-05-15T13:19:25
Main.java
import java.util.Scanner; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = sc.nextInt(); int donutWeights[] = new int[n]; for (int i = 0; i < n; i++) { donutWeights[i] = sc.nextInt(); } int essentialWeight = 0; ...
Main.java:33: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u704373596|p03370|0
u704373596|p03370|0
codenet
Compile Error
635
v2_s267440387
s267440387
s267440387
p03370
p03370
u965687346
u965687346
1,563,296,425
2019-07-16T17:00:25
Main.java
import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Scanner; import com.sun.jna.platform.unix.X11.XRectangle; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); final int n = sc.nextInt();...
Main.java:8: error: package com.sun.jna.platform.unix.X11 does not exist import com.sun.jna.platform.unix.X11.XRectangle; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u965687346|p03370|0
u965687346|p03370|0
codenet
Compile Error
763
v2_s655194043
s655194043
s655194043
p03371
p03371
u012071778
u012071778
1,525,745,533
2018-05-08T02:12:13
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int A = scanner.nextInt(); int B = scanner.nextInt(); int C = scanner.nextInt(); int X = scanner.nextInt(); int Y = scanner.nextInt(); int ans = 1000000; for...
Main.java:14: error: cannot find symbol cost = i * 2 * C + A * Math.max(0, X - i) + B * Math.max(0, Y - i); ^ symbol: variable cost location: class Main Main.java:15: error: cannot find symbol ans = Math.min(ans, cost); ^ symbol: variable cost location: class Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u012071778|p03371|0
u012071778|p03371|0
codenet
Compile Error
507
v2_s585328459
s585328459
s585328459
p03371
p03371
u015418292
u015418292
1,583,326,494
2020-03-04T12:54:54
Main.java
Maikage abc095; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int a = stdIn.nextInt(); //aピザの値段 int b = stdIn.nextInt(); //bピザの値段 int ab = stdIn.nextInt(); //abピザの値段 int x = stdIn.nextInt(); int y = stdIn.nextInt(); i...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Maikage abc095; ^ (use --enable-preview to enable unnamed classes) Main.java:2: error: class, interface, enum, or record expected import java.util.Scanner; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u015418292|p03371|0
u015418292|p03371|0
codenet
Compile Error
817
v2_s933270382
s933270382
s933270382
p03371
p03371
u024824950
u024824950
1,556,642,029
2019-04-30T16:33:49
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 c = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int ans = 0; if(a + b <= c*2)...
Main.java:17: error: cannot find symbol ans = Math.min(b(y-x) + a*c*x,2*c*y); ^ symbol: method b(int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03371|0
u024824950|p03371|0
codenet
Compile Error
584
v2_s546630735
s546630735
s546630735
p03371
p03371
u122668079
u122668079
1,584,567,075
2020-03-18T21:31:15
Main.java
import java.util.Scanner; import java.util.stream.Stream; import java.util.Arrays; import java.util.StringJoiner; import java.math.BigInteger; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextI...
Main.java:33: error: incompatible types: possible lossy conversion from long to int minValue = Math.min(minValue, aPizza + bPizza + cPizza); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u122668079|p03371|0
u122668079|p03371|0
codenet
Compile Error
1,071
v2_s289768225
s289768225
s289768225
p03371
p03371
u137332130
u137332130
1,525,567,924
2018-05-06T00:52:04
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 C = sc.nextInt(); int X = sc.nextInt(); int Y = sc.nextInt(); int price1 = 0; int price2 = 0; int price3 = 0; int price = 0; if(X...
Main.java:30: error: ';' expected price = min(price, price3) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u137332130|p03371|1
u137332130|p03371|0
codenet
Compile Error
614
v2_s252558117
s252558117
s252558117
p03371
p03371
u137332130
u137332130
1,525,567,968
2018-05-06T00:52:48
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 C = sc.nextInt(); int X = sc.nextInt(); int Y = sc.nextInt(); int price1 = 0; int price2 = 0; int price3 = 0; int price = 0; if(X...
Main.java:29: error: cannot find symbol price = min(price1, price2); ^ symbol: method min(int,int) location: class Main Main.java:30: error: cannot find symbol price = min(price, price3); ^ symbol: method min(int,int) location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u137332130|p03371|1
u137332130|p03371|0
codenet
Compile Error
615
v2_s931479583
s931479583
s931479583
p03371
p03371
u212397344
u212397344
1,584,755,032
2020-03-21T01:43:52
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(); int C = sc.nextInt(); int X = sc.nextInt(); int Y = sc.nextInt(); int ans = Integer.MAX_VALUE; for(int i=0; i<=100000; i++){ in...
Main.java:12: error: ';' expected int temp = 2C*i + A*Math.max(0,X-i) + B*Math.max(0, Y-i); ^ Main.java:12: error: not a statement int temp = 2C*i + A*Math.max(0,X-i) + B*Math.max(0, Y-i); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212397344|p03371|0
u212397344|p03371|0
codenet
Compile Error
446
v2_s954033845
s954033845
s954033845
p03371
p03371
u212397344
u212397344
1,584,755,081
2020-03-21T01:44:41
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(); int C = sc.nextInt(); int X = sc.nextInt(); int Y = sc.nextInt(); int ans = Integer.MAX_VALUE; for(int i=0; i<=100000; i++){ in...
Main.java:13: error: variable ans is already defined in method main(String[]) int ans = Math.min(ans, temp); ^ Main.java:15: error: cannot find symbol out.println(ans); ^ symbol: variable out location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212397344|p03371|0
u212397344|p03371|0
codenet
Compile Error
448
v2_s187574162
s187574162
s187574162
p03371
p03371
u264007769
u264007769
1,559,860,639
2019-06-06T22:37:19
Main.java
import java.util.Scanner; class Main{ public static void main(String arg[]){ Scanner scn=new Scanner(System.in); int a = scn.nextInt(); int b = scn.nextInt(); int ab = scn.nextInt(); int aNum = scn.nextInt(); int bNum = scn.nextInt(); int...
Main.java:21: error: illegal character: '\u3000' ? int min = aTotal+bTotal; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u264007769|p03371|0
u264007769|p03371|0
codenet
Compile Error
814
v2_s677626968
s677626968
s677626968
p03371
p03371
u488167969
u488167969
1,524,361,900
2018-04-22T01:51:40
Main.java
public class Main { public static void main(String args[]){ Scanner scan=new Scanner(System.in); int a=scan.nextInt(); int b=scan.nextInt(); int c=scan.nextInt(); int x=scan.nextInt(); int y=scan.nextInt(); int count[]=new int[3]; if(c*2>(a+b)) { count[0]=x; count[1]=y; count[2]=0; }else...
Main.java:4: error: cannot find symbol Scanner scan=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scan=new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u488167969|p03371|0
u488167969|p03371|0
codenet
Compile Error
601
v2_s370095844
s370095844
s370095844
p03371
p03371
u531107179
u531107179
1,524,866,080
2018-04-27T21:54:40
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int aPrice = sc.nextInt(); int bPrice = sc.nextInt(); int abPrice = sc.nextInt(); int aPizzaCnt = sc.nextInt(); int bPizzaCnt = sc.nextInt(); sc.close(); int abPizzaCnt = (aPizza...
Main.java:20: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u531107179|p03371|0
u531107179|p03371|0
codenet
Compile Error
783
v2_s387063366
s387063366
s387063366
p03371
p03371
u585799437
u585799437
1,586,117,735
2020-04-05T20:15:35
Main.java
#include <iostream> #include <algorithm> #include <cmath> #include <cstdio> #include <set> #include <vector> #include <map> #include <queue> #include <list> #include <random> using namespace std; int main(){ int A,B,C,X,Y; cin >> A >> B >> C >> X >> Y; int total = A * X + B * Y; int price = 0; ...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <algorithm> ^ Main.java:3: error: illegal character: '#' #include <cmath> ^ Main.java:4: error: illegal character: '#' #include <cstdio> ^ Main.java:5: error: illegal character: '#' #include <set> ^ Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u585799437|p03371|0
u585799437|p03371|0
codenet
Compile Error
702
v2_s718515279
s718515279
s718515279
p03371
p03371
u723297297
u723297297
1,569,878,536
2019-09-30T21:22:16
HalfandHalf.java
import javafx.fxml.FXML; import java.util.Scanner; public class HalfandHalf { public static void main(String args[]){ Scanner scanner= new Scanner(System.in); int A,B,C,X,Y; A=scanner.nextInt(); B=scanner.nextInt(); C=scanner.nextInt(); X=scanner.nextInt(); ...
HalfandHalf.java:1: error: package javafx.fxml does not exist import javafx.fxml.FXML; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u723297297|p03371|0
u723297297|p03371|0
codenet
Compile Error
837
v2_s119285469
s119285469
s119285469
p03371
p03371
u723297297
u723297297
1,569,878,552
2019-09-30T21:22:32
Main.java
import javafx.fxml.FXML; import java.util.Scanner; public class Main { public static void main(String args[]){ Scanner scanner= new Scanner(System.in); int A,B,C,X,Y; A=scanner.nextInt(); B=scanner.nextInt(); C=scanner.nextInt(); X=scanner.nextInt(); Y=scann...
Main.java:1: error: package javafx.fxml does not exist import javafx.fxml.FXML; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u723297297|p03371|0
u723297297|p03371|0
codenet
Compile Error
830
v2_s349282924
s349282924
s349282924
p03371
p03371
u726439578
u726439578
1,533,794,882
2018-08-09T06:08:02
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int A = in.nextInt(); int B = in.nextInt(); int C = in.nextInt(); int X = in.nextInt(); int Y = in.nextInt(); int ans=A*X+B*Y; int N=X+Y; for(int i=0;i<Math.max(X, Y);i++){ ...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u726439578|p03371|0
u726439578|p03371|0
codenet
Compile Error
392
v2_s057522652
s057522652
s057522652
p03371
p03371
u793144126
u793144126
1,591,302,511
2020-06-04T20:28:31
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); int x = scanner.nextInt(); int y = scanner.nextInt(); if (a+b<=2*c){ ...
Main.java:33: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u793144126|p03371|0
u793144126|p03371|0
codenet
Compile Error
858
v2_s447838904
s447838904
s447838904
p03371
p03371
u960958946
u960958946
1,586,706,626
2020-04-12T15:50:26
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 AB = sc.nextInt(); int X = sc.nextInt(); int Y = sc.nextInt(); Long sum = 0; if(AB>=(A+B)/2)){ ...
Main.java:12: error: illegal start of expression if(AB>=(A+B)/2)){ ^ Main.java:13: error: ';' expected sum = (long) (A*X+B*Y) ^ Main.java:26: error: ';' expected sum = (long) (A*(max-min)+2*(AB*Y)) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u960958946|p03371|0
u960958946|p03371|0
codenet
Compile Error
632
v2_s050537226
s050537226
s050537226
p03371
p03371
u960958946
u960958946
1,586,706,651
2020-04-12T15:50:51
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 AB = sc.nextInt(); int X = sc.nextInt(); int Y = sc.nextInt(); Long sum = 0; if(AB>=(A+B)/2)){ ...
Main.java:12: error: illegal start of expression if(AB>=(A+B)/2)){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u960958946|p03371|0
u960958946|p03371|0
codenet
Compile Error
635
v2_s384498865
s384498865
s384498865
p03371
p03371
u960958946
u960958946
1,586,706,682
2020-04-12T15:51:22
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 AB = sc.nextInt(); int X = sc.nextInt(); int Y = sc.nextInt(); Long sum = 0; if(AB>=((A+B)/2)){ ...
Main.java:11: error: incompatible types: int cannot be converted to Long Long sum = 0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u960958946|p03371|0
u960958946|p03371|0
codenet
Compile Error
636
v2_s330483656
s330483656
s330483656
p03371
p03371
u981808900
u981808900
1,550,639,547
2019-02-20T05:12:27
Main.java
public class Main { private static java.util.Scanner scanner = new java.util.Scanner(System.in); public static void main(String[] args) { int a = scanner.nextInt(); int b = scanner.nextInt(); int ab = scanner.nextInt(); int x = scanner.nextInt(); int y = scanner.nextInt(...
Main.java:16: error: cannot find symbol Util.println(ans1, ans2, ans3); ^ symbol: variable Util location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p03371|0
u981808900|p03371|0
codenet
Compile Error
597
v2_s921096998
s921096998
s921096998
p03372
p03372
u261225456
u261225456
1,524,365,205
2018-04-22T02:46:45
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); String[] arr = sc.nextLine().split(" "); int n = Integer.parseInt(arr[0]); long c = Long.parseLong(arr[1]); long[] x = new long[n]; long[] v = new long[n]; ...
Main.java:73: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u261225456|p03372|0
u261225456|p03372|0
codenet
Compile Error
1,957
v2_s070552066
s070552066
s070552066
p03372
p03372
u705467084
u705467084
1,524,364,764
2018-04-22T02:39:24
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); long C = Long.parseLong(sc.next()); long x[] = new long[N]; long v[] = new long[N]; long getCalorieForward[] = new long[N]; ...
Main.java:56: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u705467084|p03372|0
u705467084|p03372|0
codenet
Compile Error
1,429
v2_s007570028
s007570028
s007570028
p03373
p03373
u075367840
u075367840
1,541,118,440
2018-11-02T00:27:20
Main.java
/* 全部でいくらかかるかは、各ピザの組み合わせによって決まる(値段が与えられているため)から、 単純に枚数の組み合わせを考えればよかった(枚数の樹形図書けばわかりやすかった) */ import java.util.*; import java.io.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); ...
Main.java:25: error: cannot find symbol System.out.println(min); ^ symbol: variable min location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u075367840|p03373|1
u075367840|p03373|0
codenet
Compile Error
753
v2_s208072075
s208072075
s208072075
p03373
p03373
u780817526
u780817526
1,524,798,516
2018-04-27T03:08:36
Main.java
//.h file code: public: virtual void _main(); //.cpp file code: void <missing_class_definition>::_main() { cin >> A >> B >> C >> X >> Y; ll *ans = infl; rep(ab, 0, 201010) { ll *sm = C * ab; ll *x = X - ab / 2; ll *y = Y - ab / 2; if (0 < x) { sm += x * A; } if (0 < y) { sm += y * B; }...
Main.java:3: error: class, interface, enum, or record expected public: ^ Main.java:8: error: class, interface, enum, or record expected void <missing_class_definition>::_main() ^ Main.java:12: error: class, interface, enum, or record expected ll *ans = infl; ^ Main.java:13: error: class, interface, enum, or rec...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u780817526|p03373|0
u780817526|p03373|0
codenet
Compile Error
368
v2_s377917666
s377917666
s377917666
p03373
p03373
u780817526
u780817526
1,524,798,889
2018-04-27T03:14:49
Main.java
//.h file code: #include<bits/stdc++.h> #define rep(i,a,b) for(int i=a;i<b;i++) #define rrep(i,a,b) for(int i=a;i>=b;i--) #define fore(i,a) for(@auto &i:a) #define all(x)(x).begin(),(x).end() #pragma GCC optimize("-O3") @using @namespace std; void _main(); public: virtual int main(); typedef_Renamed *long long; const ...
Main.java:3: error: illegal character: '#' #include<bits/stdc++.h> #define rep(i,a,b) for(int i=a;i<b;i++) #define rrep(i,a,b) for(int i=a;i>=b;i--) #define fore(i,a) for(@auto &i:a) #define all(x)(x).begin(),(x).end() #pragma GCC optimize("-O3") @using @namespace std; ^ Main.java:3: error: class, interface, enum, or r...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u780817526|p03373|0
u780817526|p03373|0
codenet
Compile Error
1,379
v2_s570002439
s570002439
s570002439
p03373
p03373
u780817526
u780817526
1,524,799,123
2018-04-27T03:18:43
Main.java
//.h file code: public: #include <bits/stdc++.h> @using @namespace std; #define NDEBUG #ifdef DEBUG #include "cout11.h" #undef NDEBUG #endif #include <cassert^> @typedef TangibleTemplonglong TangibleTemplonglong ll; typedef_Renamed *unsigned_Renamed; typedef_Renamed *pair; typedef_Renamed *pair; typedef_Renamed *pair...
Main.java:3: error: class, interface, enum, or record expected public: ^ Main.java:4: error: illegal character: '#' #include <bits/stdc++.h> @using @namespace std; ^ Main.java:4: error: class, interface, enum, or record expected #include <bits/stdc++.h> @using @namespace std; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u780817526|p03373|0
u780817526|p03373|0
codenet
Compile Error
867
v2_s961070613
s961070613
s961070613
p03373
p03373
u967815373
u967815373
1,524,955,735
2018-04-28T22:48:55
Solution.java
import java.util.*; public final class Solution{ private static long solve(int a, int b, int c, int x, int y){ long option1 = (a * x) + (b * y); long option2 = 0; if (x > y){ option2 = ((x - y) * a) + (Math.min(x, y) * c * 2); } else if (y > x){ option2 = ((y - x) * b) + (Math.min(x, y) * c * 2); } else...
Solution.java:13: error: ';' expected option2 = Math.min(option2, Math.max(x, y) * c * 2) ^ Solution.java:14: error: ';' expected return Math.min(option1, option2) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815373|p03373|0
u967815373|p03373|0
codenet
Compile Error
707
v2_s067397925
s067397925
s067397925
p03374
p03374
u655729056
u655729056
1,575,866,193
2019-12-09T04:36:33
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); long C = sc.nextLong(); long[] x = new long[n]; long[] v = new long[n]; long ans = 0; for(int i=0; i<N; i++){ x[i] = sc.nextLong(); ...
Main.java:9: error: cannot find symbol long[] x = new long[n]; ^ symbol: variable n location: class Main Main.java:10: error: cannot find symbol long[] v = new long[n]; ^ symbol: variable n location: class Main Main.java:20: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655729056|p03374|0
u655729056|p03374|0
codenet
Compile Error
913
v2_s754508768
s754508768
s754508768
p03374
p03374
u817142576
u817142576
1,524,364,800
2018-04-22T02:40:00
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.*; public class Main { public static void main(String[] args) throws IOException { MyScanner sc = new MyScanner(System.in); final int n = sc.nextInt(); final long c = sc.nex...
Main.java:23: error: cannot find symbol xs1.add(x[i]); ^ symbol: variable xs1 location: class Main Main.java:24: error: cannot find symbol vs1.add(v[i]); ^ symbol: variable vs1 location: class Main Main.java:26: error: cannot find symbol xs2.add(x[i]); ^ symbol: variable xs2 lo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u817142576|p03374|0
u817142576|p03374|0
codenet
Compile Error
3,497
v2_s487097487
s487097487
s487097487
p03374
p03374
u969605855
u969605855
1,524,368,072
2018-04-22T03:34:32
Main.java
import java.util.*; class Sushi{ long v; long x; public Sushi(long a,long b){ x = a; v = b; } } public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long N = sc.nextInt(); long C = sc.nextLong(); long ans = 0; if(N==1){ long position = sc.nextLong(); ...
Main.java:27: error: illegal start of expression public static ArrayList<Sushi> al = new ArrayList<Sushi>(); ^ Main.java:28: error: illegal start of type for(int i=0;i<N;++i) al.add( new Sushi(sc.nextLong(),sc.nextLong()) ); ^ Main.java:28: error: > or ',' expected for(int i=0;i<N;++i) al.add( new Sushi(sc.ne...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969605855|p03374|0
u969605855|p03374|0
codenet
Compile Error
1,800
v2_s342264778
s342264778
s342264778
p03374
p03374
u969605855
u969605855
1,524,368,133
2018-04-22T03:35:33
Main.java
import java.util.*; class Sushi{ long v; long x; public Sushi(long a,long b){ x = a; v = b; } } public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long N = sc.nextInt(); long C = sc.nextLong(); long ans = 0; if(N==1){ long position = sc.nextLong(); ...
Main.java:27: error: illegal start of expression public static ArrayList<Sushi> al = new ArrayList<Sushi>(); ^ Main.java:28: error: illegal start of type for(int i=0;i<N;++i) al.add( new Sushi(sc.nextLong(),sc.nextLong()) ); ^ Main.java:28: error: > or ',' expected for(int i=0;i<N;++i) al.add( new Sushi(sc.ne...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969605855|p03374|0
u969605855|p03374|0
codenet
Compile Error
1,800
v2_s606595007
s606595007
s606595007
p03376
p03376
u494673133
u494673133
1,587,233,689
2020-04-18T18:14:49
Main.java
import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Scanner; @SuppressWarnings("unchecked") class Main{ static List<Integer> edges[]; static long[] m; static long[] w; static long[] v; static long dfs(int p){ w[p] += ...
Main.java:86: error: class, interface, enum, or record expected import java.util.ArrayList; ^ Main.java:87: error: class, interface, enum, or record expected import java.util.Arrays; ^ Main.java:88: error: class, interface, enum, or record expected import java.util.Collections; ^ Main.java:89: error: class, interface, ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u494673133|p03376|0
u494673133|p03376|0
codenet
Compile Error
5,456
v2_s250166419
s250166419
s250166419
p03377
p03377
u164734396
u164734396
1,559,325,119
2019-05-31T17:51:59
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 x = sc.nextInt(); if(a + b >= X && a <= X) { System.out.println("YES"); } else { System.out.println("NO"); ...
Main.java:10: error: cannot find symbol if(a + b >= X && a <= X) { ^ symbol: variable X location: class Main Main.java:10: error: cannot find symbol if(a + b >= X && a <= X) { ^ symbol: variable X location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u164734396|p03377|0
u164734396|p03377|0
codenet
Compile Error
332
v2_s454683737
s454683737
s454683737
p03377
p03377
u211735141
u211735141
1,598,340,093
2020-08-25T07:21:33
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(), c = sc.nextInt(); if(a+b < c) { System.out.println("NO"); } else if (a > c) { System.out.println("NO"); } else { System.out.println("YES"); ...
Main.java:1: error: ';' expected import java.util*.; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211735141|p03377|0
u211735141|p03377|0
codenet
Compile Error
328
v2_s534429461
s534429461
s534429461
p03377
p03377
u317333738
u317333738
1,574,517,956
2019-11-23T14:05:56
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 x = sc.nextInt(); int ab = a + b; if (a <= x && ab >= x) { System.out.println("YES"); } else { System.o...
Main.java:16: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u317333738|p03377|0
u317333738|p03377|0
codenet
Compile Error
343
v2_s394710709
s394710709
s394710709
p03377
p03377
u332093785
u332093785
1,523,754,902
2018-04-15T01:15:02
tintin.java
public class tintin { 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 c = sc.nextInt(); ...
tintin.java:2: error: illegal start of type import java.util.*; ^ tintin.java:2: error: <identifier> expected import java.util.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u332093785|p03377|0
u332093785|p03377|0
codenet
Compile Error
707
v2_s339800450
s339800450
s339800450
p03377
p03377
u347452770
u347452770
1,558,459,545
2019-05-21T17:25:45
Main.java
import java.util*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int A = scan.nextInt(); int B = scan.nextInt(); int X = scan.nextInt(); if(X - A < 0 || X - A > B){ System.out.print("NO"); } else{ System.o...
Main.java:1: error: ';' expected import java.util*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u347452770|p03377|0
u347452770|p03377|0
codenet
Compile Error
355
v2_s543273897
s543273897
s543273897
p03377
p03377
u353919145
u353919145
1,526,677,496
2018-05-18T21:04:56
Problem.java
import java.util.Scanner; public class Problem-A { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int A,B,X; A = sc.nextInt(); B = sc.nextInt(); X = sc.nextInt(); if(B<X) { S...
Problem.java:2: error: '{' expected public class Problem-A ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u353919145|p03377|1
u353919145|p03377|1
codenet
Compile Error
478
v2_s162257487
s162257487
s162257487
p03377
p03377
u353919145
u353919145
1,526,677,529
2018-05-18T21:05:29
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner k=new Scanner(System.in); int A=k.nextInt(); int B=k.nextInt(); int X=k.nextInt(); if((X>A||X=A)&&(X<sum)){ System.out.println("YES"); } else( System.out.println("NO"); } } }
Main.java:12: error: ')' expected System.out.println("NO"); ^ Main.java:11: error: not a statement else( ^ Main.java:15: error: class, interface, enum, or record expected } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u353919145|p03377|1
u353919145|p03377|1
codenet
Compile Error
268
v2_s887087544
s887087544
s887087544
p03377
p03377
u391679720
u391679720
1,523,776,009
2018-04-15T07:06:49
Main.java
import java.util.Scanner; public class Main{ public static void main(String []args){ Scanner s=new Scanner(System.in); int a=s.nextInt(); int b=s.nextInt(); int x=s.nextInt(); if(a+b>x){ System.out.println("YES"); } else if(a<x) ...
Main.java:15: error: ';' expected System.out.println("NO") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u391679720|p03377|0
u391679720|p03377|0
codenet
Compile Error
411
v2_s646805930
s646805930
s646805930
p03377
p03377
u406060664
u406060664
1,523,755,681
2018-04-15T01:28:01
Main.java
import java.util.*; class Main{ public static void main(String[ ] args){ Scanner scan =new Scanner(System.in); int a=scan.nextInt(); int b=scan.nextInt(); int x=scan.nextInt(); if(a<=x&&(a+b)>=X){ System.out.println("YES"); }else{ System.out.println(NO);} } }
Main.java:10: error: cannot find symbol if(a<=x&&(a+b)>=X){ ^ symbol: variable X location: class Main Main.java:13: error: cannot find symbol System.out.println(NO);} ^ symbol: variable NO location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u406060664|p03377|0
u406060664|p03377|0
codenet
Compile Error
263
v2_s873034934
s873034934
s873034934
p03377
p03377
u406060664
u406060664
1,523,755,794
2018-04-15T01:29:54
Main.java
import java.util.*; class Main{ public static void main(String[ ] args){ Scanner scan =new Scanner(System.in); int a=scan.nextInt(); int b=scan.nextInt(); int x=scan.nextInt(); if(a<=x&&(a+b)>=x){ System.out.println("YES"); }else{ System.out.println(NO);} } }}
Main.java:15: error: class, interface, enum, or record expected }} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u406060664|p03377|0
u406060664|p03377|0
codenet
Compile Error
266
v2_s514420840
s514420840
s514420840
p03377
p03377
u406060664
u406060664
1,523,755,821
2018-04-15T01:30:21
Main.java
import java.util.*; class Main{ public static void main(String[ ] args){ Scanner scan =new Scanner(System.in); int a=scan.nextInt(); int b=scan.nextInt(); int x=scan.nextInt(); if(a<=x&&(a+b)>=x){ System.out.println("YES"); }else{ System.out.println(NO);} } }}
Main.java:15: error: class, interface, enum, or record expected }} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u406060664|p03377|0
u406060664|p03377|0
codenet
Compile Error
266
v2_s587925905
s587925905
s587925905
p03377
p03377
u406060664
u406060664
1,523,755,832
2018-04-15T01:30:32
Main.java
import java.util.*; class Main{ public static void main(String[ ] args){ Scanner scan =new Scanner(System.in); int a=scan.nextInt(); int b=scan.nextInt(); int x=scan.nextInt(); if(a<=x&&(a+b)>=x){ System.out.println("YES"); }else{ System.out.println(NO);} } }
Main.java:13: error: cannot find symbol System.out.println(NO);} ^ symbol: variable NO location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u406060664|p03377|0
u406060664|p03377|0
codenet
Compile Error
265
v2_s964194908
s964194908
s964194908
p03377
p03377
u406060664
u406060664
1,523,756,524
2018-04-15T01:42:04
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int x = scan.nextInt(); if(a <= X && (a + b) >= X){ System.out.println("YES"); } else{ ...
Main.java:12: error: cannot find symbol if(a <= X && (a + b) >= X){ ^ symbol: variable X location: class Main Main.java:12: error: cannot find symbol if(a <= X && (a + b) >= X){ ^ symbol: variable X location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u406060664|p03377|0
u406060664|p03377|0
codenet
Compile Error
366
v2_s195797656
s195797656
s195797656
p03377
p03377
u411329181
u411329181
1,523,755,068
2018-04-15T01:17:48
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(); int x = sc.nextInt(); System.out.println((x >= a && x <= a + b) ? "YES" : "NO"); } }
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
u411329181|p03377|0
u411329181|p03377|0
codenet
Compile Error
274
v2_s195231260
s195231260
s195231260
p03377
p03377
u416732145
u416732145
1,523,819,721
2018-04-15T19:15:21
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int x = scan.nextInt(); String str = "YES"; str = ((a + b >= x) && (a <= x) ? "YES" : "NO"; System.out.println(str); scan....
Main.java:14: error: ')' expected str = ((a + b >= x) && (a <= x) ? "YES" : "NO"; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u416732145|p03377|0
u416732145|p03377|0
codenet
Compile Error
336
v2_s572410113
s572410113
s572410113
p03377
p03377
u440949328
u440949328
1,525,645,500
2018-05-06T22:25:00
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int A = scan.nextInt(); //cats int B = scan.nextInt(); int X = scan.nextInt(); if (A=<X && A + B >= X) { System.out.println("Yes"); } else { System.out.println("No"); } ...
Main.java:10: error: > or ',' expected if (A=<X && A + B >= X) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u440949328|p03377|0
u440949328|p03377|0
codenet
Compile Error
328
v2_s130226615
s130226615
s130226615
p03377
p03377
u440949328
u440949328
1,525,645,866
2018-05-06T22:31:06
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int A = scan.nextInt(); int B = scan.nextInt(); int X = scan.nextInt(); if (A =< X && A + B >= X) { System.out.println("Yes"); } else { System.out.println("No"); } }...
Main.java:10: error: > or ',' expected if (A =< X && A + B >= X) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u440949328|p03377|0
u440949328|p03377|0
codenet
Compile Error
324
v2_s602174044
s602174044
s602174044
p03377
p03377
u464344966
u464344966
1,523,755,210
2018-04-15T01:20:10
Main.java
public class Main { public static void main(String[] args) { Main main = new Main(); main.solveA(); } private void solveA() { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int X = sc.nextInt(); if(A<X && A + B >= X) { System.out.println("YES"); }else { Syste...
Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u464344966|p03377|0
u464344966|p03377|0
codenet
Compile Error
350
v2_s629893410
s629893410
s629893410
p03377
p03377
u464344966
u464344966
1,523,755,279
2018-04-15T01:21:19
Main.java
public class Main { public static void main(String[] args) { Main main = new Main(); main.solveA(); } private void solveA() { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int X = sc.nextInt(); if(A<X && A + B >= X) { System.out.println("YES"); }else { Syste...
Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u464344966|p03377|0
u464344966|p03377|0
codenet
Compile Error
350
v2_s701416266
s701416266
s701416266
p03377
p03377
u480893504
u480893504
1,523,755,773
2018-04-15T01:29:33
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 X =sc.nextInt(); if (A==X){ System.out.println("YES"); }else if (A<= X && X -A <=...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u480893504|p03377|0
u480893504|p03377|0
codenet
Compile Error
441
v2_s632350165
s632350165
s632350165
p03377
p03377
u486105630
u486105630
1,585,822,322
2020-04-02T10:12:02
Main.java
import java.io.*; import java.util.*; public class Main { void submit() { int A = nextInt(); int B = nextInt(); int X = nextInt(); if(A=>X){ out.println("YES"); }else if((A+B)>=X){ out.println("YES"); }else{ out.println("NO"); ...
Main.java:12: error: illegal start of expression if(A=>X){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u486105630|p03377|0
u486105630|p03377|0
codenet
Compile Error
1,417
v2_s016405624
s016405624
s016405624
p03377
p03377
u522949850
u522949850
1,524,013,322
2018-04-18T01:02:02
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(); int X = sc.nextInt(); if(A < X){ if((A+B) > X){ System.out.println("YES"); } }else{ ...
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
u522949850|p03377|0
u522949850|p03377|0
codenet
Compile Error
375
v2_s525416801
s525416801
s525416801
p03377
p03377
u562120243
u562120243
1,523,755,413
2018-04-15T01:23:33
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner(System.in); a = sc.nextInt(); b = sc.nextInt(); x = sc.nextInt(); if(a > x || a + b < x){ System.out.println("No...
Main.java:6: error: cannot find symbol a = sc.nextInt(); ^ symbol: variable a location: class Main Main.java:7: error: cannot find symbol b = sc.nextInt(); ^ symbol: variable b location: class Main Main.java:8: error: cannot find symbol x = sc.nextInt(); ^ symbol:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u562120243|p03377|0
u562120243|p03377|0
codenet
Compile Error
401
v2_s665035158
s665035158
s665035158
p03377
p03377
u572345088
u572345088
1,592,674,254
2020-06-20T17:30:54
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String[] str = in.readLine().split(" "); int a = Integer.p...
Main.java:12: error: bad operand types for binary operator '<=' System.out.println(a<=x<=a+b?"YES":"NO"); ^ first type: boolean second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u572345088|p03377|0
u572345088|p03377|0
codenet
Compile Error
464
v2_s213990058
s213990058
s213990058
p03377
p03377
u754062586
u754062586
1,563,304,004
2019-07-16T19:06:44
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 X = sc.nextInt(); if((A+B) == X){ System.out.println(A + B = X); System.out.println("YES"); ...
Main.java:12: error: unexpected type System.out.println(A + B = X); ^ required: variable found: value 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u754062586|p03377|0
u754062586|p03377|0
codenet
Compile Error
399
v2_s593663516
s593663516
s593663516
p03377
p03377
u754062586
u754062586
1,563,305,555
2019-07-16T19:32:35
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 X = sc.nextInt(); if(X == A || B < X && A + B = X) { System.out.println("YES"); } else { ...
Main.java:11: error: bad operand types for binary operator '&&' if(X == A || B < X && A + B = X) { ^ first type: boolean second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u754062586|p03377|0
u754062586|p03377|0
codenet
Compile Error
379
v2_s415073685
s415073685
s415073685
p03377
p03377
u809407598
u809407598
1,552,071,055
2019-03-08T18:50:55
Main.java
import java.util.*; public class Main { public static void main(String[] args){ //データ取り込み Scanner sc = new Scanner(System.in); int A = nextInt(); int B = nextInt(); int X = nextInt(); if(X>=A && X<=A+B ){ System.out.println("YES"); }else{ System.out.println("NO"); ...
Main.java:6: error: cannot find symbol int A = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:7: error: cannot find symbol int B = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:8: error: cannot find symbol int X = nextInt(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809407598|p03377|0
u809407598|p03377|0
codenet
Compile Error
372
v2_s030546524
s030546524
s030546524
p03377
p03377
u816631826
u816631826
1,526,677,275
2018-05-18T21:01:15
prob_a.java
import java.util.Scanner; public class prob_a{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); int A,B; A=sc.nextInt(); B=sc.nextInt(); X=sc.nextInt(); int sum=A+B; if(sum>=X){ System.out.println("Yes"); } else{ System.out.println("No"); } } }
prob_a.java:8: error: cannot find symbol X=sc.nextInt(); ^ symbol: variable X location: class prob_a prob_a.java:10: error: cannot find symbol if(sum>=X){ ^ symbol: variable X location: class prob_a 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816631826|p03377|0
u816631826|p03377|0
codenet
Compile Error
269
v2_s051064694
s051064694
s051064694
p03377
p03377
u816631826
u816631826
1,576,025,945
2019-12-11T00:59:05
Main.java
#include <stdio.h> #include <stdlib.h> int main() { int a,b,x; while(~scanf("%d%d%d",&a,&b,&x)) { if(x>a&&a+b>x) { printf("YES\n"); } else { printf("NO\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: '#' #include <stdlib.h> ^ Main.java:7: error: class, interface, enum, or record expected while(~scanf("%d%d%d",&a,&b,&x)...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816631826|p03377|1
u816631826|p03377|1
codenet
Compile Error
266
v2_s802363803
s802363803
s802363803
p03377
p03377
u836499039
u836499039
1,570,391,888
2019-10-06T19:58:08
Main.java
import java.util.Scanner; public static void main(String[] args) { Scanner stdIn=new Scanner(System.in); System.out.print("Aの値:"); int A=stdIn.nextInt(); if(100>=A) if(A>=0) ; else return; else return; System.out.print("Bの値:"); int B=stdIn.nextInt(); ...
Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) Main.java:47: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u836499039|p03377|0
u836499039|p03377|0
codenet
Compile Error
711
v2_s031913763
s031913763
s031913763
p03377
p03377
u836499039
u836499039
1,570,392,610
2019-10-06T20:10:10
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdIn=new Scanner(System.in); if(A+B>=X) if(X>=A) System.out.println("YES"); else System.out.println("NO"); else System.out.println("NO"); } }
Main.java:8: error: cannot find symbol if(A+B>=X) ^ symbol: variable A location: class Main Main.java:8: error: cannot find symbol if(A+B>=X) ^ symbol: variable B location: class Main Main.java:8: error: cannot find symbol if(A+B>=X) ^ symbol: variable X locatio...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u836499039|p03377|0
u836499039|p03377|0
codenet
Compile Error
284
v2_s052303812
s052303812
s052303812
p03377
p03377
u845085033
u845085033
1,524,170,065
2018-04-19T20:34:25
Main.java
public class Main { public static void main(String[] args) { final Scanner sc = new Scanner(System.in); // スペース区切りの整数の入力 int a = sc.nextInt(); int b = sc.nextInt(); int x = sc.nextInt(); sc.close(); if (a < x) { System.out.println("NO"); } else if ((a + b) >= x) { System.out.println("YES"); }...
Main.java:3: error: cannot find symbol final Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol final 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
u845085033|p03377|0
u845085033|p03377|0
codenet
Compile Error
392
v2_s462966402
s462966402
s462966402
p03377
p03377
u845442981
u845442981
1,529,467,177
2018-06-20T03:59:37
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 x = sc.nextInt(); if (a > X) { System.out.println("No"); } else if ( a + b < x ) { ...
Main.java:10: error: cannot find symbol if (a > X) { ^ symbol: variable X location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u845442981|p03377|0
u845442981|p03377|0
codenet
Compile Error
443
v2_s484046875
s484046875
s484046875
p03377
p03377
u863370423
u863370423
1,526,677,447
2018-05-18T21:04:07
Main.java
int A, B, X; A = sc.nextInt(); B = sc.nextInt(); X = sc.nextInt(); if (X< A+B && X == B-X+A){ System.out.println("YES"); } else{ System.out.println("NO");
Main.java:1: error: class, interface, enum, or record expected int A, B, X; ^ Main.java:2: error: class, interface, enum, or record expected A = sc.nextInt(); ^ Main.java:3: error: class, interface, enum, or record expected B = sc.nextInt(); ^ Main.java:4: error: class, interface, enum, or record expected X = sc.nextIn...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03377|0
u863370423|p03377|0
codenet
Compile Error
155
v2_s510098426
s510098426
s510098426
p03377
p03377
u897304429
u897304429
1,523,754,786
2018-04-15T01:13:06
Main.java
#include <cstdio> #include <cstring> #include <iostream> #include <algorithm> using namespace std; #define let const auto #define rep(i,n) for(int i=0; i<(n); ++i) #define reps(i,f,n) for(int i=(f); i<=(n); ++i) #define outl(x) cout<< (x) << '\n' int main() { cin.tie(0), ios::sync_with_stdio(false); int X, A, B;...
Main.java:1: error: illegal character: '#' #include <cstdio> ^ Main.java:2: error: illegal character: '#' #include <cstring> ^ Main.java:3: error: illegal character: '#' #include <iostream> ^ Main.java:4: error: illegal character: '#' #include <algorithm> ^ Main.java:6: error: illegal character: '#' #define let const a...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u897304429|p03377|0
u897304429|p03377|0
codenet
Compile Error
410