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_s910997281
s910997281
s910997281
p03001
p03001
u392769697
u392769697
1,593,308,204
2020-06-28T01:36:44
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); double res = (double)a * b / 2; BigDecimal b...
Main.java:12: error: cannot find symbol BigDecimal bd = new BigDecimal(res); ^ symbol: class BigDecimal location: class Main Main.java:12: error: cannot find symbol BigDecimal bd = new BigDecimal(res); ^ symbol: class BigDecimal location: class Main Main.j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u392769697|p03001|0
u392769697|p03001|0
codenet
Compile Error
558
v2_s097949751
s097949751
s097949751
p03001
p03001
u412298345
u412298345
1,560,927,655
2019-06-19T07:00:55
Main.java
class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int w = Integer.parseInt(sc.next()); int h = Integer.parseInt(sc.next()); int x = Integer.parseInt(sc.next()); int y = Integer.parseInt(sc.next()); double half = (double)w*h / 2; ...
Main.java:20: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u412298345|p03001|0
u412298345|p03001|0
codenet
Compile Error
566
v2_s633455553
s633455553
s633455553
p03001
p03001
u412298345
u412298345
1,560,927,700
2019-06-19T07:01:40
Main.java
class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int w = Integer.parseInt(sc.next()); int h = Integer.parseInt(sc.next()); int x = Integer.parseInt(sc.next()); int y = Integer.parseInt(sc.next()); double half = (double)w*h / 2; ...
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:12: error: vari...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u412298345|p03001|0
u412298345|p03001|0
codenet
Compile Error
573
v2_s669174264
s669174264
s669174264
p03001
p03001
u487433273
u487433273
1,576,493,329
2019-12-16T10:48:49
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); double ans =0.0; int ans2 = 0; ans = (double)W*(double)H/2; if(2*x = W && 2*y == H) ...
Main.java:12: error: unexpected type if(2*x = W && 2*y == H) ans2 =1; ^ required: variable found: value Main.java:12: error: bad operand types for binary operator '&&' if(2*x = W && 2*y == H) ans2 =1; ^ first type: int second type: boolean 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p03001|0
u487433273|p03001|0
codenet
Compile Error
375
v2_s455770385
s455770385
s455770385
p03001
p03001
u521293705
u521293705
1,560,714,963
2019-06-16T19:56:03
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ // スキャナーの宣言 Scanner sc = new Scanner(System.in); // 整数の入力 int w = sc.nextInt(); // スペース区切りの整数の入力 int h = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); doub...
Main.java:17: error: ';' expected double a = 0.0, b = 0.0 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u521293705|p03001|0
u521293705|p03001|0
codenet
Compile Error
1,087
v2_s730933364
s730933364
s730933364
p03001
p03001
u532573979
u532573979
1,560,720,429
2019-06-16T21:27:09
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); int W = keyboard.nextInt(); int H = keyboard.nextInt(); int x = keyboard.nextInt(); int y = keyboard.nextInt(); long double men = (W*H)/2....
Main.java:14: error: not a statement long double men = (W*H)/2.0; ^ Main.java:14: error: ';' expected long double men = (W*H)/2.0; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532573979|p03001|0
u532573979|p03001|0
codenet
Compile Error
675
v2_s497209599
s497209599
s497209599
p03001
p03001
u532573979
u532573979
1,560,720,991
2019-06-16T21:36:31
Main.java
import java.util.Arrays; import java.util.Scanner; import java.math.*; public class Main { public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); BigInteger W = keyboard.nextInt(); BigInteger H = keyboard.nextInt(); BigInteger x = keyboard.nextInt(); BigInteger y = key...
Main.java:10: error: incompatible types: int cannot be converted to BigInteger BigInteger W = keyboard.nextInt(); ^ Main.java:11: error: incompatible types: int cannot be converted to BigInteger BigInteger H = keyboard.nextInt(); ^ Main.java:12: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532573979|p03001|0
u532573979|p03001|0
codenet
Compile Error
718
v2_s280650281
s280650281
s280650281
p03001
p03001
u563673753
u563673753
1,598,343,086
2020-08-25T08:11:26
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long w = sc.nextLong(); long h = sc.nextLong(); long x = sc.nextLong(); long y = sc.nextLong(); double area = (w*h)/2; inta ju = 0; if(w == 2*x && h == 2*y) ju...
Main.java:11: error: cannot find symbol inta ju = 0; ^ symbol: class inta location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u563673753|p03001|0
u563673753|p03001|0
codenet
Compile Error
378
v2_s677672533
s677672533
s677672533
p03001
p03001
u573545768
u573545768
1,560,712,716
2019-06-16T19:18:36
Main.java
import java.util.*; import java.math.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // 整数の入 int w = sc.nextInt(); int h = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); double s = w *h; System.out.println(s/2); if(w/2 == x && w%2==...
Main.java:17: error: illegal start of expression if(w/2 == x && w%2==0 && h/2 ==y && h/2%==0){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u573545768|p03001|0
u573545768|p03001|0
codenet
Compile Error
428
v2_s320807272
s320807272
s320807272
p03001
p03001
u666880357
u666880357
1,589,302,840
2020-05-12T17:00:40
Main.java
import java.util.Scanner; /** * Main */ public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double W = sc.nextDouble(); double H = sc.nextDouble(); double x = sc.nextDouble(); double y = sc.nextDouble(); double ans; ...
Main.java:19: error: not a statement ans == W*H/2; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u666880357|p03001|0
u666880357|p03001|0
codenet
Compile Error
504
v2_s655381639
s655381639
s655381639
p03001
p03001
u675503966
u675503966
1,560,713,105
2019-06-16T19:25:05
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; int inf = Integer.MAX_VALUE/2; void sol...
Main.java:21: error: incompatible types: possible lossy conversion from double to long long ans = (double)w*h/2; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u675503966|p03001|0
u675503966|p03001|0
codenet
Compile Error
3,601
v2_s425374291
s425374291
s425374291
p03001
p03001
u787726370
u787726370
1,564,611,815
2019-07-31T22:23:35
Main.java
import java.util.*; class Main{ public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); double w = stdIn.nextDouble(); double h = stdIn.nextDouble(); double x = stdIn.nextDouble(); double y = stdIn.nextDouble(); System.out.println(w*...
Main.java:11: error: bad operand types for binary operator '==' System.out.println(w*h/2 + " "+ x == w/2 && y == h/2 ? 1 : 0); ^ first type: String second type: double 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u787726370|p03001|1
u787726370|p03001|0
codenet
Compile Error
369
v2_s938000191
s938000191
s938000191
p03001
p03001
u795978684
u795978684
1,565,333,535
2019-08-09T06:52:15
Main.java
import java.util.*; class Main { static int mod=1_000_000_007; public static void main(String[] args) { Scanner sc = new Scanner(System.in); long cnt =0; double wk =0; double S =0; int flg=0; double W = sc.nextLong(); double H = sc.nextLong(); double x = sc.nextLong();...
Main.java:43: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u795978684|p03001|0
u795978684|p03001|0
codenet
Compile Error
823
v2_s562412455
s562412455
s562412455
p03001
p03001
u801144528
u801144528
1,560,715,450
2019-06-16T20:04:10
Main.java
import java.util.*; public class Main { public static float calc_s(int w, int h) { return (float)w*(float)h; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int w, h, x, y; w = sc.nextInt(); h = sc.nextInt(); x = sc.nextIn...
Main.java:37: error: no suitable method found for println(float,int) System.out.println(calc_s(w,h)/2, 1); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u801144528|p03001|0
u801144528|p03001|0
codenet
Compile Error
2,390
v2_s745448363
s745448363
s745448363
p03001
p03001
u804923265
u804923265
1,560,801,369
2019-06-17T19:56:09
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int h = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); double a; int b; a = (double w) * (double h) / 2; if(w / 2 == x && h / 2 == y){...
Main.java:11: error: -> expected a = (double w) * (double h) / 2; ^ Main.java:11: error: illegal start of expression a = (double w) * (double h) / 2; ^ Main.java:11: error: -> expected a = (double w) * (double h) / 2; ^ Main.java:11: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u804923265|p03001|1
u804923265|p03001|1
codenet
Compile Error
406
v2_s532652833
s532652833
s532652833
p03001
p03001
u804923265
u804923265
1,560,803,192
2019-06-17T20:26:32
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int w = sc.next(); int h = sc.next(); int x = sc.next(); int y = sc.next(); int b = 0; double a = ((double)w * (double)h) / 2; if(w / 2 == x && h / 2 == y){ b = 1; ...
Main.java:5: error: incompatible types: String cannot be converted to int int w = sc.next(); ^ Main.java:6: error: incompatible types: String cannot be converted to int int h = sc.next(); ^ Main.java:7: error: incompatible types: String cannot be converted to int int x ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u804923265|p03001|1
u804923265|p03001|1
codenet
Compile Error
371
v2_s385582142
s385582142
s385582142
p03001
p03001
u811622556
u811622556
1,598,002,163
2020-08-21T09:29:23
Main.java
1 1000000000 1 1000000000
Main.java:1: error: class, interface, enum, or record expected 1 1000000000 1 1000000000 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u811622556|p03001|0
u811622556|p03001|0
codenet
Compile Error
25
v2_s078065700
s078065700
s078065700
p03001
p03001
u830501843
u830501843
1,560,716,903
2019-06-16T20:28:23
Main.java
public class Main { BigInteger k; BigInteger a[]; Main(BigInteger k, BigInteger a[]) { this.k = k; this.a = a; } public static void main(String[] args) { java.util.Scanner s = new java.util.Scanner(System.in); int w=s.nextInt(); int h=s.nextInt(); int x=s.nextInt(); int y=s.nextInt(); System.out...
Main.java:2: error: cannot find symbol BigInteger k; ^ symbol: class BigInteger location: class Main Main.java:3: error: cannot find symbol BigInteger a[]; ^ symbol: class BigInteger location: class Main Main.java:5: error: cannot find symbol Main(BigInteger k, BigInteger a[]) { ^ symbol: cla...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u830501843|p03001|0
u830501843|p03001|0
codenet
Compile Error
768
v2_s013569190
s013569190
s013569190
p03001
p03001
u830501843
u830501843
1,560,717,132
2019-06-16T20:32:12
Main.java
public class Main { BigInteger k; BigInteger a[]; Main(BigInteger k, BigInteger a[]) { this.k = k; this.a = a; } public static void main(String[] args) { java.util.Scanner s = new java.util.Scanner(System.in); int w = s.nextInt(); int h = s.nextInt(); int x = s.nextInt(); int y = s.nextInt(); Sy...
Main.java:2: error: cannot find symbol BigInteger k; ^ symbol: class BigInteger location: class Main Main.java:3: error: cannot find symbol BigInteger a[]; ^ symbol: class BigInteger location: class Main Main.java:5: error: cannot find symbol Main(BigInteger k, BigInteger a[]) { ^ symbol: cla...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u830501843|p03001|0
u830501843|p03001|0
codenet
Compile Error
920
v2_s556935953
s556935953
s556935953
p03001
p03001
u838674610
u838674610
1,560,715,048
2019-06-16T19:57:28
Main.java
import java.io.*; import java.util.*; class test { public static void main (String [] args) throws IOException { Scanner sc= new Scanner (System.in()); int W= sc.nextInt(); int H= sc.nextInt(); int x= sc.nextInt(); int y= sc.nextInt(); double half =(W*H)/2; System.out.print(half); ...
Main.java:13: error: ')' expected if(2*x==W && 2*y==H System.out.print(" "+ 1); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u838674610|p03001|0
u838674610|p03001|0
codenet
Compile Error
414
v2_s411434231
s411434231
s411434231
p03001
p03001
u838674610
u838674610
1,560,715,082
2019-06-16T19:58:02
Main.java
import java.io.*; import java.util.*; class test { public static void main (String [] args) throws IOException { Scanner sc= new Scanner (System.in()); int W= sc.nextInt(); int H= sc.nextInt(); int x= sc.nextInt(); int y= sc.nextInt(); double half =(W*H)/2; System.out.print(half); ...
Main.java:6: error: cannot find symbol Scanner sc= new Scanner (System.in()); ^ symbol: method in() location: class System 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u838674610|p03001|0
u838674610|p03001|0
codenet
Compile Error
414
v2_s484107784
s484107784
s484107784
p03001
p03001
u838869282
u838869282
1,560,716,516
2019-06-16T20:21:56
Main.java
import java.util.*; import java.lang.*; import java.io.*; class Main{ public static void main(String[] args){ float w,h,x,y,max,minx,miny,ans; Scanner sc=new Scanner(System.in); w=sc.nextInt(); h=sc.nextInt(); x=sc.nextInt(); y=sc.nextInt(); max=w*h; minx=(max-x*h > x*h)?x*h:max-x*h; ...
Main.java:19: error: 'else' without 'if' else{ ^ Main.java:24: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u838869282|p03001|0
u838869282|p03001|0
codenet
Compile Error
529
v2_s595522110
s595522110
s595522110
p03001
p03001
u852798899
u852798899
1,566,746,588
2019-08-25T15:23:08
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int h = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); System.out.println((double)w*h/2.0, ...
Main.java:11: error: no suitable method found for println(double,int) System.out.println((double)w*h/2.0, ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable (actual and fo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u852798899|p03001|0
u852798899|p03001|0
codenet
Compile Error
356
v2_s610958608
s610958608
s610958608
p03001
p03001
u867534917
u867534917
1,560,714,061
2019-06-16T19:41:01
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { new Main().run(); } private void run() { Scanner scanner = new Scanner(System.in); int W = scanner.nextInt(); int H = scanner.nextInt(); int x = scanner.nextInt(); int y...
Main.java:69: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867534917|p03001|0
u867534917|p03001|0
codenet
Compile Error
1,795
v2_s523659134
s523659134
s523659134
p03001
p03001
u870981361
u870981361
1,589,053,484
2020-05-09T19:44:44
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); Long W = sc.nextLong(); Long H = sc.nextLong(); Long x = sc.nextLong(); Long y = sc.nextLong(); int b = 0; if((Double)W/2==(Double)x&&H/2==y){ b = 1; } Doub...
Main.java:10: error: incompatible types: Long cannot be converted to Double if((Double)W/2==(Double)x&&H/2==y){ ^ Main.java:10: error: incompatible types: Long cannot be converted to Double if((Double)W/2==(Double)x&&H/2==y){ ^ Main.java:13: error: incompatible types: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u870981361|p03001|0
u870981361|p03001|0
codenet
Compile Error
390
v2_s362586785
s362586785
s362586785
p03001
p03001
u870981361
u870981361
1,589,053,500
2020-05-09T19:45:00
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); Long W = sc.nextLong(); Long H = sc.nextLong(); Long x = sc.nextLong(); Long y = sc.nextLong(); int b = 0; if((Double)W/2==(Double)x&&H/2==y){ b = 1; } Doub...
Main.java:10: error: incompatible types: Long cannot be converted to Double if((Double)W/2==(Double)x&&H/2==y){ ^ Main.java:10: error: incompatible types: Long cannot be converted to Double if((Double)W/2==(Double)x&&H/2==y){ ^ Main.java:13: error: incompatible types: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u870981361|p03001|0
u870981361|p03001|0
codenet
Compile Error
390
v2_s628187875
s628187875
s628187875
p03001
p03001
u870981361
u870981361
1,589,053,518
2020-05-09T19:45:18
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); Long W = sc.nextLong(); Long H = sc.nextLong(); Long x = sc.nextLong(); Long y = sc.nextLong(); int b = 0; if((Double)W/2==(Double)x&&H/2==y){ b = 1; } Doub...
Main.java:10: error: incompatible types: Long cannot be converted to Double if((Double)W/2==(Double)x&&H/2==y){ ^ Main.java:10: error: incompatible types: Long cannot be converted to Double if((Double)W/2==(Double)x&&H/2==y){ ^ Main.java:13: error: incompatible types: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u870981361|p03001|0
u870981361|p03001|0
codenet
Compile Error
390
v2_s108982646
s108982646
s108982646
p03001
p03001
u870981361
u870981361
1,589,053,599
2020-05-09T19:46:39
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int b = 0; if((Double)W/2==(Double)x&&H/2==y){ b = 1; } Double ans = (D...
Main.java:10: error: incompatible types: int cannot be converted to Double if((Double)W/2==(Double)x&&H/2==y){ ^ Main.java:10: error: incompatible types: int cannot be converted to Double if((Double)W/2==(Double)x&&H/2==y){ ^ Main.java:13: error: incompatible types: in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u870981361|p03001|0
u870981361|p03001|0
codenet
Compile Error
379
v2_s510902708
s510902708
s510902708
p03001
p03001
u915531210
u915531210
1,560,713,815
2019-06-16T19:36:55
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int h = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int ans = 0; if (x = w/2 && y = h/2) { ans = 1; } System.out.pr...
Main.java:10: error: bad operand types for binary operator '&&' if (x = w/2 && y = h/2) { ^ first type: int second type: int Main.java:10: error: incompatible types: int cannot be converted to boolean if (x = w/2 && y = h/2) { ^ Main.java:13: error: no suitable method found for println(in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u915531210|p03001|0
u915531210|p03001|0
codenet
Compile Error
343
v2_s388924533
s388924533
s388924533
p03001
p03001
u915531210
u915531210
1,560,713,899
2019-06-16T19:38:19
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int h = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int ans = 0; if (x = w/2 && y = h/2) { ans = 1; } float s...
Main.java:10: error: bad operand types for binary operator '&&' if (x = w/2 && y = h/2) { ^ first type: int second type: int Main.java:10: error: incompatible types: int cannot be converted to boolean if (x = w/2 && y = h/2) { ^ Main.java:14: error: no suitable method found for println(fl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u915531210|p03001|0
u915531210|p03001|0
codenet
Compile Error
368
v2_s637594601
s637594601
s637594601
p03001
p03001
u915531210
u915531210
1,560,713,999
2019-06-16T19:39:59
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int h = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int ans = 0; if (x == w/2 && y == h/2) { ans = 1; } doubl...
Main.java:14: error: no suitable method found for println(double,int) System.out.println(s, ans); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable (actual and formal argument lists...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u915531210|p03001|0
u915531210|p03001|0
codenet
Compile Error
371
v2_s780086788
s780086788
s780086788
p03001
p03001
u915531210
u915531210
1,560,714,029
2019-06-16T19:40:29
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int h = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int ans = 0; if ((x == w/2) && (y == h/2)) { ans = 1; } d...
Main.java:14: error: no suitable method found for println(double,int) System.out.println(s, ans); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable (actual and formal argument lists...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u915531210|p03001|0
u915531210|p03001|0
codenet
Compile Error
375
v2_s348919687
s348919687
s348919687
p03001
p03001
u915531210
u915531210
1,560,714,093
2019-06-16T19:41:33
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int h = sc.nextInt(); double x = sc.nextInt(); double y = sc.nextInt(); int ans = 0; if ((x == w/2) && (y == h/2)) { ans = 1; } ...
Main.java:14: error: no suitable method found for println(double,int) System.out.println(s, ans); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable (actual and formal argument lists...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u915531210|p03001|0
u915531210|p03001|0
codenet
Compile Error
381
v2_s572272776
s572272776
s572272776
p03001
p03001
u915531210
u915531210
1,560,714,164
2019-06-16T19:42:44
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); double w = sc.nextInt(); double h = sc.nextInt(); double x = sc.nextInt(); double y = sc.nextInt(); int ans = 0; if ((x == w/2) && (y == h/2)) { ans = 1; ...
Main.java:14: error: no suitable method found for println(double,int) System.out.println(s, ans); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable (actual and formal argument lists...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u915531210|p03001|0
u915531210|p03001|0
codenet
Compile Error
387
v2_s080764824
s080764824
s080764824
p03001
p03001
u915531210
u915531210
1,560,714,385
2019-06-16T19:46:25
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int h = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int ans = 0; double w2 = w /2.0; double h2 = h /2.0; if ((x == w2)...
Main.java:16: error: no suitable method found for println(double,int) System.out.println(s, ans); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable (actual and formal argument lists...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u915531210|p03001|0
u915531210|p03001|0
codenet
Compile Error
429
v2_s145191412
s145191412
s145191412
p03001
p03001
u931462782
u931462782
1,560,716,394
2019-06-16T20:19:54
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double w = scan.nextInt(); double h = scan.nextInt(); double x = scan.nextInt(); double y = scan.nextInt(); //縦長 double tate1 = x * h; double tate2 = (w - x) * h; double...
Main.java:54: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u931462782|p03001|0
u931462782|p03001|0
codenet
Compile Error
1,083
v2_s724359063
s724359063
s724359063
p03001
p03001
u960002659
u960002659
1,590,348,360
2020-05-24T19:26:00
Main.java
public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); String[] temp = sc.nextLine().split(" "); int w = Integer.parseInt(temp[0]); int h = Integer.parseInt(temp[1]); int x = Integer.parseInt(temp[2]); int y = Integer.parseInt(temp[3]); double ans = w * h /...
Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u960002659|p03001|0
u960002659|p03001|0
codenet
Compile Error
440
v2_s888583663
s888583663
s888583663
p03001
p03001
u966523195
u966523195
1,583,626,870
2020-03-08T00:21:10
Main.java
public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] data = br.readLine().split(" "); int w = Integer.parseInt(data[0]); int h = Integer.parseInt(data[1]); double x = Integer.parseInt...
Main.java:2: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:3: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in));...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u966523195|p03001|0
u966523195|p03001|0
codenet
Compile Error
491
v2_s463712120
s463712120
s463712120
p03001
p03001
u966849865
u966849865
1,560,718,113
2019-06-16T20:48:33
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int W = Integer.parseInt(scan.next()); int H = Integer.parseInt(scan.next()); int x = Integer.parseInt(scan.next()); int y = Integer.parseInt(scan.next()); ...
Main.java:20: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u966849865|p03001|0
u966849865|p03001|0
codenet
Compile Error
922
v2_s405146803
s405146803
s405146803
p03001
p03001
u966849865
u966849865
1,560,720,558
2019-06-16T21:29:18
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double W = Integer.parseInt(scan.next()); double H = Integer.parseInt(scan.next()); double x = Integer.parseInt(scan.next()); double y = Integer.parseInt(sc...
Main.java:13: error: ')' or ',' expected System.out.println((W*H/2 + " " + 0); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u966849865|p03001|0
u966849865|p03001|0
codenet
Compile Error
508
v2_s544407733
s544407733
s544407733
p03003
p03003
u128456980
u128456980
1,562,693,954
2019-07-09T17:39:14
Main.java
#include <iostream> // cin, cout, cerr, clog #include <algorithm> // minmax, sort, swap #include <numeric> // iota, accumulate, inner_product #include <cstdio> // printf, scanf #include <climits> // INT_MIN, LLONG_MIN #include <cmath> // long, trig, pow #include <string> // string, stoi, to_string #include <vector> // ...
Main.java:1: error: illegal character: '#' #include <iostream> // cin, cout, cerr, clog ^ Main.java:2: error: illegal character: '#' #include <algorithm> // minmax, sort, swap ^ Main.java:3: error: illegal character: '#' #include <numeric> // iota, accumulate, inner_product ^ Main.java:4: error: illegal character: '#' ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u128456980|p03003|0
u128456980|p03003|0
codenet
Compile Error
1,315
v2_s985619953
s985619953
s985619953
p03003
p03003
u541055501
u541055501
1,573,099,960
2019-11-07T04:12:40
Main.java
import java.util.*; import java.io.*; class Main{ static long MOD=1000000007; static long[][] dp; public static void main(String[] args){ FastScanner fsc=new FastScanner(); int n=fsc.nextInt(), m=fsc.nextInt(); int[] s=new int[n]; int[] t=new int[m]; for(int i=0;i<n;...
Main.java:4: error: illegal character: '\u3000' class?Main{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u541055501|p03003|0
u541055501|p03003|0
codenet
Compile Error
3,789
v2_s688871361
s688871361
s688871361
p03003
p03003
u596822503
u596822503
1,560,746,113
2019-06-17T04:35:13
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); String[] num = sc.nextLine(); String[] s = sc.nextLine(); String[] t = sc.nextLine(); int n = Integer.parseInt(num[0]); int m = Integer.parseInt(num[1]); int[][] dp = ...
Main.java:11: error: ';' expected int[][] dp = new int[n+1][m+1] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u596822503|p03003|0
u596822503|p03003|0
codenet
Compile Error
613
v2_s370511347
s370511347
s370511347
p03003
p03003
u596822503
u596822503
1,560,746,145
2019-06-17T04:35:45
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); String[] num = sc.nextLine(); String[] s = sc.nextLine(); String[] t = sc.nextLine(); int n = Integer.parseInt(num[0]); int m = Integer.parseInt(num[1]); int[][] dp = ...
Main.java:6: error: incompatible types: String cannot be converted to String[] String[] num = sc.nextLine(); ^ Main.java:7: error: incompatible types: String cannot be converted to String[] String[] s = sc.nextLine(); ^ Main.java:8: error: incompatible t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u596822503|p03003|0
u596822503|p03003|0
codenet
Compile Error
614
v2_s520097899
s520097899
s520097899
p03003
p03003
u598826970
u598826970
1,560,743,929
2019-06-17T03:58:49
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; public class Main { public static void main(String[] args) { final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in))); final int m = in.nextInt(); final int n = in.nextInt...
Main.java:34: error: illegal character: '\' sum[i + 1][j + 1] += sum[i][j] + 1;;\ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u598826970|p03003|0
u598826970|p03003|0
codenet
Compile Error
1,476
v2_s297118668
s297118668
s297118668
p03003
p03003
u619358863
u619358863
1,560,739,212
2019-06-17T02:40:12
Main.java
import java.util.*; import java.lang.Math; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int[] a = new int[n]; int[] b = new int[m]; int[] sum; int[] c; if(n >= m){ ...
Main.java:44: error: cannot find symbol int lena = recorda.get(ka).array.size(); ^ symbol: method get(int) location: variable recorda of type Lists[] Main.java:45: error: cannot find symbol int lenb = recorda.get(ka).array.size(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u619358863|p03003|0
u619358863|p03003|0
codenet
Compile Error
2,273
v2_s110414983
s110414983
s110414983
p03003
p03003
u861095163
u861095163
1,574,041,427
2019-11-18T01:43:47
Main.java
public class Main { final static int MOD07 = 1000000007; final static long MOD09 = 1_000_000_009; public static void main(String[] args) { final FastScanner fs = new FastScanner(); PrintWriter out = new PrintWriter(System.out); int N = fs.nextInt(); int M = fs.nextInt(); ...
Main.java:55: error: cannot find symbol static void forAllBit(int n, Consumer<List<Boolean>> func) { ^ symbol: class Consumer location: class Main Main.java:55: error: cannot find symbol static void forAllBit(int n, Consumer<List<Boolean>> func) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u861095163|p03003|0
u861095163|p03003|0
codenet
Compile Error
12,411
v2_s397455053
s397455053
s397455053
p03003
p03003
u861095163
u861095163
1,574,041,658
2019-11-18T01:47:38
Main.java
public class Main { final static int MOD07 = 1000000007; final static long MOD09 = 1_000_000_009; public static void main(String[] args) { final FastScanner fs = new FastScanner(); PrintWriter out = new PrintWriter(System.out); int N = fs.nextInt(); int M = fs.nextInt(); ...
Main.java:55: error: cannot find symbol static void forAllBit(int n, Consumer<List<Boolean>> func) { ^ symbol: class Consumer location: class Main Main.java:55: error: cannot find symbol static void forAllBit(int n, Consumer<List<Boolean>> func) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u861095163|p03003|0
u861095163|p03003|0
codenet
Compile Error
12,411
v2_s868937396
s868937396
s868937396
p03004
p03004
u803314854
u803314854
1,560,739,178
2019-06-17T02:39:38
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); ArrayList<Po>u=new ArrayList<>(); ArrayList<Po>d=new ArrayList<>(); ArrayList<Po>r=new ArrayList<>(); ArrayList<Po>l=new ArrayList<...
Main.java:36: error: 'else' without 'if' else ddd=Integer.MAXVALUE; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p03004|0
u803314854|p03004|0
codenet
Compile Error
2,683
v2_s090461133
s090461133
s090461133
p03005
p03005
u025593152
u025593152
1,562,722,878
2019-07-10T01:41:18
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 K = sc.nextInt(); int rem = N - k; System.out.println(rem); } }
Main.java:10: error: cannot find symbol int rem = N - k; ^ symbol: variable k location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u025593152|p03005|0
u025593152|p03005|0
codenet
Compile Error
263
v2_s403607413
s403607413
s403607413
p03005
p03005
u085748519
u085748519
1,560,649,765
2019-06-16T01:49:25
Main.java
import java.util*; class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); int n = stdIn.nextInt(); int k = stdIn.nextInt(); if(k == 1){ System.out.println(0); }else{ System.out.println(n-k); } } }
Main.java:1: error: ';' expected import java.util*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u085748519|p03005|0
u085748519|p03005|0
codenet
Compile Error
279
v2_s924466776
s924466776
s924466776
p03005
p03005
u163201677
u163201677
1,561,253,100
2019-06-23T01:25: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 k = sc.nextInt(); if(k == 1){ System.out.println(0); }elseif(n < K){ System.out.println(1); }else{ System.out.prin...
Main.java:11: error: ';' expected }elseif(n < K){ ^ Main.java:13: error: 'else' without 'if' }else{ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u163201677|p03005|0
u163201677|p03005|0
codenet
Compile Error
347
v2_s331971014
s331971014
s331971014
p03005
p03005
u216939917
u216939917
1,560,651,513
2019-06-16T02:18:33
main.java
import java.util.Scanner; public class main.java { public static void main(String[]args){ Scanner tc =new Scanner(System.in); int N,K; N=tc.nextInt(); K=tc.nextInt(); if(K>=1 && K<=100 && N>=1 && N<=100){ if(N>K){ int D=N-K; System.out.println(D); }if(K>N){ int D=K-N; System.out.println(D); ...
main.java:2: error: '{' expected public class main.java { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u216939917|p03005|0
u216939917|p03005|0
codenet
Compile Error
335
v2_s986644665
s986644665
s986644665
p03005
p03005
u766007615
u766007615
1,560,647,084
2019-06-16T01:04:44
Main.java
import java.util.*; public class Main {// Main public static void main(String[] args){ int n = sc.nextInt(); int k = sc.nextInt(); if(k==1) System.out.println(0); else System.out.println(n-k); } }
Main.java:4: error: cannot find symbol int n = sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:5: error: cannot find symbol int k = sc.nextInt(); ^ symbol: variable sc location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u766007615|p03005|0
u766007615|p03005|0
codenet
Compile Error
279
v2_s731587774
s731587774
s731587774
p03005
p03005
u838869282
u838869282
1,560,975,247
2019-06-19T20:14:07
Main.java
import java.util.*; import java.io.*; class Main{ public static void main(String[] *args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int k=sc.nextInt(); System.out.format("%d", n%k); } }
Main.java:5: error: <identifier> expected public static void main(String[] *args){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u838869282|p03005|0
u838869282|p03005|0
codenet
Compile Error
220
v2_s908231416
s908231416
s908231416
p03005
p03005
u935368823
u935368823
1,560,647,385
2019-06-16T01:09:45
Main.java
public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int k = sc.nextInt(); int ans; if (k > 1) { ans = n - k; } else { ans = 0; } System.out.println(ans); }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u935368823|p03005|0
u935368823|p03005|0
codenet
Compile Error
227
v2_s688379778
s688379778
s688379778
p03006
p03006
u347452770
u347452770
1,560,651,221
2019-06-16T02:13:41
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] a = new int[n]; int[] b = new int[n]; for(int i = 0; i < n;i++){ a[i] = scan.nextInt(); b[i] = scan.nextInt(); ...
Main.java:16: error: 'else' without 'if' else{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u347452770|p03006|0
u347452770|p03006|0
codenet
Compile Error
860
v2_s318576320
s318576320
s318576320
p03006
p03006
u347452770
u347452770
1,560,651,261
2019-06-16T02:14:21
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] a = new int[n]; int[] b = new int[n]; for(int i = 0; i < n;i++){ a[i] = scan.nextInt(); b[i] = scan.nextInt(); ...
Main.java:24: error: cannot find symbol if(sabunx == a[i+1] - a[i] && sabuny == b[i+1]- b[i]){ ^ symbol: variable i location: class Main Main.java:24: error: cannot find symbol if(sabunx == a[i+1] - a[i] && sabuny == b[i+1]- b[i]){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u347452770|p03006|0
u347452770|p03006|0
codenet
Compile Error
863
v2_s398702072
s398702072
s398702072
p03006
p03006
u347452770
u347452770
1,560,651,292
2019-06-16T02:14:52
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] a = new int[n]; int[] b = new int[n]; for(int i = 0; i < n;i++){ a[i] = scan.nextInt(); b[i] = scan.nextInt(); ...
Main.java:19: error: cannot find symbol if(a[k+1]-a[k]==a[j] && b[k+1]-b[k] == b[j]){ ^ symbol: variable k location: class Main Main.java:19: error: cannot find symbol if(a[k+1]-a[k]==a[j] && b[k+1]-b[k] == b[j]){ ^ symbol: variable k loca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u347452770|p03006|0
u347452770|p03006|0
codenet
Compile Error
863
v2_s766308069
s766308069
s766308069
p03006
p03006
u347452770
u347452770
1,560,651,332
2019-06-16T02:15:32
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] a = new int[n]; int[] b = new int[n]; for(int i = 0; i < n;i++){ a[i] = scan.nextInt(); b[i] = scan.nextInt(); ...
Main.java:19: error: cannot find symbol if(a[k+1]-a[k]==a[j] && b[k+1]-b[k] == b[j]){ ^ symbol: variable k location: class Main Main.java:19: error: cannot find symbol if(a[k+1]-a[k]==a[j] && b[k+1]-b[k] == b[j]){ ^ symbol: variable k loca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u347452770|p03006|0
u347452770|p03006|0
codenet
Compile Error
863
v2_s688837652
s688837652
s688837652
p03006
p03006
u476482490
u476482490
1,560,650,948
2019-06-16T02:09:08
aMain.java
import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Scanner; public class aMain { public static void main(String[] args) { new Main().run(); } private void run(){ final Scanner scanner = new Scanner(System.in); final int count = scanne...
aMain.java:9: error: cannot find symbol new Main().run(); ^ symbol: class Main location: class aMain Note: aMain.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
u476482490|p03006|0
u476482490|p03006|0
codenet
Compile Error
2,409
v2_s276903870
s276903870
s276903870
p03007
p03007
u504228740
u504228740
1,560,656,592
2019-06-16T03:43:12
Main.java
import java.util.Scanner; import java.util.Arrays; import java.util.ArrayList; import java.util.Collections; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a =new int[n]; boolean high=false; boolean low=false; boolean zero=false; ...
Main.java:69: error: variable a is already defined in method main(String[]) int a=hlist.remove(0); ^ Main.java:76: error: variable a is already defined in method main(String[]) int a=llist.get(0); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u504228740|p03007|0
u504228740|p03007|0
codenet
Compile Error
2,058
v2_s550883043
s550883043
s550883043
p03007
p03007
u504228740
u504228740
1,560,656,694
2019-06-16T03:44:54
Main.java
import java.util.Scanner; import java.util.Arrays; import java.util.ArrayList; import java.util.Collections; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a =new int[n]; boolean high=false; boolean low=false; boolean zero=false; ...
Main.java:78: error: variable ii is already defined in method main(String[]) int ii=llist.get(0); ^ Main.java:79: error: variable jj is already defined in method main(String[]) int jj=hlist.get(0); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u504228740|p03007|0
u504228740|p03007|0
codenet
Compile Error
2,086
v2_s186680415
s186680415
s186680415
p03007
p03007
u617255029
u617255029
1,579,850,300
2020-01-24T07:18:20
Main.java
import hiro116s.lib.io.scanner.FastScanner; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.HashMap; public class Main { InputStream is; int __t__ = 1; int __f__ = 0; int __FILE_DEB...
Main.java:1: error: package hiro116s.lib.io.scanner does not exist import hiro116s.lib.io.scanner.FastScanner; ^ Main.java:18: error: cannot find symbol FastScanner in; ^ symbol: class FastScanner location: class Main Main.java:57: error: cannot find symbol in = new F...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u617255029|p03007|1
u617255029|p03007|1
codenet
Compile Error
1,735
v2_s525982299
s525982299
s525982299
p03007
p03007
u675751622
u675751622
1,560,648,506
2019-06-16T01:28:26
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int number_n, i long sum = 0; number_n = Integer.parseInt(sc.next()); int[] number = new int[number_n]; for(i = 0; i < number_n; i++) { number[i] = ...
Main.java:6: error: ';' expected int number_n, i ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u675751622|p03007|0
u675751622|p03007|0
codenet
Compile Error
645
v2_s162007215
s162007215
s162007215
p03007
p03007
u675751622
u675751622
1,560,650,851
2019-06-16T02:07:31
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int number_n, i; long sum = 0; number_n = Integer.parseInt(sc.next()); long[] number = new long[number_n]; for(i = 0; i < number_n; i++) { number[i] ...
Main.java:21: error: not a statement System.out.println"\n"); ^ Main.java:21: error: ';' expected System.out.println"\n"); ^ Main.java:27: error: not a statement System.out.println"\n"); ^ Main.java:27: error: ';' expected...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u675751622|p03007|0
u675751622|p03007|0
codenet
Compile Error
889
v2_s631102088
s631102088
s631102088
p03007
p03007
u761924810
u761924810
1,565,278,923
2019-08-08T15:42:03
Main.java
import javafx.util.Pair; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { ...
Main.java:1: error: package javafx.util does not exist import javafx.util.Pair; ^ Main.java:20: error: cannot find symbol ArrayList<Pair<Long, Long>> pair = new ArrayList<>(); ^ symbol: class Pair location: class Main Main.java:36: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761924810|p03007|0
u761924810|p03007|0
codenet
Compile Error
2,734
v2_s591988099
s591988099
s591988099
p03008
p03008
u008992227
u008992227
1,560,660,416
2019-06-16T04:46:56
Main.java
import java.util.*; class Main{ static long mod = 1000000007; public static void main(String argv[]) { Scanner sc = new Scanner(System.in); int[] ris = {sc.nextInt(), 0,0,0}; int[] a_trans = new int[3]; int[] b_trans = new int[3]; double[] rate = new double[3]; ...
Main.java:1: error: illegal character: '\u0008' import java.util.*; ^ Main.java:1: error: class, interface, enum, or record expected import java.util.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u008992227|p03008|0
u008992227|p03008|0
codenet
Compile Error
1,448
v2_s787127087
s787127087
s787127087
p03008
p03008
u085748519
u085748519
1,560,649,912
2019-06-16T01:51:52
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); String lf = System.lineSeparator(); String ans = ""; int n = stdIn.nextInt(); ArrayList<Integer> a = new ArrayList<Integer>(); for(int i = 0; i < n; i++){ a.add(stdIn.nex...
Main.java:16: error: ';' expected int min: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u085748519|p03008|0
u085748519|p03008|0
codenet
Compile Error
1,492
v2_s892430879
s892430879
s892430879
p03008
p03008
u482226328
u482226328
1,560,661,301
2019-06-16T05:01:41
Main.java
public class Main { public static void main(String[] args) { solve(System.in, System.out); } private static int goldA; private static int silvA; private static int brnzA; private static int goldB; private static int silvB; private static int brnzB; private static class Asset { int acrn; ...
Main.java:32: error: cannot find symbol static void solve(InputStream is, PrintStream os) { ^ symbol: class InputStream location: class Main Main.java:32: error: cannot find symbol static void solve(InputStream is, PrintStream os) { ^ symbol: class P...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u482226328|p03008|0
u482226328|p03008|0
codenet
Compile Error
3,538
v2_s724305456
s724305456
s724305456
p03008
p03008
u584924463
u584924463
1,560,698,613
2019-06-16T15:23:33
Main.java
import java.util.*; public class Main { static class Pair{ int x; int y; Pair(int x, int y){ this.x =x; this.y =y; } } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int ga...
Main.java:36: error: not a statement while(N>0){23 ^ Main.java:36: error: ';' expected while(N>0){23 ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u584924463|p03008|0
u584924463|p03008|0
codenet
Compile Error
1,213
v2_s691200747
s691200747
s691200747
p03008
p03008
u859396346
u859396346
1,560,655,142
2019-06-16T03:19:02
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.InputMismatchException; import java.util.NoSuchElementException; public class Main { static PrintWriter out; static InputReader ir; static void solve() { int n = ir.nextInt(); long[] a...
Main.java:19: error: ';' expected for(int i=0;i<100000000){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u859396346|p03008|0
u859396346|p03008|0
codenet
Compile Error
3,843
v2_s097314537
s097314537
s097314537
p03008
p03008
u859396346
u859396346
1,560,656,820
2019-06-16T03:47:00
Main.java
#include<iostream> #include<string> #include<algorithm> #include<vector> #include<queue> #include<map> #include<math.h> #include<iomanip> #include<set> #include<numeric> #include<cstring> #include<cstdio> #include<functional> #include<bitset> #include<limits.h> #include<cassert> #include <fstream> #include <time.h> #in...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include<string> ^ Main.java:3: error: illegal character: '#' #include<algorithm> ^ Main.java:4: error: illegal character: '#' #include<vector> ^ Main.java:5: error: illegal character: '#' #include<queue> ^ Main.j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u859396346|p03008|0
u859396346|p03008|0
codenet
Compile Error
3,344
v2_s629278964
s629278964
s629278964
p03008
p03008
u881359256
u881359256
1,596,730,249
2020-08-06T16:10:49
Main.java
import java.io.*; import java.util.*; public class Main { static int n; static void solve() { n = ni(); int[] a = na(3), b = na(3); long ans = 0; for(int bit=0;bit<1<<3;bit++) { List<Integer> l1 = new ArrayList<>(), l2 = new ArrayList<>(); for(int i=0;i<3;i++) { if((bit >> i & 1) == 1) l1.add(i); ...
Main.java:793: error: class, interface, enum, or record expected import java.io.*; ^ Main.java:794: error: class, interface, enum, or record expected import java.util.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u881359256|p03008|1
u881359256|p03008|0
codenet
Compile Error
37,158
v2_s237364548
s237364548
s237364548
p03011
p03011
u011775447
u011775447
1,560,352,198
2019-06-12T15:09:58
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int i,j,min; int[] a = new [3]; for(i=0;i<3;i++){ a[i] = sc.nextInt(); } min = 99999; for(i=o;i<3;i++){ for(j=0;j<3;j++){ if(i != j){ ...
Main.java:7: error: <identifier> expected int[] a = new [3]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u011775447|p03011|0
u011775447|p03011|0
codenet
Compile Error
449
v2_s750487770
s750487770
s750487770
p03011
p03011
u011775447
u011775447
1,560,352,248
2019-06-12T15:10:48
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int i,j,min; int[] a = new int[3]; for(i=0;i<3;i++){ a[i] = sc.nextInt(); } min = 99999; for(i=o;i<3;i++){ for(j=0;j<3;j++){ if(i != j){ ...
Main.java:15: error: cannot find symbol for(i=o;i<3;i++){ ^ symbol: variable o location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u011775447|p03011|0
u011775447|p03011|0
codenet
Compile Error
452
v2_s807033423
s807033423
s807033423
p03011
p03011
u011775447
u011775447
1,560,354,057
2019-06-12T15:40:57
main.java
import java.util.*; public class main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); int n,i,t,min,s1,s2; int w[]; n = sc.nextInt(); w = new int[n]; for(i=0;i<n;i++){ w[i] = sc.nextInt(); } min = 99999; for(t=1;t<n,t++){ s1=0; s2...
main.java:18: error: ';' expected for(t=1;t<n,t++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u011775447|p03011|0
u011775447|p03011|0
codenet
Compile Error
547
v2_s257783573
s257783573
s257783573
p03011
p03011
u018773111
u018773111
1,593,182,447
2020-06-26T14:40:47
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int p = nextInt(); int q = nextInt(); int r = nextInt(); System.out.println(Math.min(p+q, Math.min(q+r, r+p))); } }
Main.java:6: error: cannot find symbol int p = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:7: error: cannot find symbol int q = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:8: error: cannot find symbol int r = nextInt(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018773111|p03011|0
u018773111|p03011|0
codenet
Compile Error
256
v2_s047742357
s047742357
s047742357
p03011
p03011
u025593152
u025593152
1,560,630,591
2019-06-15T20:29:51
Main.java
import java.util.Scanner; public class Main{ public class void main(String[] arts){ Scanner scan = new Sanner(System.in); int p = scan.nextInt(); int q = scan.nextInt(); int r = scan.nextInt(); int sum1 = p + q; int sum2 = p + r; int sum3 = q + r; if(sum1 <= sum2 && sum1 <= ...
Main.java:4: error: <identifier> expected public class void main(String[] arts){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u025593152|p03011|0
u025593152|p03011|0
codenet
Compile Error
489
v2_s401737948
s401737948
s401737948
p03011
p03011
u025593152
u025593152
1,560,630,723
2019-06-15T20:32:03
Main.java
import java.util.*; public class Main{ public static void main(String[] arts){ Scanner scan = new Sanner(System.in); int p = scan.nextInt(); int q = scan.nextInt(); int r = scan.nextInt(); int sum1 = p + q; int sum2 = p + r; int sum3 = q + r; if(sum1 <= sum2 && sum1 <= sum3)...
Main.java:5: error: cannot find symbol Scanner scan = new Sanner(System.in); ^ symbol: class Sanner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u025593152|p03011|0
u025593152|p03011|0
codenet
Compile Error
484
v2_s472743174
s472743174
s472743174
p03011
p03011
u025593152
u025593152
1,560,633,844
2019-06-15T21:24:04
Main.java
import java.util.*; public class Main{ public static void main(String[] arts){ Scanner scan = new Scanner(System.in); int p = scan.nextInt(); int q = scan.nextInt(); int r = scan.nextInt(); System.out.println(p + q + r - Math.max(p,q,r)); } }
Main.java:10: error: no suitable method found for max(int,int,int) System.out.println(p + q + r - Math.max(p,q,r)); ^ method Math.max(int,int) is not applicable (actual and formal argument lists differ in length) method Math.max(long,long) is not applicable ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u025593152|p03011|0
u025593152|p03011|0
codenet
Compile Error
272
v2_s348696464
s348696464
s348696464
p03011
p03011
u025593152
u025593152
1,560,633,890
2019-06-15T21:24:50
Main.java
import java.util.*; public class Main{ public static void main(String[] arts){ Scanner scan = new Scanner(System.in); int p = scan.nextInt(); int q = scan.nextInt(); int r = scan.nextInt(); int con = p + q + r - Math.max(p,q,r); System.out.println(con); } }
Main.java:9: error: no suitable method found for max(int,int,int) int con = p + q + r - Math.max(p,q,r); ^ method Math.max(int,int) is not applicable (actual and formal argument lists differ in length) method Math.max(long,long) is not applicable (actual and formal ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u025593152|p03011|0
u025593152|p03011|0
codenet
Compile Error
291
v2_s758545835
s758545835
s758545835
p03011
p03011
u031930882
u031930882
1,590,097,841
2020-05-21T21:50:41
Main.java
Scanner sc = new Scanner(System.in); int cntNums[] = new int[3]; for(int i = 0; i <= 2; i++){ int inputNums = sc.nextInt(); cntNums[i] = inputNums; } Arrays.sort(cntNums); System.out.println(cntNums[0] + cntNums[1]);
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:3: error: class, interface, enum, or record expected int cntNums[] = new int[3]; ^ Main.java:6: error: class, interface, enum, or rec...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u031930882|p03011|0
u031930882|p03011|0
codenet
Compile Error
234
v2_s661469443
s661469443
s661469443
p03011
p03011
u068098242
u068098242
1,560,660,345
2019-06-16T04:45:45
Main.java
import java.util.*; import java.io.*; public class Main { int p, q, r; Main(Scanner in, PrintWriter out) { p = in.nextInt(); q = in.nextInt(); r = in.nextInt(); out.println(Math.min(p+q, Math.min(q+r, r+p)); } public static void main(String[] args) { Scanner in = new S...
Main.java:13: error: ')' or ',' expected out.println(Math.min(p+q, Math.min(q+r, r+p)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u068098242|p03011|0
u068098242|p03011|0
codenet
Compile Error
429
v2_s935469385
s935469385
s935469385
p03011
p03011
u073606136
u073606136
1,588,399,201
2020-05-02T06:00:01
Main.java
AtCoder Beginner Contest 142 日本語 xxJOKERxx (Guest) コンテスト時間: 2019-09-28(土) 21:00 ~ 2019-09-28(土) 22:40 (100分) AtCoderホームへ戻る トップ 問題 質問 提出 提出結果 順位表 バーチャル順位表 コードテスト 解説 コードテスト 言語 ソースコード 1 import java.util.*; 2 ​ 3 public class Main{ 4 public static void mai...
Main.java:3: error: class, interface, enum, or record expected AtCoder Beginner Contest 142 ^ Main.java:29: error: class, interface, enum, or record expected 2 ^ Main.java:31: error: illegal character: '\u200b' ? ^ Main.java:37: error: illegal start of type 4 ^ Main.java:41: error: not a statement 5 ^ Main.java...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p03011|0
u073606136|p03011|0
codenet
Compile Error
835
v2_s409087887
s409087887
s409087887
p03011
p03011
u161866605
u161866605
1,560,129,351
2019-06-10T01:15:51
Main.java
class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int P = sc.nextInt(); int Q = sc.nextInt(); int R = sc.nextInt(); int ans; ans = P+Q; if(ans >= Q+R){ ans = Q + R; } if(ans >= R+P){ ...
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
u161866605|p03011|0
u161866605|p03011|0
codenet
Compile Error
388
v2_s868148397
s868148397
s868148397
p03011
p03011
u233393801
u233393801
1,560,128,523
2019-06-10T01:02:03
Main.java
#include<iostream> #include<string> #include<iomanip> #include<cmath> #include<vector> #include<algorithm> using namespace std; #define int long long #define rep(i,n) for(int i = 0; i < (n); i++) #define INF ((long long)1e18) #define MOD ((int)1e9+7) #define endl "\n" #define yn(f) ((f)?"Yes":"No") #define YN(f) ((f...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include<string> ^ Main.java:3: error: illegal character: '#' #include<iomanip> ^ Main.java:4: error: illegal character: '#' #include<cmath> ^ Main.java:5: error: illegal character: '#' #include<vector> ^ Main.jav...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233393801|p03011|0
u233393801|p03011|0
codenet
Compile Error
527
v2_s384806994
s384806994
s384806994
p03011
p03011
u240515443
u240515443
1,600,043,711
2020-09-14T00:35:11
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc =new Scanner(System.in); int[] line = new int[3]; for (int i = 0; i < 3; i++) { line[i] = sc.nextInt(); } int min = Integer.MAX_VALUE; for (int i = 0; i < args.length; i++) { for (int j = 0; j < args.leng...
Main.java:20: error: ';' expected min = Math.min(min, line[i] + line[j]) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u240515443|p03011|0
u240515443|p03011|0
codenet
Compile Error
455
v2_s541716814
s541716814
s541716814
p03011
p03011
u259325662
u259325662
1,560,128,802
2019-06-10T01:06:42
Main.java
import java.util.*; class Airplane { public static void main(String[] args){ Scanner scn = new Scanner(System.in); int P = scn.nextInt(); int Q = scn.nextInt(); int R = scn.nextInt(); int sum = P + Q + R; System.out.println(sum - min(P, min(Q, R))); scn.clo...
Main.java:10: error: cannot find symbol System.out.println(sum - min(P, min(Q, R))); ^ symbol: method min(int,int) location: class Airplane 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u259325662|p03011|0
u259325662|p03011|0
codenet
Compile Error
333
v2_s589670896
s589670896
s589670896
p03011
p03011
u326014872
u326014872
1,560,206,164
2019-06-10T22:36:04
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int P = sc.nextInt(); int Q = sc.nextInt(); int R = sc.nextInt(); int min = =Math.min(P+Q,Math.min(Q+R,R+P)); System.out.println(min); } }
Main.java:11: error: illegal start of expression int min = =Math.min(P+Q,Math.min(Q+R,R+P)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u326014872|p03011|0
u326014872|p03011|0
codenet
Compile Error
289
v2_s176680154
s176680154
s176680154
p03011
p03011
u346307762
u346307762
1,562,560,572
2019-07-08T04:36:12
Main.java
import java.util.*; import sun.tools.java.Scanner; class Main{ Scnner sc = new Scanner(System.in); int[] time = new int[3]; for(int i = 0; i < 3; i++){ time[i] = sc.nextInt(); } Arrays.sort(time); Systme.out.println(time[0] + time[1]); }
Main.java:9: error: illegal start of type for(int i = 0; i < 3; i++){ ^ Main.java:9: error: illegal start of type for(int i = 0; i < 3; i++){ ^ Main.java:9: error: <identifier> expected for(int i = 0; i < 3; i++){ ^ Main.java:12: error: <identifier> expe...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u346307762|p03011|0
u346307762|p03011|0
codenet
Compile Error
273
v2_s230176026
s230176026
s230176026
p03011
p03011
u346307762
u346307762
1,562,560,699
2019-07-08T04:38:19
Main.java
import java.util.*; import sun.tools.java.Scanner; class Main{ Scnner sc = new Scanner(System.in); int[] time = new int[3]; for(int i = 0; i < 3; i++){ time[i] = sc.nextInt(); } Arrays.sort(time); Systme.out.println(time[0] + time[1]); }
Main.java:9: error: illegal start of type for(int i = 0; i < 3; i++){ ^ Main.java:9: error: illegal start of type for(int i = 0; i < 3; i++){ ^ Main.java:9: error: <identifier> expected for(int i = 0; i < 3; i++){ ^ Main.java:12: error: <identifier> expe...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u346307762|p03011|0
u346307762|p03011|0
codenet
Compile Error
273
v2_s748648018
s748648018
s748648018
p03011
p03011
u346307762
u346307762
1,562,560,729
2019-07-08T04:38:49
Main.java
import java.util.*; import sun.tools.java.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int[] time = new int[3]; for(int i = 0; i < 3; i++){ time[i] = sc.nextInt(); } Arrays.sort(time); System.out.pri...
Main.java:3: error: cannot find symbol import sun.tools.java.Scanner; ^ symbol: class Scanner location: package sun.tools.java 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u346307762|p03011|0
u346307762|p03011|0
codenet
Compile Error
352
v2_s695184371
s695184371
s695184371
p03011
p03011
u401047847
u401047847
1,560,128,736
2019-06-10T01:05:36
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int p = sc.nextInt(); int q = sc.nextInt(); int r = sc.nextInt(); int[] hoge = {p, q, r}; Array.sort(hoge); System.out.println(hoge[0] + hoge[1]); } }
Main.java:11: error: cannot find symbol Array.sort(hoge); ^ symbol: variable Array location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u401047847|p03011|0
u401047847|p03011|0
codenet
Compile Error
319
v2_s731170259
s731170259
s731170259
p03011
p03011
u412298345
u412298345
1,561,060,248
2019-06-20T19:50:48
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int p = Integer.parseInt(sc.next()); int q = Integer.parseInt(sc.next()); int r = Integer.parseInt(sc.next()); System.out.print(max(p+q, p+r), q+r); } }
Main.java:9: error: cannot find symbol System.out.print(max(p+q, p+r), q+r); ^ symbol: method max(int,int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u412298345|p03011|0
u412298345|p03011|0
codenet
Compile Error
290
v2_s133622636
s133622636
s133622636
p03011
p03011
u412298345
u412298345
1,561,060,286
2019-06-20T19:51:26
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int p = Integer.parseInt(sc.next()); int q = Integer.parseInt(sc.next()); int r = Integer.parseInt(sc.next()); System.out.print(Math.max(p+q, p+r), q+r); } }
Main.java:9: error: no suitable method found for print(int,int) System.out.print(Math.max(p+q, p+r), q+r); ^ method PrintStream.print(boolean) is not applicable (actual and formal argument lists differ in length) method PrintStream.print(char) is not applicable (actual and formal a...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u412298345|p03011|0
u412298345|p03011|0
codenet
Compile Error
296
v2_s383530218
s383530218
s383530218
p03011
p03011
u412298345
u412298345
1,561,060,323
2019-06-20T19:52:03
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int p = Integer.parseInt(sc.next()); int q = Integer.parseInt(sc.next()); int r = Integer.parseInt(sc.next()); System.out.print(max(max(p+q, p+r), q+r)); } }
Main.java:9: error: cannot find symbol System.out.print(max(max(p+q, p+r), q+r)); ^ symbol: method max(int,int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u412298345|p03011|0
u412298345|p03011|0
codenet
Compile Error
296
v2_s082771734
s082771734
s082771734
p03011
p03011
u488281731
u488281731
1,560,129,046
2019-06-10T01:10:46
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 L = sc. nextInt(); int[] ans= new int[3]; ans[0] = N + M; ans[1] = M + L; ans[2] = L + N; int min = 999999999; for(int i = 0; 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
u488281731|p03011|0
u488281731|p03011|0
codenet
Compile Error
404
v2_s641174522
s641174522
s641174522
p03011
p03011
u537235757
u537235757
1,560,466,882
2019-06-13T23:01:22
Main.java
public class Main { public static void main(String[] args) throws Exception { String line = readLine(); String[] str = line.split(" "); int[] array = new int[str.length]; for(int i = 0; i < 3; i++) { array[i] = Integer.parseInt(str[i]); } Arrays.sort(array); System.out.println(array[0]+array[1]); } ...
Main.java:9: error: cannot find symbol Arrays.sort(array); ^ symbol: variable Arrays location: class Main Main.java:15: error: cannot find symbol BufferedReader br = new BufferedReader( new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:15: error: cannot...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u537235757|p03011|0
u537235757|p03011|0
codenet
Compile Error
479
v2_s944059015
s944059015
s944059015
p03011
p03011
u539616549
u539616549
1,560,131,172
2019-06-10T01:46:12
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 s = Math.min(a+b,b+c,c+a); System.out.println(s); } }
Main.java:9: error: no suitable method found for min(int,int,int) int s = Math.min(a+b,b+c,c+a); ^ method Math.min(int,int) is not applicable (actual and formal argument lists differ in length) method Math.min(long,long) is not applicable (actual and formal argument lists differ in l...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539616549|p03011|0
u539616549|p03011|0
codenet
Compile Error
255