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_s877172906
s877172906
s877172906
p02402
p02402
u015414098
u015414098
1,455,690,669
2016-02-17T06:31:09
Main.java
package test01; import java.util.Scanner; class Main{ @SuppressWarnings("resource") public static void main(String[] args) { //??\????????£?¨? Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] hako = new int[n]; long sum = 0; int max = -1000; int min = 1000; for(int i = 0; i ...
Main.java:36: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u015414098|p02402|0
u015414098|p02402|0
codenet
Compile Error
618
v2_s661622251
s661622251
s661622251
p02402
p02402
u017274040
u017274040
1,494,498,961
2017-05-11T10:36:01
Main.java
import java.util.Scanner; public class Main{ public static void(String[] args){ Scanner scan = new Scanner(); int n = scan.nextInt(); int[] abc = new int[n]; int min = 1000000; int max = -1000000; int sum = abc[n]; for(int i = 0;i<n;i++){ abc[i] = scan....
Main.java:3: error: <identifier> expected public static void(String[] args){ ^ Main.java:26: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02402|0
u017274040|p02402|0
codenet
Compile Error
552
v2_s287053988
s287053988
s287053988
p02402
p02402
u017274040
u017274040
1,494,499,006
2017-05-11T10:36:46
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(); int n = scan.nextInt(); int[] abc = new int[n]; int min = 1000000; int max = -1000000; int sum = abc[n]; for(int i = 0;i<n;i++){ abc[i] = ...
Main.java:26: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02402|0
u017274040|p02402|0
codenet
Compile Error
557
v2_s245819186
s245819186
s245819186
p02402
p02402
u017274040
u017274040
1,494,499,148
2017-05-11T10:39:08
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(); int n = scan.nextInt(); int[] abc = new int[n]; int min = 1000000; int max = -1000000; int sum = abc[n]; for(int i = 0;i<n;i++){ abc[i] = ...
Main.java:4: error: no suitable constructor found for Scanner(no arguments) Scanner scan = 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...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02402|0
u017274040|p02402|0
codenet
Compile Error
557
v2_s956979882
s956979882
s956979882
p02402
p02402
u017274040
u017274040
1,494,499,164
2017-05-11T10:39:24
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(); int n = scan.nextInt(); int[] abc = new int[n]; int min = 1000000; int max = -1000000; int sum = abc[n]; for(int i = 0;i<n;i++){ abc[i] = ...
Main.java:4: error: no suitable constructor found for Scanner(no arguments) Scanner scan = 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...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02402|0
u017274040|p02402|0
codenet
Compile Error
557
v2_s637318308
s637318308
s637318308
p02402
p02402
u051327288
u051327288
1,522,562,165
2018-04-01T05:56:05
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner inp = new Scanner(System.in); int n = inp.nextInt(); int[] array = new int[n]; for (int i = 0; i<array.length; i++) array[i] = inp.nextInt(); int min = array[0], max, sum = 0; int temp; for (int j = 0; j<array.length; j++) { ...
Main.java:24: error: ';' expected sum+=array[i] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u051327288|p02402|0
u051327288|p02402|0
codenet
Compile Error
449
v2_s799234438
s799234438
s799234438
p02402
p02402
u051327288
u051327288
1,522,562,165
2018-04-01T05:56:05
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner inp = new Scanner(System.in); int n = inp.nextInt(); int[] array = new int[n]; for (int i = 0; i<array.length; i++) array[i] = inp.nextInt(); int min = array[0], max, sum = 0; int temp; for (int j = 0; j<array.length; j++) { ...
Main.java:24: error: ';' expected sum+=array[i] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u051327288|p02402|0
u051327288|p02402|0
codenet
Compile Error
449
v2_s579384743
s579384743
s579384743
p02402
p02402
u051327288
u051327288
1,522,562,166
2018-04-01T05:56:06
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner inp = new Scanner(System.in); int n = inp.nextInt(); int[] array = new int[n]; for (int i = 0; i<array.length; i++) array[i] = inp.nextInt(); int min = array[0], max, sum = 0; int temp; for (int j = 0; j<array.length; j++) { ...
Main.java:24: error: ';' expected sum+=array[i] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u051327288|p02402|0
u051327288|p02402|0
codenet
Compile Error
449
v2_s900421084
s900421084
s900421084
p02402
p02402
u051327288
u051327288
1,522,562,201
2018-04-01T05:56:41
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner inp = new Scanner(System.in); int n = inp.nextInt(); int[] array = new int[n]; for (int i = 0; i<array.length; i++) array[i] = inp.nextInt(); int min = array[0], max, sum = 0; int temp; for (int j = 0; j<array.length; j++) { ...
Main.java:18: error: cannot find symbol max = array[i]; ^ symbol: variable i location: class Main Main.java:24: error: cannot find symbol sum+=array[i]; ^ symbol: variable i location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u051327288|p02402|0
u051327288|p02402|0
codenet
Compile Error
450
v2_s971311837
s971311837
s971311837
p02402
p02402
u051327288
u051327288
1,522,562,232
2018-04-01T05:57:12
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner inp = new Scanner(System.in); int n = inp.nextInt(); int[] array = new int[n]; for (int i = 0; i<array.length; i++) array[i] = inp.nextInt(); int min = array[0], max, sum = 0; int temp; for (int j = 0; j<array.length; j++) { ...
Main.java:18: error: cannot find symbol max = array[i]; ^ symbol: variable i location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u051327288|p02402|0
u051327288|p02402|0
codenet
Compile Error
450
v2_s393703084
s393703084
s393703084
p02402
p02402
u051327288
u051327288
1,522,562,265
2018-04-01T05:57:45
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner inp = new Scanner(System.in); int n = inp.nextInt(); int[] array = new int[n]; for (int i = 0; i<array.length; i++) array[i] = inp.nextInt(); int min = array[0], max, sum = 0; int temp; for (int j = 0; j<array.length; j++) { ...
Main.java:27: error: variable max might not have been initialized System.out.println(min+" "+max+" "+sum); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u051327288|p02402|0
u051327288|p02402|0
codenet
Compile Error
450
v2_s648396667
s648396667
s648396667
p02402
p02402
u051327288
u051327288
1,522,566,203
2018-04-01T07:03:23
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner inp = new Scanner(System.in); int n = inp.nextInt() int [] array = new int[n]; for (int i = 0; i<array.length; i++) array[i] = inp.nextInt(); int min = array[0], max = array[0], sum=0; for (int j = 0; j<array.length; j++) { i...
Main.java:9: error: ';' expected int n = inp.nextInt() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u051327288|p02402|0
u051327288|p02402|0
codenet
Compile Error
456
v2_s347976073
s347976073
s347976073
p02402
p02402
u056328744
u056328744
1,467,611,082
2016-07-04T05:44:42
Main.java
import java.io.*; public class Main{ public static void main(String[]args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); String[] str2 = br.readLine().split(" "); ...
Main.java:15: error: ';' expected sum = sum + tmpl ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u056328744|p02402|0
u056328744|p02402|0
codenet
Compile Error
634
v2_s348596886
s348596886
s348596886
p02402
p02402
u059763635
u059763635
1,524,810,250
2018-04-27T06:24:10
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n,x,y; long min = min,max,sum; n=sc.nextInt(); x=sc.nextInt(); sum=x; max=x; for(int i=0;i<n-1;i++){ y=sc.nextInt(); if(max<y) max=y; if(min>y) min=y; sum+=y; } System.out.print(min+" "...
Main.java:7: error: variable min might not have been initialized long min = min,max,sum; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u059763635|p02402|0
u059763635|p02402|0
codenet
Compile Error
394
v2_s313940903
s313940903
s313940903
p02402
p02402
u059763635
u059763635
1,524,810,258
2018-04-27T06:24:18
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n,x,y; long min = min,max,sum; n=sc.nextInt(); x=sc.nextInt(); sum=x; max=x; for(int i=0;i<n-1;i++){ y=sc.nextInt(); if(max<y) max=y; if(min>y) min=y; sum+=y; } System.out.print(min+" "...
Main.java:7: error: variable min might not have been initialized long min = min,max,sum; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u059763635|p02402|0
u059763635|p02402|0
codenet
Compile Error
394
v2_s000272812
s000272812
s000272812
p02402
p02402
u059763635
u059763635
1,524,810,374
2018-04-27T06:26:14
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n,x,y; long min,max,sum; n=sc.nextInt(); x=sc.nextInt(); sum=x; max=x; for(int i=0;i<n-1;i++){ y=sc.nextInt(); if(max<y) max=y; if(min>y) min=y; sum+=y; } System.out.print(min+" "); Sys...
Main.java:16: error: variable min might not have been initialized if(min>y) ^ Main.java:20: error: variable min might not have been initialized System.out.print(min+" "); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u059763635|p02402|0
u059763635|p02402|0
codenet
Compile Error
388
v2_s915543865
s915543865
s915543865
p02402
p02402
u067299340
u067299340
1,493,276,050
2017-04-27T06:54:10
Main.java
import java.util.Scanner public class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int numOfInput = stdIn.nextInt(); int sum = 0; int max = -1000000; int min = 1000000; for(int i = 0; i < numOfInput; i++) { ...
Main.java:1: error: ';' expected import java.util.Scanner ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u067299340|p02402|0
u067299340|p02402|0
codenet
Compile Error
576
v2_s023410729
s023410729
s023410729
p02402
p02402
u092742949
u092742949
1,452,061,692
2016-01-06T06:28:12
Main.java
import java.util.Scanner; class Main public static void main(String[] args){ Scanner scan=new Scanner(System.in); int b=scan.next(); int min=100000,max=0,sum=0; for(int a=0;a<b;a++){ int c=scan.next(); if(min>c) min=c; if(max<c) max=c; sum=sum+c; } System.out.println(min+" "+max+" "+sum); } }
Main.java:2: error: '{' expected class Main ^ 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) Main.java:17: error: class, interface, enum, or record expected } ^ 3 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u092742949|p02402|0
u092742949|p02402|0
codenet
Compile Error
293
v2_s639368785
s639368785
s639368785
p02402
p02402
u097204849
u097204849
1,510,553,916
2017-11-13T06:18:36
Main.java
import java.io.*; import java.util.*; public class Main{ public static void main(String[] argst)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); int al = Integer.parseInt(str); //Syste...
Main.java:37: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u097204849|p02402|0
u097204849|p02402|0
codenet
Compile Error
1,068
v2_s854704563
s854704563
s854704563
p02402
p02402
u102255374
u102255374
1,491,526,368
2017-04-07T00:52:48
Main.java
import java.util.Scanner; /** * @author kawakami * */ class Main { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Scanner as = new Scanner(System.in); int n=???as.nextInt(); long tr,sum; int j = 0,k ...
Main.java:14: error: illegal start of expression int n=???as.nextInt(); ^ Main.java:14: error: illegal start of expression int n=???as.nextInt(); ^ Main.java:14: error: illegal start of expression int n=???as.nextInt(); ^ Main.java:14: error: : expect...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u102255374|p02402|1
u102255374|p02402|1
codenet
Compile Error
1,044
v2_s974173837
s974173837
s974173837
p02402
p02402
u102255374
u102255374
1,491,526,431
2017-04-07T00:53:51
Main.java
import java.util.Scanner; /** * @author kawakami * */ class Main { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Scanner as = new Scanner(System.in); int n=???as.nextInt(); long tr,sum; int j = 0,k ...
Main.java:14: error: illegal start of expression int n=???as.nextInt(); ^ Main.java:14: error: illegal start of expression int n=???as.nextInt(); ^ Main.java:14: error: illegal start of expression int n=???as.nextInt(); ^ Main.java:14: error: : expect...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u102255374|p02402|1
u102255374|p02402|1
codenet
Compile Error
1,047
v2_s216478892
s216478892
s216478892
p02402
p02402
u102255374
u102255374
1,491,526,502
2017-04-07T00:55:02
Main.java
import java.util.Scanner; /** * @author kawakami * */ class Main { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Scanner as = new Scanner(System.in); int n=???as.nextInt(); long tr,sum; int j = 0,k ...
Main.java:14: error: illegal start of expression int n=???as.nextInt(); ^ Main.java:14: error: illegal start of expression int n=???as.nextInt(); ^ Main.java:14: error: illegal start of expression int n=???as.nextInt(); ^ Main.java:14: error: : expect...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u102255374|p02402|1
u102255374|p02402|1
codenet
Compile Error
1,029
v2_s929034643
s929034643
s929034643
p02402
p02402
u126119552
u126119552
1,461,817,257
2016-04-28T04:20:57
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int val[] = new int[n]; for(int i=0; i<n; i++){ val[i] = sc.nextInt(); } int max = -1000000; int min = 1000000; int sum = 0; for(int i=0; i<n; i++){ i...
Main.java:15: error: illegal start of expression if(val[i] => max) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u126119552|p02402|0
u126119552|p02402|0
codenet
Compile Error
471
v2_s769447546
s769447546
s769447546
p02402
p02402
u139687801
u139687801
1,505,629,980
2017-09-17T06:33:00
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int [] arr = new int [11000]; int sum = 0; for(int i = 0;i<num;i++){ arr[i] = sc.nextInt(); sum = arr[i]+sum; } int buffer; for(int i = 0; i<num-1;i++)...
Main.java:30: error: variable max is already defined in method main(String[]) int max = arr[0]; ^ Main.java:31: error: cannot find symbol System.out.println(min+" "+max+" "+sum); ^ symbol: variable min location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u139687801|p02402|0
u139687801|p02402|0
codenet
Compile Error
650
v2_s670448776
s670448776
s670448776
p02402
p02402
u155443227
u155443227
1,459,926,914
2016-04-06T07:15:14
Main.java
import java.io.*; import java.util.Arrays; class Main{ public static void main (String[ ] args) throws Exception{ BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); String str = br.readLine(); int min = 1000001, max = -1000001; long sum = 0; String[...
Main.java:12: error: cannot find symbol for(str str : strArr) ^ symbol: class str location: class Main Main.java:12: error: variable str is already defined in method main(String[]) for(str str : strArr) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u155443227|p02402|0
u155443227|p02402|0
codenet
Compile Error
689
v2_s659998676
s659998676
s659998676
p02402
p02402
u155443227
u155443227
1,459,926,993
2016-04-06T07:16:33
Main.java
import java.io.*; import java.util.Arrays; class Main{ public static void main (String[ ] args) throws Exception{ BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); String str = br.readLine(); int min = 1000001, max = -1000001; long sum = 0; String[...
Main.java:12: error: variable str is already defined in method main(String[]) for(String str : strArr) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u155443227|p02402|0
u155443227|p02402|0
codenet
Compile Error
692
v2_s104679357
s104679357
s104679357
p02402
p02402
u158635433
u158635433
1,495,964,575
2017-05-28T09:42:55
Main.java
import java.util.Scanner; public classMain { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] num = new int[n]; for (int i = 0; i < n; i++) { num[i] = scan.nextInt(); } int max = num[0], min = num[0], sum = num[0]; for (int i = 1; i < n; i...
Main.java:3: error: class, interface, enum, or record expected public classMain { ^ Main.java:5: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) Main.java:26: error: class, inte...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u158635433|p02402|0
u158635433|p02402|0
codenet
Compile Error
497
v2_s270537903
s270537903
s270537903
p02402
p02402
u162151793
u162151793
1,508,240,646
2017-10-17T11:44:06
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int[] numbers = new int[n-1]; int sum = 0; for(int i = 0; i < n; i++){ numbers[i] = scanner.nextInt(); sum += numbers[i]; } ...
Main.java:17: error: cannot find symbol Arrays.sort(x); ^ symbol: variable x location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u162151793|p02402|0
u162151793|p02402|0
codenet
Compile Error
409
v2_s856160787
s856160787
s856160787
p02402
p02402
u179323374
u179323374
1,522,806,711
2018-04-04T01:51:51
Main.java
import java.util.Scanner; public class Main { public static void main(String [] args) { Scanner stdIn = new Scanner(System.in); int min = 10001, max = -10001, sum = 0, n; do { n = stdIn.nextInt(); }while( n < 0 || n > 10000); int data[] = new int[n]; for(int i = 0; i < n; i++) { do { da...
Main.java:6: error: illegal non-ASCII digit int min = 1000?, max = -1000?, sum = 0, n; ^ Main.java:6: error: illegal non-ASCII digit int min = 1000?, max = -1000?, sum = 0, n; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u179323374|p02402|0
u179323374|p02402|0
codenet
Compile Error
607
v2_s896109695
s896109695
s896109695
p02402
p02402
u206778360
u206778360
1,491,358,106
2017-04-05T02:08:26
Main.java
import java.util.Scanner; class Main{ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); long a; long min = 0; long max = 0; long sum = 0; for(int i = 0; i < n; i++){ a = scan.nextInt(); if(i == 0) min = a; min = Math.min...
Main.java:12: error: illegal start of type for(int i = 0; i < n; i++){ ^ Main.java:12: error: > or ',' expected for(int i = 0; i < n; i++){ ^ Main.java:12: error: <identifier> expected for(int i = 0; i < n; i++){ ^ Main.java:21: error: <identifier...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u206778360|p02402|0
u206778360|p02402|0
codenet
Compile Error
463
v2_s631429382
s631429382
s631429382
p02402
p02402
u206778360
u206778360
1,491,358,211
2017-04-05T02:10:11
Main.java
import java.util.Scanner; class Main{ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); long a; long min = 0; long max = 0; long sum = 0; for(int i = 0; i < n; i++){ a = scan.nextInt(); if(i == 0) min = a; min = Math.min...
Main.java:12: error: illegal start of type for(int i = 0; i < n; i++){ ^ Main.java:12: error: > or ',' expected for(int i = 0; i < n; i++){ ^ Main.java:12: error: <identifier> expected for(int i = 0; i < n; i++){ ^ Main.java:21: error: <identifier...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u206778360|p02402|0
u206778360|p02402|0
codenet
Compile Error
463
v2_s331504206
s331504206
s331504206
p02402
p02402
u206778360
u206778360
1,491,449,735
2017-04-06T03:35:35
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ //???????????\??? Scanner scan = new Scanner(System.in); /???????????´??°?????????????????£??\ int n = scan.nextInt(); int a; int min = 0; int max = 0; /?????????long????????????????????£??\ long su...
Main.java:6: error: illegal start of expression /???????????????????????????????????\ ^ Main.java:6: error: illegal start of expression /???????????????????????????????????\ ^ Main.java:6: error: illegal start of expression /???????????????????????????????????\ ^ Main.java:6: error: ill...
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u206778360|p02402|1
u206778360|p02402|1
codenet
Compile Error
776
v2_s640288099
s640288099
s640288099
p02402
p02402
u206778360
u206778360
1,491,449,828
2017-04-06T03:37:08
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ //???????????\??? Scanner scan = new Scanner(System.in); //???????????´??°?????????????????£??\ int n = scan.nextInt(); int a; int min = 0; int max = 0; //?????????long????????????????????£??\ long ...
Main.java:21: error: illegal start of expression ??????if(min > a){ ^ Main.java:21: error: illegal start of expression ??????if(min > a){ ^ Main.java:21: error: illegal start of expression ??????if(min > a){ ^ Main.java:21: error: illegal start of expression ??????if(min > a){ ^ Main.java:21: error: illeg...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u206778360|p02402|1
u206778360|p02402|1
codenet
Compile Error
778
v2_s091411992
s091411992
s091411992
p02402
p02402
u206778360
u206778360
1,491,449,896
2017-04-06T03:38:16
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ //???????????\??? Scanner scan = new Scanner(System.in); //???????????´??°?????????????????£??\ int n = scan.nextInt(); int a; int min = 0; int max = 0; //?????????long????????????????????£??\ long ...
Main.java:21: error: illegal start of expression ??????if(min > a){ ^ Main.java:21: error: illegal start of expression ??????if(min > a){ ^ Main.java:21: error: illegal start of expression ??????if(min > a){ ^ Main.java:21: error: illegal start of expression ??????if(min > a){ ^ Main.java:21: error: illeg...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u206778360|p02402|1
u206778360|p02402|1
codenet
Compile Error
778
v2_s765681234
s765681234
s765681234
p02402
p02402
u206778360
u206778360
1,491,449,971
2017-04-06T03:39:31
Main.java
//2017/4/5 ???????????? //API??????????????? import java.util.Scanner; class Main{ public static void main(String[] args){ //???????????\??? Scanner scan = new Scanner(System.in); /???????????´??°?????????????????£??\ int n = scan.nextInt(); int a; int min = 0; int max = 0; /????...
Main.java:9: error: illegal start of expression /???????????????????????????????????\ ^ Main.java:9: error: illegal start of expression /???????????????????????????????????\ ^ Main.java:9: error: illegal start of expression /???????????????????????????????????\ ^ Main.java:9: error: ill...
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u206778360|p02402|1
u206778360|p02402|1
codenet
Compile Error
822
v2_s898703271
s898703271
s898703271
p02402
p02402
u211138527
u211138527
1,443,300,221
2015-09-26T20:43:41
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Comparator; import java.util.Deque; import java.util.HashMap; import java.util.HashSet; import java.util.InputMi...
Main.java:32: error: cannot find symbol int a=r.nextInt(); ^ symbol: variable r location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02402|0
u211138527|p02402|0
codenet
Compile Error
3,143
v2_s955007422
s955007422
s955007422
p02402
p02402
u231369830
u231369830
1,529,483,214
2018-06-20T08:26:54
Main.java
#include<stdio.h> #include<stdlib.h> #include<math.h> #include<iostream> using namespace std; int main() { int a[10000]; int size; cin >> size; cin >> a[0]; int max = a[0]; int min = a[0]; long long sum = a[0]; for (int i = 1; i < size; i++) { cin >> a[i]; if (max < a[i])max = a[i]; if (min > a[...
Main.java:1: error: illegal character: '#' #include<stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<stdio.h> ^ Main.java:2: error: illegal character: '#' #include<stdlib.h> ^ Main.java:3: error: illegal character: '#' #include<math.h> ^ Main.java:4: error: illegal character: '...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u231369830|p02402|0
u231369830|p02402|0
codenet
Compile Error
434
v2_s129279246
s129279246
s129279246
p02402
p02402
u233376535
u233376535
1,491,281,781
2017-04-04T04:56:21
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); price = Integer.parseInt(br.readLine()); longint n,max,min,sum; int i; String[] strAry = str.split(" "); min = Integer.parseInt(strAry[0]...
Main.java:15: error: illegal start of expression for(i=0,;i<n;i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02402|0
u233376535|p02402|0
codenet
Compile Error
638
v2_s152619747
s152619747
s152619747
p02402
p02402
u233376535
u233376535
1,491,281,805
2017-04-04T04:56:45
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); price = Integer.parseInt(br.readLine()); longint n,max,min,sum; int i; String[] strAry = str.split(" "); min = Integer.parseInt(strAry[0]...
Main.java:6: error: cannot find symbol price = Integer.parseInt(br.readLine()); ^ symbol: variable price location: class Main Main.java:7: error: cannot find symbol longint n,max,min,sum; ^ symbol: class longint location: class Main Main.java:9: error: cannot find symbol String[] strAry = str...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02402|0
u233376535|p02402|0
codenet
Compile Error
637
v2_s594996474
s594996474
s594996474
p02402
p02402
u233376535
u233376535
1,491,281,855
2017-04-04T04:57:35
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); longint n,max,min,sum; n = br.readLine(); int i; String[] strAry = str.split(" "); min = Integer.parseInt(strAry[0]); max = In...
Main.java:7: error: cannot find symbol longint n,max,min,sum; ^ symbol: class longint location: class Main Main.java:10: error: cannot find symbol String[] strAry = str.split(" "); ^ symbol: variable str location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02402|0
u233376535|p02402|0
codenet
Compile Error
602
v2_s330590075
s330590075
s330590075
p02402
p02402
u233376535
u233376535
1,491,281,940
2017-04-04T04:59:00
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); long n,max,min,sum; n = br.readLine(); int i; String[] strAry = str.split(" "); min = Integer.parseInt(strAry[0]); max = Integ...
Main.java:8: error: incompatible types: String cannot be converted to long n = br.readLine(); ^ Main.java:10: error: cannot find symbol String[] strAry = str.split(" "); ^ symbol: variable str location: class Main Main.java:17: error: incompatible types: String cann...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02402|0
u233376535|p02402|0
codenet
Compile Error
599
v2_s320792339
s320792339
s320792339
p02402
p02402
u233376535
u233376535
1,491,281,986
2017-04-04T04:59:46
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); long n,max,min,sum; n = Integer.parseInt(br.readLine()); int i; String[] strAry = str.split(" "); min = Integer.parseInt(strAry[0])...
Main.java:10: error: cannot find symbol String[] strAry = str.split(" "); ^ symbol: variable str location: class Main Main.java:17: error: incompatible types: String cannot be converted to long sum=sum + strAry[i]; ^ Main.java:18: error: bad operand types for binary opera...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02402|0
u233376535|p02402|0
codenet
Compile Error
617
v2_s483440505
s483440505
s483440505
p02402
p02402
u233376535
u233376535
1,491,282,020
2017-04-04T05:00:20
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); long n,max,min,sum; n = Integer.parseInt(br.readLine()); int i; String[] strAry = str.split(" "); min = Integer.parseInt(strAry[0])...
Main.java:10: error: cannot find symbol String[] strAry = str.split(" "); ^ symbol: variable str location: class Main Main.java:17: error: incompatible types: String cannot be converted to long sum=sum + strAry[i]; ^ Main.java:18: error: bad operand types for binary opera...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02402|0
u233376535|p02402|0
codenet
Compile Error
617
v2_s037296531
s037296531
s037296531
p02402
p02402
u233376535
u233376535
1,491,282,103
2017-04-04T05:01:43
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); long n,max,min,sum; n = Integer.parseInt(br.readLine()); int i; int[] strAry = str.split(" "); min = Integer.parseInt(strAry[0]); ...
Main.java:10: error: cannot find symbol int[] strAry = str.split(" "); ^ symbol: variable str location: class Main Main.java:11: error: incompatible types: int cannot be converted to String min = Integer.parseInt(strAry[0]); ^ Main.java:12: error: incompat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02402|0
u233376535|p02402|0
codenet
Compile Error
614
v2_s173165021
s173165021
s173165021
p02402
p02402
u233376535
u233376535
1,491,282,143
2017-04-04T05:02:23
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); long n,max,min,sum; n = Integer.parseInt(br.readLine()); int i; String[] strAry = str.split(" "); min = Integer.parseInt(strAry[0])...
Main.java:10: error: cannot find symbol String[] strAry = str.split(" "); ^ symbol: variable str location: class Main Main.java:17: error: incompatible types: String cannot be converted to int sum=sum + (int)strAry[i]; ^ Main.java:18: error: bad operand types...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02402|0
u233376535|p02402|0
codenet
Compile Error
622
v2_s321098550
s321098550
s321098550
p02402
p02402
u233376535
u233376535
1,491,282,238
2017-04-04T05:03:58
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); long n,max,min,sum; n = Integer.parseInt(br.readLine()); int i; String[] strAry = str.split(" "); min = Integer.parseInt(strAry[0])...
Main.java:10: error: cannot find symbol String[] strAry = str.split(" "); ^ symbol: variable str location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02402|0
u233376535|p02402|0
codenet
Compile Error
708
v2_s707080580
s707080580
s707080580
p02402
p02402
u233376535
u233376535
1,491,282,339
2017-04-04T05:05:39
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); long n,max,min,sum; n = Integer.parseInt(br.readLine()); int i; String[] strAry = str.split(" "); min = Integer.parseInt(strAry[0])...
Main.java:10: error: cannot find symbol String[] strAry = str.split(" "); ^ symbol: variable str location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02402|0
u233376535|p02402|0
codenet
Compile Error
708
v2_s699037918
s699037918
s699037918
p02402
p02402
u233376535
u233376535
1,491,282,385
2017-04-04T05:06:25
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); long n,max,min,sum; n = Integer.parseInt(br.readLine()); int i; String[] strAry = str.split(" "); min = Integer.parseInt(strAry[0])...
Main.java:10: error: cannot find symbol String[] strAry = str.split(" "); ^ symbol: variable str location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02402|0
u233376535|p02402|0
codenet
Compile Error
708
v2_s685544239
s685544239
s685544239
p02402
p02402
u233376535
u233376535
1,491,282,532
2017-04-04T05:08:52
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); long n,max,min,sum; n = Integer.parseInt(br.readLine()); int i; String[] br.readLine().split(" "); min = Integer.parseInt(strAry[0]...
Main.java:10: error: ';' expected String[] br.readLine().split(" "); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02402|0
u233376535|p02402|0
codenet
Compile Error
709
v2_s923444455
s923444455
s923444455
p02402
p02402
u233376535
u233376535
1,491,282,590
2017-04-04T05:09:50
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); long n,max,min,sum; n = Integer.parseInt(br.readLine()); int i; String[] strAry br.readLine().split(" "); min = Integer.parseInt(st...
Main.java:10: error: ';' expected String[] strAry br.readLine().split(" "); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02402|0
u233376535|p02402|0
codenet
Compile Error
716
v2_s828108835
s828108835
s828108835
p02402
p02402
u241980714
u241980714
1,463,565,357
2016-05-18T09:55:57
Main.java
import java.util.Scanner; public class Main { void run(){ Scanner s = new Scanner(System.in); int n = s.nextInt(); int a[] = new int[n]; int max, min , sum; for(int i = 0 ; i < n; i++){ a[i] = s.nextInt(); } max = a[0]; min = a[0]; sum = a[0]; for(int i = 1; i < n; i++){ sum += a[i]; max ...
Main.java:34: error: class, interface, enum, or record expected }} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u241980714|p02402|0
u241980714|p02402|0
codenet
Compile Error
590
v2_s513365188
s513365188
s513365188
p02402
p02402
u292024177
u292024177
1,519,107,890
2018-02-20T06:24:50
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n =sc.nextInt(); int[] a = new int[n]; for(int i =0; i < n; i++) { a[i] = sc.nextInt(); } Arrays.sort(a); long s = 0;...
Main.java:25: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u292024177|p02402|0
u292024177|p02402|0
codenet
Compile Error
467
v2_s790152034
s790152034
s790152034
p02402
p02402
u292024177
u292024177
1,519,107,904
2018-02-20T06:25:04
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n =sc.nextInt(); int[] a = new int[n]; for(int i =0; i < n; i++) { a[i] = sc.nextInt(); } Arrays.sort(a); long s = 0;...
Main.java:25: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u292024177|p02402|0
u292024177|p02402|0
codenet
Compile Error
467
v2_s005955887
s005955887
s005955887
p02402
p02402
u292572821
u292572821
1,493,367,200
2017-04-28T08:13:20
Main.java
public class Main { public static void main(String[] args) { java.util.Scanner scan = new java.util.Scanner(System.in); int a, b, c, d, e, f; a = scan.nextInt(); d = -1000000; e = 1000000; f = 0; if(0 <= a && a <= 10000){ for(b = 1; b <= a ; b++){ c = scan.nextInt(); if(-1000000<=c && c <= ...
Main.java:38: error: class hanawa is public, should be declared in a file named hanawa.java public class hanawa { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u292572821|p02402|0
u292572821|p02402|0
codenet
Compile Error
1,035
v2_s367923875
s367923875
s367923875
p02402
p02402
u292572821
u292572821
1,493,367,216
2017-04-28T08:13:36
Main.java
public class Main { public static void main(String[] args) { java.util.Scanner scan = new java.util.Scanner(System.in); int a, b, c, d, e, f; a = scan.nextInt(); d = -1000000; e = 1000000; f = 0; if(0 <= a && a <= 10000){ for(b = 1; b <= a ; b++){ c = scan.nextInt(); if(-1000000<=c && c <= ...
Main.java:38: error: class hanawa is public, should be declared in a file named hanawa.java public class hanawa { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u292572821|p02402|0
u292572821|p02402|0
codenet
Compile Error
1,035
v2_s240725826
s240725826
s240725826
p02402
p02402
u292572821
u292572821
1,493,367,241
2017-04-28T08:14:01
Main.java
public class Main { public static void main(String[] args) { java.util.Scanner scan = new java.util.Scanner(System.in); int a, b, c, d, e, f; a = scan.nextInt(); d = -1000000; e = 1000000; f = 0; if(0 <= a && a <= 10000){ for(b = 1; b <= a ; b++){ c = scan.nextInt(); if(-1000000<=c && c <= ...
Main.java:38: error: class hanawa is public, should be declared in a file named hanawa.java public class hanawa { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u292572821|p02402|0
u292572821|p02402|0
codenet
Compile Error
1,035
v2_s423387339
s423387339
s423387339
p02402
p02402
u319288834
u319288834
1,504,686,508
2017-09-06T08:28:28
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new int[n]; int Sum = 0 ; int Min = 0; int Max = 0; for(int i = 0; i < n; i++) { a[i] = sc.nextInt(); Sum += a[i]; Min = a...
Main.java:29: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u319288834|p02402|0
u319288834|p02402|0
codenet
Compile Error
508
v2_s458179129
s458179129
s458179129
p02402
p02402
u319288834
u319288834
1,504,686,524
2017-09-06T08:28:44
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new int[n]; int Sum = 0 ; int Min = 0; int Max = 0; for(int i = 0; i < n; i++) { a[i] = sc.nextInt(); Sum += a[i]; Min ...
Main.java:29: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u319288834|p02402|0
u319288834|p02402|0
codenet
Compile Error
511
v2_s864023208
s864023208
s864023208
p02402
p02402
u333762667
u333762667
1,551,495,813
2019-03-02T03:03:33
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int a[] = new int[n]; long sum = 0; int min = 1000000; int max = -1000000; for(x = 0; x < n; x++){ a[x] = sc.nextInt(); sum = sum + a[x]; ...
Main.java:11: error: cannot find symbol for(x = 0; x < n; x++){ ^ symbol: variable x location: class Main Main.java:11: error: cannot find symbol for(x = 0; x < n; x++){ ^ symbol: variable x location: class Main Main.java:11: error: cannot find symbol for(x = 0; x < n; x++...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u333762667|p02402|0
u333762667|p02402|0
codenet
Compile Error
476
v2_s181619037
s181619037
s181619037
p02402
p02402
u359846519
u359846519
1,530,669,700
2018-07-04T02:01:40
Main.java
import java.util.Scanner; class Main{ private static int n,min,max,ip; private static Long sum; public static void main(String[] args){ Scanner s= new Scanner(System.in); n=s.nextInt(); ip=s.nextInt(); for(int i=0;i<n;i++){ ip=s.nextInt(); min=ip; max=ip; ...
Main.java:20: error: incompatible types: int cannot be converted to Long sum=ip; ^ Main.java:28: error: cannot find symbol x+=ip; ^ symbol: variable x location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u359846519|p02402|0
u359846519|p02402|0
codenet
Compile Error
519
v2_s385169564
s385169564
s385169564
p02402
p02402
u359846519
u359846519
1,530,669,766
2018-07-04T02:02:46
Main.java
import java.util.Scanner; class Main{ private static int n,min,max,ip; private static Long sum; public static void main(String[] args){ Scanner s= new Scanner(System.in); n=s.nextInt(); ip=s.nextInt(); for(int i=0;i<n;i++){ ip=s.nextInt(); min=ip; max=ip; ...
Main.java:20: error: incompatible types: int cannot be converted to Long sum=ip; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u359846519|p02402|0
u359846519|p02402|0
codenet
Compile Error
521
v2_s926395460
s926395460
s926395460
p02402
p02402
u381034608
u381034608
1,428,040,544
2015-04-03T05:55:44
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner( System.in ); int count = sc.nextInt(); int min = 1000000; int max = -1000000; long calc = 0; for(int i = 0; i < count; i++) { int a = sc.nextInt(); calc += a; if( a > m...
Main.java:26: error: cannot find symbol System.out.printlf(min+" "+max+" "+calc); ^ symbol: method printlf(String) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u381034608|p02402|0
u381034608|p02402|0
codenet
Compile Error
448
v2_s021781293
s021781293
s021781293
p02402
p02402
u417607070
u417607070
1,458,593,198
2016-03-21T20:46:38
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int min, max; long sum; int[] a = new int[num]; min = max = sum = a[0] = sc.nextInt(); for(int i=1 ; i < num ; i++){ a[i] = sc.nextInt(); ...
Main.java:12: error: incompatible types: possible lossy conversion from long to int min = max = sum = a[0] = sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u417607070|p02402|0
u417607070|p02402|0
codenet
Compile Error
457
v2_s209230763
s209230763
s209230763
p02402
p02402
u438549511
u438549511
1,405,358,957
2014-07-14T17:29:17
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main{ public static void main(String[]args)throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str; int n=0; String[] arr; int[] array; int min=0; int max=0; log sum=0; while((...
Main.java:12: error: cannot find symbol log sum=0; ^ symbol: class log location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u438549511|p02402|0
u438549511|p02402|0
codenet
Compile Error
840
v2_s745880546
s745880546
s745880546
p02402
p02402
u447630054
u447630054
1,460,518,179
2016-04-13T03:29:39
Main.java
import java.util.Scanner; import java.util.Arrays; 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 max, min, sum = 0; for(int i = 0; i < a.length; i++) { input ...
Main.java:12: error: cannot find symbol input = scan.nextInt(); ^ symbol: variable input location: class Main Main.java:13: error: cannot find symbol sum += input; ^ symbol: variable input location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u447630054|p02402|0
u447630054|p02402|0
codenet
Compile Error
506
v2_s387650461
s387650461
s387650461
p02402
p02402
u447630054
u447630054
1,460,519,425
2016-04-13T03:50:25
Main.java
import java.util.Scanner; import java.util.Arrays; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); for(int i = 0; i < n; i++) { a[i] = scan.nextInt(); sum += a[i]; } ...
Main.java:10: error: cannot find symbol a[i] = scan.nextInt(); ^ symbol: variable a location: class Main Main.java:11: error: cannot find symbol sum += a[i]; ^ symbol: variable sum location: class Main Main.java:11: error: cannot find symbol sum +=...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u447630054|p02402|0
u447630054|p02402|0
codenet
Compile Error
446
v2_s982636200
s982636200
s982636200
p02402
p02402
u447630054
u447630054
1,460,519,831
2016-04-13T03:57:11
Main.java
import java.util.Scanner; import java.util.Arrays; 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 max, min, sum = 0; for(int i = 0; i < n; i++) { a[i] = scan...
Main.java:19: error: cannot find symbol Collections.sort(a); ^ symbol: variable Collections location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u447630054|p02402|0
u447630054|p02402|0
codenet
Compile Error
529
v2_s002934238
s002934238
s002934238
p02402
p02402
u447630054
u447630054
1,460,519,872
2016-04-13T03:57:52
Main.java
import java.util.Scanner; import java.util.Arrays; import java.util.Collections; 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 max, min, sum = 0; for(int i = 0; i < n; ...
Main.java:20: error: no suitable method found for sort(int[]) Collections.sort(a); ^ method Collections.<T#1>sort(List<T#1>) is not applicable (cannot infer type-variable(s) T#1 (argument mismatch; int[] cannot be converted to List<T#1>)) method Collections.<T#2>sort(Lis...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u447630054|p02402|0
u447630054|p02402|0
codenet
Compile Error
559
v2_s783163304
s783163304
s783163304
p02402
p02402
u447630054
u447630054
1,460,520,119
2016-04-13T04:01:59
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 max, min, sum = 0; for(int i = 0; i < n; i++) { a[i] = scan.nextInt(); sum += a...
Main.java:18: error: no suitable method found for sort(int[],Comparator<Object>) Arrays.sort(a, Collections.reverseOrder()); ^ method Arrays.<T#1>sort(T#1[],Comparator<? super T#1>) is not applicable (inference variable T#1 has incompatible bounds equality constraints: int ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u447630054|p02402|0
u447630054|p02402|0
codenet
Compile Error
520
v2_s470032723
s470032723
s470032723
p02402
p02402
u447630054
u447630054
1,460,520,253
2016-04-13T04:04:13
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 max, min, sum = 0; for(int i = 0; i < n; i++) { a[i] = scan.nextInt(); sum += a...
Main.java:18: error: no suitable method found for sort(int[]) Collections.sort(a); ^ method Collections.<T#1>sort(List<T#1>) is not applicable (cannot infer type-variable(s) T#1 (argument mismatch; int[] cannot be converted to List<T#1>)) method Collections.<T#2>sort(Lis...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u447630054|p02402|0
u447630054|p02402|0
codenet
Compile Error
529
v2_s747312119
s747312119
s747312119
p02402
p02402
u447630054
u447630054
1,460,520,367
2016-04-13T04:06:07
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 max, min, sum = 0; for(int i = 0; i < n; i++) { a[i] = scan.nextInt(); sum += a...
Main.java:15: error: no suitable method found for sort(int[]) Collections.sort(a); ^ method Collections.<T#1>sort(List<T#1>) is not applicable (cannot infer type-variable(s) T#1 (argument mismatch; int[] cannot be converted to List<T#1>)) method Collections.<T#2>sort(Lis...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u447630054|p02402|0
u447630054|p02402|0
codenet
Compile Error
503
v2_s665546748
s665546748
s665546748
p02402
p02402
u447630054
u447630054
1,460,521,066
2016-04-13T04:17:46
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 max, min, sum = 0; for(int i = 0; i < n; i++) { a[i] = scan.nextInt(); sum += a...
Main.java:17: error: cannot find symbol Array.Reverse(a); ^ symbol: variable Array location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u447630054|p02402|0
u447630054|p02402|0
codenet
Compile Error
492
v2_s882952182
s882952182
s882952182
p02402
p02402
u447630054
u447630054
1,460,521,158
2016-04-13T04:19:18
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 max, min, sum = 0; for(int i = 0; i < n; i++) { a[i] = scan.nextInt(); sum += a...
Main.java:17: error: cannot find symbol Arrays.reverse(a); ^ symbol: method reverse(int[]) location: class Arrays 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u447630054|p02402|0
u447630054|p02402|0
codenet
Compile Error
493
v2_s643828504
s643828504
s643828504
p02402
p02402
u447630054
u447630054
1,460,521,766
2016-04-13T04:29:26
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws IOException{ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] a = new int[n]; int max, min, sum = 0; for(int i = 0; i < n; i++) { a[i] = scan.nextInt(); ...
Main.java:4: error: cannot find symbol public static void main(String[] args) throws IOException{ ^ symbol: class IOException location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u447630054|p02402|0
u447630054|p02402|0
codenet
Compile Error
495
v2_s582565031
s582565031
s582565031
p02402
p02402
u447630054
u447630054
1,460,521,869
2016-04-13T04:31:09
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 max, min, sum = 0; for(int i = 0; i < n; i++) { a[i] = scan.nextInt(); sum +...
Main.java:12: error: cannot find symbol sum += a[i]; ^ symbol: variable sum location: class Main Main.java:16: error: cannot find symbol min = a[0]; ^ symbol: variable min location: class Main Main.java:17: error: cannot find symbol max = a[a.length - 1]; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u447630054|p02402|0
u447630054|p02402|0
codenet
Compile Error
480
v2_s511176795
s511176795
s511176795
p02402
p02402
u447630054
u447630054
1,460,524,454
2016-04-13T05:14:14
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws IOException{ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] a = new int[n]; int max = -100000, min = 1000000; long sum = 0; for(int i ...
Main.java:4: error: cannot find symbol public static void main(String[] args) throws IOException{ ^ symbol: class IOException location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u447630054|p02402|0
u447630054|p02402|0
codenet
Compile Error
587
v2_s510135282
s510135282
s510135282
p02402
p02402
u447630054
u447630054
1,460,524,706
2016-04-13T05:18:26
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 max = -100000, min = 1000000, input; long sum = 0; for(int i = 0; i < n; i++) { input = sc...
Main.java:12: error: cannot find symbol if(a[i] > max) max = input; ^ symbol: variable a location: class Main Main.java:13: error: cannot find symbol if(a[i] < min) min = input; ^ symbol: variable a location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u447630054|p02402|0
u447630054|p02402|0
codenet
Compile Error
538
v2_s394622118
s394622118
s394622118
p02402
p02402
u451251391
u451251391
1,510,210,365
2017-11-09T06:52:45
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long min = b; long max = b; long total = b; for(int i = 2; i <= a; i++) { b = sc.nextLong(); if(min > b) { min = b...
Main.java:27: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u451251391|p02402|0
u451251391|p02402|0
codenet
Compile Error
451
v2_s700480639
s700480639
s700480639
p02402
p02402
u458974936
u458974936
1,453,376,558
2016-01-21T11:42:38
Main.java
public class Main { public static void main(Strings[] args) { int Max=-1,min=30000,Sum=0,n,temp; Scanner in=new Scanner(System.in); n=in.nextInt(); for(int i=0;i<n;i++) { temp=in.nextInt(); if(temp>Max) Max=temp; if(temp<min) min=temp; sum+=temp; } System.out.println(min + " " + max +...
Main.java:3: error: cannot find symbol public static void main(Strings[] args) ^ symbol: class Strings location: class Main Main.java:6: error: cannot find symbol Scanner in=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
u458974936|p02402|0
u458974936|p02402|0
codenet
Compile Error
344
v2_s313936832
s313936832
s313936832
p02402
p02402
u458974936
u458974936
1,453,376,648
2016-01-21T11:44:08
Main.java
import java.util.Scanner; public class Main { public static void main(Strings[] args) { int Max=-1,min=30000,Sum=0,n,temp; Scanner in=new Scanner(System.in); n=in.nextInt(); for(int i=0;i<n;i++) { temp=in.nextInt(); if(temp>Max) Max=temp; if(temp<min) min=temp; sum+=temp; } System.out...
Main.java:4: error: cannot find symbol public static void main(Strings[] args) ^ symbol: class Strings location: class Main Main.java:17: error: cannot find symbol sum+=temp; ^ symbol: variable sum location: class Main Main.java:19: error: cannot find symbol System.out.pri...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458974936|p02402|0
u458974936|p02402|0
codenet
Compile Error
370
v2_s917131658
s917131658
s917131658
p02402
p02402
u458974936
u458974936
1,453,376,729
2016-01-21T11:45:29
Main.java
import java.util.Scanner; public class Main { public static void main(Strings[] args) { int Max=-1,min=30000,sum=0,n,temp; Scanner in=new Scanner(System.in); n=in.nextInt(); for(int i=0;i<n;i++) { temp=in.nextInt(); if(temp>Max) Max=temp; if(temp<min) min=temp; sum+=temp; } System.out...
Main.java:4: error: cannot find symbol public static void main(Strings[] args) ^ symbol: class Strings location: class Main Main.java:19: error: cannot find symbol System.out.println(min + " " + max + " " + sum); ^ symbol: variable max location: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458974936|p02402|0
u458974936|p02402|0
codenet
Compile Error
370
v2_s884100907
s884100907
s884100907
p02402
p02402
u458974936
u458974936
1,453,376,790
2016-01-21T11:46:30
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { int Max=-1,min=30000,sum=0,n,temp; Scanner in=new Scanner(System.in); n=in.nextInt(); for(int i=0;i<n;i++) { temp=in.nextInt(); if(temp>Max) Max=temp; if(temp<min) min=temp; sum+=temp; } System.out...
Main.java:20: error: cannot find symbol System.out.println(min + " " + max + " " + sum); ^ symbol: variable max location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458974936|p02402|0
u458974936|p02402|0
codenet
Compile Error
370
v2_s657847550
s657847550
s657847550
p02402
p02402
u458974936
u458974936
1,453,376,867
2016-01-21T11:47:47
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { int Max=-1,min=30000,sum=0,n,temp; Scanner in=new Scanner(System.in); n=in.nextInt(); for(int i=0;i<n;i++) { temp=in.nextInt(); if(temp>Max) Max=temp; if(temp<min) min=temp; sum+=temp; } System.out...
Main.java:20: error: cannot find symbol System.out.println(min + " " + max + " " + sum); ^ symbol: variable max location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458974936|p02402|0
u458974936|p02402|0
codenet
Compile Error
379
v2_s236494123
s236494123
s236494123
p02402
p02402
u458974936
u458974936
1,453,376,982
2016-01-21T11:49:42
Main.java
import java.util.Scanner; public class Main { public static void main(Strings[] args) { int Max=-1,min=30000,sum=0,n,temp; Scanner in=new Scanner(System.in); n=in.nextInt(); for(int i=0;i<n;i++) { temp=in.nextInt(); if(temp>Max) Max=temp; if(temp<min) min=temp; sum+=temp; } System.ou...
Main.java:5: error: cannot find symbol public static void main(Strings[] args) ^ symbol: class Strings location: class Main Main.java:20: error: cannot find symbol System.out.println(min + " " + max + " " + sum); ^ symbol: variable max location: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458974936|p02402|0
u458974936|p02402|0
codenet
Compile Error
371
v2_s841997578
s841997578
s841997578
p02402
p02402
u458974936
u458974936
1,453,377,019
2016-01-21T11:50:19
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { int Max=-1,min=30000,sum=0,n,temp; Scanner in=new Scanner(System.in); n=in.nextInt(); for(int i=0;i<n;i++) { temp=in.nextInt(); if(temp>Max) Max=temp; if(temp<min) min=temp; sum+=temp; } System.out...
Main.java:20: error: cannot find symbol System.out.println(min + " " + max + " " + sum); ^ symbol: variable max location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458974936|p02402|0
u458974936|p02402|0
codenet
Compile Error
370
v2_s902912707
s902912707
s902912707
p02402
p02402
u458974936
u458974936
1,453,377,073
2016-01-21T11:51:13
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { int Max=-1,min=30000,sum=0,n,temp; Scanner in=new Scanner(System.in); n=in.nextInt(); for(int i=0;i<n;i++) { temp=in.nextInt(); if(temp>Max) Max=temp; if(temp<min) min=temp; sum+=temp; } System.out.printl...
Main.java:20: error: cannot find symbol System.out.println(min + " " + max + " " + sum); ^ symbol: variable max location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458974936|p02402|0
u458974936|p02402|0
codenet
Compile Error
363
v2_s287730421
s287730421
s287730421
p02402
p02402
u459418423
u459418423
1,437,144,604
2015-07-17T14:50:04
main.java
import java.util.*; public class main { public static void main(string[] args) { scanner sc = new scanner(system.in); int n = integer.parseint(sc.next()); int[] a = new int[n]; long sum = 0; for (int i = 0; i < n; i++) { a[i] = integer.parseint(sc.next()); sum += (lon...
main.java:4: error: cannot find symbol public static void main(string[] args) { ^ symbol: class string location: class main main.java:5: error: cannot find symbol scanner sc = new scanner(system.in); ^ symbol: class scanner location: class main main.java:5: error: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u459418423|p02402|0
u459418423|p02402|0
codenet
Compile Error
652
v2_s748824996
s748824996
s748824996
p02402
p02402
u459845958
u459845958
1,455,252,627
2016-02-12T04:50:27
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ int max = Integer.MIN_VALUE; int min = Integer.MIN_VALUE; int sum = 0; try (Scanner stdin = new Scanner(System.in)){ int n = stdin.nextInt(); for (int i=1; i<n=; i++){ int number = stdin.nextIn...
Main.java:10: error: illegal start of expression for (int i=1; i<n=; i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u459845958|p02402|0
u459845958|p02402|0
codenet
Compile Error
575
v2_s458311720
s458311720
s458311720
p02402
p02402
u475188835
u475188835
1,559,535,886
2019-06-03T04:24:46
Main.java
import java.util.*; class Main { public static void main (String[] args) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] i = new int[n]; int max = i[0]; int min = i[0]; int sum = 0; for(int a : i){ if(i[a] < i[a+1]){ max = i[a+1]; } if(i[a] > i[a+1]){ ...
Main.java:16: error: ';' expected min = i[a+1] ^ Main.java:18: error: ']' expected sum = sum + int[a]; ^ Main.java:18: error: ';' expected sum = sum + int[a]; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u475188835|p02402|0
u475188835|p02402|0
codenet
Compile Error
427
v2_s620501562
s620501562
s620501562
p02402
p02402
u475188835
u475188835
1,559,535,922
2019-06-03T04:25:22
Main.java
import java.util.*; class Main { public static void main (String[] args) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] i = new int[n]; int max = i[0]; int min = i[0]; int sum = 0; for(int a : i){ if(i[a] < i[a+1]){ max = i[a+1]; } if(i[a] > i[a+1]){ ...
Main.java:18: error: ']' expected sum = sum + int[a]; ^ Main.java:18: error: ';' expected sum = sum + int[a]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u475188835|p02402|0
u475188835|p02402|0
codenet
Compile Error
428
v2_s751668595
s751668595
s751668595
p02402
p02402
u475188835
u475188835
1,559,536,182
2019-06-03T04:29:42
Main.java
import java.util.*; class Main { public static void main (String[] args) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] i = new int[n]; int max = i[0]; int min = i[0]; int sum = 0; for(int a; a < i.length -1; a++){ if(i[a] < i[a+1]){ max = i[a+1]; } if...
Main.java:11: error: variable a might not have been initialized for(int a; a < i.length -1; a++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u475188835|p02402|0
u475188835|p02402|0
codenet
Compile Error
444
v2_s924734287
s924734287
s924734287
p02402
p02402
u489809100
u489809100
1,435,036,353
2015-06-23T05:12:33
Main.java
import java.util.*; class Main( public static void main(String[] args){ Scanner sc = new Scanner(system.in); int n = sc.nextInt(); int[] a = new int[n]; int sum = 0; for(int i = 0; i < n; i++){ a[i] = sc.nextint(); sum += a[i]; } max = a[0]; mox = a[0]; for(int i = 1; i < n; i++){ if(max < a[i])max = a[i]...
Main.java:3: error: '{' expected class Main( ^ Main.java:18: error: not a statement System.out.println(mox + " " + max " " + sum); ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u489809100|p02402|1
u489809100|p02402|1
codenet
Compile Error
402
v2_s125121799
s125121799
s125121799
p02402
p02402
u489809100
u489809100
1,435,036,362
2015-06-23T05:12:42
Main.java
import java.util.*; class Main( public static void main(String[] args){ Scanner sc = new Scanner(system.in); int n = sc.nextInt(); int[] a = new int[n]; int sum = 0; for(int i = 0; i < n; i++){ a[i] = sc.nextint(); sum += a[i]; } max = a[0]; mox = a[0]; for(int i = 1; i < n; i++){ if(max < a[i])max = a[i]...
Main.java:3: error: '{' expected class Main( ^ Main.java:18: error: not a statement System.out.println(mox + " " + max " " + sum); ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u489809100|p02402|1
u489809100|p02402|1
codenet
Compile Error
402
v2_s843331408
s843331408
s843331408
p02402
p02402
u489809100
u489809100
1,435,036,399
2015-06-23T05:13:19
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(system.in); int n = sc.nextInt(); int[] a = new int[n]; int sum = 0; for(int i = 0; i < n; i++){ a[i] = sc.nextint(); sum += a[i]; } max = a[0]; mox = a[0]; for(int i = 1; i < n; i++){ if(max < a[i])max = a[i]...
Main.java:18: error: ')' or ',' expected System.out.println(mox + " " + max " " + sum); ^ Main.java:18: error: not a statement System.out.println(mox + " " + max " " + sum); ^ Main.java:18: error: ';' expected System.out.println(mox + " " + max ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u489809100|p02402|1
u489809100|p02402|1
codenet
Compile Error
402
v2_s864431646
s864431646
s864431646
p02402
p02402
u489809100
u489809100
1,435,036,425
2015-06-23T05:13:45
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(system.in); int n = sc.nextInt(); int[] a = new int[n]; int sum = 0; for(int i = 0; i < n; i++){ a[i] = sc.nextint(); sum += a[i]; } max = a[0]; mox = a[0]; for(int i = 1; i < n; i++){ if(max < a[i])max = a[i]...
Main.java:18: error: ')' or ',' expected system.out.println(mox + " " + max " " + sum); ^ Main.java:18: error: not a statement system.out.println(mox + " " + max " " + sum); ^ Main.java:18: error: ';' expected system.out.println(mox + " " + max ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u489809100|p02402|1
u489809100|p02402|1
codenet
Compile Error
402
v2_s266847507
s266847507
s266847507
p02402
p02402
u489809100
u489809100
1,435,036,467
2015-06-23T05:14:27
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(system.in); int n = sc.nextInt(); int[] a = new int[n]; int sum = 0; for(int i = 0; i < n; i++){ a[i] = sc.nextint(); sum += a[i]; } max = a[0]; mox = a[0]; for(int i = 1; i < n; i++){ if(max < a[i])max = a[i]...
Main.java:18: error: ')' or ',' expected System.out.println(mox + " " + max " " + sum); ^ Main.java:18: error: not a statement System.out.println(mox + " " + max " " + sum); ^ Main.java:18: error: ';' expected System.out.println(mox + " " + max ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u489809100|p02402|1
u489809100|p02402|1
codenet
Compile Error
402
v2_s664102880
s664102880
s664102880
p02402
p02402
u498691676
u498691676
1,462,283,945
2016-05-03T13:59:05
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ int n,total; int min = 1000000; int max = ???1000000; //?¨??????\??????????????????????????§???????????? Scanner scanner = new Scanner(System.in); a = scanner.nextInt(); int a[] = new int[n]; for(i...
Main.java:7: error: illegal start of expression int max = ???1000000; ^ Main.java:7: error: illegal start of expression int max = ???1000000; ^ Main.java:7: error: illegal start of expression int max = ???1000000; ^ Main.java:7: error: : e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u498691676|p02402|0
u498691676|p02402|0
codenet
Compile Error
529
v2_s394936686
s394936686
s394936686
p02402
p02402
u498691676
u498691676
1,462,284,035
2016-05-03T14:00:35
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ int n,total; int min = 1000000; int max = -1000000; //?¨??????\??????????????????????????§???????????? Scanner scanner = new Scanner(System.in); n = scanner.nextInt(); int a[] = new int[n]; for(int...
Main.java:22: error: ';' expected max = a[i] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u498691676|p02402|0
u498691676|p02402|0
codenet
Compile Error
556
v2_s878065155
s878065155
s878065155
p02402
p02402
u498691676
u498691676
1,462,284,191
2016-05-03T14:03:11
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ int n,total; //????°???????Constraints????????§?????§????????? int min = 1000000; //min??¨????§? int max = -1000000; //?¨??????\??????????????????????????§???????????? Scanner scanner = new ...
Main.java:24: error: ';' expected max = a[i] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u498691676|p02402|0
u498691676|p02402|0
codenet
Compile Error
642
v2_s982426208
s982426208
s982426208
p02402
p02402
u498691676
u498691676
1,462,284,219
2016-05-03T14:03:39
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ int n,total; //????°???????Constraints????????§?????§????????? int min = 1000000; //min??¨????§? int max = -1000000; //?¨??????\??????????????????????????§???????????? Scanner scanner = new ...
Main.java:17: error: variable total might not have been initialized total += a[i]; ^ Main.java:28: error: variable total might not have been initialized System.out.println(min+" "+max+" "+total); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u498691676|p02402|0
u498691676|p02402|0
codenet
Compile Error
643