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_s785012893
s785012893
s785012893
p02717
p02717
u241752770
u241752770
1,587,656,071
2020-04-23T15:34:31
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner s = new Scanner(); int x = s.nextInt(); int y = s.nextInt(); int z = s.nextInt(); System.out.println(z + " " + x + " " + y); } }
Main.java:4: error: no suitable constructor found for Scanner(no arguments) Scanner s = new Scanner(); ^ constructor Scanner.Scanner(Readable,Pattern) is not applicable (actual and formal argument lists differ in length) constructor Scanner.Scanner(Readable) is not applicable (ac...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u241752770|p02717|0
u241752770|p02717|0
codenet
Compile Error
245
v2_s464390290
s464390290
s464390290
p02717
p02717
u266870631
u266870631
1,586,102,623
2020-04-05T16:03:43
shubh.java
public class shubh{ public static void main(String args[]) { Scanner s=new Scanner(System.in); int a=s.nextInt(); int b=s.nextInt(); int c=s.nextInt(); int temp=c; c=b; b=a; a=temp; System.out.println(a+" "+b+" "+c); } }
shubh.java:5: error: cannot find symbol Scanner s=new Scanner(System.in); ^ symbol: class Scanner location: class shubh shubh.java:5: error: cannot find symbol Scanner s=new Scanner(System.in); ^ symbol: class Scanner location: class shubh 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u266870631|p02717|0
u266870631|p02717|0
codenet
Compile Error
273
v2_s325949994
s325949994
s325949994
p02717
p02717
u299189387
u299189387
1,586,483,568
2020-04-10T01:52:48
Solution.java
import java.util.Scanner; public class Solution { public static void main(String [] args) { Scanner key = new Scanner(System.in); int x = key.nextInt(); int y = key.nextInt(); int z = key.nextInt() int temp = 0; temp = x; x = y; y = temp;...
Solution.java:10: error: ';' expected int z = key.nextInt() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u299189387|p02717|0
u299189387|p02717|0
codenet
Compile Error
428
v2_s157860127
s157860127
s157860127
p02717
p02717
u299189387
u299189387
1,586,483,675
2020-04-10T01:54:35
Main.java
public class Main { public static void main(String [] args) { Scanner key = new Scanner(System.in); int x = key.nextInt(); int y = key.nextInt(); int z = key.nextInt(); int temp = 0; temp = x; x = y; y = temp; temp = x; x =...
Main.java:5: error: cannot find symbol Scanner key = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner key = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u299189387|p02717|0
u299189387|p02717|0
codenet
Compile Error
398
v2_s926658054
s926658054
s926658054
p02717
p02717
u310619300
u310619300
1,586,737,526
2020-04-13T00:25:26
Main.java
public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String[] split = reader.readLine().split(" "); int a = Integer.parseInt(split[0]); int b = Integer.parseInt(split[1]); int c = Integer.parseInt(split[2]); Sys...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) throws IOException { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u310619300|p02717|0
u310619300|p02717|0
codenet
Compile Error
363
v2_s312489186
s312489186
s312489186
p02717
p02717
u338980863
u338980863
1,586,667,587
2020-04-12T04:59:47
Main.java
import java.util.Scanner; class Main { public static void main(string args[]) { Scanner sc=new Scanner(System.in); int a,b,c; a=sc.nextInt(); b=sc.nextInt(); c=sc.nextInt(); System.out.println(c+" "+a+" "+b); } };
Main.java:4: error: cannot find symbol public static void main(string args[]) ^ symbol: class string location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u338980863|p02717|0
u338980863|p02717|0
codenet
Compile Error
243
v2_s984945025
s984945025
s984945025
p02717
p02717
u346307762
u346307762
1,586,048,564
2020-04-05T01:02:44
Main.java
import java.io.*; import java.math.*; import java.util.*; import java.util.stream.*; class Main { static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static final PrintWriter pw = new PrintWriter(System.out); public static void main(String[] args) throws IOException { ...
Main.java:12: error: cannot find symbol for(int i = 0; i < num; i++) { ^ symbol: variable num location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u346307762|p02717|0
u346307762|p02717|0
codenet
Compile Error
617
v2_s097138902
s097138902
s097138902
p02717
p02717
u417137663
u417137663
1,586,372,956
2020-04-08T19:09:16
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(); System.out.println(z + " " + x + " " + y); } }
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
u417137663|p02717|0
u417137663|p02717|0
codenet
Compile Error
225
v2_s238448593
s238448593
s238448593
p02717
p02717
u431524719
u431524719
1,586,051,959
2020-04-05T01:59:19
Main.java
import java.util.*; class a { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); double m=sc.nextDouble(); int arr[]=new int[n]; double b=0.0d; for(int i=0;i<n;i++) { arr[i]=sc.nextInt(); ...
Main.java:18: error: ')' expected double k=((1/(4*m))*b; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u431524719|p02717|0
u431524719|p02717|0
codenet
Compile Error
631
v2_s240966841
s240966841
s240966841
p02717
p02717
u444495139
u444495139
1,589,727,224
2020-05-17T14:53:44
Main.java
Scanner scan = new Scanner(System.in); int x= scan.nextInt(); int y= scan.nextInt(); int z= scan.nextInt(); scan.close(); System.out.print(z+" "+x+" "+y);
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Scanner scan = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:5: error: class, interface, enum, or record expected scan.close(); ^ Main.java:6: error: class, interface, enum, or record expe...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u444495139|p02717|0
u444495139|p02717|0
codenet
Compile Error
164
v2_s338376156
s338376156
s338376156
p02717
p02717
u448404064
u448404064
1,586,688,983
2020-04-12T10:56:23
Main.java
public static void main(String[] args) { // write your code here Scanner in = new Scanner(System.in); PrintWriter out = new PrintWriter(System.out); int x = in.nextInt(); int y = in.nextInt(); int z = in.nextInt(); int temp1 = x; x = y; y =temp1; ...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u448404064|p02717|0
u448404064|p02717|0
codenet
Compile Error
443
v2_s119482001
s119482001
s119482001
p02717
p02717
u452351607
u452351607
1,586,049,072
2020-04-05T01:11:12
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = ""; a=sc.nextInt(); int b = ""; b=sc.nextInt(); int c = ""; c=sc.nextInt(); System.out.println(c+" "+a+" "+b); } }
Main.java:7: error: incompatible types: String cannot be converted to int int a = ""; ^ Main.java:9: error: incompatible types: String cannot be converted to int int b = ""; ^ Main.java:11: error: incompatible types: String cannot be converted to int int c = ""; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u452351607|p02717|0
u452351607|p02717|0
codenet
Compile Error
294
v2_s645582175
s645582175
s645582175
p02717
p02717
u452351607
u452351607
1,586,049,126
2020-04-05T01:12:06
main.java
import java.util.*; public class main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = ""; a=sc.nextInt(); int b = ""; b=sc.nextInt(); int c = ""; c=sc.nextInt(); System.out.println(c+" "+a+" "+b); } }
main.java:7: error: incompatible types: String cannot be converted to int int a = ""; ^ main.java:9: error: incompatible types: String cannot be converted to int int b = ""; ^ main.java:11: error: incompatible types: String cannot be converted to int int c = ""; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u452351607|p02717|0
u452351607|p02717|0
codenet
Compile Error
294
v2_s861691060
s861691060
s861691060
p02717
p02717
u452351607
u452351607
1,586,049,288
2020-04-05T01:14:48
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = ""; a=sc.nextInt(); int b = ""; b=sc.nextInt(); int c = ""; c=sc.nextInt(); System.out.println(c+" "+a+" "+b); } }
Main.java:7: error: incompatible types: String cannot be converted to int int a = ""; ^ Main.java:9: error: incompatible types: String cannot be converted to int int b = ""; ^ Main.java:11: error: incompatible types: String cannot be converted to int int c = ""; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u452351607|p02717|0
u452351607|p02717|0
codenet
Compile Error
294
v2_s152779356
s152779356
s152779356
p02717
p02717
u469119319
u469119319
1,586,049,973
2020-04-05T01:26:13
Main.java
public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int[] abc = null; int tmp; for(int i = 0; i < 3; i++) { abc[i] = Integer.parseInt(sc.next()); } tmp = abc[0]; abc[0] = abc[1]; abc[1]...
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
u469119319|p02717|0
u469119319|p02717|0
codenet
Compile Error
486
v2_s288091496
s288091496
s288091496
p02717
p02717
u497681278
u497681278
1,587,037,181
2020-04-16T11:39:41
Main.java
public static void main(String[] args){ int a,b,c; Scanner input=new Scanner(System.in); a=input new Scanner(); b=input new Scanner(); c=input new Scanner(); int tempa=a; int tempb=b; int tempc=c; a=tempc; b=tempa; c=tempa; System.out.printf("%d %d %d", a,b,c); }
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) Main.java:5: error: ';' expected a=input new Scanner(); b=input new Scanner(); c=input new Scanner(); ^ Main.java...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u497681278|p02717|0
u497681278|p02717|0
codenet
Compile Error
287
v2_s306987521
s306987521
s306987521
p02717
p02717
u497681278
u497681278
1,587,037,269
2020-04-16T11:41:09
Main.java
public static void main(String[] args){ int a,b,c; Scanner input=new Scanner(System.in); a=input.nextInt(); b=input.nextInt(); c=input.nextInt(); int tempa=a; int tempb=b; int tempc=c; a=tempc; b=tempa; c=tempa; System.out.printf("%d %d %d", a,b,c); }
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
u497681278|p02717|0
u497681278|p02717|0
codenet
Compile Error
272
v2_s915442592
s915442592
s915442592
p02717
p02717
u497681278
u497681278
1,587,037,486
2020-04-16T11:44:46
Main.java
import java.util.*; public class Main {// Main public static void main(String[] args){ . . . } }
Main.java:4: error: illegal start of expression . ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u497681278|p02717|0
u497681278|p02717|0
codenet
Compile Error
128
v2_s813405267
s813405267
s813405267
p02717
p02717
u497681278
u497681278
1,587,037,500
2020-04-16T11:45:00
main.java
import java.util.*; public class main {// Main public static void main(String[] args){ . . . } }
main.java:4: error: illegal start of expression . ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u497681278|p02717|0
u497681278|p02717|0
codenet
Compile Error
128
v2_s334978902
s334978902
s334978902
p02717
p02717
u497681278
u497681278
1,587,037,562
2020-04-16T11:46:02
Main.java
import java.util.*; public class Main {// Main public static void main(String[] args){ . . . } }
Main.java:4: error: illegal start of expression . ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u497681278|p02717|0
u497681278|p02717|0
codenet
Compile Error
128
v2_s492070439
s492070439
s492070439
p02717
p02717
u497681278
u497681278
1,587,037,757
2020-04-16T11:49:17
Main.java
import java.util.*; public class Main {// Main public static void main(String[] args){ Scanner input=new Scanner(System.in); int a=input.nextInt(); int b=input.nextInt(); int c=input.nextInt(); temp=a; a=b; b=temp; c=temp; a=c } }
Main.java:14: error: ';' expected a=c ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u497681278|p02717|0
u497681278|p02717|0
codenet
Compile Error
312
v2_s265318711
s265318711
s265318711
p02717
p02717
u497681278
u497681278
1,587,037,785
2020-04-16T11:49:45
Main.java
import java.util.*; public class Main {// Main public static void main(String[] args){ Scanner input=new Scanner(System.in); int a=input.nextInt(); int b=input.nextInt(); int c=input.nextInt(); temp=a; a=b; b=temp; c=temp; a=c; } }
Main.java:10: error: cannot find symbol temp=a; ^ symbol: variable temp location: class Main Main.java:12: error: cannot find symbol b=temp; ^ symbol: variable temp location: class Main Main.java:13: error: cannot find symbol c=temp; ^ symbol: variable temp loca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u497681278|p02717|0
u497681278|p02717|0
codenet
Compile Error
313
v2_s646713372
s646713372
s646713372
p02717
p02717
u497681278
u497681278
1,587,037,810
2020-04-16T11:50:10
Main.java
import java.util.*; public class Main {// Main public static void main(String[] args){ Scanner input=new Scanner(System.in); int a=input.nextInt(); int b=input.nextInt(); int c=input.nextInt(); int temp=a; a=b; b=temp; c=temp; a=c } }
Main.java:14: error: ';' expected a=c ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u497681278|p02717|0
u497681278|p02717|0
codenet
Compile Error
316
v2_s467808353
s467808353
s467808353
p02717
p02717
u526188124
u526188124
1,586,049,881
2020-04-05T01:24:41
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int X, Y, Z; X = sc.nextInt(); Y = sc.nextInt(); Z = sc.nextInt(); System.out.print(Z + " "); System.out.print(X + " "); System.out.print(Y + " "); } } ...
Main.java:20: error: class, interface, enum, or record expected S ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u526188124|p02717|0
u526188124|p02717|0
codenet
Compile Error
339
v2_s798553850
s798553850
s798553850
p02717
p02717
u534918612
u534918612
1,586,053,241
2020-04-05T02:20:41
Main.java
import java.util.*; public static void main(String[] args){ int a,b,c; Scanner s=new Scanner(System.in); a=s.nextInt(); b=s.nextInt(); c=s.nextInt(); System.out.println(c+" "+a+" "+b); }
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u534918612|p02717|0
u534918612|p02717|0
codenet
Compile Error
198
v2_s172162375
s172162375
s172162375
p02717
p02717
u547671064
u547671064
1,586,048,625
2020-04-05T01:03:45
Main.java
import java.util.*; public class Main{ public static void main{ Scanner sc =new Scanner(System.in); int X =sc.nextInt(); int Y =sc.nextInt(); int Z =sc.nextInt(); System.out.println(Z+" "+X+" "+Y); } }
Main.java:3: error: '(' expected public static void main{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p02717|0
u547671064|p02717|0
codenet
Compile Error
225
v2_s659061510
s659061510
s659061510
p02717
p02717
u565448206
u565448206
1,587,944,771
2020-04-26T23:46:11
Main.java
public static void main(String[] args) { Scanner scanner=new Scanner(System.in); int target=scanner.nextInt(); int n=0; long a=0; while (n<target){ a+=1; if (a<10){ n+=1; continue; } if (solve(a))...
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
u565448206|p02717|0
u565448206|p02717|0
codenet
Compile Error
741
v2_s575440598
s575440598
s575440598
p02717
p02717
u577818543
u577818543
1,586,051,050
2020-04-05T01:44:10
Atcoder.java
public class Atcoder{ public static void main(String[] args){ Scanner scan01 = new Scanner(System.in); Scanner scan02 = new Scanner(System.in); Scanner scan03 = new Scanner(System.in); int numbox[] = new int[4]; numbox[0] = scan01.nextInt(); numbox[1] = scan02.nextInt(); numbox[2] = scan03.nextInt(); ...
Atcoder.java:5: error: cannot find symbol Scanner scan01 = new Scanner(System.in); ^ symbol: class Scanner location: class Atcoder Atcoder.java:5: error: cannot find symbol Scanner scan01 = new Scanner(System.in); ^ symbol: class Scanner location: class Atcoder Atcoder.java:6: e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u577818543|p02717|0
u577818543|p02717|0
codenet
Compile Error
581
v2_s703594566
s703594566
s703594566
p02717
p02717
u577818543
u577818543
1,586,051,156
2020-04-05T01:45:56
Main.java
public class Main{ public static void main(String[] args){ Scanner scan01 = new Scanner(System.in); Scanner scan02 = new Scanner(System.in); Scanner scan03 = new Scanner(System.in); int numbox[] = new int[4]; numbox[0] = scan01.nextInt(); numbox[1] = scan02.nextInt(); numbox[2] = scan03.nextInt(); ...
Main.java:5: error: cannot find symbol Scanner scan01 = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scan01 = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot fi...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u577818543|p02717|0
u577818543|p02717|0
codenet
Compile Error
578
v2_s663619776
s663619776
s663619776
p02717
p02717
u579344635
u579344635
1,586,049,464
2020-04-05T01:17:44
Main.java
public class Main { public static void main(String[] args) { int[] array = new int[3]; Scanner input = new Scanner(System.in); array[0] = input.nextInt(); array[1] = input.nextInt(); array[2] = input.nextInt(); int num = 0; num = array[2]; array[2] = array[1]; array[1] = array[0]; array[0] = ...
Main.java:5: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579344635|p02717|0
u579344635|p02717|0
codenet
Compile Error
414
v2_s705439382
s705439382
s705439382
p02717
p02717
u610795346
u610795346
1,586,048,805
2020-04-05T01:06:45
Solution.java
public class Solution { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int c = in.nextInt(); System.out.println(c + " " + a + " " + b); } }
Solution.java:4: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Solution Solution.java:4: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Solution 2...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u610795346|p02717|0
u610795346|p02717|0
codenet
Compile Error
262
v2_s162214628
s162214628
s162214628
p02717
p02717
u630566616
u630566616
1,586,274,567
2020-04-07T15:49:27
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int X = scanner.nextInt(); int Y = scanner.nextInt(); int Z = scanner.nextInt(); int X = W; int X = Y; int Y = W; int W...
Main.java:9: error: variable X is already defined in method main(String[]) int X = W; ^ Main.java:9: error: cannot find symbol int X = W; ^ symbol: variable W location: class Main Main.java:10: error: variable X is already defined in method main(String[]) int X = Y;...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u630566616|p02717|0
u630566616|p02717|0
codenet
Compile Error
396
v2_s680767686
s680767686
s680767686
p02717
p02717
u630566616
u630566616
1,586,274,792
2020-04-07T15:53:12
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int X = scanner.nextInt(); int Y = scanner.nextInt(); int Z = scanner.nextInt(); int T = 0; int T = X; int X = Y; int Y = T; ...
Main.java:9: error: variable T is already defined in method main(String[]) int T = X; ^ Main.java:10: error: variable X is already defined in method main(String[]) int X = Y; ^ Main.java:11: error: variable Y is already defined in method main(String[]) int Y = T; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u630566616|p02717|0
u630566616|p02717|0
codenet
Compile Error
406
v2_s165602715
s165602715
s165602715
p02717
p02717
u630566616
u630566616
1,586,274,888
2020-04-07T15:54:48
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner in = new Scanner(System.in); int X = scanner.nextInt(); int Y = scanner.nextInt(); int Z = scanner.nextInt(); int T = 0; int T = X; int X = Y; int Y = T; int X = Z; int Z = T; System.out.println(X+...
Main.java:5: error: cannot find symbol int X = scanner.nextInt(); ^ symbol: variable scanner location: class Main Main.java:6: error: cannot find symbol int Y = scanner.nextInt(); ^ symbol: variable scanner location: class Main Main.java:7: error: cannot find symbol int Z = scanner...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u630566616|p02717|0
u630566616|p02717|0
codenet
Compile Error
342
v2_s420585571
s420585571
s420585571
p02717
p02717
u630566616
u630566616
1,586,274,946
2020-04-07T15:55:46
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner in = new Scanner(System.in); int X = in.nextInt(); int Y = in.nextInt(); int Z = in.nextInt(); int T = 0; int T = X; int X = Y; int Y = T; int X = Z; int Z = T; System.out.println(X+" "+Y+" "+Z); ...
Main.java:9: error: variable T is already defined in method main(String[]) int T = X; ^ Main.java:10: error: variable X is already defined in method main(String[]) int X = Y; ^ Main.java:11: error: variable Y is already defined in method main(String[]) int Y = T; ^ Main.java:12: error: variable ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u630566616|p02717|0
u630566616|p02717|0
codenet
Compile Error
327
v2_s516368104
s516368104
s516368104
p02717
p02717
u654558363
u654558363
1,586,048,594
2020-04-05T01:03:14
Main.java
#include <iostream> #include <vector> #include <stdlib.h> using std::cout; using std::cin; using std::endl; using std::vector; int main (int args, char** argv){ int a, b, c; cin >> a; cin >> b; cin >> c; cout << c << " " << a << " " << b << endl; return 0; }
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <vector> ^ Main.java:3: error: illegal character: '#' #include <stdlib.h> ^ Main.java:6: error: class, interface, enum, or record expected using std::cin; ^ Main.java:7: error: class, interface, enum, or...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u654558363|p02717|0
u654558363|p02717|0
codenet
Compile Error
281
v2_s495610286
s495610286
s495610286
p02717
p02717
u707562002
u707562002
1,586,049,080
2020-04-05T01:11:20
main.java
import java.util.Scanner; public class main{ public static viod main(String[] args){ Scanner scn = new Scanner(System.in); char a = snn.next(); char b = scn.next(); char c = scn.next(); scn.close(); System.out.println(c+a+b); } }
main.java:3: error: cannot find symbol public static viod main(String[] args){ ^ symbol: class viod location: class main main.java:5: error: cannot find symbol char a = snn.next(); ^ symbol: variable snn location: class main main.java:6: error: incompatible types: String...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02717|0
u707562002|p02717|0
codenet
Compile Error
264
v2_s671090839
s671090839
s671090839
p02717
p02717
u707562002
u707562002
1,586,049,150
2020-04-05T01:12:30
main.java
import java.util.Scanner; public class main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); char a = scn.next(); char b = scn.next(); char c = scn.next(); scn.close(); System.out.println(c+a+b); } }
main.java:5: error: incompatible types: String cannot be converted to char char a = scn.next(); ^ main.java:6: error: incompatible types: String cannot be converted to char char b = scn.next(); ^ main.java:7: error: incompatible types: String cannot be converted...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02717|0
u707562002|p02717|0
codenet
Compile Error
265
v2_s168823220
s168823220
s168823220
p02717
p02717
u707562002
u707562002
1,586,051,437
2020-04-05T01:50:37
Main.java
import util.java.Scanner; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); int N = scn.nextInt(); int M = scn.nextInt(); int i; while(i=0){ int a[i] = scn.nextInt(); int sum = 0; int sum = sum+a[i]; i += 1; } ...
Main.java:9: error: ']' expected int a[i] = scn.nextInt(); ^ Main.java:9: error: ';' expected int a[i] = scn.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02717|0
u707562002|p02717|0
codenet
Compile Error
463
v2_s741696466
s741696466
s741696466
p02717
p02717
u757837914
u757837914
1,586,049,797
2020-04-05T01:23:17
Main.java
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner s = new Scanner(System.in); String a = s.next(); String b = s.next(); String c = s.next(); String tempStr = ""; tempStr = a; a = b; b = tempStr; ...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u757837914|p02717|0
u757837914|p02717|0
codenet
Compile Error
425
v2_s974317747
s974317747
s974317747
p02717
p02717
u760305201
u760305201
1,586,048,746
2020-04-05T01:05:46
c.java
import java.util.*; public class c{ public statjic void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int tmp = a; // 1 a = b; // 2 b = tmp; // 1 tmp = a; a = c; c = a; System.out....
c.java:4: error: <identifier> expected public statjic void main(String[] args){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u760305201|p02717|0
u760305201|p02717|0
codenet
Compile Error
349
v2_s720641675
s720641675
s720641675
p02717
p02717
u767682383
u767682383
1,589,430,108
2020-05-14T04:21:48
Main.java
import java.util.Scanner; 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 temp = a; a = b; b = a; temp = a; a = c; c = t...
Main.java:10: error: cannot find symbol int temp = a; ^ symbol: variable a location: class Main Main.java:11: error: cannot find symbol a = b; ^ symbol: variable a location: class Main Main.java:11: error: cannot find symbol a = b; ^ symbol: varia...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u767682383|p02717|0
u767682383|p02717|0
codenet
Compile Error
382
v2_s924185723
s924185723
s924185723
p02717
p02717
u769291367
u769291367
1,595,446,098
2020-07-22T19:28:18
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(); swap(A,B); swap(A,C); A.println(); B.println(); C.println(); } }
Main.java:10: error: cannot find symbol swap(A,B); ^ symbol: method swap(int,int) location: class Main Main.java:11: error: cannot find symbol swap(A,C); ^ symbol: method swap(int,int) location: class Main Main.java:12: error: int cannot be dereferenced A.println(); ^ Main.java:13: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769291367|p02717|0
u769291367|p02717|0
codenet
Compile Error
301
v2_s429205500
s429205500
s429205500
p02717
p02717
u795783760
u795783760
1,587,444,050
2020-04-21T04:40:50
Main.java
import java.util.Scanner; class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); double n , m; n = sc.nextInt(); m = sc.nextInt(); double[] A = new int[n]; double i , counter, sum; counter = 0; sum = 0; for(i=0; i < n ;i++){ A[i] = sc.nextIn...
Main.java:8: error: incompatible types: possible lossy conversion from double to int double[] A = new int[n]; ^ Main.java:8: error: incompatible types: int[] cannot be converted to double[] double[] A = new int[n]; ^ Main.java:13: error: incompatible types: possible los...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u795783760|p02717|0
u795783760|p02717|0
codenet
Compile Error
606
v2_s027961339
s027961339
s027961339
p02717
p02717
u803314854
u803314854
1,591,328,186
2020-06-05T03:36:26
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); int a=sc.next(); System.out.println(sc.next()+" "+sc.next()+" "+a); } }
Main.java:5: error: incompatible types: String cannot be converted to int int a=sc.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p02717|0
u803314854|p02717|0
codenet
Compile Error
181
v2_s438010012
s438010012
s438010012
p02717
p02717
u832834830
u832834830
1,586,353,200
2020-04-08T13:40:00
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(); system.out.println(Z + " " + X + " " + Y); } }
Main.java:9: error: package system does not exist system.out.println(Z + " " + X + " " + Y); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u832834830|p02717|0
u832834830|p02717|0
codenet
Compile Error
253
v2_s269565025
s269565025
s269565025
p02717
p02717
u839277937
u839277937
1,586,305,998
2020-04-08T00:33:18
Main.java
import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Codechef { static void createSgmt(int[] a, int[] s, int l, int h, int p){ if(l == h){ s[p] = a[l]; return; } int mid = (l + h)/2; ...
Main.java:67: error: cannot find symbol int x = in.nextInt(), y = sc.nextInt(), z = in.nextInt(); ^ symbol: variable sc location: class Codechef 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u839277937|p02717|0
u839277937|p02717|0
codenet
Compile Error
1,985
v2_s119429813
s119429813
s119429813
p02717
p02717
u839277937
u839277937
1,586,306,036
2020-04-08T00:33:56
Main.java
import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ public class Main { static void createSgmt(int[] a, int[] s, int l, int h, int p){ if(l == h){ s[p] = a[l]; return; } int mid = (l + h)/2; ...
Main.java:67: error: cannot find symbol int x = in.nextInt(), y = sc.nextInt(), z = in.nextInt(); ^ symbol: variable sc location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u839277937|p02717|0
u839277937|p02717|0
codenet
Compile Error
1,988
v2_s775230138
s775230138
s775230138
p02717
p02717
u839501443
u839501443
1,586,497,196
2020-04-10T05:39:56
Main.java
// "static void main" must be defined in a public class. public class Main { public static void main(String[] args) { int x = sc.nextInt(); int y = sc.nextInt(); int z = sc.nextInt(); System.out.println(z+" "+x+" "+y); } }
Main.java:4: error: cannot find symbol int x = sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:5: error: cannot find symbol int y = sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:6: error: cannot find symbol int z...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u839501443|p02717|0
u839501443|p02717|0
codenet
Compile Error
271
v2_s439843067
s439843067
s439843067
p02717
p02717
u840873940
u840873940
1,586,158,536
2020-04-06T07:35:36
Main.java
class Main{ public static void main(String[] args){ Scanner console = new Scanner(System.in); int X = console.nextInt(); int Y = console.nextInt(); int Z = console.nextInt(); System.out.println(Z + " " + X + " " + Y); } }
Main.java:3: error: cannot find symbol Scanner console = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner console = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u840873940|p02717|0
u840873940|p02717|0
codenet
Compile Error
255
v2_s412711202
s412711202
s412711202
p02717
p02717
u860874998
u860874998
1,589,254,485
2020-05-12T03:34:45
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[] S=new int[3]; S[1]=X; S[2]=Y; S[3]=Z; int tem...
Main.java:24: error: ')' or ',' expected System.out.println(S[1] S[2] S[3]); ^ Main.java:24: error: not a statement System.out.println(S[1] S[2] S[3]); ^ Main.java:24: error: ';' expected System.out.println(S[1] S[2] S[3]); ^ Main.j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02717|0
u860874998|p02717|0
codenet
Compile Error
499
v2_s436777187
s436777187
s436777187
p02717
p02717
u860874998
u860874998
1,589,254,716
2020-05-12T03:38:36
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[] S=new int[3]; S[0]=X; S[1]=Y; S[2]=Z; int temp...
Main.java:23: error: cannot find symbol for(i=0;i<3;i++){ ^ symbol: variable i location: class Main Main.java:23: error: cannot find symbol for(i=0;i<3;i++){ ^ symbol: variable i location: class Main Main.java:23: error: cannot find symbol for(i=0;i<3;i++){ ^ symbol: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02717|0
u860874998|p02717|0
codenet
Compile Error
523
v2_s948339319
s948339319
s948339319
p02717
p02717
u860874998
u860874998
1,589,594,610
2020-05-16T02:03:30
Main.java
import java.util.Scanner; 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 A ; A=X; X=Y; Y=A: int B; B=X; X=Z; Z=B; System....
Main.java:12: error: ';' expected Y=A: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02717|1
u860874998|p02717|1
codenet
Compile Error
352
v2_s193011622
s193011622
s193011622
p02717
p02717
u860874998
u860874998
1,589,594,670
2020-05-16T02:04:30
Main.java
import java.util.Scanner; 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 A ; A=X; X=Y; Y=A; int B; B=X; X=Z; Z=B; System....
Main.java:18: error: no suitable method found for println(int,int,int) System.out.println(X,Y,Z); ^ 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...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02717|1
u860874998|p02717|1
codenet
Compile Error
352
v2_s879472870
s879472870
s879472870
p02717
p02717
u866891215
u866891215
1,586,048,650
2020-04-05T01:04:10
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc=new Scannre(System.in); int A=sc.nextInt(); int B=sc.nextInt(); int C=sc.nextInt(); System.out.println(C); System.out.println(A); ...
Main.java:5: error: cannot find symbol Scanner sc=new Scannre(System.in); ^ symbol: class Scannre location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u866891215|p02717|0
u866891215|p02717|0
codenet
Compile Error
358
v2_s738949943
s738949943
s738949943
p02717
p02717
u868996139
u868996139
1,586,058,375
2020-04-05T03:46:15
main.java
import java.util.Scanner public class main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int x = scan.next(); int y = scan.next(); int z = scan.next(); swap(x,y); swap(x,z); } void swap(int a,int b){ int temp= a; a = b; b = temp; } }
main.java:1: error: ';' expected import java.util.Scanner ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u868996139|p02717|0
u868996139|p02717|0
codenet
Compile Error
291
v2_s625832799
s625832799
s625832799
p02717
p02717
u868996139
u868996139
1,586,058,410
2020-04-05T03:46:50
main.java
import java.util.Scanner; public class main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int x = scan.next(); int y = scan.next(); int z = scan.next(); swap(x,y); swap(x,z); } void swap(int a,int b){ int temp= a; a = b; b = temp; } }
main.java:5: error: incompatible types: String cannot be converted to int int x = scan.next(); ^ main.java:6: error: incompatible types: String cannot be converted to int int y = scan.next(); ^ main.java:7: error: incompatible types: String cannot be converted to int int z = ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u868996139|p02717|0
u868996139|p02717|0
codenet
Compile Error
293
v2_s131423400
s131423400
s131423400
p02717
p02717
u869728296
u869728296
1,588,466,670
2020-05-03T00:44:30
main.java
import java.util.*; public class main { public static void main(String args) { Scanner input = new java.util.Scanner(System.in); String a = input.next(); String b = input.next(); String c = input.next(); System.out.println(c+" "+a+" "b); } }
main.java:11: error: ')' or ',' expected System.out.println(c+" "+a+" "b); ^ main.java:11: error: ';' expected System.out.println(c+" "+a+" "b); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869728296|p02717|0
u869728296|p02717|0
codenet
Compile Error
265
v2_s437819903
s437819903
s437819903
p02717
p02717
u869728296
u869728296
1,588,466,689
2020-05-03T00:44:49
Main.java
import java.util.*; public class Main { public static void main(String args) { Scanner input = new java.util.Scanner(System.in); String a = input.next(); String b = input.next(); String c = input.next(); System.out.println(c+" "+a+" "b); } }
Main.java:11: error: ')' or ',' expected System.out.println(c+" "+a+" "b); ^ Main.java:11: error: ';' expected System.out.println(c+" "+a+" "b); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869728296|p02717|0
u869728296|p02717|0
codenet
Compile Error
265
v2_s747566762
s747566762
s747566762
p02717
p02717
u894074965
u894074965
1,586,673,152
2020-04-12T06:32:32
Main.java
import java.utils.*; 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(); System.out.println(c + " " + a + " " + b) } }
Main.java:9: error: ';' expected System.out.println(c + " " + a + " " + b) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u894074965|p02717|0
u894074965|p02717|0
codenet
Compile Error
255
v2_s190487395
s190487395
s190487395
p02717
p02717
u894074965
u894074965
1,586,673,189
2020-04-12T06:33:09
Main.java
import java.utils.*; 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(); System.out.println(c + " " + a + " " + b); } }
Main.java:1: error: package java.utils does not exist import java.utils.*; ^ Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u894074965|p02717|0
u894074965|p02717|0
codenet
Compile Error
257
v2_s807406198
s807406198
s807406198
p02717
p02717
u894074965
u894074965
1,586,673,277
2020-04-12T06:34:37
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(); System.out.println(c + " " + a + " " + b) } }
Main.java:9: error: ';' expected System.out.println(c + " " + a + " " + b) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u894074965|p02717|0
u894074965|p02717|0
codenet
Compile Error
255
v2_s740608089
s740608089
s740608089
p02717
p02717
u911912079
u911912079
1,586,049,101
2020-04-05T01:11:41
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { FastScanner fs = new FastScanner(); int a = fs.nextInt(); int b = fs.nextInt(); int c = fs.nextInt(); System.out.println(c+" "+a" "+b); } static class FastScanner { BufferedReader br=new Buffer...
Main.java:11: error: ')' or ',' expected System.out.println(c+" "+a" "+b); ^ Main.java:11: error: not a statement System.out.println(c+" "+a" "+b); ^ Main.java:11: error: ';' expected System.out.println(c+" "+a" "+b); ^ 3 error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u911912079|p02717|0
u911912079|p02717|0
codenet
Compile Error
956
v2_s213697762
s213697762
s213697762
p02717
p02717
u913893102
u913893102
1,587,084,851
2020-04-17T00:54:11
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(); System.out.println(z+" "+x+" "+y); } }
Main.java:2: error: '{' expected class Main() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u913893102|p02717|0
u913893102|p02717|0
codenet
Compile Error
235
v2_s044590618
s044590618
s044590618
p02717
p02717
u926919444
u926919444
1,586,985,806
2020-04-15T21:23:26
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(); System.out.println(c + " " + a + " " + b); }
Main.java:12: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u926919444|p02717|0
u926919444|p02717|0
codenet
Compile Error
281
v2_s556155271
s556155271
s556155271
p02717
p02717
u929452574
u929452574
1,592,181,980
2020-06-15T00:46:20
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(); Map<String, Integer> map = new LinkedHashMap<>(); map.put("A", x); map.put("B", y); map.put("C", z); // A <-> B int a = map.get("A"...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:10: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u929452574|p02717|0
u929452574|p02717|0
codenet
Compile Error
580
v2_s876242521
s876242521
s876242521
p02717
p02717
u930301908
u930301908
1,586,049,874
2020-04-05T01:24:34
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(); ArrayList<Integer> intList = new ArrayList<Integer>(); for (int x=0; x<=a; x++) { intList.add(sc.nextInt()); ...
Main.java:13: error: cannot find symbol if(intList.bet(b) > 4 * a) { ^ symbol: method bet(int) location: variable intList of type ArrayList<Integer> 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u930301908|p02717|0
u930301908|p02717|0
codenet
Compile Error
512
v2_s570505286
s570505286
s570505286
p02717
p02717
u953511666
u953511666
1,586,335,025
2020-04-08T08:37:05
Main.java
int tmp = A; A = B; B = tmp; tmp = A; A = C; C = tmp;
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. int tmp = A; ^ (use --enable-preview to enable unnamed classes) Main.java:2: error: class, interface, enum, or record expected A = B; ^ Main.java:3: error: class, interface, enum, or record expected B = tmp; ^ Main.java:5: error: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u953511666|p02717|0
u953511666|p02717|0
codenet
Compile Error
56
v2_s369099371
s369099371
s369099371
p02717
p02717
u953511666
u953511666
1,586,335,610
2020-04-08T08:46:50
Main.java
import java.util.*; 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 tmp = A; A = B; B = tmp; tmp = A; A = C; C = tmp; }
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[]args){ ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u953511666|p02717|0
u953511666|p02717|0
codenet
Compile Error
225
v2_s992215224
s992215224
s992215224
p02717
p02717
u953511666
u953511666
1,586,663,688
2020-04-12T03:54:48
Main.java
import java.util.Scanner; 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 tmp = A; A = B; B = tmp; tmp = A; A = C; C = tmp; System.out.printl...
Main.java:3: 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
u953511666|p02717|1
u953511666|p02717|1
codenet
Compile Error
352
v2_s081062342
s081062342
s081062342
p02717
p02717
u953801706
u953801706
1,586,049,745
2020-04-05T01:22:25
Main.java
import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; public class Main { public static void main(String args[]){ InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); String xyz = null; ...
Main.java:12: error: illegal character: '\uff1d' xyz ? br.readLine(); ^ Main.java:12: error: not a statement xyz ? br.readLine(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u953801706|p02717|0
u953801706|p02717|0
codenet
Compile Error
460
v2_s321368662
s321368662
s321368662
p02717
p02717
u964095451
u964095451
1,586,831,707
2020-04-14T02:35:07
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N1 = sc.next();
Main.java:4: error: reached end of file while parsing int N1 = sc.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964095451|p02717|0
u964095451|p02717|0
codenet
Compile Error
137
v2_s995079149
s995079149
s995079149
p02717
p02717
u964095451
u964095451
1,586,832,085
2020-04-14T02:41:25
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.next(); int b = sc.next(); int c = sc.next(); System.out.println(a +" "+ b + " "+ c);
Main.java:7: error: reached end of file while parsing System.out.println(a +" "+ b + " "+ c); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964095451|p02717|0
u964095451|p02717|0
codenet
Compile Error
234
v2_s077322211
s077322211
s077322211
p02717
p02717
u964095451
u964095451
1,586,832,197
2020-04-14T02:43:17
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.next(); int b = sc.next(); int c = sc.next(); System.out.println(c +" "+ a + " "+ b);
Main.java:7: error: reached end of file while parsing System.out.println(c +" "+ a + " "+ b); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964095451|p02717|0
u964095451|p02717|0
codenet
Compile Error
235
v2_s897827346
s897827346
s897827346
p02717
p02717
u966296388
u966296388
1,592,939,519
2020-06-23T19:11:59
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int X = sc.nextLine(); int Y = sc.nextLine(); int Z = sc.nextLine(); System.out.println(Y + " " + Z + " " + X); } }
Main.java:7: error: incompatible types: String cannot be converted to int int X = sc.nextLine(); ^ Main.java:8: error: incompatible types: String cannot be converted to int int Y = sc.nextLine(); ^ Main.java:9: error: incompatible types: String cannot be converted to int ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u966296388|p02717|0
u966296388|p02717|0
codenet
Compile Error
254
v2_s481846327
s481846327
s481846327
p02717
p02717
u972643632
u972643632
1,586,627,706
2020-04-11T17:55:06
Main.java
public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String input = scanner.nextLine(); scanner.close(); String[] arrStr = (input.split(" ",0)); int A, B, C; int[] arrInt = new int[3]; int i = 0; for (String str : arrStr) { arrInt[i] = Integer.parseInt(str); ...
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
u972643632|p02717|0
u972643632|p02717|0
codenet
Compile Error
512
v2_s245797970
s245797970
s245797970
p02717
p02717
u990109804
u990109804
1,586,405,546
2020-04-09T04:12:26
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 aux=a,aux1=c; a=b; b=aux; c=a; a=aux1; System.out.println((a+""+b+""+c)); } }
Main.java:8: error: cannot find symbol int aux=a,aux1=c; ^ symbol: variable a location: class Main Main.java:8: error: cannot find symbol int aux=a,aux1=c; ^ symbol: variable c location: class Main Main.java:9: error: cannot find symbol a=b; ^ sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990109804|p02717|0
u990109804|p02717|0
codenet
Compile Error
306
v2_s957120499
s957120499
s957120499
p02718
p02718
u001317235
u001317235
1,586,580,863
2020-04-11T04:54:23
Main.java
import java.lang.Math; import java.util.*; public class Main { public static void main(String[] args) { //コード Scanner scanner = new Scanner(System.in); String str = scanner.nextLine(); String str2 = scanner.nextLine(); String[] params = str.split(" ", 0); String[]...
Main.java:47: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u001317235|p02718|0
u001317235|p02718|0
codenet
Compile Error
1,330
v2_s528767564
s528767564
s528767564
p02718
p02718
u001317235
u001317235
1,586,580,893
2020-04-11T04:54:53
Main.java
import java.lang.Math; import java.util.*; public class Main { public static void main(String[] args) { //コード Scanner scanner = new Scanner(System.in); String str = scanner.nextLine(); String str2 = scanner.nextLine(); String[] params = str.split(" ", 0); String[] ...
Main.java:39: error: illegal start of expression if (chose_product => intArray[1]) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u001317235|p02718|0
u001317235|p02718|0
codenet
Compile Error
1,244
v2_s802853507
s802853507
s802853507
p02718
p02718
u014079196
u014079196
1,586,050,232
2020-04-05T01:30:32
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int N= sc.nextInt(); int M = sc.nextInt(); int data[] = new int[N]; double total = 0; int max = 0; for(int i = 0; i<N;i++) { data[i] = sc.nextInt(); total += data[i]; } for(int ...
Main.java:38: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u014079196|p02718|0
u014079196|p02718|0
codenet
Compile Error
726
v2_s096744258
s096744258
s096744258
p02718
p02718
u028693637
u028693637
1,586,054,305
2020-04-05T02:38:25
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String[] sep = sc.nextLine().split(" "); int n = Integer.parseInt(sep[0]); int m = Integer.parseInt(sep[1]); int[] bigger = new int[n]; String...
Main.java:26: error: bad operand types for binary operator '&&' }else if(bigger[i] == sumVote / (4 * m) && sumVote % (4 * m)){ ^ first type: boolean second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u028693637|p02718|0
u028693637|p02718|0
codenet
Compile Error
966
v2_s105451227
s105451227
s105451227
p02718
p02718
u056351372
u056351372
1,586,048,952
2020-04-05T01:09:12
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; InputReader in = new InputReader(inputStream); PrintWriter out = new PrintWriter(outputStream); U...
Main.java:30: error: cannot find symbol if(a[i]>=sum/(4*m)) count++; ^ symbol: variable count location: class Unstoppable Main.java:32: error: cannot find symbol if(count>=m) out.printlln("Yes"); ^ symbol: variable count location: class Unst...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u056351372|p02718|0
u056351372|p02718|0
codenet
Compile Error
1,793
v2_s196352864
s196352864
s196352864
p02718
p02718
u074720991
u074720991
1,586,467,680
2020-04-09T21:28:00
Main.java
import java.util.Scanner; import java.util.Arrays; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); Integer[] votes = new Integer[N]; for (int i = 0; i < N; i++) { votes[i] = sc.nextInt(); } Arrays.sort...
Main.java:15: error: cannot find symbol Arrays.sort(votes, Comparator.reverseOrder()); ^ symbol: variable Comparator location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u074720991|p02718|0
u074720991|p02718|0
codenet
Compile Error
613
v2_s771084720
s771084720
s771084720
p02718
p02718
u102816329
u102816329
1,586,095,004
2020-04-05T13:56: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 M=sc.nextInt(); int[] A=new int[N]; long counter=0; long total=0; for(int i=0;i<N;i++){ A[i]=sc.nextInt(); total+=A[i]; } long cap=t...
Main.java:14: error: incompatible types: possible lossy conversion from double to long long cap=total/(4.0*M); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u102816329|p02718|0
u102816329|p02718|0
codenet
Compile Error
482
v2_s698932283
s698932283
s698932283
p02718
p02718
u114473786
u114473786
1,586,124,440
2020-04-05T22:07:20
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int[] a = new int[n]; for(int i=0;i<n;i++){ a[i] = sc.nextInt(); } Arrays.sort(a); int ms = 0; fo...
Main.java:23: error: cannot find symbol if(ms<1/(4*M)){ ^ symbol: variable M location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u114473786|p02718|0
u114473786|p02718|0
codenet
Compile Error
492
v2_s128006197
s128006197
s128006197
p02718
p02718
u114473786
u114473786
1,586,124,745
2020-04-05T22:12:25
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int[] a = new int[n]; int a = 0; for(int i=0;i<n;i++){ a[i] = sc.nextInt(); a = a+a[i]; } Arrays.sort(a)...
Main.java:10: error: variable a is already defined in method main(String[]) int a = 0; ^ Main.java:13: error: array required, but int found a[i] = sc.nextInt(); ^ Main.java:14: error: array required, but int found a = a+a[i]; ^ Main.java:17: error: no suitable method found fo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u114473786|p02718|0
u114473786|p02718|0
codenet
Compile Error
544
v2_s458463799
s458463799
s458463799
p02718
p02718
u114473786
u114473786
1,586,124,843
2020-04-05T22:14:03
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int[] a = new int[n]; int a = 0; for(int i=0;i<n;i++){ a[i] = sc.nextInt(); a = a+a[i]; } Arrays.sort(a)...
Main.java:34: error: class, interface, enum, or record expected import java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u114473786|p02718|0
u114473786|p02718|0
codenet
Compile Error
1,089
v2_s859464077
s859464077
s859464077
p02718
p02718
u114473786
u114473786
1,586,124,887
2020-04-05T22:14:47
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int[] a = new int[n]; int a = 0; for(int i=0;i<n;i++){ a[i] = sc.nextInt(); b = b+a[i]; } Arrays.sort(a)...
Main.java:10: error: variable a is already defined in method main(String[]) int a = 0; ^ Main.java:13: error: array required, but int found a[i] = sc.nextInt(); ^ Main.java:14: error: cannot find symbol b = b+a[i]; ^ symbol: variable b location: class Main Main.java:14: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u114473786|p02718|0
u114473786|p02718|0
codenet
Compile Error
545
v2_s312791880
s312791880
s312791880
p02718
p02718
u124208943
u124208943
1,586,054,921
2020-04-05T02:48:41
Main.java
import java.util.*; import java.util.Collections; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); double N = sc.nextDouble(); double M = sc.nextDouble(); Double[] A = new Double[N]; double sum = 0; String ret = "Yes"; for(int i = 0; i < A.length; i...
Main.java:9: error: incompatible types: possible lossy conversion from double to int Double[] A = new Double[N]; ^ Main.java:13: error: incompatible types: int cannot be converted to Double A[i] = sc.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u124208943|p02718|0
u124208943|p02718|0
codenet
Compile Error
573
v2_s397692007
s397692007
s397692007
p02718
p02718
u179053337
u179053337
1,586,048,698
2020-04-05T01:04:58
Main.java
N, M = list(map(int, input().split())) A = list(map(int, input().split())) counts = 0 total = sum(A) for v in A: if v >= total / (4 * M): counts += 1 if counts >= M: print("Yes") else: print("No")
Main.java:2: error: class, interface, enum, or record expected N, M = list(map(int, input().split())) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u179053337|p02718|0
u179053337|p02718|0
codenet
Compile Error
223
v2_s506274574
s506274574
s506274574
p02718
p02718
u179053337
u179053337
1,586,048,929
2020-04-05T01:08:49
Main.java
N, M = list(map(int, input().split())) A = list(map(int, input().split())) counts = 0 total = sum(A) for v in A: if v >= total / (4 * M): counts += 1 if counts >= M: print("Yes") else: print("No")
Main.java:1: error: class, interface, enum, or record expected N, M = list(map(int, input().split())) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u179053337|p02718|0
u179053337|p02718|0
codenet
Compile Error
222
v2_s165148524
s165148524
s165148524
p02718
p02718
u188901053
u188901053
1,586,053,406
2020-04-05T02:23:26
Main.java
import java.util.Scanner; //int[] date=new int[2]; public class Main { int i,o,sum,h,s,e,u,ty,yu,ui,n,num,qw; double m,t,r,j,k,f,d,g,w; static double l; String b,c,z,x,v,a,q; Scanner scan =new Scanner(System.in); int[] date=new int[2]; //出力 public void output() { for(o=0;o<2;o++) { date[o]=scan.nextInt(); } date...
Main.java:32: error: cannot find symbol p.input(); ^ symbol: method input() location: variable p of type Main Main.java:33: error: cannot find symbol p.compute(); ^ symbol: method compute() location: variable p of type Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u188901053|p02718|0
u188901053|p02718|0
codenet
Compile Error
676
v2_s547533426
s547533426
s547533426
p02718
p02718
u199120400
u199120400
1,588,835,208
2020-05-07T07:06:48
Main.java
import java.util.*; import java.io.*; public class Main { public static void main (final String[] args) { final Scanner s = new Scanner(System.in); int n = Integer.parseInt(s.next()); int m = Integer.parseInt(s.next()); int[] vote = new int[n]; int sum = 0; ...
Main.java:17: error: no suitable method found for sort(int[],Comparator<T#1>) Arrays.sort(vote, Comparator.reverseOrder()); ^ method Arrays.<T#2>sort(T#2[],Comparator<? super T#2>) is not applicable (inference variable T#2 has incompatible bounds equality constraints: int u...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u199120400|p02718|0
u199120400|p02718|0
codenet
Compile Error
608
v2_s357968244
s357968244
s357968244
p02718
p02718
u204830879
u204830879
1,586,114,546
2020-04-05T19:22:26
B.java
import java.rmi.activation.ActivationGroup_Stub; import java.util.Scanner; import java.util.ArrayList; public class B { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ArrayList<Integer> al = new ArrayList<Integer>(); double total = 0; int N = sc.nextI...
B.java:1: error: package java.rmi.activation does not exist import java.rmi.activation.ActivationGroup_Stub; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u204830879|p02718|1
u204830879|p02718|0
codenet
Compile Error
858
v2_s460205096
s460205096
s460205096
p02718
p02718
u204830879
u204830879
1,586,210,348
2020-04-06T21:59:08
B.java
import java.rmi.activation.ActivationGroup_Stub; import java.util.Scanner; import java.util.ArrayList; public class B { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ArrayList<Integer> al = new ArrayList<Integer>(); double total = 0; int N = sc.nextI...
B.java:1: error: package java.rmi.activation does not exist import java.rmi.activation.ActivationGroup_Stub; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u204830879|p02718|2
u204830879|p02718|1
codenet
Compile Error
858
v2_s253587230
s253587230
s253587230
p02718
p02718
u207845630
u207845630
1,586,049,376
2020-04-05T01:16:16
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[] A = new int[N]; int i; int sum = 0; String ans = "Yes"; double judge; for(i = o;i < N;i++){ A[i] = sc.nextInt(); sum += A[i]; }...
Main.java:12: error: cannot find symbol for(i = o;i < N;i++){ ^ symbol: variable o location: class Main Main.java:17: error: cannot find symbol judge = sum / ($ * M); ^ symbol: variable $ location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p02718|0
u207845630|p02718|0
codenet
Compile Error
481
v2_s280647030
s280647030
s280647030
p02718
p02718
u212397344
u212397344
1,586,222,349
2020-04-07T01:19:09
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[] vote = new int[N]; int sum = 0; for(int i=0; i<N; i++){ int tmp = sc.nextInt(); vote[i] = tmp; sum += tmp; } ...
Main.java:14: error: cannot find symbol Arryas.sort(vote); ^ symbol: variable Arryas location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212397344|p02718|0
u212397344|p02718|0
codenet
Compile Error
589
v2_s489891290
s489891290
s489891290
p02718
p02718
u212397344
u212397344
1,586,222,452
2020-04-07T01:20:52
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[] vote = new int[N]; int sum = 0; for(int i=0; i<N; i++){ int tmp = sc.nextInt(); vote[i] = tmp; sum += tmp; } ...
Main.java:21: error: illegal start of type if(cnt<M)System.out.print("No"); ^ Main.java:21: error: > or ',' expected if(cnt<M)System.out.print("No"); ^ Main.java:21: error: <identifier> expected if(cnt<M)System.out.print("No"); ^ Main.java:21: error: illegal star...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212397344|p02718|0
u212397344|p02718|0
codenet
Compile Error
535
v2_s992007120
s992007120
s992007120
p02718
p02718
u212397344
u212397344
1,586,222,476
2020-04-07T01:21:16
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[] vote = new int[N]; int sum = 0; for(int i=0; i<N; i++){ int tmp = sc.nextInt(); vote[i] = tmp; sum += tmp; } ...
Main.java:21: error: illegal start of type if(cnt<M)System.out.print("No"); ^ Main.java:21: error: > or ',' expected if(cnt<M)System.out.print("No"); ^ Main.java:21: error: <identifier> expected if(cnt<M)System.out.print("No"); ^ Main.java:21: error: illegal star...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212397344|p02718|0
u212397344|p02718|0
codenet
Compile Error
535
v2_s623481597
s623481597
s623481597
p02718
p02718
u229130623
u229130623
1,586,550,426
2020-04-10T20:27:06
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.util.Arrays; public class Main{ public static void main(String[] args) throws IOException{ InputStreamReader inputStreamReader = new InputStreamReader(System.in); BufferedReader bufferedReader =...
Main.java:24: error: incompatible types: int cannot be converted to String for(String vote : votes){ ^ Main.java:25: error: bad operand types for binary operator '>' if(vote > votesSum * (1 / 4 * inputs[1])){ ^ first type: String second type: int 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u229130623|p02718|0
u229130623|p02718|0
codenet
Compile Error
1,201