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_s584008167
s584008167
s584008167
p02676
p02676
u769291367
u769291367
1,594,276,019
2020-07-09T06:26:59
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(); String str = sc.nextLine(); if(str.length() <= A) { System.out.println(str); } else { String s = str.substring(0,k); ...
Main.java:15: error: cannot find symbol String s = str.substring(0,k); ^ symbol: variable k location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769291367|p02676|0
u769291367|p02676|0
codenet
Compile Error
346
v2_s391761223
s391761223
s391761223
p02676
p02676
u774896337
u774896337
1,589,767,672
2020-05-18T02:07:52
Main.java
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = ner Scanner(Ststem.in); int K = sc.nextInt(); String S = sc.next(); if(S.length > K){ System.out.plintln(S.substring(1.K) + "..."); }else{ System.out.plintln(S); } } }
Main.java:4: error: ';' expected Scanner sc = ner Scanner(Ststem.in); ^ Main.java:10: error: ')' or ',' expected System.out.plintln(S.substring(1.K) + "..."); ^ Main.java:10: error: ';' expected System.out.plintln(S.substring(1.K) + "..."); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u774896337|p02676|0
u774896337|p02676|0
codenet
Compile Error
311
v2_s797982501
s797982501
s797982501
p02676
p02676
u774896337
u774896337
1,589,768,141
2020-05-18T02:15:41
Main.java
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = new Scanner(Ststem.in); int K = sc.nextInt(); String S = sc.next(); if(S.length() > K){ System.out.plintln(S.substring(1.K) + "..."); }else{ System.o...
Main.java:10: error: ')' or ',' expected System.out.plintln(S.substring(1.K) + "..."); ^ Main.java:10: error: ';' expected System.out.plintln(S.substring(1.K) + "..."); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u774896337|p02676|0
u774896337|p02676|0
codenet
Compile Error
354
v2_s494965414
s494965414
s494965414
p02676
p02676
u774896337
u774896337
1,589,768,244
2020-05-18T02:17:24
Main.java
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = new Scanner(Ststem.in); int K = sc.nextInt(); String S = sc.next(); if(S.length() > K){ System.out.plint(S.substring(1.K)); System.out.plint("..."); ...
Main.java:10: error: ')' or ',' expected System.out.plint(S.substring(1.K)); ^ Main.java:10: error: ';' expected System.out.plint(S.substring(1.K)); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u774896337|p02676|0
u774896337|p02676|0
codenet
Compile Error
379
v2_s790987448
s790987448
s790987448
p02676
p02676
u774896337
u774896337
1,589,768,323
2020-05-18T02:18:43
Main.java
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = new Scanner(Ststem.in); int K = sc.nextInt(); String S = sc.next(); if(S.length() > K){ System.out.plintln(S.substring(1,K) + "..."); }else{ System.o...
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(Ststem.in); ^ symbol: variable Ststem location: class Main Main.java:10: error: cannot find symbol System.out.plintln(S.substring(1,K) + "..."); ^ symbol: method plintln(Strin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u774896337|p02676|0
u774896337|p02676|0
codenet
Compile Error
354
v2_s137065746
s137065746
s137065746
p02676
p02676
u774896337
u774896337
1,589,768,379
2020-05-18T02:19:39
Main.java
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int K = sc.nextInt(); String S = sc.next(); if(S.length() > K){ System.out.plintln(S.substring(1,K) + "..."); }else{ System.o...
Main.java:10: error: cannot find symbol System.out.plintln(S.substring(1,K) + "..."); ^ symbol: method plintln(String) location: variable out of type PrintStream Main.java:12: error: cannot find symbol System.out.plintln(S); ^ symbol: method plintln(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u774896337|p02676|0
u774896337|p02676|0
codenet
Compile Error
354
v2_s224943196
s224943196
s224943196
p02676
p02676
u774896337
u774896337
1,589,768,542
2020-05-18T02:22:22
Main.java
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int K = sc.nextInt(); String S = sc.next(); if(S.length() > K){ System.out.plintln(S.substring(1,K) + "..."); }else{ System.o...
Main.java:10: error: cannot find symbol System.out.plintln(S.substring(1,K) + "..."); ^ symbol: method plintln(String) location: variable out of type PrintStream Main.java:12: error: cannot find symbol System.out.plintln(S); ^ symbol: method plintln(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u774896337|p02676|0
u774896337|p02676|0
codenet
Compile Error
354
v2_s086390463
s086390463
s086390463
p02676
p02676
u774896337
u774896337
1,589,769,526
2020-05-18T02:38:46
Main.java
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int K = sc.nextInt(); String S = sc.next(); if(S.length() > K){ System.out.plintln(S.substring(1,K) + "..."); }else{ System.o...
Main.java:10: error: cannot find symbol System.out.plintln(S.substring(1,K) + "..."); ^ symbol: method plintln(String) location: variable out of type PrintStream Main.java:12: error: cannot find symbol System.out.plintln(S); ^ symbol: method plintln(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u774896337|p02676|0
u774896337|p02676|0
codenet
Compile Error
354
v2_s544399845
s544399845
s544399845
p02676
p02676
u799710027
u799710027
1,589,781,138
2020-05-18T05:52:18
Main.java
public Class Main { public static void Main(String[] a) { Scanner in = new Scanner(System.in); int k = in.nextInt(); String s = in.next(); result = ""; if (s.length() > k) result = s.substring(0,k) + "..."; else result = s; System.out.println(result); ...
Main.java:1: error: class, interface, enum, or record expected public Class Main { ^ Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void Main(String[] a) { ^ (use --enable-preview to enable unnamed classes) Main.java:14: error: class, inte...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u799710027|p02676|0
u799710027|p02676|0
codenet
Compile Error
328
v2_s080498302
s080498302
s080498302
p02676
p02676
u799710027
u799710027
1,589,782,000
2020-05-18T06:06:40
Main.java
public class Main { public static void main(String[] a) { Scanner in = new Scanner(System.in); int k = in.nextInt(); String s = in.next(); String result = ""; if (s.length() > k) { result = s.substring(0, k) + "..."; } else { result = s; } return result; } }
Main.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:13: error: incompatible typ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u799710027|p02676|0
u799710027|p02676|0
codenet
Compile Error
298
v2_s128261989
s128261989
s128261989
p02676
p02676
u803314854
u803314854
1,590,021,563
2020-05-21T00:39:23
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); int k=sc.nextInt(); String po=sc.next(); if(po.length()>k){ System.out.println(po.subString(0,k)+"..."); }else System.out.println(po); } }
Main.java:8: error: cannot find symbol System.out.println(po.subString(0,k)+"..."); ^ symbol: method subString(int,int) location: variable po of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p02676|0
u803314854|p02676|0
codenet
Compile Error
257
v2_s875796471
s875796471
s875796471
p02676
p02676
u935077873
u935077873
1,591,043,318
2020-06-01T20:28:38
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); String S = sc.next(); //大文字を小文字に変換 S = S.toLowerCase(); if(1<=K && K<=100) { if(1<=S.length() && S.length()<=100) { if(S.length() >= K) { System.out.println(S.su...
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
u935077873|p02676|0
u935077873|p02676|0
codenet
Compile Error
455
v2_s063002931
s063002931
s063002931
p02676
p02676
u947443497
u947443497
1,590,422,443
2020-05-25T16:00:43
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner s = new Scanner(System.in); int len = s.nextInt(); String text = s.next(); int len0 = text.length; if(len0>len){ text = text.substring(len); } System.out.printl...
Main.java:7: error: cannot find symbol int len0 = text.length; ^ symbol: variable length location: variable text of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u947443497|p02676|0
u947443497|p02676|0
codenet
Compile Error
336
v2_s534769460
s534769460
s534769460
p02676
p02676
u964879860
u964879860
1,590,908,493
2020-05-31T07:01:33
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int k=sc.nextInt(); String s=sc.next(); int n=s.length(); if(n<=k) System.out.println(s); else { System.out.println(s.substring(0,k+1)+"...")); } } }
Main.java:12: error: ';' expected System.out.println(s.substring(0,k+1)+"...")); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964879860|p02676|0
u964879860|p02676|0
codenet
Compile Error
307
v2_s970828420
s970828420
s970828420
p02677
p02677
u004480552
u004480552
1,591,310,681
2020-06-04T22:44:41
Main.java
import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int A,B,H,M; try{ String[] contexts = reader.readLine().split(" "); A = Integer.parseInt(contexts[0]); B...
Main.java:23: error: ';' expected dblLen += Math.pow(A * 1.0, 2.0) ^ Main.java:24: error: ';' expected dblLen += Math.pow(B * 1.0, 2.0) ^ Main.java:28: error: reached end of file while parsing } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u004480552|p02677|0
u004480552|p02677|0
codenet
Compile Error
777
v2_s342994006
s342994006
s342994006
p02677
p02677
u004480552
u004480552
1,591,310,839
2020-06-04T22:47:19
Main.java
import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int A,B,H,M; try{ String[] contexts = reader.readLine().split(" "); A = Integer.parseInt(contexts[0]); B...
Main.java:27: error: cannot find symbol System.out.print(sqrt(dblLen)); ^ symbol: method sqrt(double) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u004480552|p02677|0
u004480552|p02677|0
codenet
Compile Error
784
v2_s756232545
s756232545
s756232545
p02677
p02677
u004480552
u004480552
1,591,310,865
2020-06-04T22:47:45
Main.java
import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int A,B,H,M; try{ String[] contexts = reader.readLine().split(" "); A = Integer.parseInt(contexts[0]); B...
Main.java:23: error: variable dblLen might not have been initialized dblLen += Math.pow(A * 1.0, 2.0); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u004480552|p02677|0
u004480552|p02677|0
codenet
Compile Error
789
v2_s559273936
s559273936
s559273936
p02677
p02677
u068891980
u068891980
1,589,777,405
2020-05-18T04:50:05
Main.java
public class Main{ public static void main(String[] args){ final Scanner sc=new Scanner(System.in); final double A = Integer.parseInt(sc.next()); final double B = Integer.parseInt(sc.next()); final double H = Integer.parseInt(sc.next()); final double M = Integer.parseInt(sc....
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...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u068891980|p02677|1
u068891980|p02677|0
codenet
Compile Error
691
v2_s970781944
s970781944
s970781944
p02677
p02677
u220904910
u220904910
1,589,766,674
2020-05-18T01:51:14
Main.java
package abc168_c; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int A, B, H, M; A = Integer.parseInt(in.next()); B = Integer.parseInt(in.next()); H = Integer.parseInt(in.next()); M = Integer.parseInt(in.next()); float alpha = 360 * H / 12 + 360 * M / ...
Main.java:4: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: 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
u220904910|p02677|0
u220904910|p02677|0
codenet
Compile Error
570
v2_s844372676
s844372676
s844372676
p02677
p02677
u236795403
u236795403
1,589,768,342
2020-05-18T02:19:02
one.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class one { public static void main(String[] args){ int a,b,h,m; double result; try { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String[] temp = reader.readLine...
one.java:20: error: cannot find symbol angle=m/60.0*2*Math.PI-H/12.0*2*Math.PI; ^ symbol: variable H location: class one 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u236795403|p02677|0
u236795403|p02677|0
codenet
Compile Error
829
v2_s671394166
s671394166
s671394166
p02677
p02677
u236795403
u236795403
1,589,768,383
2020-05-18T02:19:43
one.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class one { public static void main(String[] args){ int a,b,h,m; double result; try { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String[] temp = reader.readLine...
one.java:20: error: variable m might not have been initialized angle=m/60.0*2*Math.PI-h/12.0*2*Math.PI; ^ one.java:20: error: variable h might not have been initialized angle=m/60.0*2*Math.PI-h/12.0*2*Math.PI; ^ one.java:24: error: variable a might not have b...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u236795403|p02677|0
u236795403|p02677|0
codenet
Compile Error
829
v2_s873031071
s873031071
s873031071
p02677
p02677
u268520198
u268520198
1,589,766,922
2020-05-18T01:55:22
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { try(Scanner scanner = new Scanner(System.in)) { int A = scanner.nextInt(); int B = scanner.nextInt(); int H = scanner.nextInt(); int M = scanner.nextInt(); double sita = ((double)H / 6 * Math.PI - (double)M / 30 ...
Main.java:16: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u268520198|p02677|0
u268520198|p02677|0
codenet
Compile Error
520
v2_s248396297
s248396297
s248396297
p02677
p02677
u319657583
u319657583
1,590,282,181
2020-05-24T01:03:01
Main.java
java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan =new Scanner(System.in); int A=new Integer(scan.next()); int B=new Integer(scan.next()); int H=new Integer(scan.next()); int M=new Integer(scan.next()); double shor=(H*60+M)*360/(12*60); double lon=6*M; double ...
Main.java:1: error: class, interface, enum, or record expected java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u319657583|p02677|0
u319657583|p02677|0
codenet
Compile Error
469
v2_s841551644
s841551644
s841551644
p02677
p02677
u330233759
u330233759
1,590,257,237
2020-05-23T18:07:17
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 h = scan.nextInt(); int m = scan.nextInt(); long double rad = (h/12 + (60/m)/12) - (m/60.0); long double rpe = (a*a + ...
Main.java:10: error: not a statement long double rad = (h/12 + (60/m)/12) - (m/60.0); ^ Main.java:10: error: ';' expected long double rad = (h/12 + (60/m)/12) - (m/60.0); ^ Main.java:12: error: not a statement long double rpe = (a*a + b*b) - (2*a*b)*cosl(rad); ^ Main.java:12: error: ';' expected ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330233759|p02677|0
u330233759|p02677|0
codenet
Compile Error
385
v2_s863792338
s863792338
s863792338
p02677
p02677
u330233759
u330233759
1,590,257,356
2020-05-23T18:09:16
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); double a = scan.nextInt(); double b = scan.nextInt(); double h = scan.nextInt(); double m = scan.nextInt(); double rad = (h/12 + (60/m)/...
Main.java:12: error: cannot find symbol double rpe = (a*a + b*b) - (2*a*b)*cosl(rad); ^ symbol: method cosl(double) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330233759|p02677|0
u330233759|p02677|0
codenet
Compile Error
455
v2_s835724835
s835724835
s835724835
p02677
p02677
u330233759
u330233759
1,590,257,848
2020-05-23T18:17:28
Main.java
import java.util.Scanner; public static void main(String[] args){ Scanner scan = new Scanner(System.in); double Pai = 3.141592653589793238462643383279L; double a = scan.nextInt(); double b = scan.nextInt(); double h = scan.nextInt(); double m = scan.next...
Main.java:4: error: not a statement double Pai = 3.141592653589793238462643383279L; ^ Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ^ (use --enable-preview to enable un...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330233759|p02677|0
u330233759|p02677|0
codenet
Compile Error
558
v2_s573659656
s573659656
s573659656
p02677
p02677
u330233759
u330233759
1,590,258,088
2020-05-23T18:21:28
Main.java
import java.util.Scanner; public static void main(String[] args){ Scanner scan = new Scanner(System.in); double Pai = 3.141592653589793238462643383279; double a = scan.nextInt(); double b = scan.nextInt(); double h = scan.nextInt(); ...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) Main.java:17: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330233759|p02677|0
u330233759|p02677|0
codenet
Compile Error
621
v2_s128950211
s128950211
s128950211
p02677
p02677
u330233759
u330233759
1,590,258,797
2020-05-23T18:33:17
Main.java
import java.util.Scanner; public static void main(String[] args){ Scanner scan = new Scanner(System.in); double Pai = 3.141592653589793238462643383279; double a = scan.nextInt(); double b = scan.nextInt(); dou...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) Main.java:17: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330233759|p02677|0
u330233759|p02677|0
codenet
Compile Error
689
v2_s917144133
s917144133
s917144133
p02677
p02677
u330233759
u330233759
1,590,258,918
2020-05-23T18:35:18
Main.java
import java.util.Scanner; public static void main(String[] args){ Scanner scan = new Scanner(System.in); double Pai = 3.141592653589793238462643383279; double a = scan.nextInt(); double b = scan.nextInt()...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330233759|p02677|0
u330233759|p02677|0
codenet
Compile Error
756
v2_s989934972
s989934972
s989934972
p02677
p02677
u397604928
u397604928
1,589,764,865
2020-05-18T01:21:05
Main.java
public class Main { public static void main(String[] args) { //コード Scanner sc = new Scanner(System.in); // File file = new File("src/in.txt"); // Scanner sc = new Scanner(file); int A = sc.nextInt(); int B = sc.nextInt(); int H = sc.nextInt(); int M = sc.nextInt(); do...
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
u397604928|p02677|0
u397604928|p02677|0
codenet
Compile Error
550
v2_s824631586
s824631586
s824631586
p02677
p02677
u425261844
u425261844
1,589,769,135
2020-05-18T02:32:15
Main.java
public class Main { public static void main(String args[]) { Scanner scn = new Scanner(System.in); double a = scn.nextInt(); double b = scn.nextInt(); double h = scn.nextInt(); double m = scn.nextInt(); double ans = 0; double r = Math.abs(((((h * 60) + m) / ...
Main.java:4: error: cannot find symbol Scanner scn = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scn = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u425261844|p02677|0
u425261844|p02677|0
codenet
Compile Error
664
v2_s845242585
s845242585
s845242585
p02677
p02677
u486466217
u486466217
1,589,767,829
2020-05-18T02:10:29
Main.java
import java.util.*; import java. public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // スペース区切りの整数の入力 int tyoushin=sc.nextInt(); int tanshin=sc.nextInt(); int jikan=sc.nextInt(); int hun=sc.nextInt(); float hena=tyoushin; float h...
Main.java:2: error: <identifier> expected import java. ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u486466217|p02677|0
u486466217|p02677|0
codenet
Compile Error
489
v2_s722209812
s722209812
s722209812
p02677
p02677
u486466217
u486466217
1,589,767,857
2020-05-18T02:10:57
Main.java
import java.util.*; import java.Math.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // スペース区切りの整数の入力 int tyoushin=sc.nextInt(); int tanshin=sc.nextInt(); int jikan=sc.nextInt(); int hun=sc.nextInt(); float hena=tyoushin; ...
Main.java:2: error: package java.Math does not exist import java.Math.*; ^ Main.java:13: error: cannot find symbol float kaku=toRadians(abs((jikan*30+30*hun/60)-hun*6)); ^ symbol: method abs(int) location: class Main Main.java:14: error: cannot find symbol float k...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u486466217|p02677|0
u486466217|p02677|0
codenet
Compile Error
496
v2_s740188045
s740188045
s740188045
p02677
p02677
u486466217
u486466217
1,589,767,895
2020-05-18T02:11:35
Main.java
import java.util.*; import java.lang.Math.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // スペース区切りの整数の入力 int tyoushin=sc.nextInt(); int tanshin=sc.nextInt(); int jikan=sc.nextInt(); int hun=sc.nextInt(); float hena=tyoushin; ...
Main.java:13: error: cannot find symbol float kaku=toRadians(abs((jikan*30+30*hun/60)-hun*6)); ^ symbol: method abs(int) location: class Main Main.java:14: error: cannot find symbol float kai=(sqrt(hena*hena+henb*henb+hena*henb*cos(kaku))); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u486466217|p02677|0
u486466217|p02677|0
codenet
Compile Error
501
v2_s201653096
s201653096
s201653096
p02677
p02677
u486466217
u486466217
1,589,768,304
2020-05-18T02:18:24
Main.java
import java.util.*; import java.lang.Math.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // スペース区切りの整数の入力 int tyoushin=sc.nextInt(); int tanshin=sc.nextInt(); int jikan=sc.nextInt(); int hun=sc.nextInt(); double hena=tyoushin; ...
Main.java:13: error: cannot find symbol double kaku=toRadians(abs((jikan*30+30*hun/60)-hun*6)); ^ symbol: method abs(int) location: class Main Main.java:14: error: cannot find symbol double kai=(sqrt(hena*hena+henb*henb+hena*henb*cos(kaku))); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u486466217|p02677|0
u486466217|p02677|0
codenet
Compile Error
505
v2_s014530883
s014530883
s014530883
p02677
p02677
u486466217
u486466217
1,589,768,386
2020-05-18T02:19:46
Main.java
import java.util.*; import java.lang.Math.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // スペース区切りの整数の入力 int tyoushin=sc.nextInt(); int tanshin=sc.nextInt(); int jikan=sc.nextInt(); int hun=sc.nextInt(); double hena=tyoushin; ...
Main.java:13: error: cannot find symbol double kaku=toRadians(Math.abs((jikan*30+30*hun/60)-hun*6)); ^ symbol: method toRadians(int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u486466217|p02677|0
u486466217|p02677|0
codenet
Compile Error
519
v2_s889106948
s889106948
s889106948
p02677
p02677
u489126017
u489126017
1,590,592,469
2020-05-27T15:14:29
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int H = sc.nextInt(); int M = sc.nextInt(); double kakudoTansin = 30 * H + 0.5 * M; double kakudoTyousin = 6 * M; double kaku...
Main.java:17: error: cannot find symbol double cnizyou = A * A + B * B - 2 * A * B * Math.cos(kakudo * (Math.pi/180)); ^ symbol: variable pi location: class Math 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u489126017|p02677|0
u489126017|p02677|0
codenet
Compile Error
575
v2_s082734129
s082734129
s082734129
p02677
p02677
u547407782
u547407782
1,589,851,500
2020-05-19T01:25:00
Main.java
import java.util.*; import java.lang.*; import java.io.*; class Main{ public static void main(String[] args){ int a = sc.nextInt(); int b = sc.nextInt(); int h = sc.nextInt(); int m = sc.nextInt(); int re = (h*h)+(r*r); double res = Math.sqrt(re); System.out.println(res); } }
Main.java:6: error: cannot find symbol int a = sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:7: error: cannot find symbol int b = sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:8: error: cannot find symbol int h = sc.nextInt(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547407782|p02677|0
u547407782|p02677|0
codenet
Compile Error
316
v2_s813497511
s813497511
s813497511
p02677
p02677
u571785964
u571785964
1,589,770,039
2020-05-18T02:47:19
Code.java
import org.omg.PortableInterceptor.INACTIVE; import java.math.*; import java.io.*; import java.util.*; import java.lang.*; //solution classes here public class Code { //main solution here static Scanner sc = new Scanner(System.in); static PrintWriter out = new PrintWriter(System.out); static long m...
Code.java:1: error: package org.omg.PortableInterceptor does not exist import org.omg.PortableInterceptor.INACTIVE; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u571785964|p02677|0
u571785964|p02677|0
codenet
Compile Error
4,023
v2_s866172533
s866172533
s866172533
p02677
p02677
u571785964
u571785964
1,589,770,065
2020-05-18T02:47:45
Main.java
import org.omg.PortableInterceptor.INACTIVE; import java.math.*; import java.io.*; import java.util.*; import java.lang.*; //solution classes here public class Main { //main solution here static Scanner sc = new Scanner(System.in); static PrintWriter out = new PrintWriter(System.out); static long m...
Main.java:1: error: package org.omg.PortableInterceptor does not exist import org.omg.PortableInterceptor.INACTIVE; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u571785964|p02677|0
u571785964|p02677|0
codenet
Compile Error
4,023
v2_s285918246
s285918246
s285918246
p02677
p02677
u588283533
u588283533
1,590,158,102
2020-05-22T14:35:02
Main.java
/* C - :(Colon) */ import java.util.*; static class Colon { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int A = scan.nextInt(); int B = scan.nextInt(); int H = scan.nextInt(); int M = scan.nextInt(); double arg1 = 30 * H + 0.5 * M; double arg2 = 6 * M;...
Main.java:5: error: modifier static not allowed here static class Colon { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u588283533|p02677|0
u588283533|p02677|0
codenet
Compile Error
589
v2_s037447936
s037447936
s037447936
p02677
p02677
u588283533
u588283533
1,590,158,121
2020-05-22T14:35:21
Main.java
/* C - :(Colon) */ import java.util.*; private class Colon { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int A = scan.nextInt(); int B = scan.nextInt(); int H = scan.nextInt(); int M = scan.nextInt(); double arg1 = 30 * H + 0.5 * M; double arg2 = 6 * M...
Main.java:5: error: modifier private not allowed here private class Colon { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u588283533|p02677|0
u588283533|p02677|0
codenet
Compile Error
590
v2_s458488769
s458488769
s458488769
p02677
p02677
u610133777
u610133777
1,589,770,631
2020-05-18T02:57:11
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 H = scan.nextInt(); int M = scan.nextInt(); double Hr = 0; double Mr = 0; double R = 0; double result = 0; double tmp = 0;...
Main.java:16: error: cannot find symbol double ang = (H*60+M)*360/(12*60)-m*360/60; ^ symbol: variable m location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u610133777|p02677|0
u610133777|p02677|0
codenet
Compile Error
563
v2_s280105415
s280105415
s280105415
p02677
p02677
u633565318
u633565318
1,589,769,356
2020-05-18T02:35:56
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 H = sc.nextInt(); int M = sc.nextInt(); double x1 = B * Math.cos((Math.PI)/2 - (M*Math.PI)/30); double y1 = B * Math.sin((Math.PI)/2 - (M*Math...
Main.java:16: error: ';' expected double y2 = A * Math.sin((Math.PI))/2 - (H*Math.PI)/6); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u633565318|p02677|0
u633565318|p02677|0
codenet
Compile Error
640
v2_s874952634
s874952634
s874952634
p02677
p02677
u659156129
u659156129
1,594,734,678
2020-07-14T13:51:18
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); int a = scn.nextInt(); int b = scn.nextInt(); int h = scn.nextInt(); int m = scn.nextInt(); double hh = h*30; double mm = m*6; double x = 0; ...
Main.java:27: error: cannot find symbol double ans2 = a*a + b*b - 2*b*c*cosx; ^ symbol: variable c location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p02677|0
u659156129|p02677|0
codenet
Compile Error
696
v2_s092174876
s092174876
s092174876
p02677
p02677
u685713996
u685713996
1,589,768,030
2020-05-18T02:13:50
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int h = sc.nextInt(); int m = sc.nextInt(); int angH = 30*h; int angM = 6*m; int ang = Math.abs(angH - angM); double c...
Main.java:18: error: reached end of file while parsing r ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u685713996|p02677|0
u685713996|p02677|0
codenet
Compile Error
399
v2_s100960922
s100960922
s100960922
p02677
p02677
u685713996
u685713996
1,589,768,556
2020-05-18T02:22:36
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int h = sc.nextInt(); int m = sc.nextInt(); double angH = 30*h; double angM = 5.5*m; double ang = Math.abs(angH - angM); ...
Main.java:18: error: reached end of file while parsing r ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u685713996|p02677|0
u685713996|p02677|0
codenet
Compile Error
411
v2_s889396082
s889396082
s889396082
p02677
p02677
u688281605
u688281605
1,589,769,143
2020-05-18T02:32:23
Main.java
import java.util.Scanner; 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 h = sc.nextInt(); int m = sc.nextInt(); //短針が進む角度 double tanshin = 0.5 *m + 30*h; /...
Main.java:20: error: illegal character: '\u3000' }else if(kakudo == 0?|| kakudo == 180){ ^ Main.java:20: error: not a statement }else if(kakudo == 0?|| kakudo == 180){ ^ Main.java:20: error: ';' expected }else if(kakudo == 0?|| kakudo == 1...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u688281605|p02677|0
u688281605|p02677|0
codenet
Compile Error
932
v2_s007752002
s007752002
s007752002
p02677
p02677
u688281605
u688281605
1,589,769,531
2020-05-18T02:38:51
Main.java
import java.util.Scanner; 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 h = sc.nextInt(); int m = sc.nextInt(); //短針が進む角度 double tanshin = 0.5 *m + 30*h; /...
Main.java:34: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u688281605|p02677|0
u688281605|p02677|0
codenet
Compile Error
778
v2_s708324305
s708324305
s708324305
p02677
p02677
u690844139
u690844139
1,589,769,576
2020-05-18T02:39:36
Main.java
import java.util.*; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int h = sc.nextInt(); int m= sc.nextInt(); int time = h*60+m; double...
Main.java:16: error: cannot find symbol r = w/360; ^ symbol: variable r location: class Main Main.java:17: error: cannot find symbol w = w- r*360; ^ symbol: variable r location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u690844139|p02677|0
u690844139|p02677|0
codenet
Compile Error
601
v2_s516532102
s516532102
s516532102
p02677
p02677
u732488108
u732488108
1,589,766,476
2020-05-18T01:47:56
Main.java
import java.util.Scanner; // https://atcoder.jp/contests/abc168/tasks/abc168_c public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); double a = sc.nextDouble(); double b = sc.nextDouble(); double h = sc.nextDouble(); double m = sc.nextD...
Main.java:4: error: illegal character: '\u3000' public class?Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u732488108|p02677|0
u732488108|p02677|0
codenet
Compile Error
645
v2_s049568763
s049568763
s049568763
p02677
p02677
u803768889
u803768889
1,589,769,958
2020-05-18T02:45:58
Main.java
import java.util.Scanner; import java.lang.Math; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int H = sc.nextInt(); int M = sc.nextInt(); float rad = Math.abs(H*30+0.5M - M*6); ...
Main.java:12: error: ')' or ',' expected float rad = Math.abs(H*30+0.5M - M*6); ^ Main.java:12: error: not a statement float rad = Math.abs(H*30+0.5M - M*6); ^ Main.java:12: error: ';' expected float rad = Math.abs(H*30+...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803768889|p02677|0
u803768889|p02677|0
codenet
Compile Error
547
v2_s251266069
s251266069
s251266069
p02677
p02677
u803768889
u803768889
1,589,770,001
2020-05-18T02:46:41
Main.java
import java.util.Scanner; import java.lang.Math; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int H = sc.nextInt(); int M = sc.nextInt(); float rad = Math.abs(H*30+M*0.5 - M*6); ...
Main.java:12: error: incompatible types: possible lossy conversion from double to float float rad = Math.abs(H*30+M*0.5 - M*6); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803768889|p02677|0
u803768889|p02677|0
codenet
Compile Error
548
v2_s939729155
s939729155
s939729155
p02677
p02677
u808160425
u808160425
1,589,764,664
2020-05-18T01:17:44
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int b = sc.nextInt();//1辺目 int c = sc.nextInt();//2辺目 int x = sc.nextInt(); int y = sc.nextInt(); double xr = 360*(x*60 + y) / 720; double yr = 360*y / 60 double e = Math.ma...
Main.java:10: error: ';' expected double yr = 360*y / 60 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u808160425|p02677|0
u808160425|p02677|0
codenet
Compile Error
463
v2_s603695836
s603695836
s603695836
p02677
p02677
u835335967
u835335967
1,589,767,437
2020-05-18T02:03:57
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner kbd =new Scanner(System.in); int a=kbd.nextInt(); int b=kbd.nextInt(); int h=kbd.nextInt(); int m=kbd.nextInt(); double A=h*30+m*0.5; double B=m*6; double C=0; if(A-B>=0){ C=A-B; ...
Main.java:26: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u835335967|p02677|0
u835335967|p02677|0
codenet
Compile Error
545
v2_s842773414
s842773414
s842773414
p02677
p02677
u857143297
u857143297
1,589,769,584
2020-05-18T02:39:44
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 H = sc.nextInt(); int M = sc.nextInt(); if(H == 0) H = 12; int H2 = (H * 60 + M) * 360 / (12 * 60); int...
Main.java:28: error: cannot find symbol floot cos = Math.cos(Math.toRadians(kakudo)); ^ symbol: class floot location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u857143297|p02677|0
u857143297|p02677|0
codenet
Compile Error
820
v2_s730021888
s730021888
s730021888
p02677
p02677
u857143297
u857143297
1,589,769,893
2020-05-18T02:44:53
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 H = sc.nextInt(); int M = sc.nextInt(); if(H == 0) H = 12; double H2 = (H * 60 + M) * 360 / (12 * 60); ...
Main.java:26: error: cannot find symbol ans = Math.sqrt((A*A)+(B*B)-(2*A*B*cos)); ^ symbol: variable ans location: class Main Main.java:28: error: cannot find symbol System.out.println(ans); ^ symbol: variable ans location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u857143297|p02677|0
u857143297|p02677|0
codenet
Compile Error
751
v2_s652761610
s652761610
s652761610
p02677
p02677
u877861415
u877861415
1,589,888,385
2020-05-19T11:39:45
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String A = scan.next(); int a = Integer.parseInt(A); String B = scan.next(); int b = Integer.parseInt(B); String H = scan.next(); in...
Main.java:15: error: ';' expected double angle = Math.abs((30 * h + 0.5 * m) - 6 * m) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u877861415|p02677|1
u877861415|p02677|1
codenet
Compile Error
738
v2_s310846099
s310846099
s310846099
p02677
p02677
u901705471
u901705471
1,590,470,276
2020-05-26T05:17:56
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 H = scan.nextInt(); int M = scan.nextInt(); int h = (double)H*30; int m = (double)M*6; double ans = Math.sqrt(...
Main.java:9: error: incompatible types: possible lossy conversion from double to int int h = (double)H*30; ^ Main.java:10: error: incompatible types: possible lossy conversion from double to int int m = (double)M*6; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u901705471|p02677|0
u901705471|p02677|0
codenet
Compile Error
414
v2_s959704648
s959704648
s959704648
p02677
p02677
u924711195
u924711195
1,592,013,740
2020-06-13T02:02:20
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 h = scan.nextInt(); int m = scan.nextInt(); int time = h*60+m;//分 double bt = time*6%360;//分針角度 double at = time/2;//時針角度 d...
Main.java:18: error: class, interface, enum, or record expected import java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u924711195|p02677|0
u924711195|p02677|0
codenet
Compile Error
1,126
v2_s666298768
s666298768
s666298768
p02677
p02677
u964879860
u964879860
1,590,909,743
2020-05-31T07:22:23
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 h=sc.nextInt(); int m=sc.nextInt(); int hdeg=30*h; int mdeg=6*m; int deg=Math.abs(hedg-mdeg); double cosdeg=Math.cos(deg*...
Main.java:13: error: cannot find symbol int deg=Math.abs(hedg-mdeg); ^ symbol: variable hedg location: class Main Main.java:14: error: cannot find symbol double cosdeg=Math.cos(deg*Math.pi/180); ^ symbol: variable pi location: class Math Main.j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964879860|p02677|0
u964879860|p02677|0
codenet
Compile Error
455
v2_s812047886
s812047886
s812047886
p02677
p02677
u964879860
u964879860
1,590,909,827
2020-05-31T07:23:47
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 h=sc.nextInt(); int m=sc.nextInt(); int hdeg=30*h; int mdeg=6*m; int deg=Math.abs(hdeg-mdeg); double cosdeg=Math.cos(deg*...
Main.java:17: error: cannot find symbol double c=Math.sqrt(asqr+bsqr-2*a*b*cosdeg); ^ symbol: variable asqr location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964879860|p02677|0
u964879860|p02677|0
codenet
Compile Error
457
v2_s001206574
s001206574
s001206574
p02678
p02678
u005491552
u005491552
1,589,846,018
2020-05-18T23:53:38
Main.java
import java.util.*; import java.io.*; public class Main { static StringTokenizer st; static BufferedReader br; static PrintWriter out; static int parent[]; public static void main(String[] args) throws IOException { br = new BufferedReader(new InputStreamReader(System.in)); ...
Main.java:14: error: cannot find symbol int N = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:15: error: cannot find symbol int M = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:27: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u005491552|p02678|0
u005491552|p02678|0
codenet
Compile Error
1,747
v2_s480972131
s480972131
s480972131
p02678
p02678
u144577080
u144577080
1,589,766,277
2020-05-18T01:44:37
Main.java
import static java.lang.Integer.*; import static java.lang.Long.*; import static java.lang.System.*; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { static void solve() throws Exception ...
Main.java:86: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u144577080|p02678|0
u144577080|p02678|0
codenet
Compile Error
2,265
v2_s206817142
s206817142
s206817142
p02678
p02678
u144577080
u144577080
1,589,769,171
2020-05-18T02:32:51
Main.java
public class Main { @SuppressWarnings("unchecked") static void solve() throws Exception { int N = scanInt(), M = scanInt(); int[][] load = new int[N][N]; int[] index = new int[N]; int[] ans = new int[N]; ans[0] = 1; int count = 0; for (int i = 0; i < M; i...
Main.java:63: error: cannot find symbol static int scanInt() throws IOException { ^ symbol: class IOException location: class Main Main.java:67: error: cannot find symbol static long scanLong() throws IOException { ^ symbol: class IOExc...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u144577080|p02678|0
u144577080|p02678|0
codenet
Compile Error
2,645
v2_s432285822
s432285822
s432285822
p02678
p02678
u218740431
u218740431
1,589,769,322
2020-05-18T02:35:22
Main.java
System.out.println("No");
Main.java:1: error: class, interface, enum, or record expected System.out.println("No"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02678|0
u218740431|p02678|0
codenet
Compile Error
25
v2_s647548987
s647548987
s647548987
p02678
p02678
u255154774
u255154774
1,589,766,975
2020-05-18T01:56:15
Main.java
#include <bits/stdc++.h> #include <iostream> using namespace std; long long n,m; struct Passages{ long long x,y; }; Passages p[200050]; long long ans[200050]; bool b[100500]; int main() { cin>>n>>m; queue<long long>q; for(int i=2;i<=n;i++) b[i] = true; int count=1; for(int i=0;i<m;i++) {...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:2: error: illegal character: '#' #include <iostream> ^ Main.java:4: error: class, interface, enum, or record expected long long n,m; ^ Main.j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u255154774|p02678|0
u255154774|p02678|0
codenet
Compile Error
1,715
v2_s721086067
s721086067
s721086067
p02678
p02678
u256155910
u256155910
1,589,769,703
2020-05-18T02:41:43
Main.java
import java.util.ArrayList; import java.util.Collection; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner=new Scanner(System.in); int n=scanner.nextInt(); int m=scanner.nextInt(); int start,end; ArrayList<Node> nodes=new ArrayList<Node>(); nodes.add...
Main.java:34: error: <identifier> expected if(nodes.get(n1).pre==nodes.get(nodes.get(i).next.get(j)).) { ^ Main.java:51: error: <identifier> expected if(nodes.get(n1).pre==nodes.get(nodes.get(i).next.get(j)).) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u256155910|p02678|0
u256155910|p02678|0
codenet
Compile Error
2,398
v2_s322965840
s322965840
s322965840
p02678
p02678
u256155910
u256155910
1,589,769,760
2020-05-18T02:42:40
Main.java
import java.util.ArrayList; import java.util.Collection; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner=new Scanner(System.in); int n=scanner.nextInt(); int m=scanner.nextInt(); int start,end; ArrayList<Node> nodes=new ArrayList<Node>(); nodes.add...
Main.java:34: error: <identifier> expected if(nodes.get(n1).pre==nodes.get(nodes.get(i).next.get(j)).) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u256155910|p02678|0
u256155910|p02678|0
codenet
Compile Error
2,249
v2_s107355724
s107355724
s107355724
p02678
p02678
u274962354
u274962354
1,589,765,474
2020-05-18T01:31:14
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Deque; import java.util.List; import java.util.NoSuchElementException; import java.util.Random; import java.util.Scanner; class UnionFind{ int Parent[]; UnionFin...
Main.java:119: error: cannot find symbol cnt++; ^ symbol: variable cnt location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u274962354|p02678|0
u274962354|p02678|0
codenet
Compile Error
7,910
v2_s383335281
s383335281
s383335281
p02678
p02678
u327827520
u327827520
1,590,462,515
2020-05-26T03:08:35
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); final int N = sc.nextInt(), M = sc.nextInt(); int[][] route = new int[M][2]; for(int i=0;i<M;i++){ ...
Main.java:38: error: ';' expected queue.add(destination[queue.get(i)].get(j)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u327827520|p02678|0
u327827520|p02678|0
codenet
Compile Error
1,530
v2_s909462976
s909462976
s909462976
p02678
p02678
u327827520
u327827520
1,590,462,542
2020-05-26T03:09:02
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); final int N = sc.nextInt(), M = sc.nextInt(); int[][] route = new int[M][2]; for(int i=0;i<M;i++){ ...
Main.java:38: error: ';' expected queue.add(destination[queue.get(i)].get(j)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u327827520|p02678|0
u327827520|p02678|0
codenet
Compile Error
1,530
v2_s359743726
s359743726
s359743726
p02678
p02678
u509377162
u509377162
1,589,986,533
2020-05-20T14:55:33
Main.java
// This template is based on Mr. tonymontaro's template (https://atcoder.jp/users/tonymontaro). import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.util.StringTokenizer; // For flatten() required Java8 i...
Main.java:70: error: cannot find symbol out.println(dist[i] + 1); ^ symbol: variable dist location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u509377162|p02678|0
u509377162|p02678|0
codenet
Compile Error
5,616
v2_s682125051
s682125051
s682125051
p02678
p02678
u542279262
u542279262
1,589,814,854
2020-05-18T15:14:14
Main.java
6 9 3 4 6 1 2 4 5 3 4 6 1 5 6 2 4 5 5 6
Main.java:1: error: class, interface, enum, or record expected 6 9 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u542279262|p02678|0
u542279262|p02678|0
codenet
Compile Error
39
v2_s035389040
s035389040
s035389040
p02678
p02678
u589524759
u589524759
1,589,766,464
2020-05-18T01:47:44
Main.java
import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.PriorityQueue; import java.util.Scanner; import java.util.Set; public class Main { private static final Scanner SCANNER = new Scanner(System.in); static int readOneInt() { String line =...
Main.java:45: error: incompatible types: int[] cannot be converted to int int[] s = new int[s]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u589524759|p02678|0
u589524759|p02678|0
codenet
Compile Error
2,741
v2_s406739057
s406739057
s406739057
p02678
p02678
u847535452
u847535452
1,590,262,326
2020-05-23T19:32:06
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 m=sc.nextInt(); ArrayList<Integer>[] list=new ArrayList[n+1]; for(int i=0;i<n+1;i++){ list[i]=new ArrayList(); } for(int i=0;i<m;i++){ int a=sc.nextInt...
Main.java:26: error: cannot find symbol Arrays.fill(dist,-1); ^ symbol: variable dist location: class Main Main.java:30: error: cannot find symbol dist[0]=0; ^ symbol: variable dist location: class Main Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unch...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u847535452|p02678|1
u847535452|p02678|0
codenet
Compile Error
922
v2_s264570857
s264570857
s264570857
p02678
p02678
u876982823
u876982823
1,589,771,632
2020-05-18T03:13:52
Main.java
import java.util.*; public class Main { static int m; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); m = sc.nextInt(); ArrayList<Road> roads = new ArrayList<>(); int res[] = new int[n]; Arrays.fill(res, -1); LinkedList<Integer> nexts ...
Main.java:47: error: ';' expected int size2 = remInd.size() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u876982823|p02678|0
u876982823|p02678|0
codenet
Compile Error
1,622
v2_s632929775
s632929775
s632929775
p02678
p02678
u951706666
u951706666
1,589,780,126
2020-05-18T05:35:26
Main.java
import java.util.*; public class Main{ static class Room{ int num; Map<Integer, Room> joint = new HashMap<>(); int mark = -1; Room(int num){ this.num = num; } } public static void main(String[] args){ Scanner sc = new Scanner(System.in); ...
Main.java:54: error: cannot find symbol sb.append(map.get(i + 1).i.mark).append("\n"); ^ symbol: variable i location: class Room 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u951706666|p02678|1
u951706666|p02678|0
codenet
Compile Error
1,313
v2_s344931351
s344931351
s344931351
p02678
p02678
u951706666
u951706666
1,589,780,464
2020-05-18T05:41:04
Main.java
import java.util.*; public class Main{ static class Room{ int num; Map<Integer, Room> joint = new HashMap<>(); int mark = -1; Room(int num){ this.num = num; } } public static void main(String[] args){ Scanner sc = new Scanner(System.in); ...
Main.java:54: error: cannot find symbol sb.append(map.get(i + 1).i.mark).append("\n"); ^ symbol: variable i location: class Room 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u951706666|p02678|1
u951706666|p02678|0
codenet
Compile Error
1,313
v2_s357185146
s357185146
s357185146
p02679
p02679
u018679195
u018679195
1,595,501,288
2020-07-23T10:48:08
Main.java
#include <bits/stdc++.h> using namespace std; typedef vector<int> vi; typedef pair<int, int> ii; typedef vector<ii> vii; typedef long long ll; typedef unsigned long long ull; #define faster ios_base::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr); #define debug(x) cout<<#x<<" = "<<(x)<< endl #define nl "\...
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:5: error: class, interface, enum, or record expected typedef vector<int> vi; ^ Main.java:6: error: class, interface, enum, or record expected...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p02679|1
u018679195|p02679|1
codenet
Compile Error
1,006
v2_s770042236
s770042236
s770042236
p02679
p02679
u161210585
u161210585
1,590,618,150
2020-05-27T22:22:30
Main.java
1. import java.util.*; 2. import java.io.*; 3.   4. public class Main { 5. public static void main(String[] args) throws Exception { 6. BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); 7. int N = Integer.parseInt(br.readLine()); 8. 9. Map<List<Long>, List<Lo...
Main.java:1: error: class, interface, enum, or record expected 1. import java.util.*; ^ Main.java:2: error: class, interface, enum, or record expected 2. import java.io.*; ^ Main.java:3: error: class, interface, enum, or record expected 3. ? ^ Main.java:3: error: illegal character: '\u00a0' 3. ? ^ Main.java:5: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u161210585|p02679|2
u161210585|p02679|1
codenet
Compile Error
5,497
v2_s066598904
s066598904
s066598904
p02679
p02679
u276152693
u276152693
1,596,213,078
2020-07-31T16:31:18
Main.java
import java.io.*; import static java.lang.Math.*; public class Main { private static final int MOD = (int)1e9 + 7; //998244353; public Main(FastScanner in, PrintWriter out) { int N = in.nextInt(); Pair<Long, Long>[] A = new Pair[N]; Map<Pair<Long, Long>, Integer> set = new HashMap<>()...
Main.java:11: error: cannot find symbol Map<Pair<Long, Long>, Integer> set = new HashMap<>(); ^ symbol: class Map location: class Main Main.java:11: error: cannot find symbol Map<Pair<Long, Long>, Integer> set = new HashMap<>(); ^ symbol: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276152693|p02679|0
u276152693|p02679|0
codenet
Compile Error
5,446
v2_s377919553
s377919553
s377919553
p02679
p02679
u504228740
u504228740
1,590,009,446
2020-05-20T21:17:26
Main.java
import java.util.*; import java.io.PrintWriter; public class Main{ static long mod=1000000007; static HashMap<String,String> bbb=new HashMap<>(); public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); HashMap<String,Integer> aumap=new HashMap<>(); int zero=0; int az=...
Main.java:44: error: ';' expected ans=ans*pow(2,aumap.get(i))%mod ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u504228740|p02679|2
u504228740|p02679|1
codenet
Compile Error
1,913
v2_s086244814
s086244814
s086244814
p02679
p02679
u568253377
u568253377
1,589,769,541
2020-05-18T02:39:01
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); ArrayList<Integer> iwashies = new ArrayList<Integer>(); for(int i = 0; i < n; i++){ int a = ...
Main.java:29: error: non-static method calcNumOfCombination(int,int) cannot be referenced from a static context challNum += calcNumOfCombination(favCount,j); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568253377|p02679|0
u568253377|p02679|0
codenet
Compile Error
1,292
v2_s724754545
s724754545
s724754545
p02679
p02679
u591075912
u591075912
1,589,784,160
2020-05-18T06:42:40
Main.java
import javafx.util.Pair; import java.io.*; import java.util.*; public class Main { private static final long INF = Long.MAX_VALUE; private static final int MOD = 1000000007; private long pow(long a, long n) { long ret = 1; long base = a; while (n > 0) { if ((n & 1) > ...
Main.java:2: error: package javafx.util does not exist import javafx.util.Pair; ^ Main.java:24: error: cannot find symbol private void add(Map<Pair<Long, Long>, int[]> cnt, Pair<Long, Long> key, int i) { ^ symbol: class Pair location: class Main Main.java:24: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u591075912|p02679|0
u591075912|p02679|0
codenet
Compile Error
3,020
v2_s054542185
s054542185
s054542185
p02679
p02679
u591075912
u591075912
1,589,784,221
2020-05-18T06:43:41
Main.java
import javafx.util.Pair; import java.io.*; import java.util.*; public class Main { private static final long INF = Long.MAX_VALUE; private static final int MOD = 1000000007; private long pow(long a, long n) { long ret = 1; long base = a; while (n > 0) { if ((n & 1) > ...
Main.java:2: error: package javafx.util does not exist import javafx.util.Pair; ^ Main.java:24: error: cannot find symbol private void add(Map<Pair<Long, Long>, int[]> cnt, Pair<Long, Long> key, int i) { ^ symbol: class Pair location: class Main Main.java:24: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u591075912|p02679|0
u591075912|p02679|0
codenet
Compile Error
3,020
v2_s002733873
s002733873
s002733873
p02679
p02679
u653981267
u653981267
1,595,636,023
2020-07-25T00:13:43
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); HashMap<Long, HashMap<Long, Long>> map = new HashMap<Long, HashMap<Long, Long>>(); long MOD = (long)1000000007; long[] rui = new long[n + 1]; rui[0] = 1;...
Main.java:71: error: class, interface, enum, or record expected } */ ^ Main.java:73: error: class, interface, enum, or record expected for(int i = 0; i < n; i++) { ^ Main.java:73: error: class, interface, enum, or record expected for(int i = 0; i < n; i++) { ^ Main.java:73: erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02679|0
u653981267|p02679|0
codenet
Compile Error
3,112
v2_s922590048
s922590048
s922590048
p02679
p02679
u653981267
u653981267
1,595,636,081
2020-07-25T00:14:41
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); HashMap<Long, HashMap<Long, Long>> map = new HashMap<Long, HashMap<Long, Long>>(); long MOD = (long)1000000007; long[] rui = new long[n + 1]; rui[0] = 1...
Main.java:114: error: cannot find symbol ans = (ans + c) % MOD; ^ symbol: variable ans location: class Main Main.java:114: error: cannot find symbol ans = (ans + c) % MOD; ^ symbol: variable ans location: class Main Main.java:114: error: cannot find symbol ans = (ans + c) % MOD; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02679|0
u653981267|p02679|0
codenet
Compile Error
3,077
v2_s452865612
s452865612
s452865612
p02679
p02679
u653981267
u653981267
1,595,636,171
2020-07-25T00:16:11
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); HashMap<Long, HashMap<Long, Long>> map = new HashMap<Long, HashMap<Long, Long>>(); long MOD = (long)1000000007; long[] rui = new long[n + 1]; rui[0] = 1...
Main.java:114: error: cannot find symbol long ans = zero; ^ symbol: variable zero location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02679|0
u653981267|p02679|0
codenet
Compile Error
3,115
v2_s123917280
s123917280
s123917280
p02679
p02679
u653981267
u653981267
1,595,637,355
2020-07-25T00:35:55
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); HashMap<Long, HashMap<Long, Long>> map = new HashMap<Long, HashMap<Long, Long>>(); long MOD = (long)1000000007; long[] rui = new long[n + 1]; rui[0] = 1...
Main.java:111: error: cannot find symbol for(int i = 0; i < list.size(); i++) { ^ symbol: variable list location: class Main Main.java:112: error: cannot find symbol c = (c * list.get(i)) % MOD; ^ symbol: variable list location: class Main Main.java:114: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02679|0
u653981267|p02679|0
codenet
Compile Error
3,077
v2_s082856164
s082856164
s082856164
p02679
p02679
u653981267
u653981267
1,595,637,412
2020-07-25T00:36:52
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); HashMap<Long, HashMap<Long, Long>> map = new HashMap<Long, HashMap<Long, Long>>(); long MOD = (long)1000000007; long[] rui = new long[n + 1]; rui[0] = 1;...
Main.java:113: error: cannot find symbol ans = (ans + c) % MOD; ^ symbol: variable ans location: class Main Main.java:113: error: cannot find symbol ans = (ans + c) % MOD; ^ symbol: variable ans location: class Main Main.java:114: error: cannot find symbol ans = (ans - 1 + MOD) % ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02679|0
u653981267|p02679|0
codenet
Compile Error
3,076
v2_s539595196
s539595196
s539595196
p02679
p02679
u653981267
u653981267
1,595,637,543
2020-07-25T00:39:03
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); HashMap<Long, HashMap<Long, Long>> map = new HashMap<Long, HashMap<Long, Long>>(); long MOD = (long)1000000007; long[] rui = new long[n + 1]; rui[0] = 1;...
Main.java:71: error: cannot find symbol long ans = zero; ^ symbol: variable zero location: class Main Main.java:73: error: cannot find symbol if((a[i] != 0) || (b[i] != 0)) { ^ symbol: variable a location: class Main Main.java:73: error: cannot find symbol if((a[i] !...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02679|0
u653981267|p02679|0
codenet
Compile Error
3,076
v2_s191412837
s191412837
s191412837
p02679
p02679
u653981267
u653981267
1,595,641,650
2020-07-25T01:47:30
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); HashMap<Long, HashMap<Long, Long>> map = new HashMap<Long, HashMap<Long, Long>>(); long MOD = (long)1000000007; long[] rui = new long[n + 1]; rui[0] = 1...
Main.java:74: error: illegal start of type for(int i = 0; i < n; i++) { ^ Main.java:74: error: > or ',' expected for(int i = 0; i < n; i++) { ^ Main.java:74: error: <identifier> expected for(int i = 0; i < n; i++) { ^ Main.java:112: error: illegal start...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02679|0
u653981267|p02679|0
codenet
Compile Error
3,086
v2_s250356479
s250356479
s250356479
p02679
p02679
u653981267
u653981267
1,595,648,412
2020-07-25T03:40:12
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); HashMap<Long, HashMap<Long, Long>> map = new HashMap<Long, HashMap<Long, Long>>(); long MOD = (long)1000000007; long[] rui = new long[n + 1]; rui[0] = 1;...
Main.java:60: error: cannot find symbol map0 = map.get(a[i]); ^ symbol: variable map0 location: class Main Main.java:61: error: cannot find symbol map0.put(b[i], (long)0); ^ symbol: variable map0 location: class Main Main.java:62: error: cannot find symbol map.put(a[i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02679|0
u653981267|p02679|0
codenet
Compile Error
3,156
v2_s816117823
s816117823
s816117823
p02679
p02679
u653981267
u653981267
1,595,648,460
2020-07-25T03:41:00
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); HashMap<Long, HashMap<Long, Long>> map = new HashMap<Long, HashMap<Long, Long>>(); long MOD = (long)1000000007; long[] rui = new long[n + 1]; rui[0] = 1...
Main.java:53: error: variable map0 is already defined in method main(String[]) HashMap<Long, Long> map0 = new HashMap<Long, Long>(); ^ Main.java:61: error: cannot find symbol map0 = map.get(a[i]); ^ symbol: variable map0 location: class Main Main.java:62: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02679|0
u653981267|p02679|0
codenet
Compile Error
3,177
v2_s234043246
s234043246
s234043246
p02679
p02679
u653981267
u653981267
1,595,648,510
2020-07-25T03:41:50
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); HashMap<Long, HashMap<Long, Long>> map = new HashMap<Long, HashMap<Long, Long>>(); long MOD = (long)1000000007; long[] rui = new long[n + 1]; rui[0] = 1...
Main.java:53: error: variable map0 is already defined in method main(String[]) HashMap<Long, Long> map0 = new HashMap<Long, Long>(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02679|0
u653981267|p02679|0
codenet
Compile Error
3,197
v2_s348346483
s348346483
s348346483
p02679
p02679
u683057705
u683057705
1,598,311,658
2020-08-24T23:27:38
Main.java
import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.uti...
Main.java:88: error: cannot find symbol static NumberTheoryUtils ntu; ^ symbol: class NumberTheoryUtils location: class Main Main.java:95: error: cannot find symbol ntu = new NumberTheoryUtils(); ^ symbol: class NumberTheoryUtils location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u683057705|p02679|0
u683057705|p02679|0
codenet
Compile Error
6,381
v2_s330339710
s330339710
s330339710
p02679
p02679
u763296413
u763296413
1,589,767,083
2020-05-18T01:58:03
Main.java
import javafx.util.Pair; import java.io.*; import java.math.BigDecimal; import java.math.BigInteger; import java.util.*; public class Main { static Input in = new Input(System.in); static PrintWriter out = new PrintWriter(System.out); public static void main(String[] args) { int N = in.nextInt();...
Main.java:1: error: package javafx.util does not exist import javafx.util.Pair; ^ Main.java:14: error: cannot find symbol Map<Pair<Long, Long>, Long> map0 = new HashMap<>(); ^ symbol: class Pair location: class Main Main.java:15: error: cannot find symbol Map<Pair<Lon...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u763296413|p02679|0
u763296413|p02679|0
codenet
Compile Error
3,355
v2_s460279539
s460279539
s460279539
p02679
p02679
u763296413
u763296413
1,589,767,698
2020-05-18T02:08:18
Main.java
import javafx.util.Pair; import java.io.*; import java.math.BigDecimal; import java.math.BigInteger; import java.util.*; public class Main { static Input in = new Input(System.in); static PrintWriter out = new PrintWriter(System.out); public static void main(String[] args) { int N = in.nextInt();...
Main.java:1: error: package javafx.util does not exist import javafx.util.Pair; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u763296413|p02679|0
u763296413|p02679|0
codenet
Compile Error
3,742
v2_s936705146
s936705146
s936705146
p02680
p02680
u499381410
u499381410
1,594,074,130
2020-07-06T22:22:10
Main.java
from collections import defaultdict, deque, Counter from heapq import heappush, heappop, heapify import bisect import random from itertools import permutations, accumulate, combinations, product import sys import string from bisect import bisect_left, bisect_right from math import factorial, ceil, floor, acos, asin, at...
Main.java:1: error: class, interface, enum, or record expected from collections import defaultdict, deque, Counter ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u499381410|p02680|0
u499381410|p02680|0
codenet
Compile Error
2,574