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_s028949313
s028949313
s028949313
p03076
p03076
u659156129
u659156129
1,593,526,298
2020-06-30T14:11:38
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); int e = sc.nextInt(); int aa = a % 10; int bb = b % 10; int cc = c % 10; int dd ...
Main.java:57: error: cannot find symbol double zzz = aaa + bbb + ccc + ddd + eee + min -10; ^ symbol: variable aaa location: class Main Main.java:57: error: cannot find symbol double zzz = aaa + bbb + ccc + ddd + eee + min -10; ^ symbol: variable bbb location: class M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03076|0
u659156129|p03076|0
codenet
Compile Error
1,225
v2_s307855470
s307855470
s307855470
p03076
p03076
u659156129
u659156129
1,593,529,820
2020-06-30T15:10:20
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); int e = sc.nextInt(); int aa = a % 10; int bb = b % 10; int cc = c % 10; int dd ...
Main.java:48: error: ';' expected aaa =(int)Math.round((a+5) / 10))*10; ^ Main.java:53: error: ';' expected bbb = (int)Math.round((b+5) / 10))*10; ^ Main.java:58: error: ';' expected ccc = (int)Math.round((c+5) / 10))*10; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03076|0
u659156129|p03076|0
codenet
Compile Error
1,463
v2_s113850427
s113850427
s113850427
p03076
p03076
u659156129
u659156129
1,593,529,866
2020-06-30T15:11:06
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); int e = sc.nextInt(); int aa = a % 10; int bb = b % 10; int cc = c % 10; int dd ...
Main.java:48: error: ';' expected aaa =(int)Math.round((a+5) / 10.0))*10; ^ Main.java:53: error: ';' expected bbb = (int)Math.round((b+5) / 10.0))*10; ^ Main.java:58: error: ';' expected ccc = (int)Math.round((c+5) / 10.0))*10; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03076|0
u659156129|p03076|0
codenet
Compile Error
1,473
v2_s704096988
s704096988
s704096988
p03076
p03076
u670829424
u670829424
1,555,580,915
2019-04-18T09:48:35
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); int e = sc.nextInt(); int mindex = 0; int sum = 0; int[] alist = {a,...
Main.java:15: error: incompatible types: int cannot be converted to int[] int[] slist = 5; ^ Main.java:24: error: bad operand types for binary operator '||' if(i = mindex || alist[i] % 10 == 0){ ^ first type: int second type: boolean Main.java:24: error: incompatible types...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u670829424|p03076|0
u670829424|p03076|0
codenet
Compile Error
738
v2_s397163543
s397163543
s397163543
p03076
p03076
u670829424
u670829424
1,555,581,033
2019-04-18T09:50:33
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); int e = sc.nextInt(); int mindex = 0; int sum = 0; int[] alist = {a,...
Main.java:24: error: bad operand types for binary operator '||' if(i = mindex || alist[i] % 10 == 0){ ^ first type: int second type: boolean Main.java:24: error: incompatible types: int cannot be converted to boolean if(i = mindex || alist[i] % 10 == 0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u670829424|p03076|0
u670829424|p03076|0
codenet
Compile Error
747
v2_s990659994
s990659994
s990659994
p03076
p03076
u740667034
u740667034
1,554,577,980
2019-04-06T19:13:00
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); int a=scan.nextInt(); int b=scan.nextInt(); int c=scan.nextInt(); int d=scan.nextInt(); int e=scan.nextInt(); a=(int)Math.ceil(a/10); b=(int)Math.ceil(b/10); c=(int)Ma...
Main.java:15: error: cannot find symbol int s=min(min(min(a%10,b%10),min(c%10,d%10)),e%10); ^ symbol: method min(int,int) location: class Main Main.java:15: error: cannot find symbol int s=min(min(min(a%10,b%10),min(c%10,d%10)),e%10); ^ symbol: method...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u740667034|p03076|0
u740667034|p03076|0
codenet
Compile Error
506
v2_s109107243
s109107243
s109107243
p03076
p03076
u740667034
u740667034
1,554,578,079
2019-04-06T19:14:39
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); int a=scan.nextInt(); int b=scan.nextInt(); int c=scan.nextInt(); int d=scan.nextInt(); int e=scan.nextInt(); a=(int)Math.ceil(a/10); b=(int)Math.ceil(b/10); c=(int)Ma...
Main.java:15: error: cannot find symbol int s=min(a%10,b%10); ^ symbol: method min(int,int) location: class Main Main.java:16: error: cannot find symbol s=min(s,c%10); ^ symbol: method min(int,int) location: class Main Main.java:17: error: cannot find symbol s=min(s,d%10); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u740667034|p03076|0
u740667034|p03076|0
codenet
Compile Error
533
v2_s538376566
s538376566
s538376566
p03076
p03076
u796812033
u796812033
1,554,584,302
2019-04-06T20:58:22
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int nextTime = 0; for(int i=0;i<5;i++){ nextTime = sc.nextInt(); if(i!=4) nextTime = Math.ceil(nextTime); } System.out.println(nextTime); }...
Main.java:9: error: incompatible types: possible lossy conversion from double to int if(i!=4) nextTime = Math.ceil(nextTime); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u796812033|p03076|0
u796812033|p03076|0
codenet
Compile Error
322
v2_s457671089
s457671089
s457671089
p03076
p03076
u804065755
u804065755
1,554,578,879
2019-04-06T19:27:59
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int[] numbers = new int[5]; int lastdish = 0; for(int i=0;i<5;i++){ numbers[i] = scan.nextInt(); } for(int i=0;i<5;i++){ if(numbers[i]%10 !=0 && resi...
Main.java:24: error: <identifier> expected public class int resi(int n){ ^ Main.java:33: error: <identifier> expected public class int kuriage(int n){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u804065755|p03076|0
u804065755|p03076|0
codenet
Compile Error
980
v2_s150149593
s150149593
s150149593
p03076
p03076
u804065755
u804065755
1,554,578,923
2019-04-06T19:28:43
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int[] numbers = new int[5]; int lastdish = 0; for(int i=0;i<5;i++){ numbers[i] = scan.nextInt(); } for(int i=0;i<5;i++){ if(numbers[i]%10 !=0 && resi...
Main.java:11: error: non-static method resi(int) cannot be referenced from a static context if(numbers[i]%10 !=0 && resi(numbers[i]) < resi(numbers[lastdish])){ ^ Main.java:11: error: non-static method resi(int) cannot be referenced from a static context if(numbers[i]%...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u804065755|p03076|0
u804065755|p03076|0
codenet
Compile Error
968
v2_s607847187
s607847187
s607847187
p03076
p03076
u871244227
u871244227
1,587,276,121
2020-04-19T06:02:01
Main.java
import java.io.*; 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[] t = new int[5]; int[] p = new int[5]; int min = 700; for (int i = 0; i...
Main.java:17: error: cannot find symbol Function<Integer, Integer> order = (i) -> t[i] % 10 == 0 ? t[i] : t[i] + (10 - (t[i] % 10)); ^ symbol: class Function location: class Main Main.java:26: error: cannot find symbol } while (nextPermutation(p)); ^ symbol: method nex...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u871244227|p03076|0
u871244227|p03076|0
codenet
Compile Error
883
v2_s795922187
s795922187
s795922187
p03076
p03076
u871244227
u871244227
1,587,276,168
2020-04-19T06:02:48
Main.java
import java.util.function.Function; import java.io.*; 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[] t = new int[5]; int[] p = new int[5]; int ...
Main.java:27: error: cannot find symbol } while (nextPermutation(p)); ^ symbol: method nextPermutation(int[]) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u871244227|p03076|0
u871244227|p03076|0
codenet
Compile Error
919
v2_s143902365
s143902365
s143902365
p03076
p03076
u891161439
u891161439
1,555,074,085
2019-04-12T13:01: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(); int c = sc.nextInt(); int d = sc.nextInt(); int e = sc.nextInt(); int ans = a + ((b-1)/10)*10 + ((c-1)/10)*10 + ((d-1)/10)*10 + ((e-1)/10)*10...
Main.java:11: error: '.class' expected ans = Math.min(ans, int ans = b + ((a-1)/10)*10 + ((c-1)/10)*10 + ((d-1)/10)*10 + ((e-1)/10)*10); ^ Main.java:11: error: ';' expected ans = Math.min(ans, int ans = b + ((a-1)/10)*10 + ((c-1)/10)*10 + ((d-1)/10)*10 + ((e-1)/10)*10); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u891161439|p03076|0
u891161439|p03076|0
codenet
Compile Error
756
v2_s300045182
s300045182
s300045182
p03076
p03076
u918923596
u918923596
1,593,430,681
2020-06-29T11:38:01
Main.java
import java.util.*; public class Main { public static void main(String args[]) { //値の取得 Scanner sc = new Scanner(System.in); int[] time = new int[4]; for(i = 0; i < 5; ++i){ time[i] = sc.nextInt(); } int dish[] = new int[4]; for(i = 0; i ...
Main.java:8: error: cannot find symbol for(i = 0; i < 5; ++i){ ^ symbol: variable i location: class Main Main.java:8: error: cannot find symbol for(i = 0; i < 5; ++i){ ^ symbol: variable i location: class Main Main.java:8: error: cannot find symbol for(i = 0...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918923596|p03076|0
u918923596|p03076|0
codenet
Compile Error
512
v2_s267690302
s267690302
s267690302
p03076
p03076
u982630224
u982630224
1,554,668,628
2019-04-07T20:23:48
Main.java
import numpy as np A=int(input()) B=int(input()) C=int(input()) D=int(input()) E=int(input()) X = np.asarray([A,B,C,D,E]) X_div = X%10 X_sort = np.sort(X_div) min=0 for i in range(5): if X_sort[i]!=0: min=X_sort[i] break if min==0: min=10 X=10*((X-1)//10)+10 sum=0 for i in range(5): sum+=X[i] print(sum-10+min)
Main.java:1: error: '.' expected import numpy as np ^ Main.java:1: error: ';' expected import numpy as np ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u982630224|p03076|1
u982630224|p03076|1
codenet
Compile Error
319
v2_s609703448
s609703448
s609703448
p03077
p03077
u024824950
u024824950
1,554,583,845
2019-04-06T20:50:45
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long N = sc.nextInt(); Long a[] = new Long[5]; for(int i = 0; i < a.length(); i++){ a[i] = sc.nextLong(); } Arrays.sort(a); long s1 = a[0...
Main.java:10: error: cannot find symbol for(int i = 0; i < a.length(); i++){ ^ symbol: method length() location: variable a of type Long[] 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03077|0
u024824950|p03077|0
codenet
Compile Error
478
v2_s103899837
s103899837
s103899837
p03077
p03077
u029115008
u029115008
1,554,583,147
2019-04-06T20:39:07
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int abcde[] = new int[5]; for (int i = 0; i < 6; i++) { nabcde[i] = sc.nextInt(); } int ans = 0; int set[] = new int[5]; set[0] = nabcde[0]; int i = 0; int ans = 0;...
Main.java:8: error: cannot find symbol nabcde[i] = sc.nextInt(); ^ symbol: variable nabcde location: class Main Main.java:12: error: cannot find symbol set[0] = nabcde[0]; ^ symbol: variable nabcde location: class Main Main.java:14: error: variable ans is already defined in meth...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u029115008|p03077|0
u029115008|p03077|0
codenet
Compile Error
511
v2_s895747535
s895747535
s895747535
p03077
p03077
u046482892
u046482892
1,564,667,199
2019-08-01T13:46:39
Main.java
import java.util.*; import javafx.util.converter.PercentageStringConverter; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); long N = sc.nextLong(); long A = sc.nextLong(); long B = sc.nextLong(); long C = sc.nextLong(); long D = sc.nex...
Main.java:3: error: package javafx.util.converter does not exist import javafx.util.converter.PercentageStringConverter; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u046482892|p03077|0
u046482892|p03077|0
codenet
Compile Error
1,341
v2_s486518608
s486518608
s486518608
p03077
p03077
u092025199
u092025199
1,556,388,869
2019-04-27T18:14:29
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[] a=new int[5]; int temp=10000000000000000000; for(int i=0;i<5;i++){ a[i] = sc.nextInt(); te...
Main.java:8: error: integer number too large int temp=10000000000000000000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u092025199|p03077|0
u092025199|p03077|0
codenet
Compile Error
428
v2_s323962548
s323962548
s323962548
p03077
p03077
u092025199
u092025199
1,556,388,911
2019-04-27T18:15: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(); int[] a=new int[5]; int temp=10000000000; for(int i=0;i<5;i++){ a[i] = sc.nextInt(); temp=a[i]<t...
Main.java:8: error: integer number too large int temp=10000000000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u092025199|p03077|0
u092025199|p03077|0
codenet
Compile Error
419
v2_s365845886
s365845886
s365845886
p03077
p03077
u168787173
u168787173
1,555,346,944
2019-04-15T16:49:04
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long[] array = new long[5]; for (int i=0; i<array.length; i++) { array[i] = sc.nextLong(); } long min_move = array[0]; for (int i=1...
Main.java:20: error: ';' expected long amari = ((long)n/min_move > 0) ? 1 : 0 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u168787173|p03077|0
u168787173|p03077|0
codenet
Compile Error
560
v2_s887208508
s887208508
s887208508
p03077
p03077
u209067041
u209067041
1,557,346,369
2019-05-08T20:12:49
CFiveTransportations.java
package src; import IO.InputReader; import java.io.PrintWriter; public class CFiveTransportations { static double EPS = 1e-6; public void solve(int testNumber, InputReader in, PrintWriter out) { long n = in.nextLong(), a[] = new long[5]; for (int i = 0; i < 5; ++i) a[i] = in.nextInt(); ...
CFiveTransportations.java:3: error: package IO does not exist import IO.InputReader; ^ CFiveTransportations.java:9: error: cannot find symbol public void solve(int testNumber, InputReader in, PrintWriter out) { ^ symbol: class InputReader location: class CFiveTra...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u209067041|p03077|0
u209067041|p03077|0
codenet
Compile Error
506
v2_s418000920
s418000920
s418000920
p03077
p03077
u218740431
u218740431
1,588,987,848
2020-05-09T01:30:48
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 a = sc.nextLong();  long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long e = sc.nextLong(); ...
Main.java:7: error: illegal character: '\u3000' ?long b = sc.nextLong(); ^ Main.java:11: error: ';' expected long f = Math.max(Math.max(a,Math.max(b,Math.max(c,Math.max(d,e))))) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03077|0
u218740431|p03077|0
codenet
Compile Error
425
v2_s329819016
s329819016
s329819016
p03077
p03077
u218740431
u218740431
1,588,987,907
2020-05-09T01:31:47
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 a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long e = sc.nextLong(); ...
Main.java:11: error: ';' expected long f = Math.max(a,Math.max(b,Math.max(c,Math.max(d,e)))) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03077|0
u218740431|p03077|0
codenet
Compile Error
421
v2_s324267219
s324267219
s324267219
p03077
p03077
u353919145
u353919145
1,563,870,845
2019-07-23T08:34:05
Main.java
import java.io.DataInputStream; import java.io.FileInputStream; import java.io.IOException; public class Main { static class Reader { final private int BUFFER_SIZE = 1 << 16; private DataInputStream din; private byte[] buffer; private int bufferPointer, bytesRead; publi...
Main.java:127: error: package rdcstctn does not exist rdcstctn.Reader in = new rdcstctn.Reader(); ^ Main.java:127: error: package rdcstctn does not exist rdcstctn.Reader in = new rdcstctn.Reader(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u353919145|p03077|0
u353919145|p03077|0
codenet
Compile Error
3,693
v2_s239914839
s239914839
s239914839
p03077
p03077
u438586057
u438586057
1,554,638,564
2019-04-07T12:02:44
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long e = sc.nextLong(); // find the bottle neck of each station long bott...
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
u438586057|p03077|0
u438586057|p03077|0
codenet
Compile Error
898
v2_s646935380
s646935380
s646935380
p03077
p03077
u444878520
u444878520
1,556,144,189
2019-04-24T22:16:29
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 cap[] = new long[5]; // array for (int i=0; i<5; i++) { cap[i] = sc.nextLong(); } Arrays.sort(cap); long num_...
Main.java:11: error: cannot find symbol long num_iter = (long) ceil(N/(double) cap[0]); ^ symbol: method ceil(double) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u444878520|p03077|0
u444878520|p03077|0
codenet
Compile Error
407
v2_s783435498
s783435498
s783435498
p03077
p03077
u474492589
u474492589
1,565,775,965
2019-08-14T09:46:05
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[] A = new int[5]; for(int i = 0; i < 5; i++){ A[i] = sc.nextLong(); } long min = A[0]; for(int i = 1;...
Main.java:8: error: incompatible types: int[] cannot be converted to long[] long[] A = new int[5]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u474492589|p03077|0
u474492589|p03077|0
codenet
Compile Error
513
v2_s938548874
s938548874
s938548874
p03077
p03077
u474492589
u474492589
1,565,775,997
2019-08-14T09:46:37
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[] A = new int[5]; for(int i = 0; i < 5; i++){ A[i] = sc.nextLong(); } sc.close(); long min = A[0]; ...
Main.java:8: error: incompatible types: int[] cannot be converted to long[] long[] A = new int[5]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u474492589|p03077|0
u474492589|p03077|0
codenet
Compile Error
532
v2_s183444627
s183444627
s183444627
p03077
p03077
u487433273
u487433273
1,576,506,524
2019-12-16T14:28:44
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long N = sc.nextInt(); long[] Xi = new int[N]; for(int i =0;i<5;i++) { Xi[i] = sc.nextInt(); } Arrays.sort(Xi); long ans = (N/Xi[0]) + 4; System.out.println(ans); } }
Main.java:6: error: incompatible types: possible lossy conversion from long to int long[] Xi = new int[N]; ^ Main.java:6: error: incompatible types: int[] cannot be converted to long[] long[] Xi = new int[N]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p03077|0
u487433273|p03077|0
codenet
Compile Error
314
v2_s115455656
s115455656
s115455656
p03077
p03077
u487433273
u487433273
1,576,506,552
2019-12-16T14:29:12
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[] Xi = new long[N]; for(int i =0;i<5;i++) { Xi[i] = sc.nextLong(); } Arrays.sort(Xi); long ans = (N/Xi[0]) + 4; System.out.println(ans); } }
Main.java:6: error: incompatible types: possible lossy conversion from long to int long[] Xi = new long[N]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p03077|0
u487433273|p03077|0
codenet
Compile Error
317
v2_s546318861
s546318861
s546318861
p03077
p03077
u487433273
u487433273
1,576,506,764
2019-12-16T14:32: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(); long[] Xi = new long[5]; for(int i =0;i<5;i++) { Xi[i] = sc.nextLong(); } Arrays.sort(Xi); double cc = Math.ceil((double)N/(double)Xi[0]); long ans =...
Main.java:13: error: incompatible types: possible lossy conversion from double to long long ans = cc+4; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p03077|0
u487433273|p03077|0
codenet
Compile Error
359
v2_s158754412
s158754412
s158754412
p03077
p03077
u540404103
u540404103
1,555,492,357
2019-04-17T09:12:37
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { List<Long> list = new ArrayList<Long>(); Scanner scan = new Scanner(System.in); long n = scan.nextLong(); for(int i = 0 ; i < 5; i++) { list.add(scan.nextLong()); ...
Main.java:20: error: cannot find symbol System.out.println(p); ^ symbol: variable p location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u540404103|p03077|1
u540404103|p03077|1
codenet
Compile Error
553
v2_s377221193
s377221193
s377221193
p03077
p03077
u742112021
u742112021
1,555,444,083
2019-04-16T19:48:03
Main.java
import java.util.*; public class Main { private long transport[] = {0,0,0,0,0} private long city[] = {0,0,0,0,0,0} public static void main(String[] args) { Main m = new Main(); m.read(); m.exec(); } private void read() { Scanner scan = new Scanner(System.in); city[0] = scan.nextInt(...
Main.java:5: error: ';' expected private long transport[] = {0,0,0,0,0} ^ Main.java:6: error: ';' expected private long city[] = {0,0,0,0,0,0} ^ Main.java:26: error: illegal start of expression while (city[0] > 0 || city[1] > 0 || city...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u742112021|p03077|0
u742112021|p03077|0
codenet
Compile Error
1,055
v2_s390291872
s390291872
s390291872
p03077
p03077
u742112021
u742112021
1,555,444,200
2019-04-16T19:50:00
Main.java
import java.util.*; public class Main { private long transport[] = {0,0,0,0,0}; private long city[] = {0,0,0,0,0,0}; public static void main(String[] args) { Main m = new Main(); m.read(); m.exec(); } private void read() { Sca...
Main.java:27: error: cannot find symbol for (i = 0; i < transport.length; i++) { ^ symbol: variable i location: class Main Main.java:27: error: cannot find symbol for (i = 0; i < transport.length; i++) { ^ symbol: variable i location: class Main Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u742112021|p03077|0
u742112021|p03077|0
codenet
Compile Error
1,243
v2_s930282859
s930282859
s930282859
p03077
p03077
u742112021
u742112021
1,555,444,268
2019-04-16T19:51:08
Main.java
import java.util.*; public class Main { private long transport[] = {0,0,0,0,0}; private long city[] = {0,0,0,0,0,0}; public static void main(String[] args) { Main m = new Main(); m.read(); m.exec(); ...
Main.java:32: error: package Sytem does not exist Sytem.out.println(time); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u742112021|p03077|0
u742112021|p03077|0
codenet
Compile Error
1,435
v2_s199808168
s199808168
s199808168
p03077
p03077
u742112021
u742112021
1,555,451,450
2019-04-16T21:50:50
Main.java
import java.util.*; public class Main { private int criticalTime = 0; private int people = 0; public static void main(String[] args) { Main m = new Main(); m.read(); m.exec(); } private void read() { Scanner scan = new Scanner(System.in); people = scan.nextLong(); criticalTim...
Main.java:16: error: incompatible types: possible lossy conversion from long to int people = scan.nextLong(); ^ Main.java:19: error: incompatible types: possible lossy conversion from long to int int time = scan.nextLong(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u742112021|p03077|0
u742112021|p03077|0
codenet
Compile Error
657
v2_s967680255
s967680255
s967680255
p03077
p03077
u742112021
u742112021
1,555,451,559
2019-04-16T21:52:39
Main.java
import java.util.*; public class Main { private long criticalTime = 0; private long people = 0; public static void main(String[] args) { Main m = new Main(); m.read(); m.exec(); } private void read() { Scanner scan = new Scanner(System.in); people = scan.nextLong(); criticalTime =...
Main.java:19: error: incompatible types: possible lossy conversion from long to int int time = scan.nextLong(); ^ Main.java:27: error: incompatible types: possible lossy conversion from long to int int totalTime = people / criticalTime + 4; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u742112021|p03077|0
u742112021|p03077|0
codenet
Compile Error
652
v2_s829816860
s829816860
s829816860
p03077
p03077
u742112021
u742112021
1,555,451,605
2019-04-16T21:53:25
Main.java
import java.util.*; public class Main { private long criticalTime = 0; private long people = 0; public static void main(String[] args) { Main m = new Main(); m.read(); m.exec(); } private void read() { Scanner scan = new Scanner(System.in); people = scan.nextLong(); criticalTime =...
Main.java:19: error: incompatible types: possible lossy conversion from long to int int time = scan.nextLong(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u742112021|p03077|0
u742112021|p03077|0
codenet
Compile Error
653
v2_s844915311
s844915311
s844915311
p03077
p03077
u810075828
u810075828
1,554,586,923
2019-04-06T21:42:03
C.java
ava.io.*; public class C{ public static void main(String[] args){ BufferedReader br = new BufferedReader(new BufferedReader(new InputStreamReader(System.in))); int limit[] = new int[5]; int num[] = {0, 0, 0, 0, 0, 0}; int time = 0; int N = 0; try { N = I...
C.java:1: error: class, interface, enum, or record expected ava.io.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u810075828|p03077|0
u810075828|p03077|0
codenet
Compile Error
1,021
v2_s672168509
s672168509
s672168509
p03077
p03077
u863370423
u863370423
1,563,870,799
2019-07-23T08:33:19
Main.java
import java.io.IOException; public class Main { public static void main(String args[]) throws IOException { rdcstctn.Reader in = new rdcstctn.Reader(); long n = in.nextLong(); long[] moves = new long[5]; long minPplPM = Long.MAX_VALUE; for (int i = 0; i < moves.length; i++)...
Main.java:5: error: package rdcstctn does not exist rdcstctn.Reader in = new rdcstctn.Reader(); ^ Main.java:5: error: package rdcstctn does not exist rdcstctn.Reader in = new rdcstctn.Reader(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03077|0
u863370423|p03077|0
codenet
Compile Error
477
v2_s782608727
s782608727
s782608727
p03077
p03077
u900109664
u900109664
1,555,264,037
2019-04-14T17:47:17
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int arr[] = new int[5]; for(int i=0; i<5; i++){ arr[i] = sc.nextInt(); } Arrays.sort(arr); int N_min = arr[0]; int ans; if(N%N_min>0){ ans = 5+N/N_min; } e...
Main.java:10: error: cannot find symbol Arrays.sort(arr); ^ symbol: variable Arrays location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u900109664|p03077|0
u900109664|p03077|0
codenet
Compile Error
383
v2_s331784415
s331784415
s331784415
p03077
p03077
u900109664
u900109664
1,555,264,705
2019-04-14T17:58:25
Main.java
Vimport java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int arr[] = new int[5]; for(int i=0; i<5; i++){ arr[i] = sc.nextInt(); } Arrays.sort(arr); int ans; if(N%arr[0]>0){ ans = 5+N/arr[0]; } else{ ans = 4+N/arr[0];...
Main.java:1: error: class, interface, enum, or record expected Vimport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u900109664|p03077|0
u900109664|p03077|0
codenet
Compile Error
360
v2_s247554571
s247554571
s247554571
p03077
p03077
u900109664
u900109664
1,555,265,207
2019-04-14T18:06:47
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long N = sc.nextInt(); long arr[] = new long[5]; for(long i=0; i<5; i++){ arr[i] = sc.nextInt(); } Arrays.sort(arr); long ans; if(N%arr[0]>0){ ans = 5+N/arr[0]; } else{ ans = 4+N/arr...
Main.java:8: error: incompatible types: possible lossy conversion from long to int arr[i] = sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u900109664|p03077|0
u900109664|p03077|0
codenet
Compile Error
364
v2_s930120311
s930120311
s930120311
p03077
p03077
u900109664
u900109664
1,555,265,509
2019-04-14T18:11:49
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long N = sc.nextInt(); long arr[] = new long[5]; for(long i=0; i<5; i++){ arr[i] = sc.nextLong(); } Arrays.sort(arr); long ans; if(N%arr[0]>0){ ans = 5+N/arr[0]; } else{ ans = 4+N/ar...
Main.java:8: error: incompatible types: possible lossy conversion from long to int arr[i] = sc.nextLong(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u900109664|p03077|0
u900109664|p03077|0
codenet
Compile Error
360
v2_s844987209
s844987209
s844987209
p03077
p03077
u902519271
u902519271
1,589,676,086
2020-05-17T00:41:26
Main.java
import java.time.LocalDateTime; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); int A = scan.nextInt(); int B = scan.nextInt(); int C = scan.nextInt(); int D = scan.nextInt(); int E = scan.nextInt(); ...
Main.java:100: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902519271|p03077|0
u902519271|p03077|0
codenet
Compile Error
2,486
v2_s296153630
s296153630
s296153630
p03077
p03077
u904681781
u904681781
1,595,453,942
2020-07-22T21:39:02
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N,A,B,C,D,E; N=sc.nextInt(); long min=1000000000000000; for(int i=0;i<5;i++){ int m = sc.nextInt(); if(m<min)min=m; } System.out.print(N/m+4); } }
Main.java:9: error: integer number too large long min=1000000000000000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u904681781|p03077|0
u904681781|p03077|0
codenet
Compile Error
292
v2_s915475275
s915475275
s915475275
p03077
p03077
u904681781
u904681781
1,595,454,164
2020-07-22T21:42:44
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 min=0; for(int i=0;i<5;i++){ int m = sc.nextInt(); if(min=0||m<min)min=m; } System.out.print(N/m+4); } }
Main.java:11: error: bad operand types for binary operator '||' if(min=0||m<min)min=m; ^ first type: int second type: boolean Main.java:11: error: incompatible types: int cannot be converted to boolean if(min=0||m<min)min=m; ^ Main.java:13: error: cannot find symbol System.out.print(N/m...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u904681781|p03077|0
u904681781|p03077|0
codenet
Compile Error
268
v2_s568008896
s568008896
s568008896
p03077
p03077
u954094464
u954094464
1,567,105,387
2019-08-29T19:03:07
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); long n=sc.nextLong(); long[] k=new long[5]; for(int i=0;i<5;i++){ k[i]=sc.nextLong(); } Arrays.sort(k); System.out.println(n%k[0]==0?n/a[0]+4:n/a[0]+5); } }
Main.java:11: error: reference to println is ambiguous System.out.println(n%k[0]==0?n/a[0]+4:n/a[0]+5); ^ both method println(char[]) in PrintStream and method println(String) in PrintStream match Main.java:11: error: cannot find symbol System.out.println(n%k[0]==0?n/a[0]+4:n/a[0]+5); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954094464|p03077|0
u954094464|p03077|0
codenet
Compile Error
284
v2_s862820126
s862820126
s862820126
p03078
p03078
u042370792
u042370792
1,558,471,726
2019-05-21T20:48:46
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { private void solve() { Scanner sc = new Scanner(System.in); int X = sc.nextInt(); int Y = sc.nextInt(); int Z = sc.nextInt(); int K = sc.nextInt(); long[] A = new long[X]; long[] B = new...
Main.java:45: error: cannot find symbol new Main_123_D_1().solve(); ^ symbol: class Main_123_D_1 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u042370792|p03078|0
u042370792|p03078|0
codenet
Compile Error
1,174
v2_s795825067
s795825067
s795825067
p03078
p03078
u042370792
u042370792
1,558,471,770
2019-05-21T20:49:30
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { private void solve() { Scanner sc = new Scanner(System.in); int X = sc.nextInt(); int Y = sc.nextInt(); int Z = sc.nextInt(); int K = sc.nextInt(); long[] A = new long[X]; long[] B = new...
Main.java:45: error: cannot find symbol new Main.solve(); ^ symbol: class solve location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u042370792|p03078|0
u042370792|p03078|0
codenet
Compile Error
1,164
v2_s060376687
s060376687
s060376687
p03078
p03078
u218740431
u218740431
1,588,991,507
2020-05-09T02:31:47
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int z = sc.nextInt(); int k = sc.nextInt(); long [] in1 = new int [x]; long [] in2 = new int [y]; long []...
Main.java:9: error: incompatible types: int[] cannot be converted to long[] long [] in1 = new int [x]; ^ Main.java:10: error: incompatible types: int[] cannot be converted to long[] long [] in2 = new int [y]; ^ Main.java:11: error: incompatible types: int[] cannot be conv...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03078|0
u218740431|p03078|0
codenet
Compile Error
1,742
v2_s490793421
s490793421
s490793421
p03078
p03078
u218740431
u218740431
1,588,991,545
2020-05-09T02:32:25
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int z = sc.nextInt(); int k = sc.nextInt(); long [] in1 = new int [x]; long [] in2 = new int [y]; long []...
Main.java:9: error: incompatible types: int[] cannot be converted to long[] long [] in1 = new int [x]; ^ Main.java:10: error: incompatible types: int[] cannot be converted to long[] long [] in2 = new int [y]; ^ Main.java:11: error: incompatible types: int[] cannot be conv...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03078|0
u218740431|p03078|0
codenet
Compile Error
1,746
v2_s636283142
s636283142
s636283142
p03078
p03078
u241874341
u241874341
1,554,582,713
2019-04-06T20:31:53
MainTemplateKt.java
import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; import java.util.PriorityQueue; import java.util.Set; import java.util.function.ToLongFunction; import kotlin.Metadata; import kotlin.TypeCastException;...
MainTemplateKt.java:10: error: package kotlin does not exist import kotlin.Metadata; ^ MainTemplateKt.java:11: error: package kotlin does not exist import kotlin.TypeCastException; ^ MainTemplateKt.java:12: error: package kotlin.collections does not exist import kotlin.collections.CollectionsK...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u241874341|p03078|0
u241874341|p03078|0
codenet
Compile Error
6,763
v2_s608200074
s608200074
s608200074
p03078
p03078
u245879900
u245879900
1,554,581,281
2019-04-06T20:08:01
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.*; public class Main { private static FastScanner sc = new FastScanner(); private static Solution solution = new Solution(); private static int[][] neg8 = new int[][]{{-1, -1}, {0, -1}, {1, -1}, {-1, 0},...
Main.java:49: error: unreachable statement for(int i = temp-1;i >= temp - k;i--){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u245879900|p03078|0
u245879900|p03078|0
codenet
Compile Error
9,573
v2_s144362208
s144362208
s144362208
p03078
p03078
u438586057
u438586057
1,554,644,175
2019-04-07T13:36:15
Main.java
import java.util.*; public class Main { private void findCombinations(long[] xArr, long[] yArr, long[] zArr, int k) { List<Long> ans = new ArrayList<>(); for(int a = 0; a < xArr.length; a++){ for(int b = 0; b < yArr.length; b++){ for(int c = 0; c < zArr.length; c++){ if((a + 1) * (b + 1) * (c + 1...
Main.java:44: error: cannot find symbol Main dCake123 = new DCake123(); ^ symbol: class DCake123 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u438586057|p03078|0
u438586057|p03078|0
codenet
Compile Error
1,115
v2_s023805195
s023805195
s023805195
p03078
p03078
u489783389
u489783389
1,555,613,671
2019-04-18T18:54:31
Main.java
public class Main { static List<Long> a; static List<Long> b; static List<Long> c; public static void main(String[] args) { Scanner sc = new Scanner(); int x = sc.nextInt(); int y = sc.nextInt(); int z = sc.nextInt(); int k = sc.nextInt(); a = new ArrayList<>(); b = new ArrayList<>(); c = new Arra...
Main.java:2: error: cannot find symbol static List<Long> a; ^ symbol: class List location: class Main Main.java:3: error: cannot find symbol static List<Long> b; ^ symbol: class List location: class Main Main.java:4: error: cannot find symbol static List<Long> c; ^ symbol: cla...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u489783389|p03078|1
u489783389|p03078|1
codenet
Compile Error
2,338
v2_s632685069
s632685069
s632685069
p03078
p03078
u513453406
u513453406
1,555,092,554
2019-04-12T18:09:14
Main.java
//解けなかった import java.util.*; public class Main{ public static void main(String args[]) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); long[] a = new int[Long.parselong(br.readLine())]; long[] b = new int[Long.parselong(br.readLine())]; long[] c = new int[Long.parselong(br...
Main.java:42: error: not a statement sums[i]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u513453406|p03078|0
u513453406|p03078|0
codenet
Compile Error
1,313
v2_s353545241
s353545241
s353545241
p03078
p03078
u596758817
u596758817
1,598,708,948
2020-08-29T13:49:08
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.*; import javax.sound.midi.MidiChannel; import javax.transaction.xa.Xid; import javax.xml.ws.WebServiceProvider; public class Main { static final long MOD=1000000007;//998244353; public static void main(String[] arg...
Main.java:8: error: package javax.xml.ws does not exist import javax.xml.ws.WebServiceProvider; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u596758817|p03078|0
u596758817|p03078|0
codenet
Compile Error
4,497
v2_s254731102
s254731102
s254731102
p03078
p03078
u596758817
u596758817
1,598,708,980
2020-08-29T13:49:40
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.*; import javax.sound.midi.MidiChannel; import javax.transaction.xa.Xid; import javax.xml.ws.WebServiceProvider; public class Main { static final long MOD=1000000007;//998244353; public static void main(String[] arg...
Main.java:8: error: package javax.xml.ws does not exist import javax.xml.ws.WebServiceProvider; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u596758817|p03078|0
u596758817|p03078|0
codenet
Compile Error
4,497
v2_s699128827
s699128827
s699128827
p03078
p03078
u742112021
u742112021
1,555,459,521
2019-04-17T00:05:21
Main.java
import java.util.*; public class Main { private List<Long> tasteList; private int k = 0; public static void main(String[] args) { Main m = new Main(); m.read(); m.exec(); } private void read() { ...
Main.java:45: error: cannot find symbol System.out.println(String.valueOf(tasteList.get(tasteList.sise() - i))); ^ symbol: method sise() location: variable tasteList of type List<Long> 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u742112021|p03078|0
u742112021|p03078|0
codenet
Compile Error
1,492
v2_s537031011
s537031011
s537031011
p03078
p03078
u766168866
u766168866
1,554,620,019
2019-04-07T06:53:39
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int X = sc.nextInt(); int Y = sc.nextInt(); int Z = sc.nextInt(); int K = sc.nextInt(); Long[] A = new Long[X]; Long[] B = new Long[Y]; Long[] C = new L...
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 Main.java:36: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u766168866|p03078|0
u766168866|p03078|0
codenet
Compile Error
1,601
v2_s770412168
s770412168
s770412168
p03078
p03078
u784448849
u784448849
1,575,843,858
2019-12-08T22:24:18
Main.java
fun main(args :Array<String>) { val (x, y, z, k) = readIntegerList() val aList = readLongList() val bList = readLongList() val cList = readLongList() val abList = ArrayList<Long>(x * y) for (a in aList) { abList.addAll(bList.map { it + a }) } val abc = abList.sortedDescending()....
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. fun main(args :Array<String>) { ^ (use --enable-preview to enable unnamed classes) Main.java:1: error: <identifier> expected fun main(args :Array<String>) { ^ Main.java:1: error: class, interface, enum, or record expec...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u784448849|p03078|1
u784448849|p03078|0
codenet
Compile Error
796
v2_s358775248
s358775248
s358775248
p03078
p03078
u795978684
u795978684
1,582,315,719
2020-02-21T20:08:39
Main.java
import java.util.*; import java.util.Map.Entry; class Main { // static int mod = (int) (Math.pow(10,9)+7); // static int mod = 998244353; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int X = sc.nextInt(); int Y = sc.nextInt(); int Z = sc.nextInt(...
Main.java:49: error: reached end of file while parsing else lw=ave; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u795978684|p03078|0
u795978684|p03078|0
codenet
Compile Error
1,296
v2_s922724741
s922724741
s922724741
p03078
p03078
u800780376
u800780376
1,555,941,737
2019-04-22T14:02:17
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; /*Atcoder用 * BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] tmp = br.readLi...
Main.java:73: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u800780376|p03078|0
u800780376|p03078|0
codenet
Compile Error
2,036
v2_s138610561
s138610561
s138610561
p03078
p03078
u854155653
u854155653
1,597,496,239
2020-08-15T12:57:19
Main.java
import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; import java.math.BigInteger; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Collections; import java.util.Comparator; import java.util.Deque; import java.util...
Main.java:314: error: cannot find symbol PriorityQueue<solve_abc123_d_cake> pq ^ symbol: class solve_abc123_d_cake location: class Main Main.java:318: error: cannot find symbol pq.add(new solve_abc123_d_cake(a[0]+b[0]+c[0], 0, 0, 0)); ^ symbol: class solve_abc123_d_cake loca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u854155653|p03078|0
u854155653|p03078|0
codenet
Compile Error
8,181
v2_s146600515
s146600515
s146600515
p03078
p03078
u861095163
u861095163
1,554,584,042
2019-04-06T20:54:02
atcoder.java
public final class atcoder/abc123/DKt { // access flags 0x19 public final static main([Ljava/lang/String;)V @Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0 L0 ALOAD 0 LDC "args" INVOKESTATIC kotlin/jvm/internal/Intrinsics.checkParameterIsNotNull (Ljava/lang/Object;Ljava/lang/St...
atcoder.java:1: error: '{' expected public final class atcoder/abc123/DKt { ^ atcoder.java:5: error: invalid method declaration; return type required public final static main([Ljava/lang/String;)V ^ atcoder.java:5: error: illegal start of type public final static main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u861095163|p03078|0
u861095163|p03078|0
codenet
Compile Error
39,224
v2_s599848728
s599848728
s599848728
p03078
p03078
u954094464
u954094464
1,567,110,832
2019-08-29T20:33:52
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int x=sc.nextInt(); int y=sc.nextInt(); int z=sc.nextInt(); int d=sc.nextInt(); long[] a=new long[x]; long[] b=new long[y]; long[] c=new long[z]; for(int i=0;i<x;i++){ a[i]=sc.nextLong(); ...
Main.java:46: error: <identifier> expected r.stream().sorted(Comparator.reverseOrder()).forEach(System.out::println); ^ Main.java:46: error: ';' expected r.stream().sorted(Comparator.reverseOrder()).forEach(System.out::println); ^ Main.java:49: error: class, interface, enum, or record expected...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954094464|p03078|0
u954094464|p03078|0
codenet
Compile Error
943
v2_s425425012
s425425012
s425425012
p03079
p03079
u206914648
u206914648
1,555,654,646
2019-04-19T06:17:26
Main.java
class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); if(a==b){ if(b==c) System.out.println("Yes"); }else{ System.out.println("No"); } } }
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u206914648|p03079|0
u206914648|p03079|0
codenet
Compile Error
265
v2_s868382900
s868382900
s868382900
p03079
p03079
u217215845
u217215845
1,554,028,627
2019-03-31T10:37:07
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ int a = in.nextInt(),b=in.nextInt(),c= in.nextInt(); if(a==b &&a==c)System.out.println("Yes"); else System.out.println("No"); } }
Main.java:4: error: cannot find symbol int a = in.nextInt(),b=in.nextInt(),c= in.nextInt(); ^ symbol: variable in location: class Main Main.java:4: error: cannot find symbol int a = in.nextInt(),b=in.nextInt(),c= in.nextInt(); ^ symbol: variable in location: class Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u217215845|p03079|0
u217215845|p03079|0
codenet
Compile Error
221
v2_s232798934
s232798934
s232798934
p03079
p03079
u285459079
u285459079
1,554,410,208
2019-04-04T20:36:48
Main.java
if (a==b && b==c && c==a){ return "Yes"; } else{ return "No"; }
Main.java:1: error: class, interface, enum, or record expected if (a==b && b==c && c==a){ ^ Main.java:3: error: class, interface, enum, or record expected } ^ Main.java:6: error: class, interface, enum, or record expected } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u285459079|p03079|0
u285459079|p03079|0
codenet
Compile Error
63
v2_s260082487
s260082487
s260082487
p03079
p03079
u357453521
u357453521
1,553,976,420
2019-03-30T20:07:00
Main.java
class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); if(A == B && A == C && B == C) System.out.println("Yes"); else System.out.println("No"); } }
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
u357453521|p03079|0
u357453521|p03079|0
codenet
Compile Error
262
v2_s358741865
s358741865
s358741865
p03079
p03079
u438586057
u438586057
1,553,976,938
2019-03-30T20:15:38
Main.java
import java.util.Scanner; public class Main { public String judgeTriangle(int a, int b, int c){ if(a < 1 || a > 100 || b < 1 || b > 100 || c < 1 || c > 100) return "No"; if(a != c || b != c) return "No"; if(a + b > c && a + c > b && b + c > a) return "Yes"; else return "No"; } public static void main...
Main.java:20: error: cannot find symbol EquilateralTriangle equilateralTriangle = new EquilateralTriangle(); ^ symbol: class EquilateralTriangle location: class Main Main.java:20: error: cannot find symbol EquilateralTriangle equilateralTriangle = new EquilateralTriangle(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u438586057|p03079|0
u438586057|p03079|0
codenet
Compile Error
614
v2_s585657332
s585657332
s585657332
p03079
p03079
u444913749
u444913749
1,553,976,572
2019-03-30T20:09:32
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int A = scan.nextInt(); int B = scan.nextInt(); int C = scan.nextInt(); if(A=B&&A>=C){ System.out.println("Yes"); } else{ System.out.println("No"); } } }
Main.java:8: error: bad operand types for binary operator '&&' if(A=B&&A>=C){ ^ first type: int second type: boolean Main.java:8: error: incompatible types: int cannot be converted to boolean if(A=B&&A>=C){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u444913749|p03079|0
u444913749|p03079|0
codenet
Compile Error
299
v2_s509438993
s509438993
s509438993
p03079
p03079
u547167033
u547167033
1,570,707,563
2019-10-10T11:39:23
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); if(a==b&&b==c)System.out.println("Yes"); else SYstem.out.println("No"); } }
Main.java:9: error: package SYstem does not exist else SYstem.out.println("No"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03079|0
u547167033|p03079|0
codenet
Compile Error
285
v2_s216526296
s216526296
s216526296
p03079
p03079
u575858003
u575858003
1,553,976,960
2019-03-30T20:16:00
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); if(a == b && a == c && c ==a){ system.out.println("Yes"); } else{ ...
Main.java:12: error: package system does not exist system.out.println("Yes"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u575858003|p03079|0
u575858003|p03079|0
codenet
Compile Error
379
v2_s986677204
s986677204
s986677204
p03079
p03079
u679904598
u679904598
1,553,976,210
2019-03-30T20:03:30
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner kbd = new Scanner(System.in); int a = kbc.nextInt(); int b = kbd.nextInt(); int c = kbd.nextInt(); if (a == b && b == c && a == c) { System.out.println("Yes"); } else...
Main.java:6: error: cannot find symbol int a = kbc.nextInt(); ^ symbol: variable kbc location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u679904598|p03079|0
u679904598|p03079|0
codenet
Compile Error
378
v2_s681312205
s681312205
s681312205
p03079
p03079
u927105328
u927105328
1,553,976,299
2019-03-30T20:04:59
Main.java
import java.util.*; public class Main { public static void Main(String[] args) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); String x[] = line.split(" "); int hen1 = Integer.valueOf(x[0]); int hen2 = Integer.valueOf(x[1]); int hen3 = Integer.va...
Main.java:15: error: ';' expected System.out.println("No") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u927105328|p03079|0
u927105328|p03079|0
codenet
Compile Error
489
v2_s913377643
s913377643
s913377643
p03080
p03080
u206914648
u206914648
1,555,655,975
2019-04-19T06:39:35
Main.java
import java.util.*; class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String[] s = sc.nextLine(); int j =0; int k =0; for(int i = 0;i < s.length;i++){ if(s[i]=="R"){ j++; }else{ k++; } } if(j>k){ System.out.println("Y...
Main.java:6: error: incompatible types: String cannot be converted to String[] String[] s = sc.nextLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u206914648|p03080|0
u206914648|p03080|0
codenet
Compile Error
372
v2_s294827416
s294827416
s294827416
p03080
p03080
u217215845
u217215845
1,554,028,973
2019-03-31T10:42:53
Main.java
import java.util.Scanner; class Main{ public static void main(String args[] ){ Scanner in = new Scanner (System.in); int letter = in.nextInt(); String a = in.next(); int red =0,blue=0; for(int i =0;i<a.length();i++) { if(a.charAt(i)=='R')red++; else if(a.charAt(i)=='B') blue++: } ...
Main.java:12: error: ';' expected else if(a.charAt(i)=='B') blue++: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u217215845|p03080|0
u217215845|p03080|0
codenet
Compile Error
397
v2_s823998632
s823998632
s823998632
p03080
p03080
u327244943
u327244943
1,553,976,208
2019-03-30T20:03:28
Main.java
,import java.util.*; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = Integer.parseInt(scanner.nextLine()); String s = scanner.nextLine(); int red = 0; int blue = 0; for (int i = 0; i < s.length(); i++) { ...
Main.java:1: error: class, interface, enum, or record expected ,import java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u327244943|p03080|0
u327244943|p03080|0
codenet
Compile Error
507
v2_s316741674
s316741674
s316741674
p03080
p03080
u489316980
u489316980
1,567,076,006
2019-08-29T10:53:26
Main.java
import java.util.*; public class Main{ static int[] ans; public static void main(String[]args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int S = sc.next(); int r = 0, b = 0; for(int i = 0; i < N; i++){ if(S.charAt(i) == 'R'){ r++; }else{ b++; ...
Main.java:8: error: incompatible types: String cannot be converted to int int S = sc.next(); ^ Main.java:12: error: int cannot be dereferenced if(S.charAt(i) == 'R'){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u489316980|p03080|0
u489316980|p03080|0
codenet
Compile Error
384
v2_s335133044
s335133044
s335133044
p03080
p03080
u507706381
u507706381
1,573,113,156
2019-11-07T07:52:36
Main.java
import java.util.*; public class Main { public static void main(String[] arga) { Scanner sc = new Scannser(System.in); String s = sc.next(); int r = 0; int b = 0; for (int i = 0; i < s.length(); i++) { if (s.charAt(i) == 'R') { r++; } else { b++; } } Syst...
Main.java:5: error: cannot find symbol Scanner sc = new Scannser(System.in); ^ symbol: class Scannser location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u507706381|p03080|0
u507706381|p03080|0
codenet
Compile Error
363
v2_s611137417
s611137417
s611137417
p03080
p03080
u575858003
u575858003
1,553,977,623
2019-03-30T20:27:03
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); String b = sc.next(); String txt[] = new String[105]; int Rcount = 0; int Bcount = 0; for(int i = 0; i < b.length(); i++){ ...
Main.java:16: error: cannot find symbol txt[i] = String.valueOf(str.charAt(i)); ^ symbol: variable str location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u575858003|p03080|0
u575858003|p03080|0
codenet
Compile Error
714
v2_s846453599
s846453599
s846453599
p03080
p03080
u575858003
u575858003
1,553,977,715
2019-03-30T20:28:35
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); String b = sc.next(); String[] txt = new String[105]; int Rcount = 0; int Bcount = 0; for(int i = 0; i < b.length(); i++){ ...
Main.java:16: error: cannot find symbol txt[i] = String.valueOf(str.charAt(i)); ^ symbol: variable str location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u575858003|p03080|0
u575858003|p03080|0
codenet
Compile Error
714
v2_s272736986
s272736986
s272736986
p03080
p03080
u582880126
u582880126
1,594,274,680
2020-07-09T06:04:40
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int n = sc.nextLong(); String k = sc.nextLong(); String hat[] = s.split(""); int ans = 0; for(i = 0;i < n;i++){ if(hat[i].equals("R")){ ans+...
Main.java:17: error: illegal start of expression const message = ans > 0 ? 'Yes' : 'No'; ^ Main.java:17: error: unclosed character literal const message = ans > 0 ? 'Yes' : 'No'; ^ Main.java:17: error: unclosed character literal const message = ans > 0 ? 'Yes' : '...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u582880126|p03080|0
u582880126|p03080|0
codenet
Compile Error
531
v2_s459922165
s459922165
s459922165
p03080
p03080
u655125439
u655125439
1,553,985,972
2019-03-30T22:46:12
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int N = Integer.parseInt(in.nextLine()); String s = in.nextLine(); in.close(); int red = 0, blue = 0; for (int i = 0; i < s.length(); ++i) { if (s.charAt(i) == 'R') ...
Main.java:26: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655125439|p03080|0
u655125439|p03080|0
codenet
Compile Error
461
v2_s751148666
s751148666
s751148666
p03080
p03080
u659156129
u659156129
1,594,365,595
2020-07-10T07:19:55
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(); char[] a = new char[n]; for(int i=0; i<a.length; ++i){ a[i] = scn.next(); } int cr = 0; int cb = 0; for(int i=0; i<a.length; ++i)...
Main.java:9: error: incompatible types: String cannot be converted to char a[i] = scn.next(); ^ Main.java:14: error: bad operand types for binary operator '==' if(a[i]=="R"){ ^ first type: char second type: String Main.java:17: error: bad operand types for binary operato...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03080|0
u659156129|p03080|0
codenet
Compile Error
553
v2_s287073438
s287073438
s287073438
p03080
p03080
u659156129
u659156129
1,594,366,520
2020-07-10T07:35:20
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(); String s = scn.next(); String[] a = new String[n]; for(int i=0; i<a.length; ++i){ a[i] = s.charAt(i); } int cr = 0; int cb = 0; ...
Main.java:10: error: incompatible types: char cannot be converted to String a[i] = s.charAt(i); ^ Main.java:15: error: cannot find symbol if(a[i].equal("R")){ ^ symbol: method equal(String) location: class String Main.java:18: error: cannot find symbol if(a[i].e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03080|0
u659156129|p03080|0
codenet
Compile Error
600
v2_s883669781
s883669781
s883669781
p03080
p03080
u659156129
u659156129
1,594,366,779
2020-07-10T07:39:39
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(); String s = scn.next(); int cr = 0; int cb = 0; for(int i=0; i<n; ++i){ if(s.charAt(i)=="R"){ cr = cr + 1; ...
Main.java:11: error: bad operand types for binary operator '==' if(s.charAt(i)=="R"){ ^ first type: char second type: String Main.java:14: error: bad operand types for binary operator '==' if(s.charAt(i)=="B"){ ^ first type: char second type: String ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03080|0
u659156129|p03080|0
codenet
Compile Error
505
v2_s615179902
s615179902
s615179902
p03080
p03080
u659156129
u659156129
1,594,366,858
2020-07-10T07:40: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(); String s = scn.next(); int cr = 0; int cb = 0; for(int i=0; i<n; ++i){ if(s.charAt(i).equal("R")){ cr = cr + 1; ...
Main.java:11: error: char cannot be dereferenced if(s.charAt(i).equal("R")){ ^ Main.java:14: error: char cannot be dereferenced if(s.charAt(i).equal("B")){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03080|0
u659156129|p03080|0
codenet
Compile Error
517
v2_s200070855
s200070855
s200070855
p03080
p03080
u679904598
u679904598
1,553,976,477
2019-03-30T20:07:57
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner kbd = new Scanner(System.in); int n = kbd.nextInt(); String temp = kbd.next(); String[] arr = temp.split(""); int countR = 0; int countB = 0; for (int i = 0; i < n; i++) ...
Main.java:23: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u679904598|p03080|0
u679904598|p03080|0
codenet
Compile Error
591
v2_s361335132
s361335132
s361335132
p03080
p03080
u766168866
u766168866
1,553,976,684
2019-03-30T20:11:24
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String s = sc.next(); int r=0,b=0; String ans; for(int i = 0; i<s.length(); i++) { switch (s.charAt(i)) { case 'R': ...
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
u766168866|p03080|0
u766168866|p03080|0
codenet
Compile Error
613
v2_s407681012
s407681012
s407681012
p03080
p03080
u924281293
u924281293
1,553,979,248
2019-03-30T20:54:08
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = Integer.parseInt(scan.nextLine()); String inp = scan.nextLine(); int red = 0; int blue = 0; for(int i = 0; i < n; i++){ if(inp....
Main.java:29: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u924281293|p03080|0
u924281293|p03080|0
codenet
Compile Error
604
v2_s067040883
s067040883
s067040883
p03081
p03081
u041601206
u041601206
1,553,980,973
2019-03-30T21:22:53
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 Q = sc.nextInt(); String s = sc.next(); int [] a = new int[N]; for (int i = 0; i < N; i++) { a[i] = 1; } String t; String LR; String L ="L"; ...
Main.java:48: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u041601206|p03081|0
u041601206|p03081|0
codenet
Compile Error
860
v2_s553017389
s553017389
s553017389
p03081
p03081
u150660468
u150660468
1,553,982,722
2019-03-30T21:52:02
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int Q = sc.nextInt(); String s = sc.next(); int[] golem = new int[N]; for(int i = 0;i<N;i++) { golem[i] = 1; } for(int i = 0;i<Q;i++) { String t = ...
Main.java:39: error: variable i is already defined in method main(String[]) for(int i = 0;i<N;i++) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u150660468|p03081|0
u150660468|p03081|0
codenet
Compile Error
947
v2_s631383023
s631383023
s631383023
p03081
p03081
u575858003
u575858003
1,553,981,656
2019-03-30T21:34:16
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(); String c = sc.next(); String[] strArray = new String[a]; int[] golem = new int[a]; String[] spell = new S...
Main.java:24: error: cannot find symbol for(int k = 0; k < spell.length ; k=K+2){ ^ symbol: variable K location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u575858003|p03081|0
u575858003|p03081|0
codenet
Compile Error
1,605
v2_s963831263
s963831263
s963831263
p03081
p03081
u675503966
u675503966
1,553,983,162
2019-03-30T21:59:22
Main.java
import java.io.*; import java.util.*; import java.math.*; // import java.awt.Point; public class Main { InputStream is; PrintWriter out; String INPUT = ""; static int mod = 1_000_000_007; // int mod = 998244353; long inf = Long.MAX_VALUE/2; void solve(){ int n = ni(); in...
Main.java:38: error: unreachable statement ans++; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u675503966|p03081|0
u675503966|p03081|0
codenet
Compile Error
4,620
v2_s797180586
s797180586
s797180586
p03081
p03081
u794927332
u794927332
1,553,982,094
2019-03-30T21:41:34
Main.java
import java.util.Scanner; /** * * @author cs18097 */ public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here Scanner sc = new Scanner(System.in); int menber = sc.nextInt(); int...
Main.java:58: error: reached end of file while parsing System.out.print(menber- ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u794927332|p03081|0
u794927332|p03081|0
codenet
Compile Error
1,769
v2_s261734674
s261734674
s261734674
p03081
p03081
u992383196
u992383196
1,553,981,094
2019-03-30T21:24:54
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; public Main C { static int[] query; static boolean[] isl; static String s; static int N; public static void main(String args[]) throws Exception{ BufferedReader stdR = new BufferedReader(new InputStre...
Main.java:5: error: class, interface, enum, or record expected public Main C { ^ Main.java:7: error: unnamed classes are a preview feature and are disabled by default. static boolean[] isl; ^ (use --enable-preview to enable unnamed classes) Main.java:116: error: class, interface, enum, or record...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u992383196|p03081|0
u992383196|p03081|0
codenet
Compile Error
3,792