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_s671416437
s671416437
s671416437
p02612
p02612
u595902497
u595902497
1,593,997,578
2020-07-06T01:06:18
Sol.java
import java.util.* public class Sol{ public static void main(String args[]) { Scanner in=new Scanner(System.in); int n=in.nextInt(); if(n%1000==0) System.out.print("0"); else System.out.print(1000-(n%1000)); } }
Sol.java:1: error: ';' expected import java.util.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u595902497|p02612|0
u595902497|p02612|0
codenet
Compile Error
250
v2_s478639724
s478639724
s478639724
p02612
p02612
u618907626
u618907626
1,593,997,333
2020-07-06T01:02:13
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(); System.out.println(1000 - a % 1000); } }
Main.java:3: error: class, interface, enum, or record expected public Class Main{ ^ Main.java:4: 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:5: error: <identifier...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u618907626|p02612|0
u618907626|p02612|0
codenet
Compile Error
213
v2_s490979000
s490979000
s490979000
p02612
p02612
u638283343
u638283343
1,594,513,750
2020-07-12T00:29:10
Main.java
x = 0 y= 1000 z = 0 for i = 1000 to 10000 step 1000
Main.java:1: error: class, interface, enum, or record expected x = 0 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u638283343|p02612|0
u638283343|p02612|0
codenet
Compile Error
53
v2_s873401042
s873401042
s873401042
p02612
p02612
u664371988
u664371988
1,593,997,820
2020-07-06T01:10:20
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String N = scan.nextLine(); Integer N_int = String.parseInt(N); Integer R = N_int % 1000; if(R == 0) { System.out.println(0); } else { System.out....
Main.java:7: error: cannot find symbol Integer N_int = String.parseInt(N); ^ symbol: method parseInt(String) location: class String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u664371988|p02612|0
u664371988|p02612|0
codenet
Compile Error
343
v2_s428372555
s428372555
s428372555
p02612
p02612
u664371988
u664371988
1,593,997,998
2020-07-06T01:13:18
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String read = scan.nextLine(); int N = Integer.parseInt(read); int R = N % 1000; if (R == 0) { System.out.println(0); } else { System.out.println(...
Main.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u664371988|p02612|0
u664371988|p02612|0
codenet
Compile Error
329
v2_s620705547
s620705547
s620705547
p02612
p02612
u673844143
u673844143
1,593,998,741
2020-07-06T01:25:41
Main.java
#include<stdio.h> int main() { int n,change; scanf("%d",&n); if(n>=1 && n<=10000) { change=n%1000; } printf("%d",change); }
Main.java:1: error: illegal character: '#' #include<stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<stdio.h> ^ Main.java:5: error: class, interface, enum, or record expected scanf("%d",&n); ^ Main.java:6: error: class, interface, enum, or record expected if(n>=1 && n<=100...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673844143|p02612|0
u673844143|p02612|0
codenet
Compile Error
137
v2_s454168274
s454168274
s454168274
p02612
p02612
u695678319
u695678319
1,598,276,396
2020-08-24T13:39:56
Main.java
�������7�1 � �� �� �� �� ��! �"�#�$�%�<init>�()V�Code�LineNumberTable�LocalVariableTable�this�Lt1;�main�([Ljava/lang/String;)V�args�[Ljava/lang/String;�scanner�Ljava/util/Scanner;�x�I� SourceFile�t1.java � � �java/util/Scanner�& �'�( � �) �*�+ �,�-�. �/�0�t1�java/lan...
Main.java:1: error: illegal character: '\ufffd' ???????7?1 ^ Main.java:1: error: illegal character: '\ufffd' ???????7?1 ^ Main.java:1: error: illegal character: '\ufffd' ???????7?1 ^ Main.java:1: error: illegal character: '\ufffd' ???????7?1 ^ Main.java:1: error: illegal character: '\ufffd' ???????7?1 ^ Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u695678319|p02612|0
u695678319|p02612|0
codenet
Compile Error
1,067
v2_s075679483
s075679483
s075679483
p02612
p02612
u704454535
u704454535
1,595,724,437
2020-07-26T00:47:17
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); if(n <= 1000){ System.out.println(1000 - n); }else if(n <= 2000){ System.out.println(2000 - n); } else if(n ...
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
u704454535|p02612|0
u704454535|p02612|0
codenet
Compile Error
951
v2_s768320991
s768320991
s768320991
p02612
p02612
u756740892
u756740892
1,594,930,324
2020-07-16T20:12:04
Main.java
public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner (System.in); int a = sc.nextInt(); System.out.println(a%1000); } }
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 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u756740892|p02612|0
u756740892|p02612|0
codenet
Compile Error
266
v2_s049991033
s049991033
s049991033
p02612
p02612
u757610032
u757610032
1,594,993,668
2020-07-17T13:47:48
Main.java
while (N > 1000) { N = N - 1000; } System.out.print(N);
Main.java:1: error: class, interface, enum, or record expected while (N > 1000) { ^ Main.java:3: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u757610032|p02612|0
u757610032|p02612|0
codenet
Compile Error
57
v2_s047682002
s047682002
s047682002
p02612
p02612
u757610032
u757610032
1,594,993,752
2020-07-17T13:49:12
Main.java
public static void main() { while (N > 1000) { N = N - 1000; } System.out.print(N); }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main() { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u757610032|p02612|0
u757610032|p02612|0
codenet
Compile Error
95
v2_s208594094
s208594094
s208594094
p02612
p02612
u757610032
u757610032
1,594,993,858
2020-07-17T13:50:58
Main.java
public static void main() { getChange(N); } public static int getChange(int N) { while (N > 1000) { N = N - 1000; } return N; }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main() { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u757610032|p02612|0
u757610032|p02612|0
codenet
Compile Error
140
v2_s552007265
s552007265
s552007265
p02612
p02612
u767682383
u767682383
1,594,345,870
2020-07-10T01:51:10
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 answer = null; answer = 1000 - N; while(N < 0){ answer = N + 1000; } System.out.println(N); } }
Main.java:7: error: incompatible types: <null> cannot be converted to int int answer = null; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u767682383|p02612|0
u767682383|p02612|0
codenet
Compile Error
311
v2_s488039556
s488039556
s488039556
p02612
p02612
u769291367
u769291367
1,593,998,185
2020-07-06T01:16:25
Main.java
import jav.util.Scanner; public class Main { public static void main(String[] args { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int r = a % 1000; int s = 1000 - r; System.out.println(s); } }
Main.java:4: error: ',', ')', or '[' expected public static void main(String[] args ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769291367|p02612|0
u769291367|p02612|0
codenet
Compile Error
265
v2_s167161194
s167161194
s167161194
p02612
p02612
u769291367
u769291367
1,593,998,223
2020-07-06T01:17:03
Main.java
import jav.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int r = a % 1000; int s = 1000 - r; System.out.println(s); } }
Main.java:1: error: package jav.util does not exist import jav.util.Scanner; ^ 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); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769291367|p02612|0
u769291367|p02612|0
codenet
Compile Error
267
v2_s642672276
s642672276
s642672276
p02612
p02612
u776423585
u776423585
1,593,997,710
2020-07-06T01:08:30
Main.java
import java.io.*; class Payment { int n; main() { BufferedReader br= new BufferedReader(new InputStreamReader(System.in)); n=Integer.parseInt(br.readLine()); if(n%1000==0) System.out.println(n%1000); else System.out.println(n%1000); } }
Main.java:5: error: invalid method declaration; return type required main() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u776423585|p02612|0
u776423585|p02612|0
codenet
Compile Error
272
v2_s220502685
s220502685
s220502685
p02612
p02612
u790451711
u790451711
1,594,175,830
2020-07-08T02:37:10
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { int pien=1000; Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); int amari = N%pien; if(otsuri != 0){ int otsuri = pien-amari; }else{ ...
Main.java:9: error: cannot find symbol if(otsuri != 0){ ^ symbol: variable otsuri location: class Main Main.java:14: error: cannot find symbol System.out.println(oturi); ^ symbol: variable oturi location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790451711|p02612|0
u790451711|p02612|0
codenet
Compile Error
401
v2_s235353652
s235353652
s235353652
p02612
p02612
u790451711
u790451711
1,594,175,898
2020-07-08T02:38:18
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { int pien=1000; Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); int amari = N%pien; if(amari != 0){ int otsuri = pien-amari; }else{ ...
Main.java:14: error: cannot find symbol System.out.println(oturi); ^ symbol: variable oturi location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790451711|p02612|0
u790451711|p02612|0
codenet
Compile Error
400
v2_s905144700
s905144700
s905144700
p02612
p02612
u790451711
u790451711
1,594,175,962
2020-07-08T02:39:22
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { int pien=1000; int otsri=0; Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); int amari = N%pien; if(amari != 0){ otsuri = pien-amari; ...
Main.java:11: error: cannot find symbol otsuri = pien-amari; ^ symbol: variable otsuri location: class Main Main.java:13: error: cannot find symbol otsuri = amari; ^ symbol: variable otsuri location: class Main Main.java:15: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790451711|p02612|0
u790451711|p02612|0
codenet
Compile Error
414
v2_s683586264
s683586264
s683586264
p02612
p02612
u807452638
u807452638
1,596,436,565
2020-08-03T06:36:05
Main.java
public static void main(String[] args) { // 1000の倍数の場合はお釣りは必ず0円となる // 1000の倍数でない場合は、1000-(N円の1の位~百の位)がお釣りとなる int answer = 0; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ String str = br.readLine(); int n = Integer.parseInt(str); if ...
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
u807452638|p02612|0
u807452638|p02612|0
codenet
Compile Error
622
v2_s130941474
s130941474
s130941474
p02612
p02612
u810274325
u810274325
1,596,345,497
2020-08-02T05:18:17
Main.java
class Solution{ public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); while(n > 0){ n -= 1000; } System.out.println(-n); } }
Main.java:3: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Solution Main.java:3: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u810274325|p02612|0
u810274325|p02612|0
codenet
Compile Error
254
v2_s317963576
s317963576
s317963576
p02612
p02612
u814232738
u814232738
1,596,412,756
2020-08-02T23:59:16
Main.java
public class Main{ public static void main(String[] args){ Scanner s=new Scanner(System.in); int n=s.nextInt(); int res=(1000-n%1000)%1000; System.out.println(res); } }
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
u814232738|p02612|0
u814232738|p02612|0
codenet
Compile Error
196
v2_s258438467
s258438467
s258438467
p02612
p02612
u870444278
u870444278
1,594,000,785
2020-07-06T01:59:45
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { final int proce = new PriceReader().read(); final int balance = new BalanceCalculator().pay(price); new BapancePrinter().write(balance); } } class BalanceCalculator { private static final int AMOUNT_PER_BILL = ...
Main.java:6: error: cannot find symbol final int balance = new BalanceCalculator().pay(price); ^ symbol: variable price location: class Main Main.java:7: error: cannot find symbol new BapancePrinter().write(balance); ^ symbol: class BapancePr...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u870444278|p02612|0
u870444278|p02612|0
codenet
Compile Error
735
v2_s905813427
s905813427
s905813427
p02612
p02612
u870444278
u870444278
1,594,000,833
2020-07-06T02:00:33
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { final int price = new PriceReader().read(); final int balance = new BalanceCalculator().pay(price); new BapancePrinter().write(balance); } } class BalanceCalculator { private static final int AMOUNT_PER_BILL = ...
Main.java:7: error: cannot find symbol new BapancePrinter().write(balance); ^ symbol: class BapancePrinter location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u870444278|p02612|0
u870444278|p02612|0
codenet
Compile Error
735
v2_s702703242
s702703242
s702703242
p02612
p02612
u894939163
u894939163
1,594,507,086
2020-07-11T22:38:06
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(); Integer price = sc.nextInt(); system.out.println(price % 10000); } }
Main.java:5: error: no suitable constructor found for Scanner(no arguments) Scanner sc = new Scanner(); ^ constructor Scanner.Scanner(Readable,Pattern) is not applicable (actual and formal argument lists differ in length) constructor Scanner.Scanner(Readable) is not applicable...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u894939163|p02612|0
u894939163|p02612|0
codenet
Compile Error
204
v2_s994207482
s994207482
s994207482
p02612
p02612
u899828212
u899828212
1,594,040,818
2020-07-06T13:06:58
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 raise =(int) N %1000; if(N!=0){ int answer = N - (raise*1000); } else { int answer = 0; System.out.p...
Main.java:16: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u899828212|p02612|0
u899828212|p02612|0
codenet
Compile Error
359
v2_s367957083
s367957083
s367957083
p02612
p02612
u899828212
u899828212
1,594,040,841
2020-07-06T13:07: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 raise =(int) N %1000; if(N!=0){ int answer = N - (raise*1000); } else { int answer = 0; } Sy...
Main.java:15: error: cannot find symbol System.out.println(String.valueOf(answer)); ^ symbol: variable answer location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u899828212|p02612|0
u899828212|p02612|0
codenet
Compile Error
369
v2_s309724059
s309724059
s309724059
p02612
p02612
u899828212
u899828212
1,594,040,966
2020-07-06T13:09:26
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 raise =(int) N %1000; int answer = 0; if(N!=0){ int answer = N - (raise*1000); } System.out.println(Str...
Main.java:12: error: variable answer is already defined in method main(String[]) int answer = N - (raise*1000); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u899828212|p02612|0
u899828212|p02612|0
codenet
Compile Error
349
v2_s166707696
s166707696
s166707696
p02612
p02612
u899828212
u899828212
1,594,041,210
2020-07-06T13:13:30
Main.java
mport java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); int n = Integer.parseInt(line); int x = n % 1000; int answer = 0; if(x > 0){ answer = 1000 - x; } ...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u899828212|p02612|0
u899828212|p02612|0
codenet
Compile Error
376
v2_s722445553
s722445553
s722445553
p02612
p02612
u924711195
u924711195
1,595,097,957
2020-07-18T18:45:57
Main.java
class Main{public static void main(String[] a){SYstem.out.println(1000-new java.util.Scanner(System.in).nextInt()%1000);}}
Main.java:1: error: package SYstem does not exist class Main{public static void main(String[] a){SYstem.out.println(1000-new java.util.Scanner(System.in).nextInt()%1000);}} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u924711195|p02612|0
u924711195|p02612|0
codenet
Compile Error
122
v2_s599108876
s599108876
s599108876
p02612
p02612
u936212804
u936212804
1,595,522,502
2020-07-23T16:41:42
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); System.out.print(1000-n%1000); }
Main.java:7: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u936212804|p02612|0
u936212804|p02612|0
codenet
Compile Error
186
v2_s362233330
s362233330
s362233330
p02612
p02612
u954337339
u954337339
1,600,305,660
2020-09-17T01:21:00
Main.java
import java.util.*; public class Main{ public static void main(String[] args)throws Exception{ Scanner sc=new Sanner(System.in); int N=Integer.perseInt(sc.next()); System.out.println(N%1000); } }
Main.java:4: error: cannot find symbol Scanner sc=new Sanner(System.in); ^ symbol: class Sanner location: class Main Main.java:5: error: cannot find symbol int N=Integer.perseInt(sc.next()); ^ symbol: method perseInt(String) location: class Integer 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954337339|p02612|1
u954337339|p02612|1
codenet
Compile Error
212
v2_s202061407
s202061407
s202061407
p02612
p02612
u954941156
u954941156
1,595,475,616
2020-07-23T03:40:16
Main.java
Scanner sc = new Scanner(System.in); String[] l = sc.nextLine(); int p = Integer.parseInt(l[0]); int i = -1; int c = 1; while(i > -1){ i = c*1000 - p } System.out.println(i);
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:7: error: class, interface, enum, or record expected while(i > -1){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954941156|p02612|0
u954941156|p02612|0
codenet
Compile Error
207
v2_s271572773
s271572773
s271572773
p02612
p02612
u954941156
u954941156
1,595,476,247
2020-07-23T03:50:47
Main.java
public static void main(String[] args) { System.out.println("test"); }
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
u954941156|p02612|0
u954941156|p02612|0
codenet
Compile Error
81
v2_s492148900
s492148900
s492148900
p02612
p02612
u960062540
u960062540
1,594,502,842
2020-07-11T21:27:22
Main.java
import java.util.*; class Shopping{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); while(n > 1000){ n = n - 1000; } int ans = 1000 - n; System.out.println(ans); }
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u960062540|p02612|0
u960062540|p02612|0
codenet
Compile Error
253
v2_s075579709
s075579709
s075579709
p02612
p02612
u960062540
u960062540
1,594,503,070
2020-07-11T21:31:10
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); while(n > 1000){ n = n - 1000; } int ans = 1000 - n; System.out.println(ans); }
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u960062540|p02612|0
u960062540|p02612|0
codenet
Compile Error
257
v2_s098783091
s098783091
s098783091
p02612
p02612
u965157621
u965157621
1,594,280,540
2020-07-09T07:42:20
Main.java
import java.util.*; class Main{ public static void main{String args[]}{ Scanner sc = new Scanner(System.in); int i = sc.nextInt(); int rem = i % 1000; int ret = 1000-rem; if(ret == 1000){ ret = 0; } System.out.println(ret); } }
Main.java:3: error: '(' expected public static void main{String args[]}{ ^ Main.java:3: error: ';' expected public static void main{String args[]}{ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u965157621|p02612|0
u965157621|p02612|0
codenet
Compile Error
304
v2_s605813327
s605813327
s605813327
p02612
p02612
u971089878
u971089878
1,595,444,296
2020-07-22T18:58:16
Main.java
#include <bits/stdc++.h> using namespace std; template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; } template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; } using ll = long long; using P = pair<ll, ll>; const long double PI = acos(...
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 template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } retu...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u971089878|p02612|0
u971089878|p02612|0
codenet
Compile Error
492
v2_s874078836
s874078836
s874078836
p02612
p02612
u977952572
u977952572
1,596,375,944
2020-08-02T13:45:44
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws Interrupt...
Main.java:23: error: ';' expected int round = (1 + (T / 1000)) * 1000 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u977952572|p02612|0
u977952572|p02612|0
codenet
Compile Error
1,839
v2_s341454887
s341454887
s341454887
p02612
p02612
u995664161
u995664161
1,593,997,636
2020-07-06T01:07:16
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); if(A%1000 == 0){ int B = (A/1000); }else{ int B = (A/1000)+1; } int anc = ((B*1000)-A); System.o...
Main.java:11: error: cannot find symbol int anc = ((B*1000)-A); ^ symbol: variable B location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u995664161|p02612|0
u995664161|p02612|0
codenet
Compile Error
345
v2_s616040138
s616040138
s616040138
p02613
p02613
u006728642
u006728642
1,594,001,560
2020-07-06T02:12:40
B.java
import java.util.Scanner; public class B { int A=0,W=0,T=0,R=0; void main(){ Scanner scan = new Scanner(System.in); int N = scan.nextInt(); for(int i = 0;i < N;i++){ String txt = scan.next; if(txt == "AC"){ A++; }else if(txt == "WA"){ ...
B.java:20: error: not a statement System.out,println("WA x " + W); ^ B.java:20: error: ';' expected System.out,println("WA x " + W); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u006728642|p02613|0
u006728642|p02613|0
codenet
Compile Error
654
v2_s996378043
s996378043
s996378043
p02613
p02613
u031930882
u031930882
1,594,594,453
2020-07-12T22:54:13
Main.java
public class Main { static final String keyAc = "AC"; static final String keyWa = "WA"; static final String keyTle = "TLE"; static final String keyRe = "RE"; static final String cntLiteral = "×"; public static void main(String[] args) { // 入力され...
Main.java:17: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:17: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u031930882|p02613|0
u031930882|p02613|0
codenet
Compile Error
1,821
v2_s083541621
s083541621
s083541621
p02613
p02613
u053239380
u053239380
1,594,000,358
2020-07-06T01:52:38
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); String[] a={" ","AC","WA","TLE","RE"}; String[] S=new String[N+1]; int[] C={0,0,0,0}; for(int x=1;x<=N;x++) S[x]=sc.next(); for(int c=1;c<=N;c++){ ...
Main.java:16: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u053239380|p02613|0
u053239380|p02613|0
codenet
Compile Error
472
v2_s070460437
s070460437
s070460437
p02613
p02613
u067730489
u067730489
1,595,342,119
2020-07-21T14:35:19
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner console = new Scanner(System.in); int N = Integer.valueOf(console.nextLine()); // 文字数 String S = console.nextLine(); // AとBの並び int ac = 0; int wa = 0; int tle = 0; ...
Main.java:16: error: '(' expected } if else(S.equals("WA")) { ^ Main.java:16: error: illegal start of expression } if else(S.equals("WA")) { ^ Main.java:16: error: not a statement } if else(S.equals("WA")) { ^ Main.jav...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u067730489|p02613|0
u067730489|p02613|0
codenet
Compile Error
876
v2_s218411072
s218411072
s218411072
p02613
p02613
u067730489
u067730489
1,595,342,214
2020-07-21T14:36:54
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner console = new Scanner(System.in); int N = Integer.valueOf(console.nextLine()); // 文字数 String S = console.nextLine(); // AとBの並び int ac = 0; int wa = 0; int tle = 0; ...
Main.java:24: error: ')' or ',' expected System.out.println("AC x " ac); ^ Main.java:24: error: not a statement System.out.println("AC x " ac); ^ Main.java:24: error: ';' expected System.out.printl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u067730489|p02613|0
u067730489|p02613|0
codenet
Compile Error
871
v2_s351568046
s351568046
s351568046
p02613
p02613
u067730489
u067730489
1,595,342,875
2020-07-21T14:47:55
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner console = new Scanner(System.in); int N = Integer.valueOf(console.nextLine()); // 文字数 String S = console.nextLine(); // AとBの並び int ac = 0; int wa = 0; int tle = 0; ...
Main.java:13: error: variable S is already defined in method main(String[]) String S = sc.nextLine(); ^ Main.java:13: error: cannot find symbol String S = sc.nextLine(); ^ symbol: variable sc location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u067730489|p02613|0
u067730489|p02613|0
codenet
Compile Error
879
v2_s458399452
s458399452
s458399452
p02613
p02613
u072472435
u072472435
1,594,480,648
2020-07-11T15:17:28
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); Map<String, Integer> countMap = new HashMap<>(); for (int i = 0; i < N; i++) { String s = sc.next(); countMap.merge(s, 1, Integer::sum); } String v...
Main.java:12: error: illegal initializer for String String verdicts = {"AC", "WA", "TLE", "RE"}; ^ Main.java:13: error: for-each not applicable to expression type for (String verdict : verdicts) { ^ required: array or java.lang.Iterable found: String Main.j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u072472435|p02613|0
u072472435|p02613|0
codenet
Compile Error
475
v2_s275827186
s275827186
s275827186
p02613
p02613
u079170272
u079170272
1,593,999,916
2020-07-06T01:45:16
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); Map<String,Integer> mp=new TreeMap<String,Integer>(); for(int i=0;i<n;i++) { String p=sc.next(); if(mp.containsKey(p)) { mp.put(p,mp.get(p)+1); } else ...
Main.java:56: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u079170272|p02613|0
u079170272|p02613|0
codenet
Compile Error
1,057
v2_s048224077
s048224077
s048224077
p02613
p02613
u103145067
u103145067
1,593,999,195
2020-07-06T01:33:15
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Map<String, Integer> mp = new HashMap<>(); Scanner sc = new Scanner(System.in); int t = sc.nextInt(); mp.put("AC", 0); mp.put("WA", 0); mp.put("TLE", 0); mp.put("RE", 0...
Main.java:7: error: cannot find symbol Map<String, Integer> mp = new HashMap<>(); ^ symbol: class Map location: class Main Main.java:7: error: cannot find symbol Map<String, Integer> mp = new HashMap<>(); ^ symbol: class HashMap location: class M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u103145067|p02613|0
u103145067|p02613|0
codenet
Compile Error
606
v2_s791780024
s791780024
s791780024
p02613
p02613
u124268102
u124268102
1,595,441,638
2020-07-22T18:13:58
Main.java
import java.util.*; import java.util.stream.Collectors; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); List<Integer> list = new ArrayList<Integer>(); while (sn.hasNextLine()) { String str = sn.nextLine(); list.add(Integer.parseInt(str)); ...
Main.java:9: error: cannot find symbol while (sn.hasNextLine()) { ^ symbol: variable sn location: class Main Main.java:10: error: cannot find symbol String str = sn.nextLine(); ^ symbol: variable sn location: class Main Main.java:14: error: incompatible types: inferen...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u124268102|p02613|0
u124268102|p02613|0
codenet
Compile Error
802
v2_s519428359
s519428359
s519428359
p02613
p02613
u135363744
u135363744
1,594,000,029
2020-07-06T01:47:09
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int ac = 0; int wa = 0; int tle = 0; int re = 0; for(int i = 1;i <= N;i+) String S = sc.next(); switch(S){ case "AC": ac++; ...
Main.java:11: error: illegal start of expression for(int i = 1;i <= N;i+) ^ Main.java:11: error: not a statement for(int i = 1;i <= N;i+) ^ Main.java:12: error: variable declaration not allowed here String S = sc.next(); ^ Main.java:28: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u135363744|p02613|0
u135363744|p02613|0
codenet
Compile Error
594
v2_s996752651
s996752651
s996752651
p02613
p02613
u135363744
u135363744
1,594,000,139
2020-07-06T01:48:59
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int ac = 0; int wa = 0; int tle = 0; int re = 0; for(int i = 1;i <= N;i++) String result = sc.next(); switch(result){ case "AC": ...
Main.java:12: error: variable declaration not allowed here String result = sc.next(); ^ Main.java:28: error: <identifier> expected System.out.println("AC x "+ac+"\n"+"WA x "+wa+"\n"+"TLE x "+tle+"\n"+"RE x "+re); ^ Main.java:28: error: illegal start of type System.out.println(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u135363744|p02613|0
u135363744|p02613|0
codenet
Compile Error
606
v2_s614384044
s614384044
s614384044
p02613
p02613
u135363744
u135363744
1,594,001,069
2020-07-06T02:04:29
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int ac = 0; int wa = 0; int tle = 0; int re = 0; for(int i = 1;i <= N;i++){ String S = sc.nextLine(); if( S.equals("AC")){ ac++; }e...
Main.java:15: error: ')' expected }else if( S.equals("WA" ){ ^ Main.java:17: error: ')' expected }else if( S.equals("TLE" ){ ^ Main.java:19: error: ')' expected }else if( S.equals("RE" ){ ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u135363744|p02613|0
u135363744|p02613|0
codenet
Compile Error
612
v2_s784637034
s784637034
s784637034
p02613
p02613
u136717841
u136717841
1,595,229,560
2020-07-20T07:19:20
Main.java
10 AC AC AC AC AC AC AC AC AC AC
Main.java:1: error: class, interface, enum, or record expected 10 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u136717841|p02613|0
u136717841|p02613|0
codenet
Compile Error
32
v2_s071852282
s071852282
s071852282
p02613
p02613
u176982046
u176982046
1,593,998,214
2020-07-06T01:16:54
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int ac = 0; int wa = 0; int tle = 0; int re = 0; for(int i=0;i<n;i++){ String s = sc.next(); if(s.equals("AC")){ ac++; } else if...
Main.java:26: error: cannot find symbol System.out.println("AC" + " " + x + " " + ac); ^ symbol: variable x location: class Main Main.java:27: error: cannot find symbol System.out.println("WA" + " " + x + " " + wa); ^ symbol: variable x ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u176982046|p02613|0
u176982046|p02613|0
codenet
Compile Error
641
v2_s941197255
s941197255
s941197255
p02613
p02613
u240949728
u240949728
1,594,002,830
2020-07-06T02:33:50
Main.java
mport java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int b = 0; int c = 0; int d = 0; int e = 0; for(int i = 0; i < n; i++) { String str = sc.nextLine(); if(str.charAt(0) =...
Main.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u240949728|p02613|0
u240949728|p02613|0
codenet
Compile Error
659
v2_s055484005
s055484005
s055484005
p02613
p02613
u243498393
u243498393
1,593,999,162
2020-07-06T01:32:42
Main.java
import java.util.*; class b { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); String s=sc.nextString(); int count=0,j=0,k=0,g=0,m=0; if(n>=1 && n<=100000) { for(int i=0;i<n;i++) { if(s=="AC")j++; else if(s=="WA")k++; else if(s=="TLE")g++; else m++; } System.out.pri...
Main.java:8: error: illegal start of type if(n>=1 && n<=100000) ^ Main.java:8: error: <identifier> expected if(n>=1 && n<=100000) ^ Main.java:8: error: <identifier> expected if(n>=1 && n<=100000) ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u243498393|p02613|0
u243498393|p02613|0
codenet
Compile Error
466
v2_s136001547
s136001547
s136001547
p02613
p02613
u243498393
u243498393
1,593,999,279
2020-07-06T01:34:39
Main.java
import java.util.*; class b { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); String s=sc.nextString(); int count=0,j=0,k=0,g=0,m=0; for(int i=0;i<n;i++) { if(s=="AC")j++; else if(s=="WA")k++; else if(s=="TLE")g++; else m++; } System.out.println("AC x "+j); System...
Main.java:8: error: illegal start of type for(int i=0;i<n;i++) ^ Main.java:8: error: > or ',' expected for(int i=0;i<n;i++) ^ Main.java:8: error: <identifier> expected for(int i=0;i<n;i++) ^ Main.java:15: error: <identifier> expected System.out.println("AC x "...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u243498393|p02613|0
u243498393|p02613|0
codenet
Compile Error
435
v2_s776491893
s776491893
s776491893
p02613
p02613
u243498393
u243498393
1,593,999,409
2020-07-06T01:36:49
Main.java
import java.util.*; class b { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); String s=sc.nextString(); int count=0,j=0,k=0,g=0,m=0; for(int i=0;i<n;i++) { if(s=="AC")j++; else if(s=="WA")k++; else if(s=="TLE")g++; else m++; } ...
Main.java:8: error: cannot find symbol String s=sc.nextString(); ^ symbol: method nextString() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u243498393|p02613|0
u243498393|p02613|0
codenet
Compile Error
478
v2_s392484290
s392484290
s392484290
p02613
p02613
u243498393
u243498393
1,593,999,571
2020-07-06T01:39:31
Main.java
import java.util.*; class b { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); String s=sc.nextLine(); int count=0,j=0,k=0,g=0,m=0; for(int i=0;i<n;i++) { if(s=="AC")j++; else if(s=="WA")k++; else if(s=="TLE")g++; else m++; } System.out.println("AC x "+j); System.o...
Main.java:8: error: illegal start of type for(int i=0;i<n;i++) ^ Main.java:8: error: > or ',' expected for(int i=0;i<n;i++) ^ Main.java:8: error: <identifier> expected for(int i=0;i<n;i++) ^ Main.java:15: error: <identifier> expected System.out.println("AC x "...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u243498393|p02613|0
u243498393|p02613|0
codenet
Compile Error
433
v2_s605359466
s605359466
s605359466
p02613
p02613
u243498393
u243498393
1,594,002,173
2020-07-06T02:22:53
Main.java
#include<iostream> using namespace std; int main() { int n; string s; cin>>n; string s1="AC"; string s2="WA"; string s3="TLE"; string s4="RE"; int count=0,j=0,k=0,g=0,m=0; if(n>=1 && n<=100000){ for(int i=1;i<=n;i++) { cin>>s; if(s1.compare(s))j++; else if(s2.compare(s))k++; else if(s3...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include<iostream> ^ Main.java:7: error: not a statement cin>>n; ^ Main.java:16: error: not a statement cin>>s; ^ Main.java:22: error: not a statement cout<<"AC x ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u243498393|p02613|0
u243498393|p02613|0
codenet
Compile Error
482
v2_s673087128
s673087128
s673087128
p02613
p02613
u252072308
u252072308
1,594,096,190
2020-07-07T04:29:50
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int testNum = scanner.nextInt(); String[] scoreName = new String[]{"AC", "WA", "TLE", "RE"} int[] score = new int[4]; for (int i = 0; i < testNum; i++) { ...
Main.java:8: error: ';' expected String[] scoreName = new String[]{"AC", "WA", "TLE", "RE"} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u252072308|p02613|0
u252072308|p02613|0
codenet
Compile Error
730
v2_s291094686
s291094686
s291094686
p02613
p02613
u252072308
u252072308
1,594,096,212
2020-07-07T04:30:12
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int testNum = scanner.nextInt(); String[] scoreName = new String[]{"AC", "WA", "TLE", "RE"}; int[] score = new int[4]; for (int i = 0; i < testNum; i++) { ...
Main.java:12: error: cannot find symbol String temp = nextLine(); ^ symbol: method nextLine() location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u252072308|p02613|0
u252072308|p02613|0
codenet
Compile Error
731
v2_s317809774
s317809774
s317809774
p02613
p02613
u290461783
u290461783
1,594,012,917
2020-07-06T05:21:57
Main.java
public class Main { public static void main(String args[]) { Scanner in=new Scanner(System.in); int n; n=in.nextInt(); int ac=0,wa=0,tle=0,re=0; for(int i=1;i<=n;i++) { String s=in.next(); if(s.compareTo("AC")==0) { ac++; } else if(s.compareTo("TLE")==0)...
Main.java:5: error: cannot find symbol Scanner in=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner in=new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u290461783|p02613|0
u290461783|p02613|0
codenet
Compile Error
624
v2_s793922862
s793922862
s793922862
p02613
p02613
u340837225
u340837225
1,595,945,182
2020-07-28T14:06:22
VirtualMachineError.java
import java.util.*; public class VirtualMachineError { public static void main(String[] args) { Scanner console = new Scnanner(System.in); int n = console.nextInt(); int ac = 0; int wa = 0; int tle = 0; int re = 0; for(int i = 0; i < n; i ++) { String temp = console.next(); if(temp.equals("AC")...
VirtualMachineError.java:7: error: cannot find symbol Scanner console = new Scnanner(System.in); ^ symbol: class Scnanner location: class VirtualMachineError 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u340837225|p02613|0
u340837225|p02613|0
codenet
Compile Error
639
v2_s338036503
s338036503
s338036503
p02613
p02613
u345351125
u345351125
1,593,999,972
2020-07-06T01:46:12
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ int sum1 = 0; int sum2 = 0; int sum3 = 0; int sum4 = 0; Scanner in = new Scanner(System.in); int N = in.nextInt(); for (int i=0; i < N ;i++){ String S = in.next(); if (S.equals("AC")){ sum1= sum1 +1; ...
Main.java:29: error: not a statement System.out.println("RE x " + sum4);x ^ Main.java:29: error: ';' expected System.out.println("RE x " + sum4);x ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u345351125|p02613|0
u345351125|p02613|0
codenet
Compile Error
685
v2_s122275668
s122275668
s122275668
p02613
p02613
u352442731
u352442731
1,593,998,643
2020-07-06T01:24:03
Main.java
import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ public class Main { public static void main (String[] args) throws java.lang.Exception { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); String s[]=new String[n];...
Main.java:29: error: incompatible types: int cannot be converted to boolean if(i=0) ^ Main.java:31: error: incompatible types: int cannot be converted to boolean if(i=1) ^ Main.java:33: error: incompatible types: int cannot be converted to boolean if(i=2) ^ Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u352442731|p02613|0
u352442731|p02613|0
codenet
Compile Error
887
v2_s154697722
s154697722
s154697722
p02613
p02613
u360380193
u360380193
1,594,002,695
2020-07-06T02:31:35
Main.java
public class Main{ public static void main(String[] args){ int n = new java.util.Scanner(System.in).nextInt(); long int ac=0, wa=0, tle=0, re=0; for (int i=0; i<n; i++){ String tmp = new java.util.Scanner(System.in).nextLine(); if (tmp.equals("AC")){ ac++; }else if (tmp.equals(...
Main.java:5: error: not a statement long int ac=0, wa=0, tle=0, re=0; ^ Main.java:5: error: ';' expected long int ac=0, wa=0, tle=0, re=0; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u360380193|p02613|0
u360380193|p02613|0
codenet
Compile Error
608
v2_s427936981
s427936981
s427936981
p02613
p02613
u411433053
u411433053
1,594,740,435
2020-07-14T15:27:15
Main.java
import java.util.*; import java.io.*; import java.lang.*; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int AC = 0; int WA = 0; int TLE = 0; int RE = 0; while (n-- > 0) { String s = sc.nextInt(); if (s.equals("AC")) AC++; ...
Main.java:11: error: incompatible types: int cannot be converted to String String s = sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u411433053|p02613|0
u411433053|p02613|0
codenet
Compile Error
591
v2_s120227281
s120227281
s120227281
p02613
p02613
u431137907
u431137907
1,596,905,212
2020-08-08T16:46:52
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); //全提出の個数Nを入力 int N = sc.nextInt(); //入力内容から4種類を抽出する for(int i=0; i<N; i++) { //N個分の4種類の配列を入力 String[] S = {"AC","WA","TLE","RE"}; //...
Main.java:19: error: ')' expected if (I.equals(S[0]) { ^ Main.java:21: error: ')' expected } else if (I.equals(S[1]) { ^ Main.java:23: error: ')' expected } else if (I.equals(S[2]) { ^ Main.java:25: error: ')' ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u431137907|p02613|1
u431137907|p02613|1
codenet
Compile Error
787
v2_s670049497
s670049497
s670049497
p02613
p02613
u464232558
u464232558
1,599,259,561
2020-09-04T22:46:01
Test2.java
import java.util.Scanner; public class Test2 { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int ac=0,wa=0,tle=0,re=0; for(int i=0,i<n,i++){ switch(Scanner.next()){ case "AC": ac++; break; case "WA": wa++; ...
Test2.java:7: error: ';' expected for(int i=0,i<n,i++){ ^ Test2.java:7: error: > or ',' expected for(int i=0,i<n,i++){ ^ Test2.java:7: error: illegal start of expression for(int i=0,i<n,i++){ ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u464232558|p02613|0
u464232558|p02613|0
codenet
Compile Error
612
v2_s550396706
s550396706
s550396706
p02613
p02613
u464232558
u464232558
1,599,259,662
2020-09-04T22:47:42
Test2.java
import java.util.Scanner; public class Test2 { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int ac=0,wa=0,tle=0,re=0; for(int i=0;i<n;i++){ switch(Scanner.next()){ case "AC": ac++; break; case "WA": wa++; ...
Test2.java:8: error: non-static method next() cannot be referenced from a static context switch(Scanner.next()){ ^ Test2.java:19: error: cannot find symbol RE++; ^ symbol: variable RE location: class Test2 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u464232558|p02613|0
u464232558|p02613|0
codenet
Compile Error
612
v2_s705544470
s705544470
s705544470
p02613
p02613
u464232558
u464232558
1,599,259,795
2020-09-04T22:49:55
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 ac=0,wa=0,tle=0,re=0; for(int i=0;i<n;i++){ switch(n){ case "AC": ac++; break; case "WA": wa++; break; ...
Main.java:9: error: incompatible types: String cannot be converted to int case "AC": ^ Main.java:12: error: incompatible types: String cannot be converted to int case "WA": ^ Main.java:15: error: incompatible types: String cannot be converted to int case "TLE": ^ Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u464232558|p02613|0
u464232558|p02613|0
codenet
Compile Error
598
v2_s820126540
s820126540
s820126540
p02613
p02613
u464232558
u464232558
1,599,259,947
2020-09-04T22:52:27
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 ac=0,wa=0,tle=0,re=0; for(int i=0;i<n;i++){ switch(scanner.next()){ case "AC": ac++; break; case "WA": wa++; ...
Main.java:8: error: cannot find symbol switch(scanner.next()){ ^ symbol: variable scanner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u464232558|p02613|0
u464232558|p02613|0
codenet
Compile Error
611
v2_s079778262
s079778262
s079778262
p02613
p02613
u464949032
u464949032
1,594,101,896
2020-07-07T06:04:56
Main.java
import java.util.*; class Main{ public static void main(String args[]){ int n=sc.nextInt(); int ac=0,tle=0,wa=0,re=0; for(int i=0;i<n;i++){ String s=sc.next(); if(s.equals("AC")) ac++; if(s.equals("WA")) wa++; if(s.equals("TLE")) tle++; if(s.equals("RE...
Main.java:4: error: cannot find symbol int n=sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:7: error: cannot find symbol String s=sc.next(); ^ symbol: variable sc location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u464949032|p02613|0
u464949032|p02613|0
codenet
Compile Error
495
v2_s042848204
s042848204
s042848204
p02613
p02613
u464949032
u464949032
1,594,101,949
2020-07-07T06:05:49
Main.java
z
Main.java:1: error: reached end of file while parsing z ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u464949032|p02613|0
u464949032|p02613|0
codenet
Compile Error
1
v2_s416508818
s416508818
s416508818
p02613
p02613
u488641047
u488641047
1,596,014,805
2020-07-29T09:26:45
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int count = 0; int count1 = 0; int count2 = 0; int count3 = 0; while(n-->0){ String s = sc.nextLine(); if(s.contains(...
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
u488641047|p02613|0
u488641047|p02613|0
codenet
Compile Error
838
v2_s732591287
s732591287
s732591287
p02613
p02613
u530710595
u530710595
1,594,304,885
2020-07-09T14:28:05
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 C1=0,C2=0,C3=0,C4=0; for(int i=1;i<n;i++){ String result = sc.next(); switch (result){ case "AC": C1++; break; case "WA": C2++; break; ...
Main.java:26: error: cannot find symbol System.out.printaln("WA x "+ String.valueOf(C2)); ^ symbol: method printaln(String) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u530710595|p02613|0
u530710595|p02613|0
codenet
Compile Error
622
v2_s520698941
s520698941
s520698941
p02613
p02613
u530710595
u530710595
1,594,321,853
2020-07-09T19:10:53
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 C1=0,C2=0,C3=0,C4=0; for(int i=0;i<n;i++){ String result = sc.next(); switch (result){ case "AC": C1++1; break; case "WA": C2++1; break...
Main.java:11: error: ';' expected C1++1; ^ Main.java:14: error: ';' expected C2++1; ^ Main.java:17: error: ';' expected C3++1; ^ Main.java:20: error: ';' expected C4++1; ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u530710595|p02613|1
u530710595|p02613|0
codenet
Compile Error
561
v2_s914302905
s914302905
s914302905
p02613
p02613
u530710595
u530710595
1,594,403,005
2020-07-10T17:43:25
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String n = sc.nextLine(); int ac=0,wa=0,tle=0,re=0; String =sc.next() for(int i=0;i<n;i++){ switch (result){ case "AC": C1 += 1; break; case "WA": C2 += 1; break; ca...
Main.java:7: error: ';' expected String =sc.next() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u530710595|p02613|2
u530710595|p02613|1
codenet
Compile Error
582
v2_s067446487
s067446487
s067446487
p02613
p02613
u556589653
u556589653
1,596,942,874
2020-08-09T03:14:34
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); n = scan.nextInt(); int s0 = 0; int s1 = 0; int s2 = 0; int s3 = 0; for (i = 0; i < n; i++){ string S = scan.next(); if (S == "AC"){ s0++; }...
Main.java:5: error: cannot find symbol n = scan.nextInt(); ^ symbol: variable n location: class Main Main.java:10: error: cannot find symbol for (i = 0; i < n; i++){ ^ symbol: variable i location: class Main Main.java:10: error: cannot find symbol for (i = 0; i < n; i++){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u556589653|p02613|0
u556589653|p02613|0
codenet
Compile Error
632
v2_s334505886
s334505886
s334505886
p02613
p02613
u556589653
u556589653
1,596,942,903
2020-08-09T03:15:03
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); n = scan.nextInt(); int s0 = 0; int s1 = 0; int s2 = 0; int s3 = 0; for (int i = 0; i < n; i++){ string S = scan.next(); if (S == "AC"){ s0++; ...
Main.java:5: error: cannot find symbol n = scan.nextInt(); ^ symbol: variable n location: class Main Main.java:10: error: cannot find symbol for (int i = 0; i < n; i++){ ^ symbol: variable n location: class Main Main.java:11: error: cannot find symbol string S = sca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u556589653|p02613|0
u556589653|p02613|0
codenet
Compile Error
637
v2_s467932938
s467932938
s467932938
p02613
p02613
u556589653
u556589653
1,596,942,946
2020-08-09T03:15:46
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); n = scan.nextInt(); int c0 = 0; int c1 = 0; int c2 = 0; int c3 = 0; for (int i = 0; i < n; i++){ string S = scan.next(); if (S == "AC"){ c0++; ...
Main.java:5: error: cannot find symbol n = scan.nextInt(); ^ symbol: variable n location: class Main Main.java:10: error: cannot find symbol for (int i = 0; i < n; i++){ ^ symbol: variable n location: class Main Main.java:11: error: cannot find symbol string S = sca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u556589653|p02613|0
u556589653|p02613|0
codenet
Compile Error
636
v2_s920852909
s920852909
s920852909
p02613
p02613
u579190390
u579190390
1,595,298,895
2020-07-21T02:34:55
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int number = scanner.nextInt(); int acCount = 0; int waCount = 0; int tleCount = 0; int reCount = 0; while (scanner.hasNext()) { String str = scanner.next(); if (str.equals("AC")) { acCount++;...
Main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579190390|p02613|0
u579190390|p02613|0
codenet
Compile Error
650
v2_s569170788
s569170788
s569170788
p02613
p02613
u585878242
u585878242
1,594,283,303
2020-07-09T08:28:23
Main.java
public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Map<String,Integer> frequencies = new HashMap<>(); String[] verdicts = {"WA","AC","TLE","RE"}; for(String verdict:verdicts)frequ...
Main.java:2: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:3: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(Sys...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u585878242|p02613|0
u585878242|p02613|0
codenet
Compile Error
822
v2_s910463907
s910463907
s910463907
p02613
p02613
u595902497
u595902497
1,593,998,255
2020-07-06T01:17:35
Main.java
import java.util.*; public class Main{ public static void main(String args[]) { Scanner in=new Scanner(System.in); int n=in.nextInt(); int ac,wa,tle,re; for(int i=0;i<n;i++) { String s=in.next(); if(s=="AC") ac++; else if(s=="WA") wa++; else if(s=="TLE") tle...
Main.java:12: error: variable ac might not have been initialized ac++; ^ Main.java:14: error: variable wa might not have been initialized wa++; ^ Main.java:16: error: variable tle might not have been initialized tle++; ^ Main.java:18: error: variable re might not have been initialize...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u595902497|p02613|0
u595902497|p02613|0
codenet
Compile Error
509
v2_s820189116
s820189116
s820189116
p02613
p02613
u616130131
u616130131
1,593,997,934
2020-07-06T01:12:14
Main.java
/*** * ██████╗=====███████╗====███████╗====██████╗= * ██╔══██╗====██╔════╝====██╔════╝====██╔══██╗ * ██║==██║====█████╗======█████╗======██████╔╝ * ██║==██║====██╔══╝======██╔══╝======██╔═══╝= * ██████╔╝====███████╗====███████╗====██║===== * ╚═════╝=====╚══════╝====╚══════╝====╚═╝===== * ===...
Main.java:10: error: package sun.reflect.generics.tree is not visible import sun.reflect.generics.tree.Tree; ^ (package sun.reflect.generics.tree is declared in module java.base, which does not export it) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u616130131|p02613|0
u616130131|p02613|0
codenet
Compile Error
8,215
v2_s630906399
s630906399
s630906399
p02613
p02613
u620353602
u620353602
1,593,997,775
2020-07-06T01:09:35
Main.java
import java.io.BufferedWriter; import java.io.IOException; import java.io.OutputStreamWriter; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException{ Scanner scanner = new Scanner(Sytem.in); int cases = scanner.nextInt(); BufferedWriter log = new BufferedWriter(n...
Main.java:8: error: cannot find symbol Scanner scanner = new Scanner(Sytem.in); ^ symbol: variable Sytem location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620353602|p02613|0
u620353602|p02613|0
codenet
Compile Error
778
v2_s625693794
s625693794
s625693794
p02613
p02613
u659156129
u659156129
1,594,010,384
2020-07-06T04:39:44
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner scn = new Scanner(System.in); String n = scn.next(); int ac = 0; int wa = 0; int tle = 0; int re = 0; String[] a = new String[n]; for(i=0; i<a.length; ++i){ a[i] = sc.next(); } ...
Main.java:11: error: incompatible types: String cannot be converted to int String[] a = new String[n]; ^ Main.java:12: error: cannot find symbol for(i=0; i<a.length; ++i){ ^ symbol: variable i location: class Main Main.java:12: error: cannot find symbol fo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p02613|0
u659156129|p02613|0
codenet
Compile Error
710
v2_s126302088
s126302088
s126302088
p02613
p02613
u659156129
u659156129
1,594,010,544
2020-07-06T04:42:24
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int ac = 0; int wa = 0; int tle = 0; int re = 0; String[] a = new String[n]; for(int i=0; i<a.length; ++i){ a[i] = sc.next(); ...
Main.java:13: error: cannot find symbol a[i] = sc.next(); ^ symbol: variable sc location: class Main Main.java:16: error: cannot find symbol if(a[i]==AC){ ^ symbol: variable AC location: class Main Main.java:18: error: cannot find symbol }if(a[i]==WA){...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p02613|0
u659156129|p02613|0
codenet
Compile Error
719
v2_s343900404
s343900404
s343900404
p02613
p02613
u659156129
u659156129
1,594,010,725
2020-07-06T04:45:25
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner scn = new Scanner(System.in); String n = scn.next(); int ac = 0; int wa = 0; int tle = 0; int re = 0; String[] a = new String[n]; for(i=0; i<a.length; ++i){ a[i] = scn.next(); } ...
Main.java:11: error: incompatible types: String cannot be converted to int String[] a = new String[n]; ^ Main.java:12: error: cannot find symbol for(i=0; i<a.length; ++i){ ^ symbol: variable i location: class Main Main.java:12: error: cannot find symbol fo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p02613|0
u659156129|p02613|0
codenet
Compile Error
720
v2_s856343796
s856343796
s856343796
p02613
p02613
u664371988
u664371988
1,593,998,778
2020-07-06T01:26:18
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = Integer.parseInt(scan.nextLine()); String[] judge = {"AC", "WA", "TLE", "RE"}; int[] count = {0, 0, 0, 0}; for (int i=0; i<N; i++) { String tmp = scan.newL...
Main.java:14: error: illegal start of expression case: "AC" ^ Main.java:14: error: not a statement case: "AC" ^ Main.java:14: error: ';' expected case: "AC" ^ Main.java:17: error: illegal start of expression case: "WA" ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u664371988|p02613|0
u664371988|p02613|0
codenet
Compile Error
731
v2_s254510284
s254510284
s254510284
p02613
p02613
u664371988
u664371988
1,593,998,869
2020-07-06T01:27:49
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = Integer.parseInt(scan.nextLine()); String[] judge = {"AC", "WA", "TLE", "RE"}; int[] count = {0, 0, 0, 0}; for (int i=0; i<N; i++) { String tmp = scan.newL...
Main.java:11: error: cannot find symbol String tmp = scan.newLine(); ^ symbol: method newLine() location: variable scan of type Scanner Main.java:29: error: cannot find symbol for (int i=0; i<count.length(); i++) { ^ symbol: method length() location:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u664371988|p02613|0
u664371988|p02613|0
codenet
Compile Error
724
v2_s094620783
s094620783
s094620783
p02613
p02613
u681661864
u681661864
1,594,227,897
2020-07-08T17:04:57
B.java
import java.util.*; public class B{ public static void main(String[]args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int count[] = new int[4]; String s[] = new Sting[N]; for(int i=0; i<N; i++){ s[i]= sc.nextLine(); switch(s[i]){ case "AC": count[0]++; case "WA": count[...
B.java:8: error: cannot find symbol String s[] = new Sting[N]; ^ symbol: class Sting location: class B 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u681661864|p02613|0
u681661864|p02613|0
codenet
Compile Error
561
v2_s499105518
s499105518
s499105518
p02613
p02613
u681661864
u681661864
1,594,228,047
2020-07-08T17:07:27
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 count[] = new int[4]; String s[] = new Sting[N]; for(int i=0; i<N; i++){ s[i]= sc.nextLine(); switch(s[i]){ case "AC": count[0]++; case "WA": cou...
Main.java:8: error: cannot find symbol String s[] = new Sting[N]; ^ symbol: class Sting location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u681661864|p02613|0
u681661864|p02613|0
codenet
Compile Error
564
v2_s675517050
s675517050
s675517050
p02613
p02613
u681661864
u681661864
1,594,228,340
2020-07-08T17:12:20
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 count[] = new int[4]; String s[] = new Sting[N]; for(int i=0; i<N; i++){ s[i]= sc.nextLine(); switch(s[i]){ case "AC": count[0]++; case "WA": cou...
Main.java:8: error: cannot find symbol String s[] = new Sting[N]; ^ symbol: class Sting location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u681661864|p02613|0
u681661864|p02613|0
codenet
Compile Error
583
v2_s537807666
s537807666
s537807666
p02613
p02613
u729186675
u729186675
1,596,982,760
2020-08-09T14:19:20
Map.java
import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Scanner; import java.util.stream.IntStream; public class Map { /** マップのキーの一覧 */ private static final List<String> KEYS = Arrays.asList("AC", "WA", "TLE", "RE"); public static void main(String[] args) {...
Map.java:4: error: Map is already defined in this compilation unit import java.util.Map; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u729186675|p02613|0
u729186675|p02613|0
codenet
Compile Error
691
v2_s664066851
s664066851
s664066851
p02613
p02613
u767682383
u767682383
1,594,347,863
2020-07-10T02:24:23
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 ac = 0; int wa = 0; int tle = 0; int re = 0; List<String> jugdges = new ArrayList<String>(); for(int i = 0; i < N; i++){ judges.a...
Main.java:13: error: cannot find symbol judges.add(sc.nextLine()); ^ symbol: variable judges location: class Main Main.java:15: error: cannot find symbol for(String str: judges){ ^ symbol: variable judges location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u767682383|p02613|0
u767682383|p02613|0
codenet
Compile Error
784
v2_s333183823
s333183823
s333183823
p02613
p02613
u769291367
u769291367
1,594,002,070
2020-07-06T02:21:10
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 b = 0; int c = 0; int d = 0; int e = 0; for(int i = 0; i <= n; i++) { String str = sc.nextLine(); if(str.charAt...
Main.java:26: error: cannot find symbol System.out.printn("AC = "+b); ^ symbol: method printn(String) location: variable out of type PrintStream Main.java:27: error: cannot find symbol System.out.printn("WA = "+c); ^ symbol: method printn(String) location: variable out of...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769291367|p02613|0
u769291367|p02613|0
codenet
Compile Error
672
v2_s183408752
s183408752
s183408752
p02613
p02613
u790451711
u790451711
1,594,176,838
2020-07-08T02:53:58
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); int AC,WA,TLE,RE=0; String str = null; for(int i=0;i<N;i++){ str = scanner.next(); ...
Main.java:23: error: cannot find symbol System.out.println("WE x "+WE); ^ symbol: variable WE location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790451711|p02613|0
u790451711|p02613|0
codenet
Compile Error
743