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_s824565791
s824565791
s824565791
p03768
p03768
u203286377
u203286377
1,491,876,578
2017-04-11T02:09:38
Main.java
import java.math.BigInteger; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Scanner; public class Main { public Main() { // TODO Auto-generated constructor stub } public static void main(String[] args) { SplatterPainting sp = new Spla...
Main.java:84: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u203286377|p03768|0
u203286377|p03768|0
codenet
Compile Error
1,680
v2_s662610899
s662610899
s662610899
p03768
p03768
u417212867
u417212867
1,601,409,096
2020-09-29T19:51:36
Main.java
import utils.GraphUtils; import java.io.*; import java.util.*; /** * Created by Katushka on 11.03.2020. */ public class Main { static int[] readArray(int size, InputReader in) { int[] a = new int[size]; for (int i = 0; i < size; i++) { a[i] = in.nextInt(); } return a...
Main.java:1: error: package utils does not exist import utils.GraphUtils; ^ Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u417212867|p03768|0
u417212867|p03768|0
codenet
Compile Error
5,004
v2_s355453917
s355453917
s355453917
p03768
p03768
u969605855
u969605855
1,491,104,940
2017-04-02T03:49: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(); int m = sc.nextInt(); int[] a = new int[2*m]; int[] b = new int[2*m]; int[] color = new int[n]; int[][] dist = new int[n][n]; for(int i=0;i<n;i++){ color[i] = 0...
Main.java:36: error: illegal start of type while(changed){ ^ Main.java:36: error: <identifier> expected while(changed){ ^ Main.java:66: error: illegal start of type for(int i=0; i<q; i++){ ^ Main.java:66: error: > or ',' expected for(int i=0; i<q; i++){ ^ Main.java:66: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969605855|p03768|0
u969605855|p03768|0
codenet
Compile Error
1,751
v2_s777549906
s777549906
s777549906
p03769
p03769
u142032032
u142032032
1,491,101,395
2017-04-02T02:49:55
Main.java
public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N = sc.nextLong(); long[] c = new long[200]; int[] result = new int[200]; int sum = 0; int num = 1; while(N!=0) { long pos = 0x0000000000000001L...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: 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
u142032032|p03769|0
u142032032|p03769|0
codenet
Compile Error
1,272
v2_s143972880
s143972880
s143972880
p03769
p03769
u142032032
u142032032
1,491,102,315
2017-04-02T03:05:15
Main.java
public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N = sc.nextLong(); long[] c = new long[200]; int[] result = new int[200]; int sum = 0; int num = 1; while(N!=0) { long pos = 0x0000000000000001L;...
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
u142032032|p03769|0
u142032032|p03769|0
codenet
Compile Error
1,386
v2_s068604611
s068604611
s068604611
p03773
p03773
u080877599
u080877599
1,490,923,383
2017-03-31T01:23:03
Main.java
public class Main{ public static main(String[] args){ int a, b,time; Scanner sc = new Scanner(); a = sc.nextInt(); b = sc.nextInt(); time = (a+b) % 24; System.out.println(time); } }
Main.java:2: error: invalid method declaration; return type required public static main(String[] args){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u080877599|p03773|0
u080877599|p03773|0
codenet
Compile Error
201
v2_s219476939
s219476939
s219476939
p03773
p03773
u080877599
u080877599
1,490,923,411
2017-03-31T01:23:31
Main.java
public class Main{ public static void main(String[] args){ int a, b,time; Scanner sc = new Scanner(); a = sc.nextInt(); b = sc.nextInt(); time = (a+b) % 24; System.out.println(time); } }
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u080877599|p03773|0
u080877599|p03773|0
codenet
Compile Error
206
v2_s949291799
s949291799
s949291799
p03773
p03773
u080877599
u080877599
1,490,923,480
2017-03-31T01:24:40
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ int a, b,time; Scanner sc = new Scanner(); a = sc.nextInt(); b = sc.nextInt(); time = (a+b) % 24; System.out.println(time); } }
Main.java:6: 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 (actu...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u080877599|p03773|0
u080877599|p03773|0
codenet
Compile Error
235
v2_s483717833
s483717833
s483717833
p03773
p03773
u146597538
u146597538
1,491,183,932
2017-04-03T01:45:32
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int a = sc.nextInt(); int b = sc.nextInt(); int ans if(a+b<24){ ans=a+b-24; }else{ ans=a+b; } System.out.println(ans); } }
Main.java:8: error: ';' expected int ans ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u146597538|p03773|0
u146597538|p03773|0
codenet
Compile Error
287
v2_s640486575
s640486575
s640486575
p03773
p03773
u241973797
u241973797
1,499,803,870
2017-07-11T20:11:10
Main.java
import java.util.Scanner; Scanner scan = new Scanner(System.in); System.out.print("開始時刻"); float a = scan.nextFloat(); System.out.print("経過時間"); float b = scan.nextFloat(); scan.close(); System.out.println("終了時間は" + (a + b) + "時です");
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. Scanner scan = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:4: error: class, interface, enum, or record expected System.out.print("????"); ^ Main.java:6: error: class, interface, enum...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u241973797|p03773|0
u241973797|p03773|0
codenet
Compile Error
286
v2_s540651523
s540651523
s540651523
p03773
p03773
u241973797
u241973797
1,499,806,195
2017-07-11T20:49:55
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); System.out.print("開始時刻"); int A = scan.nextInt(); System.out.print("経過時間"); int B = scan.nextInt(); scan.close(); if((A + B) >= 0 && (A + B) <= 23 ){ System.out.println(...
Main.java:16: error: ')' expected else if((A + B) < 0 (A + B) >= 24){ ^ Main.java:16: error: not a statement else if((A + B) < 0 (A + B) >= 24){ ^ Main.java:16: error: ';' expected else if((A + B) < 0 (A + B) >= 24){ ^ 3 e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u241973797|p03773|0
u241973797|p03773|0
codenet
Compile Error
474
v2_s296467803
s296467803
s296467803
p03773
p03773
u243492642
u243492642
1,491,079,475
2017-04-01T20:44:35
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = Scanner(System.in); int n = Integer.parseInt(sc.next()); int m = Integer.parseInt(sc.next()); System.out.println((n + m) % 24); sc.close(); } }
Main.java:5: error: cannot find symbol Scanner sc = Scanner(System.in); ^ symbol: method Scanner(InputStream) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u243492642|p03773|0
u243492642|p03773|0
codenet
Compile Error
289
v2_s153198874
s153198874
s153198874
p03773
p03773
u324881146
u324881146
1,582,842,655
2020-02-27T22:30:55
Main.java
import java.util.Scanner; public class Main public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println((a+b)%24); sc.close(); } }
Main.java:3: error: '{' expected public class Main ^ Main.java:5: 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:12: error: class, interface, enum, or recor...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u324881146|p03773|0
u324881146|p03773|0
codenet
Compile Error
225
v2_s275061914
s275061914
s275061914
p03773
p03773
u387775763
u387775763
1,573,189,602
2019-11-08T05:06:42
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if (a+b >=24) { System.out.println(a+b-24); } else if () { } else { System.out.println(a+b); } } }
Main.java:12: error: illegal start of expression } else if () { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u387775763|p03773|0
u387775763|p03773|0
codenet
Compile Error
310
v2_s467956220
s467956220
s467956220
p03773
p03773
u405193972
u405193972
1,490,895,155
2017-03-30T17:32:35
Main.java
import java.util.*; import java.lang.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); int W = Integer.parseInt(sc.next()); int ans; if(N+W>24) ans = Math.abs(24-(N...
Main.java:16: error: ';' expected else ans = N+W ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u405193972|p03773|0
u405193972|p03773|0
codenet
Compile Error
461
v2_s574603910
s574603910
s574603910
p03773
p03773
u431391395
u431391395
1,490,817,665
2017-03-29T20:01:05
Main.java
Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c=(a+b)%24; System.out.println(c);
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:5: error: class, interface, enum, or record expected System.out.println(c); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u431391395|p03773|0
u431391395|p03773|0
codenet
Compile Error
134
v2_s319119817
s319119817
s319119817
p03773
p03773
u431391395
u431391395
1,490,817,712
2017-03-29T20:01:52
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c=(a+b)%24; System.out.println(c); } }
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
u431391395|p03773|0
u431391395|p03773|0
codenet
Compile Error
202
v2_s633867755
s633867755
s633867755
p03773
p03773
u488934106
u488934106
1,580,833,446
2020-02-04T16:24:06
Main.java
def coder(a,b): ans = 0 if a + b < 24: return a + b else: return a + b % 24 def main(): a , b = map(int, input().split()) print(coder(a , b)) if __name__ == '__main__': main()
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. def coder(a,b): ^ (use --enable-preview to enable unnamed classes) Main.java:1: error: <identifier> expected def coder(a,b): ^ Main.java:1: error: <identifier> expected def coder(a,b): ^ Main.java:1: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u488934106|p03773|0
u488934106|p03773|0
codenet
Compile Error
217
v2_s882528103
s882528103
s882528103
p03773
p03773
u534504780
u534504780
1,562,791,388
2019-07-10T20:43:08
Main.java
23 2
Main.java:1: error: class, interface, enum, or record expected 23 2 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u534504780|p03773|0
u534504780|p03773|0
codenet
Compile Error
4
v2_s241613460
s241613460
s241613460
p03773
p03773
u570345035
u570345035
1,491,505,585
2017-04-06T19:06:25
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.our.println((a+b)%24) } }
Main.java:7: error: ';' expected System.our.println((a+b)%24) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u570345035|p03773|1
u570345035|p03773|1
codenet
Compile Error
208
v2_s603450058
s603450058
s603450058
p03773
p03773
u570345035
u570345035
1,491,505,621
2017-04-06T19:07:01
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.our.println((a+b)%24); } }
Main.java:7: error: cannot find symbol System.our.println((a+b)%24); ^ symbol: variable our location: class System 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u570345035|p03773|1
u570345035|p03773|1
codenet
Compile Error
209
v2_s354117179
s354117179
s354117179
p03773
p03773
u591753269
u591753269
1,490,665,894
2017-03-28T01:51:34
Main.java
public class Main{ private static Scanner sc; public static void main(String[] args) { // TODO Auto-generated method stub sc = new Scanner(System.in); int A =sc.nextInt(); int B =sc.nextInt(); int K; K=A+B; if(K>=24){ K=K-24; } System.out.println(K); } }
Main.java:2: error: cannot find symbol private static Scanner sc; ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u591753269|p03773|0
u591753269|p03773|0
codenet
Compile Error
280
v2_s827196255
s827196255
s827196255
p03773
p03773
u653699618
u653699618
1,492,224,518
2017-04-15T02:48:38
Main.java
#include<stdio.h> int main(void){ int a,b; scanf("%d%d",&a,&b); printf("%d\n",(a + b) % 24); return 0; }
Main.java:1: error: illegal character: '#' #include<stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<stdio.h> ^ Main.java:5: error: class, interface, enum, or record expected scanf("%d%d",&a,&b); ^ Main.java:6: error: class, interface, enum, or record expected print...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653699618|p03773|0
u653699618|p03773|0
codenet
Compile Error
121
v2_s053679190
s053679190
s053679190
p03773
p03773
u694284774
u694284774
1,490,587,262
2017-03-27T04:01:02
Main.java
public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.println((s.nextInt() + s.nextInt())%24); } }
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
u694284774|p03773|0
u694284774|p03773|0
codenet
Compile Error
158
v2_s328168564
s328168564
s328168564
p03773
p03773
u719622470
u719622470
1,499,803,542
2017-07-11T20:05:42
Main.java
public class Main { public static void main(String[] args) { int a,b; Scanner s = new Scanner(System.in); a = s.next(); b = s.next(); System.out.println((a + b) 5 24); } }
Main.java:7: error: ')' or ',' expected System.out.println((a + b) 5 24); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u719622470|p03773|0
u719622470|p03773|0
codenet
Compile Error
183
v2_s635664954
s635664954
s635664954
p03773
p03773
u719622470
u719622470
1,499,803,597
2017-07-11T20:06:37
Main.java
public class Main { public static void main(String[] args) { int a,b; Scanner s = new Scanner(System.in); a = s.next(); b = s.next(); System.out.println((a + b) % 24); } }
Main.java:4: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: 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
u719622470|p03773|0
u719622470|p03773|0
codenet
Compile Error
183
v2_s789209743
s789209743
s789209743
p03773
p03773
u719622470
u719622470
1,499,803,666
2017-07-11T20:07:46
Main.java
import java.util.*; public class Main { public static void main(String[] args) { int a,b; Scanner s = new Scanner(System.in); a = s.next(); b = s.next(); System.out.println((a + b) % 24); } }
Main.java:7: error: incompatible types: String cannot be converted to int a = s.next(); ^ Main.java:8: error: incompatible types: String cannot be converted to int b = s.next(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u719622470|p03773|0
u719622470|p03773|0
codenet
Compile Error
204
v2_s114949920
s114949920
s114949920
p03773
p03773
u728597345
u728597345
1,597,969,347
2020-08-21T00:22:27
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.next(); int b = sc.next(); System.out.println((a + b) % 24); } }
Main.java:8: error: incompatible types: String cannot be converted to int int a = sc.next(); ^ Main.java:9: error: incompatible types: String cannot be converted to int int b = sc.next(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u728597345|p03773|0
u728597345|p03773|0
codenet
Compile Error
261
v2_s890530198
s890530198
s890530198
p03773
p03773
u925103765
u925103765
1,535,403,451
2018-08-27T20:57:31
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 ans = a+b; if(ans>=24) ans -= 24; System.out.println(ans); } }
Main.java:6: error: cannot find symbol int a = SC.nextInt(); ^ symbol: variable SC location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925103765|p03773|0
u925103765|p03773|0
codenet
Compile Error
277
v2_s895752444
s895752444
s895752444
p03773
p03773
u941884460
u941884460
1,490,577,831
2017-03-27T01:23:51
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner cin=new Scanner(System.in); int nowT; int addT; int result; nowT=Integer.paserInt(cin.next()); addT=Integer.paserInt(cin.next()); if(nowT+addT>23){ resu...
Main.java:8: error: cannot find symbol nowT=Integer.paserInt(cin.next()); ^ symbol: method paserInt(String) location: class Integer Main.java:9: error: cannot find symbol addT=Integer.paserInt(cin.next()); ^ symbol: method paserInt(String...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u941884460|p03773|0
u941884460|p03773|0
codenet
Compile Error
455
v2_s059571533
s059571533
s059571533
p03773
p03773
u941884460
u941884460
1,490,578,073
2017-03-27T01:27:53
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner cin=new Scanner(System.in); int result; int nowT=Integer.paserInt(cin.next()); int addT=Integer.paserInt(cin.next()); if(nowT+addT>23){ result = nowT+addT-24; ...
Main.java:7: error: cannot find symbol int nowT=Integer.paserInt(cin.next()); ^ symbol: method paserInt(String) location: class Integer Main.java:8: error: cannot find symbol int addT=Integer.paserInt(cin.next()); ^ symbol: method...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u941884460|p03773|0
u941884460|p03773|0
codenet
Compile Error
428
v2_s385327487
s385327487
s385327487
p03773
p03773
u941884460
u941884460
1,490,578,153
2017-03-27T01:29:13
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner cin=new Scanner(System.in); int result; int nowT=Integer.paseInt(cin.next()); int addT=Integer.paseInt(cin.next()); if(nowT+addT>23){ result = nowT+addT-24; ...
Main.java:7: error: cannot find symbol int nowT=Integer.paseInt(cin.next()); ^ symbol: method paseInt(String) location: class Integer Main.java:8: error: cannot find symbol int addT=Integer.paseInt(cin.next()); ^ symbol: method pa...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u941884460|p03773|0
u941884460|p03773|0
codenet
Compile Error
426
v2_s162834986
s162834986
s162834986
p03774
p03774
u024824950
u024824950
1,554,672,489
2019-04-07T21:28: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 m = sc.nextInt(); int[][] stu = new int[n][2]; for(int i = 0; i < n; i++){ stu[i][0] = sc.nextInt(); stu[i][1] = sc....
Main.java:13: error: <identifier> expected int[][] cp = new[m][2]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03774|0
u024824950|p03774|0
codenet
Compile Error
934
v2_s360298263
s360298263
s360298263
p03774
p03774
u058452054
u058452054
1,490,903,124
2017-03-30T19:45:24
Main.java
import java.util.Scanner; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int[] a = new int[n]; int[] b = new int[n]; int[] c = new int[m]; int[] d = new int[m]; int data = 99999999,check = 0,min = 99999999; for(int i = 0;i < n;i++){ a...
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
u058452054|p03774|0
u058452054|p03774|0
codenet
Compile Error
681
v2_s191104218
s191104218
s191104218
p03774
p03774
u058452054
u058452054
1,490,903,755
2017-03-30T19:55:55
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int[] a = new int[n]; int[] b = new int[n]; int[] c = new int[m]; int[] d = new int[m]; int data = 99999999; int check = 0; int min = 99999999; for(int i =...
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
u058452054|p03774|0
u058452054|p03774|0
codenet
Compile Error
729
v2_s215239887
s215239887
s215239887
p03774
p03774
u061854627
u061854627
1,493,063,863
2017-04-24T19:57:43
Main.java
import java.util.Scanner; public Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int human = scan.nextInt(); int checkPoint = scan.nextInt(); int[] humanx = new int[human]; int[] humany = new int[human]; int[] checkPointX = new int[checkPoint]; int[] checkPoi...
Main.java:3: error: class, interface, enum, or record expected public 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:40: error: class, interface...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u061854627|p03774|0
u061854627|p03774|0
codenet
Compile Error
936
v2_s416032659
s416032659
s416032659
p03774
p03774
u218740431
u218740431
1,583,099,855
2020-03-01T21:57:35
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int [] x1 = new int [a]; int [] y1 = new int [a]; int [] x2 = new int [a]; int [] y2 = new int [a]; int [] ans = new int [a]; f...
Main.java:20: error: method pow in class Math cannot be applied to given types; d+=Math.pow(x1[i]-x2[j]); ^ required: double,double found: int reason: actual and formal argument lists differ in length Main.java:21: error: method pow in class Math...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03774|0
u218740431|p03774|0
codenet
Compile Error
1,005
v2_s200056285
s200056285
s200056285
p03774
p03774
u218740431
u218740431
1,583,100,067
2020-03-01T22:01:07
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); double [] x1 = new double [a]; double [] y1 = new double [a]; double [] x2 = new double [a]; double [] y2 = new double [a]; int [] ans = new i...
Main.java:20: error: method pow in class Math cannot be applied to given types; d+=Math.pow(x1[i]-x2[j]); ^ required: double,double found: double reason: actual and formal argument lists differ in length Main.java:21: error: method pow in class M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03774|0
u218740431|p03774|0
codenet
Compile Error
1,047
v2_s722278977
s722278977
s722278977
p03774
p03774
u218740431
u218740431
1,583,100,953
2020-03-01T22:15:53
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int [] x1 = new int [a]; int [] y1 = new int [a]; int [] x2 = new int [a]; int [] y2 = new int [a]; int [] ans = new int [a]; f...
Main.java:21: error: incompatible types: int cannot be converted to Long for(int j=0;j<a;j++){d = 0; ^ Main.java:24: error: incompatible types: Long cannot be converted to int if(d<c){b=j;c=d;} ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03774|0
u218740431|p03774|0
codenet
Compile Error
1,051
v2_s545112592
s545112592
s545112592
p03774
p03774
u218740431
u218740431
1,583,101,264
2020-03-01T22:21:04
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int [] x1 = new int [a]; int [] y1 = new int [a]; int [] x2 = new int [a]; int [] y2 = new int [a]; int [] ans = new int [a]; f...
Main.java:18: error: incompatible types: possible lossy conversion from long to int for(int i=0;i<a;i++){int b = 0; int c = Long.MAX_VALUE; ^ Main.java:19: error: incompatible types: int cannot be converted to Long for(int j=0;j<a;j++){Long d = c-c; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03774|0
u218740431|p03774|0
codenet
Compile Error
1,015
v2_s340358487
s340358487
s340358487
p03774
p03774
u232001205
u232001205
1,490,594,423
2017-03-27T06:00:23
Main.java
public class Main { public static void main(String a[]) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(), m = sc.nextInt(); int s[] = new int [n * 2]; int c[] = new int [m * 2]; for (int i = 0; i < n; ++i) { s[i * 2] = sc.nextInt(); s[i * 2 + 1] = sc.nextInt(); } for (int i = 0; i...
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
u232001205|p03774|0
u232001205|p03774|0
codenet
Compile Error
728
v2_s064707400
s064707400
s064707400
p03774
p03774
u303589799
u303589799
1,490,579,094
2017-03-27T01:44:54
ABC057b.java
public class ABC057b { static int[] measureDistance(int x,int y,int[] arrx, int[] arry){ int[] arrDistance = new int[arrx.length]; for(int i = 0; i < arrx.length; i++) { int dx = x - arrx[i]; int dy = y - arry[i]; if(dx < 0){ dx = -1 * dx; ...
ABC057b.java:36: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class ABC057b ABC057b.java:36: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class ABC057b 2 e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u303589799|p03774|0
u303589799|p03774|0
codenet
Compile Error
1,916
v2_s240049012
s240049012
s240049012
p03774
p03774
u362825937
u362825937
1,490,852,971
2017-03-30T05:49:31
Main.java
public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner s=new Scanner(System.in); int N=s.nextInt();//学生 int M=s.nextInt();//チェックポイント long a[]=new long[N];//学生の位置 long b[]=new long[N]; long c[]=new long[M];//チェックポイントの位置 long d[]=new long[M]; long...
Main.java:6: error: cannot find symbol Scanner s=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: 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
u362825937|p03774|0
u362825937|p03774|0
codenet
Compile Error
847
v2_s770677103
s770677103
s770677103
p03774
p03774
u431391395
u431391395
1,490,824,971
2017-03-29T22:02:51
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int a[]=new int[n]; int b[]=new int[n]; int c[]=new int[m]; int d[]=new int[m]; int e[]=new int[m]; int min[]=new int[n]; int minIdx[]=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
u431391395|p03774|0
u431391395|p03774|0
codenet
Compile Error
820
v2_s842823565
s842823565
s842823565
p03774
p03774
u587100042
u587100042
1,590,433,640
2020-05-25T19:07: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(),m=sc.nextInt(),e=0; long[] a=new long[n],b=new long[n],c=new long[m],d=new long[m]; long min=10000000000; for(int i=0;i<n;i++){ a[i]=sc.nextLong(); b...
Main.java:9: error: integer number too large long min=10000000000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p03774|0
u587100042|p03774|0
codenet
Compile Error
651
v2_s947977077
s947977077
s947977077
p03774
p03774
u587100042
u587100042
1,590,433,817
2020-05-25T19:10:17
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n=sc.nextInt(),m=sc.nextInt(),e=0; long[] a=new long[n],b=new long[n],c=new long[m],d=new long[m]; long min=Infinity; for(int i=0;i<n;i++){ a[i]=sc.nextLong(); b[i]...
Main.java:9: error: cannot find symbol long min=Infinity; ^ symbol: variable Infinity location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p03774|0
u587100042|p03774|0
codenet
Compile Error
648
v2_s339232878
s339232878
s339232878
p03774
p03774
u659156129
u659156129
1,598,885,618
2020-08-31T14:53:38
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int m = scn.nextInt(); int[][] a = new int[n][2]; for(int i=0; i<n; i++){ for(int j=0; j<2; j++){ a[i][j] = scn.nextInt(); ...
Main.java:32: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03774|0
u659156129|p03774|0
codenet
Compile Error
764
v2_s501398800
s501398800
s501398800
p03774
p03774
u659156129
u659156129
1,598,885,716
2020-08-31T14:55:16
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int m = scn.nextInt(); int[][] a = new int[n][2]; for(int i=0; i<n; i++){ for(int j=0; j<2; j++){ a[i][j] = scn.nextInt(); ...
Main.java:14: error: incompatible types: int[][] cannot be converted to int[] int[] c = new int[m][2]; ^ Main.java:17: error: array required, but int found c[i][j] = scn.nextInt(); ^ Main.java:21: error: incompatible types: possible lossy conversion from double to int int min = M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03774|0
u659156129|p03774|0
codenet
Compile Error
782
v2_s310494761
s310494761
s310494761
p03774
p03774
u659156129
u659156129
1,598,885,758
2020-08-31T14:55:58
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int m = scn.nextInt(); int[][] a = new int[n][2]; for(int i=0; i<n; i++){ for(int j=0; j<2; j++){ a[i][j] = scn.nextInt(); ...
Main.java:21: error: incompatible types: possible lossy conversion from double to int int min = Math.pow(10, 8); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03774|0
u659156129|p03774|0
codenet
Compile Error
784
v2_s621276347
s621276347
s621276347
p03774
p03774
u762160119
u762160119
1,556,473,573
2019-04-28T17:46:13
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int m = Integer.parseInt(sc.next()); int[] ax = new int[n]; int[] ay = new int[n]; int[] bx = new int[m]; int[] ...
Main.java:30: error: incompatible types: possible lossy conversion from long to int min = manhattan; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u762160119|p03774|0
u762160119|p03774|0
codenet
Compile Error
1,084
v2_s886677816
s886677816
s886677816
p03774
p03774
u764011970
u764011970
1,490,712,536
2017-03-28T14:48:56
Main.java
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 students [] [] = new int [n] [2]; int points [] [] = new int [m] [2]; for (int i = 0 ; i < n ; i++) { students [i] ...
Main.java:31: error: cannot find symbol System.out.prntln(results [i]); ^ symbol: variable results location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764011970|p03774|0
u764011970|p03774|0
codenet
Compile Error
910
v2_s885944227
s885944227
s885944227
p03774
p03774
u764011970
u764011970
1,490,712,691
2017-03-28T14:51:31
Main.java
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 students [] [] = new int [n] [2]; int points [] [] = new int [m] [2]; for (int i = 0 ; i < n ; i++) { students [i] ...
Main.java:31: error: cannot find symbol System.out.prntln(results [i]); ^ symbol: variable results location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764011970|p03774|0
u764011970|p03774|0
codenet
Compile Error
910
v2_s506734859
s506734859
s506734859
p03774
p03774
u764011970
u764011970
1,490,712,721
2017-03-28T14:52:01
Main.java
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 students [] [] = new int [n] [2]; int points [] [] = new int [m] [2]; for (int i = 0 ; i < n ; i++) { students [i] ...
Main.java:31: error: cannot find symbol System.out.prntln(result [i]); ^ symbol: method prntln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764011970|p03774|0
u764011970|p03774|0
codenet
Compile Error
909
v2_s328220031
s328220031
s328220031
p03774
p03774
u779353743
u779353743
1,490,838,634
2017-03-30T01:50:34
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ try(Scanner sc = new Scanner(System.in) { int N = sc.nextInt(), M = sc.nextInt(); long[] a = new long[N], b = new long[N]; long[] c = new long[M...
Main.java:9: error: illegal start of type for(int i = 0; i < N; i++) { ^ Main.java:9: error: > or ',' expected for(int i = 0; i < N; i++) { ^ Main.java:9: error: <identifier> expected ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u779353743|p03774|0
u779353743|p03774|0
codenet
Compile Error
1,370
v2_s928900799
s928900799
s928900799
p03774
p03774
u891161439
u891161439
1,521,835,283
2018-03-23T20:01: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 M = sc.nextInt(); int[] s = new int[2*N]; int[] c = new int[2*M]; for(int i = 0;i < 2*N;i++)s[i] = sc.nextInt(); for(int i = 0;i < 2*M;i++)c[i] = sc.nextInt(); for(...
Main.java:12: error: method pow in class Math cannot be applied to given types; int min = Math.pow(2.50); ^ required: double,double found: double reason: actual and formal argument lists differ in length 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u891161439|p03774|0
u891161439|p03774|0
codenet
Compile Error
616
v2_s124569057
s124569057
s124569057
p03774
p03774
u891161439
u891161439
1,521,835,315
2018-03-23T20:01: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(); int M = sc.nextInt(); int[] s = new int[2*N]; int[] c = new int[2*M]; for(int i = 0;i < 2*N;i++)s[i] = sc.nextInt(); for(int i = 0;i < 2*M;i++)c[i] = sc.nextInt(); for(...
Main.java:12: error: integer number too large int min = 99999999999; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u891161439|p03774|0
u891161439|p03774|0
codenet
Compile Error
614
v2_s000571718
s000571718
s000571718
p03774
p03774
u891161439
u891161439
1,521,835,350
2018-03-23T20:02: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(); int M = sc.nextInt(); int[] s = new int[2*N]; int[] c = new int[2*M]; for(int i = 0;i < 2*N;i++)s[i] = sc.nextInt(); for(int i = 0;i < 2*M;i++)c[i] = sc.nextInt(); for(...
Main.java:12: error: integer number too large double min = 99999999999; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u891161439|p03774|0
u891161439|p03774|0
codenet
Compile Error
617
v2_s279781315
s279781315
s279781315
p03774
p03774
u891161439
u891161439
1,521,835,383
2018-03-23T20:03:03
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[] s = new int[2*N]; int[] c = new int[2*M]; for(int i = 0;i < 2*N;i++)s[i] = sc.nextInt(); for(int i = 0;i < 2*M;i++)c[i] = sc.nextInt(); for(...
Main.java:12: error: integer number too large long min = 99999999999; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u891161439|p03774|0
u891161439|p03774|0
codenet
Compile Error
615
v2_s581514785
s581514785
s581514785
p03774
p03774
u941884460
u941884460
1,490,580,622
2017-03-27T02:10:22
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner cin=new Scanner(System.in); int numS; int numC; int student = new int[]; int checkp = new int[]; int count =0; int kx; int ky; int result; int temp; ...
Main.java:7: error: array dimension missing int student = new int[]; ^ Main.java:8: error: array dimension missing int checkp = new int[]; ^ Main.java:33: error: illegal character: '\u3000' ??? result = 0; ^ Main.java:33: error: illegal charac...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u941884460|p03774|0
u941884460|p03774|0
codenet
Compile Error
1,209
v2_s264105676
s264105676
s264105676
p03774
p03774
u941884460
u941884460
1,490,581,179
2017-03-27T02:19:39
Main.java
1. import java.util.*; 2. class Main{ 3. public static void main(String[]args){ 4. Scanner cin=new Scanner(System.in); 5. int numS; 6. int numC; 7. int count =0; 8. int kx; 9. int ky; 10. int result; 11. int temp; 12. 13. numS = cin.nextIn...
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. class Main{ ^ Main.java:3: error: illegal start of type 3. public static void main(String[]args){ ^ Main.java:4: error: not a statement 4. Scanner cin=new...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u941884460|p03774|0
u941884460|p03774|0
codenet
Compile Error
1,388
v2_s217446444
s217446444
s217446444
p03774
p03774
u981808900
u981808900
1,560,542,674
2019-06-14T20:04:34
Main.java
import util.java.*; public class Main { static Scanner scanner = new Scanner(System.in); public static void main(String[]$) { int n = scanner.nextInt(); int m = scanner.nextInt(); int[] a = new int[n]; int[] b = new int[n]; for (int i = 0; i < n; i++) { a[i] = scanner.ne...
Main.java:4: error: cannot find symbol static Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:1: error: package util.java does not exist import util.java.*; ^ Main.java:4: error: cannot find symbol static Scanner scanner = new Scanner(Sys...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p03774|0
u981808900|p03774|0
codenet
Compile Error
937
v2_s049707908
s049707908
s049707908
p03774
p03774
u981808900
u981808900
1,560,542,710
2019-06-14T20:05:10
Main.java
import java.util.*; public class Main { static Scanner scanner = new Scanner(System.in); public static void main(String[]$) { int n = scanner.nextInt(); int m = scanner.nextInt(); int[] a = new int[n]; int[] b = new int[n]; for (int i = 0; i < n; i++) { a[i] = scanner....
Main.java:31: error: variable index might not have been initialized System.out.println(index); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p03774|0
u981808900|p03774|0
codenet
Compile Error
939
v2_s536280413
s536280413
s536280413
p03775
p03775
u061996193
u061996193
1,490,577,362
2017-03-27T01:16:02
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N = sc.nextLong(); long ans = 100; for(long i=1; i*i<=N; i++) { if(N%i==0) { ans = Math.min(ans, getDigits(N/i)); } } System.out.println(ans); sc.close(); } static int getDigits(long...
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
u061996193|p03775|0
u061996193|p03775|0
codenet
Compile Error
401
v2_s797621345
s797621345
s797621345
p03775
p03775
u114425970
u114425970
1,573,499,504
2019-11-11T19:11:44
Main.java
public class Main { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)) { System.out.println(minF(sc.nextInt())); } } public static int minF(int n) { int balance = 1; int restMulti = 1; List<Integer> prime = new ArrayList<...
Main.java:4: error: cannot find symbol try (Scanner sc = new Scanner(System.in)) { ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol try (Scanner sc = new Scanner(System.in)) { ^ symbol: class Scanner location: clas...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u114425970|p03775|0
u114425970|p03775|0
codenet
Compile Error
1,293
v2_s082590562
s082590562
s082590562
p03775
p03775
u140306344
u140306344
1,490,645,850
2017-03-27T20:17:30
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; import java.math.*; public class Main { public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new Strin...
Main.java:16: error: variable f is already defined in method main(String[]) int f = Math.min(f,Math.max(String.valueOf(a).length(),String.valueOf(i).length())); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u140306344|p03775|0
u140306344|p03775|0
codenet
Compile Error
599
v2_s403885108
s403885108
s403885108
p03775
p03775
u207845630
u207845630
1,586,143,304
2020-04-06T03:21:44
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long N = sc.nextLong(); int ans = keta(N); for(long i = 1;i < N / i;i++){ if(N % i == 0){ ans = Math.min(ans,keta(Math.max(N / i,i)); } } System.out.println(ans); } public static ...
Main.java:9: error: ')' or ',' expected ans = Math.min(ans,keta(Math.max(N / i,i)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p03775|0
u207845630|p03775|0
codenet
Compile Error
450
v2_s740650358
s740650358
s740650358
p03775
p03775
u212397344
u212397344
1,584,751,378
2020-03-21T00:42:58
Main.java
import java.uti.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int ans = min(N); for(int i=1; i*i<=N; i++){ if(N%i!=0)continue; int b = N/i; int temp = min(Math.max(i, b)); if(temp<ans){ ans=temp; ...
Main.java:20: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212397344|p03775|0
u212397344|p03775|0
codenet
Compile Error
425
v2_s945160037
s945160037
s945160037
p03775
p03775
u212397344
u212397344
1,584,751,405
2020-03-21T00:43:25
Main.java
import java.uti.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int ans = min(N); for(int i=1; i*i<=N; i++){ if(N%i!=0)continue; int b = N/i; int temp = min(Math.max(i, b)); if(temp<ans){ ans=temp; ...
Main.java:1: error: package java.uti does not exist import java.uti.*; ^ 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); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212397344|p03775|0
u212397344|p03775|0
codenet
Compile Error
429
v2_s310451546
s310451546
s310451546
p03775
p03775
u212397344
u212397344
1,584,751,430
2020-03-21T00:43:50
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int ans = min(N); for(int i=1; i*i<=N; i++){ if(N%i!=0)continue; int b = N/i; int temp = min(Math.max(i, b)); if(temp<ans){ ans=temp; ...
Main.java:6: error: non-static method min(int) cannot be referenced from a static context int ans = min(N); ^ Main.java:10: error: non-static method min(int) cannot be referenced from a static context int temp = min(Math.max(i, b)); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212397344|p03775|0
u212397344|p03775|0
codenet
Compile Error
430
v2_s879352576
s879352576
s879352576
p03775
p03775
u218740431
u218740431
1,583,098,662
2020-03-01T21:37:42
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); Long a = sc.nextLong(); int b = 0; int c = 1; for(int i=1;i<=Math.sqrt(a);i++){if(a%i==0){c=a/i;} } while(c>0){c/=10; b++...
Main.java:8: error: incompatible types: possible lossy conversion from long to int for(int i=1;i<=Math.sqrt(a);i++){if(a%i==0){c=a/i;} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03775|0
u218740431|p03775|0
codenet
Compile Error
372
v2_s890137097
s890137097
s890137097
p03775
p03775
u286518998
u286518998
1,569,356,671
2019-09-24T20:24:31
Main.java
#include<iostream> #include <math.h> using namespace std; int main(){ long long n; cin >> n; int ans = 10; for(long long i=1; i<=sqrt(n); i++){ long long j = n / i; if(n == i*j){ int f = max((int)log10(i)+1, (int)log10(j)+1); ans = min(ans, f); } } ...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include <math.h> ^ Main.java:5: error: not a statement long long n; ^ Main.java:6: error: not a statement cin >> n; ^ Main.java:9: error: not a statement for(long long i=1; i<=sqrt(n); i++...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u286518998|p03775|1
u286518998|p03775|1
codenet
Compile Error
358
v2_s179185625
s179185625
s179185625
p03775
p03775
u288042356
u288042356
1,573,783,738
2019-11-15T02:08:58
Main.java
import java.io.PrintWriter; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); PrintWriter out = new PrintWriter(System.out); int N = Integer.parseInt(sc.next()); int M = (int) Math.sqrt(N); int tmp=1; for(in i=1;i<M;i++){ if(N%i==0){...
Main.java:13: error: cannot find symbol for(in i=1;i<M;i++){ ^ symbol: class in location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p03775|0
u288042356|p03775|0
codenet
Compile Error
478
v2_s776625631
s776625631
s776625631
p03775
p03775
u363005934
u363005934
1,580,018,471
2020-01-26T06:01:11
Main.java
import java.util.Scanner; public class Main { static int keta(long n) { int i=0; while(n>0) { i++; n /= 10; } return i; } public static void main(String[] args) throws Exception{ Scanner stdIn = new Scanner(System.in); long N = stdIn.nextLong(); int a=keta(N); for(int i=1; i*i<=N ; i++) { if...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u363005934|p03775|0
u363005934|p03775|0
codenet
Compile Error
436
v2_s710871207
s710871207
s710871207
p03775
p03775
u457873290
u457873290
1,490,588,613
2017-03-27T04:23:33
Main.java
public class Main { public static int getDigitsNum(long x){ return String.valueOf(x).length(); } public static void main(String[] args) { long N; Scanner scanner = new Scanner(System.in); N = scanner.nextLong(); scanner.close(); long maxDivisor = (long)Math.sqrt(N); long divisor = 2; int mi...
Main.java:11: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:11: 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
u457873290|p03775|0
u457873290|p03775|0
codenet
Compile Error
589
v2_s813559401
s813559401
s813559401
p03775
p03775
u552900829
u552900829
1,588,651,034
2020-05-05T03:57:14
Math.java
import java.util.*; public class Math { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int a = 1; for(int i=1; i<=Math.sqrt(n); i++) { if(n%i == 0) { a = n/i; } } System.out.println((int)Math.log10(a)); } }
Math.java:11: error: cannot find symbol for(int i=1; i<=Math.sqrt(n); i++) { ^ symbol: method sqrt(int) location: class Math Math.java:19: error: cannot find symbol System.out.println((int)Math.log10(a)); ^ symbol: method log10(int) location: class Mat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u552900829|p03775|0
u552900829|p03775|0
codenet
Compile Error
313
v2_s541627969
s541627969
s541627969
p03775
p03775
u552900829
u552900829
1,588,651,242
2020-05-05T04:00:42
Main.java
ckage ABC057; import java.util.*; import java.math.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long a = 1; for(int i=1; i<=Math.sqrt(n); i++) { if(n%i == 0) { a = n/i; } } System.out.println((int)Ma...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. ckage ABC057; ^ (use --enable-preview to enable unnamed classes) Main.java:2: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:3: error: class, interface, enum, or record expected import java.math.*...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u552900829|p03775|0
u552900829|p03775|0
codenet
Compile Error
352
v2_s789273312
s789273312
s789273312
p03775
p03775
u556125658
u556125658
1,589,593,414
2020-05-16T01:43:34
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); Long N = Long.parseLong(sc.next()); sc.close(); int answer = Integer.MAX_VALUE; for(int i = 1; i <= Math.sqrt((double)N); i++) { if(N % i == 0) { long A = i; long B = N /...
Main.java:23: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u556125658|p03775|0
u556125658|p03775|0
codenet
Compile Error
506
v2_s963755903
s963755903
s963755903
p03775
p03775
u654558363
u654558363
1,593,750,699
2020-07-03T04:31:39
Main.java
public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); long n = in.nextLong(); long res = Long.MAX_VALUE; for (long i = 1; i <= n; i++) { if (n % i == 0) { int tmpRes = Math.max( String.valueOf(i).length(), String.valueOf(n / i).length(...
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
u654558363|p03775|0
u654558363|p03775|0
codenet
Compile Error
405
v2_s529790249
s529790249
s529790249
p03775
p03775
u830501843
u830501843
1,560,693,120
2019-06-16T13:52:00
Main.java
import java.util.stream.LongStream; public class Main { public static void main(String[] args) { java.util.Scanner s = new java.util.Scanner(System.in); System.out.println(Main.calc(s.nextLong())); } public static long calc(long n) { return LongStream.rangeClosed(1, (int) Math.sqrt(n)) .filter(a -> n % a...
Main.java:17: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u830501843|p03775|0
u830501843|p03775|0
codenet
Compile Error
505
v2_s648831797
s648831797
s648831797
p03775
p03775
u897304429
u897304429
1,540,959,293
2018-10-31T04:14:53
Main.java
import java.util.Scanner; import static java.lang.Math.*; class Main { public static void main(String[]$) { long N = new Scanner(System.in).nextInt(); for (long i = 1; i*i <= N; ++i) { if(N % i == 0) { ans = min(ans, max($(i), $(N/i))); } } System.out.println(ans); } static...
Main.java:10: error: cannot find symbol ans = min(ans, max($(i), $(N/i))); ^ symbol: variable ans location: class Main Main.java:10: error: cannot find symbol ans = min(ans, max($(i), $(N/i))); ^ symbol: variable ans location: class Main Main.java:13: error: cannot ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u897304429|p03775|0
u897304429|p03775|0
codenet
Compile Error
429
v2_s197758971
s197758971
s197758971
p03775
p03775
u934782869
u934782869
1,591,468,378
2020-06-06T18:32:58
Main.java
public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); List<String> b = new ArrayList<>(); List<Long> c = new ArrayList<>(); int ans = Long.toString(a).length(); for(long i=1; i<=a/2; i++) { ...
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 Main.java:6: erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u934782869|p03775|0
u934782869|p03775|0
codenet
Compile Error
764
v2_s478953230
s478953230
s478953230
p03775
p03775
u941884460
u941884460
1,491,176,266
2017-04-02T23:37:46
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner cin=new Scanner(System.in); int input; int mini; int minj; ArrayList<Integer> value = new ArrayList<Integer>(); input=cin.nextInt(); for(int i=1;i*i<=input;i++){ for(int...
Main.java:13: error: cannot find symbol mini = String.ValueOf(i).length(); ^ symbol: method ValueOf(int) location: class String Main.java:14: error: cannot find symbol minj = String.ValueOf(j).length(); ^ s...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u941884460|p03775|0
u941884460|p03775|0
codenet
Compile Error
783
v2_s348121421
s348121421
s348121421
p03775
p03775
u941884460
u941884460
1,491,177,165
2017-04-02T23:52:45
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner cin=new Scanner(System.in); long input; long larger; ArrayList<int> value = new ArrayList<Integer>(); input=cin.nextInt(); for(long i=1;i*i<=input;i++){ if(input%i==0){ ...
Main.java:7: error: unexpected type ArrayList<int> value = new ArrayList<Integer>(); ^ required: reference found: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u941884460|p03775|0
u941884460|p03775|0
codenet
Compile Error
517
v2_s730159998
s730159998
s730159998
p03775
p03775
u960958946
u960958946
1,586,656,429
2020-04-12T01:53:49
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); Long N = sc.nextLong(); Long sq = (long) Math.floor(sqrt(N)); for(long i = sq; i > 0; i--){ if(N%sq==0){ if(sq>N%sq){ System.out.print...
Main.java:7: error: cannot find symbol Long sq = (long) Math.floor(sqrt(N)); ^ symbol: method sqrt(Long) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u960958946|p03775|0
u960958946|p03775|0
codenet
Compile Error
583
v2_s944764230
s944764230
s944764230
p03775
p03775
u969605855
u969605855
1,490,583,352
2017-03-27T02:55:52
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long n = sc.nextLong(); double a=0; boolean warikire = false; for(int i=2; i<=Math.sqrt(n); i++){ if( n%i == 0 ){ a = i; warikire = true; } } if(warikire){ System.out.p...
Main.java:18: error: incompatible types: possible lossy conversion from double to long System.out.println( keta(n/a) ); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969605855|p03775|0
u969605855|p03775|0
codenet
Compile Error
518
v2_s652203866
s652203866
s652203866
p03775
p03775
u978944540
u978944540
1,496,346,046
2017-06-01T19:40:46
Main.java
/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Main { public static void main (String[] args) throws java.lang.Exception { Scanner sc = new Scanner(system.in); long test = ...
Main.java:12: error: cannot find symbol Scanner sc = new Scanner(system.in); ^ symbol: variable system location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978944540|p03775|0
u978944540|p03775|0
codenet
Compile Error
588
v2_s380410186
s380410186
s380410186
p03776
p03776
u142032032
u142032032
1,490,578,988
2017-03-27T01:43:08
Main.java
import java.math.BigDecimal; import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); long[] w=new long[N]; for(int i=0;i<N;i++){ ...
Main.java:59: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u142032032|p03776|0
u142032032|p03776|0
codenet
Compile Error
1,390
v2_s732217164
s732217164
s732217164
p03776
p03776
u164054572
u164054572
1,490,579,851
2017-03-27T01:57:31
Main.java
import java.util.*; import java.io.*; import java.math.*; public class Main{ static InputReader in = new InputReader(System.in); static PrintWriter out = new PrintWriter(System.out); int n, a, b; long[] v = new long[100]; HashMap<Long, Integer> m = new HashMap<>(); BigInteger fac(int x){ BigI...
Main.java:75: error: cannot find symbol a m = new a(); ^ symbol: class a location: class Main Main.java:75: error: cannot find symbol a m = new a(); ^ symbol: class a location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u164054572|p03776|0
u164054572|p03776|0
codenet
Compile Error
2,196
v2_s955481212
s955481212
s955481212
p03776
p03776
u218740431
u218740431
1,583,644,835
2020-03-08T05:20:35
Main.java
import java.util.*; public class Main { public static Long gcd(Long x,Long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static Long lcm(Long x,Long y){ return x*y/gcd(x,y); ...
Main.java:26: error: incompatible types: int[] cannot be converted to Long[] Long [] in = new int [a]; ^ Main.java:28: error: incompatible types: int cannot be converted to Long Long e = a-a; ^ Main.java:39: error: incompatible types: possible lossy conversion from long to int...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03776|0
u218740431|p03776|0
codenet
Compile Error
1,579
v2_s246458430
s246458430
s246458430
p03776
p03776
u218740431
u218740431
1,583,645,050
2020-03-08T05:24:10
Main.java
import java.util.*; public class Main { public static Long gcd(Long x,Long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static Long lcm(Long x,Long y){ return x*y/gcd(x,y); ...
Main.java:25: error: incompatible types: int cannot be converted to Long Long c = sc.nextInt(); ^ Main.java:26: error: incompatible types: int[] cannot be converted to Long[] Long [] in = new int [a]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03776|0
u218740431|p03776|0
codenet
Compile Error
1,577
v2_s327204005
s327204005
s327204005
p03776
p03776
u218740431
u218740431
1,583,645,361
2020-03-08T05:29:21
Main.java
import java.util.*; public class Main { public static Long gcd(Long x,Long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static Long lcm(Long x,Long y){ return x*y/gcd(x,y); ...
Main.java:28: error: incompatible types: double cannot be converted to Long Long e = d-d; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03776|0
u218740431|p03776|0
codenet
Compile Error
1,577
v2_s258897684
s258897684
s258897684
p03776
p03776
u218740431
u218740431
1,584,341,863
2020-03-16T06:57:43
Main.java
import java.util.*; public class Main { public static Long gcd(Long x,Long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static Long lcm(Long x,Long y){ return x*(y/gcd(x,y)); ...
Main.java:23: error: incompatible types: int cannot be converted to Long if(y==x) return com2(x,0); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03776|1
u218740431|p03776|1
codenet
Compile Error
1,767
v2_s494580908
s494580908
s494580908
p03776
p03776
u218740431
u218740431
1,585,720,495
2020-04-01T05:54:55
Main.java
import java.util.*; public class Main { public static long gcd(long x,long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static long lcm(long x,long y){ return x*y/gcd(x,y); ...
Main.java:46: error: incompatible types: double cannot be converted to boolean if(d=in[a-1]){for(long i=g;i<=f;i++){e+=com(f,i);}} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03776|2
u218740431|p03776|2
codenet
Compile Error
1,744
v2_s658535436
s658535436
s658535436
p03776
p03776
u218740431
u218740431
1,587,942,850
2020-04-26T23:14:10
Main.java
import java.util.*; public class Main { public static long gcd(long x,long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static long lcm(long x,long y){ return x*y/gcd(x,y); ...
Main.java:40: error: illegal start of expression import java.util.*; ^ Main.java:40: error: <identifier> expected import java.util.*; ^ Main.java:40: error: illegal start of expression import java.util.*; ^ Main.java:41: error: illegal s...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03776|3
u218740431|p03776|3
codenet
Compile Error
3,164
v2_s174091643
s174091643
s174091643
p03776
p03776
u218740431
u218740431
1,587,942,995
2020-04-26T23:16:35
Main.java
import java.util.*; public class Main { public static long gcd(long x,long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static long lcm(long x,long y){ return x*y/gcd(x,y); ...
Main.java:41: error: cannot find symbol for(int i=0;i<h;i++){d+=in[a-i-1]; ^ symbol: variable h location: class Main Main.java:47: error: cannot find symbol if(d==in[a-1]){for(int i=h;i<=c;i++){k=com2(f,i);e+=k;}} ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03776|3
u218740431|p03776|3
codenet
Compile Error
1,775
v2_s474718564
s474718564
s474718564
p03776
p03776
u218740431
u218740431
1,587,943,035
2020-04-26T23:17:15
Main.java
import java.util.*; public class Main { public static long gcd(long x,long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static long lcm(long x,long y){ return x*y/gcd(x,y); ...
Main.java:41: error: cannot find symbol for(int i=0;i<h;i++){d+=in[a-i-1]; ^ symbol: variable h location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03776|3
u218740431|p03776|3
codenet
Compile Error
1,775
v2_s903887574
s903887574
s903887574
p03776
p03776
u218740431
u218740431
1,587,944,582
2020-04-26T23:43:02
Main.java
import java.util.*; public class Main { public static long gcd(long x,long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static long lcm(long x,long y){ return x*y/gcd(x,y); ...
Main.java:52: error: incompatible types: possible lossy conversion from long to int if(d==in[a-1]){for(int i=b;i<=c;i++){e+=pascal[f][i];}} ^ Main.java:53: error: incompatible types: possible lossy conversion from long to int else{e=pascal[f][g];} ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03776|3
u218740431|p03776|3
codenet
Compile Error
2,032
v2_s348347840
s348347840
s348347840
p03776
p03776
u288042356
u288042356
1,571,287,977
2019-10-17T04:52:57
Main.java
import java.io.PrintWriter; import java.util.Comparator; import java.util.PriorityQueue; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); PrintWriter out = new PrintWriter(System.out); int N = Integer.parseInt(sc.next()); int A = Inte...
Main.java:60: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p03776|0
u288042356|p03776|0
codenet
Compile Error
1,346
v2_s117632824
s117632824
s117632824
p03776
p03776
u981808900
u981808900
1,556,589,517
2019-04-30T01:58:37
Main.java
import java.math.BigInteger; import java.util.stream.*; import java.util.*; public class Main { static Scanner scanner = new Scanner(System.in); public static void main(String[]$) { int n = scanner.nextInt(); int a = scanner.nextInt(); int b = scanner.nextInt(); long[] v = Int...
Main.java:41: error: cannot find symbol Util.println(count, min, max); ^ symbol: variable Util location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p03776|0
u981808900|p03776|0
codenet
Compile Error
1,294
v2_s328647058
s328647058
s328647058
p03777
p03777
u003905052
u003905052
1,492,701,144
2017-04-20T15:12:24
Main.java
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); char a = sc.nextLine(); char b = sc.nexrLine(); if(a = "H") { System.out.println(b); }else if(b = "H") { System.out.println("D"); else System.out...
Main.java:14: error: 'else' without 'if' else ^ Main.java:17: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u003905052|p03777|0
u003905052|p03777|0
codenet
Compile Error
340