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_s502231882
s502231882
s502231882
p03212
p03212
u552730117
u552730117
1,565,917,082
2019-08-16T00:58:02
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int ans = 0; String s; for (int i=1; i<n; i+=2){ s = i.toString(i); if (!(s.contains("3")||s.contains("5")||s.contains("7"))) { ...
Main.java:11: error: int cannot be dereferenced s = i.toString(i); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u552730117|p03212|0
u552730117|p03212|0
codenet
Compile Error
383
v2_s150862577
s150862577
s150862577
p03212
p03212
u673217098
u673217098
1,544,828,507
2018-12-14T23:01:47
Main.java
class Main{ public static void main(String[] args){ java.util.Scanner sc = new java.util.Scanner(); char[] s = sc.next().toCharArray(); int d = s.length; int sum = 0; for(int i = 3 ; i < d; i++){ int pow3 = 1; int pow2 = 3; for(int j = i ; j > 0 ; j--){ pow3...
Main.java:20: error: ';' expected int map[] = {0,0,0,1,0,2,0,4} ^ Main.java:54: error: ';' expected dp = next ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673217098|p03212|0
u673217098|p03212|0
codenet
Compile Error
1,325
v2_s895592462
s895592462
s895592462
p03212
p03212
u726439578
u726439578
1,543,808,204
2018-12-03T03:36:44
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner in = new Scanner(System.in); long N = in.nextLong(); int count = 0; for (long i = 0; i < N; i++) { if (i / 2 == 1) { String s = String.valueOf(i); if (s.matches("[^1246890]+")) { if (s.matches(".*[3]...
Main.java:4: error: illegal character: '\uff5b' public class Main? ^ Main.java:5: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) Main.java:26: error: class, interface...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u726439578|p03212|0
u726439578|p03212|0
codenet
Compile Error
489
v2_s430811787
s430811787
s430811787
p03212
p03212
u953020348
u953020348
1,543,808,286
2018-12-03T03:38:06
Main.java
package compareStr; import java.util.Scanner; public class Main { public static void main(String[] args) { int ans = 0; boolean scount = false; boolean fcount = false; boolean tcount = false; boolean flag = true; Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); sc.close(); ...
Main.java:39: error: cannot find symbol out.println(ans); ^ symbol: variable out location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u953020348|p03212|0
u953020348|p03212|0
codenet
Compile Error
849
v2_s267933885
s267933885
s267933885
p03212
p03212
u953020348
u953020348
1,543,808,396
2018-12-03T03:39:56
Main.java
package compareStr; import java.util.Scanner; public class Main { public static void main(String[] args) {PrintWriter out = new PrintWriter(System.out); int ans = 0; boolean scount = false; boolean fcount = false; boolean tcount = false; boolean flag = true; Scanner sc = new Scanner(System.in); i...
Main.java:8: error: cannot find symbol {PrintWriter out = new PrintWriter(System.out); ^ symbol: class PrintWriter location: class Main Main.java:8: error: cannot find symbol {PrintWriter out = new PrintWriter(System.out); ^ symbol: class PrintWriter location: class M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u953020348|p03212|0
u953020348|p03212|0
codenet
Compile Error
900
v2_s241615242
s241615242
s241615242
p03212
p03212
u958210291
u958210291
1,543,808,337
2018-12-03T03:38:57
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String x = sc.next(); int count = 0; String str = x; int[] stg = {3,7,5}; int c = Integer.parseInt(x); if(c < 357){ System.out.println("0"); }else{ for(...
Main.java:17: error: ')' expected if((s.contains("3") & !(s.contains("5") & s.contains("7")) &s.contains("0") | s.contains("1") | s.contains("2") | s.contains("4") | s.contains("6") | s.contains("8") | s.contains("9")){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u958210291|p03212|0
u958210291|p03212|0
codenet
Compile Error
683
v2_s559644122
s559644122
s559644122
p03212
p03212
u958210291
u958210291
1,543,808,385
2018-12-03T03:39:45
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String x = sc.next(); int count = 0; String str = x; int[] stg = {3,7,5}; int c = Integer.parseInt(x); if(c < 357){ System.out.println("0"); }else{ for(...
Main.java:17: error: ')' expected if((s.contains("3") & !(s.contains("5") & s.contains("7")) & (s.contains("0") | s.contains("1") | s.contains("2") | s.contains("4") | s.contains("6") | s.contains("8") | s.contains("9"))){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u958210291|p03212|0
u958210291|p03212|0
codenet
Compile Error
686
v2_s117372348
s117372348
s117372348
p03213
p03213
u228127260
u228127260
1,556,466,723
2019-04-28T15:52:03
Main.java
import java.io.PrintStream; import java.util.Arrays; import java.util.Scanner; import java.util.stream.IntStream; import java.util.stream.LongStream; import library.common.Predef; public class Main { static final PrintStream so = System.out; static final Scanner sc = new Scanner(System.in); publ...
Main.java:7: error: package library.common does not exist import library.common.Predef; ^ Main.java:23: error: cannot find symbol Predef.println(count); ^ symbol: variable Predef location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u228127260|p03213|0
u228127260|p03213|0
codenet
Compile Error
2,490
v2_s188656971
s188656971
s188656971
p03213
p03213
u881359256
u881359256
1,575,607,372
2019-12-06T04:42:52
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); sc.close(); int prime[] = new int[N+1]; Arrays.fill(prime, 1); for(int k=2;k<=N;k++) { int tmp = k; for(int i=2;i*i<=k;i++) { while(tmp%i==0) { t...
Main.java:48: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u881359256|p03213|0
u881359256|p03213|0
codenet
Compile Error
1,001
v2_s021783988
s021783988
s021783988
p03214
p03214
u070561949
u070561949
1,543,123,458
2018-11-25T05:24:18
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); double[] s = new double[n]; double sum = 0; for (int i = 0; i < n ; i++){ s[i] = sc.nextInt(); sum += s[i]; ...
Main.java:15: error: cannot find symbol double min = Math.abs(avg - s[0]*n); ^ symbol: variable avg location: class Main Main.java:19: error: cannot find symbol double tmp = Math.abs(avg - s[i]*n); ^ symbol: variab...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u070561949|p03214|1
u070561949|p03214|0
codenet
Compile Error
645
v2_s397670414
s397670414
s397670414
p03214
p03214
u095015466
u095015466
1,566,585,563
2019-08-23T18:39:23
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.NoSuchElementException; import java.lang.Math; public class Main { public static void main(String[] args) { FS reader = new FS(); // write reader int N = reader.nextInt(); double[] a = new double[N]; double sum = 0.0; ...
Main.java:27: error: cannot find symbol System.out.println(i+1); ^ symbol: variable i location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u095015466|p03214|0
u095015466|p03214|0
codenet
Compile Error
2,373
v2_s989024169
s989024169
s989024169
p03214
p03214
u245879900
u245879900
1,543,108,624
2018-11-25T01:17:04
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.*; public class Main{ public static void main(String[] args)throws Exception{ FastScanner sc = new FastScanner(); int n = sc.nextInt(); int[] a = new int[n]; int[] array = new int[n]; int add = 0; ...
Main.java:7: error: cannot find symbol FastScanner sc = new FastScanner(); ^ symbol: class FastScanner location: class Main Main.java:7: error: cannot find symbol FastScanner sc = new FastScanner(); ^ symbol: class FastScanner location: class Main 2 error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u245879900|p03214|0
u245879900|p03214|0
codenet
Compile Error
821
v2_s680628605
s680628605
s680628605
p03214
p03214
u579361901
u579361901
1,543,107,911
2018-11-25T01:05:11
Main.java
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<a.length; i++) { a[i] = sc.nextInt(); } sc.close(); int sum = 0; for(int i=0; i<a.length...
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
u579361901|p03214|0
u579361901|p03214|0
codenet
Compile Error
684
v2_s464325574
s464325574
s464325574
p03214
p03214
u653981267
u653981267
1,570,845,288
2019-10-12T01:54:48
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); double[] a = new double[n]; double sum = 0; for(int i = 0; i < n; i++) { a[i] = sc.nextDouble; sum += a[i]; } double av = sum / (double)n...
Main.java:10: error: cannot find symbol a[i] = sc.nextDouble; ^ symbol: variable nextDouble location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03214|0
u653981267|p03214|0
codenet
Compile Error
561
v2_s820791115
s820791115
s820791115
p03214
p03214
u659156129
u659156129
1,594,917,335
2020-07-16T16:35:35
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int[] a = new int[n]; for(int i=0; i<a.length; ++i){ a[i] = scn.nextInt(); } double sum = 0; for(int i=0; i<a.length; ++i){ sum = ...
Main.java:23: error: variable ans is already defined in method main(String[]) int ans = i; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03214|0
u659156129|p03214|0
codenet
Compile Error
626
v2_s707587559
s707587559
s707587559
p03214
p03214
u918923596
u918923596
1,594,830,799
2020-07-15T16:33:19
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int a[] = new int[N]; int total = 0; double distance[] = new double[N]; for(int i =...
Main.java:19: error: '.class' expected System.out.println(Math.min(distance[])); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918923596|p03214|0
u918923596|p03214|0
codenet
Compile Error
600
v2_s058340204
s058340204
s058340204
p03215
p03215
u039600326
u039600326
1,543,114,778
2018-11-25T02:59:38
Main.java
import java.util.*; import javafx.collections.transformation.SortedList; public class Main { public static void main(String[] args) { Scanner sc= new Scanner(System.in); int n=sc.nextInt(); int k=sc.nextInt(); int[] a= new int[n]; for(int i=0;i<n;i++){ array[i]=s...
Main.java:3: error: package javafx.collections.transformation does not exist import javafx.collections.transformation.SortedList; ^ Main.java:11: error: cannot find symbol array[i]=sc.nextInt(); ^ symbol: variable array location: class Main Main.java...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u039600326|p03215|0
u039600326|p03215|0
codenet
Compile Error
1,147
v2_s520816878
s520816878
s520816878
p03215
p03215
u317879811
u317879811
1,543,108,930
2018-11-25T01:22:10
Main.java
/* * :( * You taught me so much, I'm not scared anymore * I have to left go your hands that are holding me * Even if I'm alone, I'll go on, even if it hurts * I'll never forget the dream, I shared with you * I'm glad to be with everyone, I'm glad to have been with everyone * But on the morning whe...
Main.java:11: error: illegal character: '#' #ifdef opti ^ Main.java:12: error: illegal character: '#' #pragma GCC optimize("Ofast,unroll-loops,fast-math") ^ Main.java:13: error: illegal character: '#' #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,tune=native") ^ Main.java:14: error: illegal chara...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u317879811|p03215|0
u317879811|p03215|0
codenet
Compile Error
2,084
v2_s937062319
s937062319
s937062319
p03215
p03215
u504228740
u504228740
1,556,059,805
2019-04-23T22:50:05
Main.java
import java.util.Scanner; import java.util.ArrayList; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int k = sc.nextInt(); long[] a=new long[n]; ArrayList<Long> list=new ArrayList<>(); ArrayList<Long> re = new ArrayList<>(); for(int i...
Main.java:23: error: variable i is already defined in method main(String[]) for(int i =29; i>=0; i--){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u504228740|p03215|0
u504228740|p03215|0
codenet
Compile Error
714
v2_s720129748
s720129748
s720129748
p03215
p03215
u704651206
u704651206
1,543,113,586
2018-11-25T02:39:46
Main.java
function main(input){ var lines = input.replace('\n',' '); lines = lines.split(" "); var N = lines[0]; var K = lines[1]; lines.splice(0,2); var utu=[K]; for(var i=0;i < K;i++){ utu[i]=0; } var max=0; var mem=0; for (var i=0;i<N ;i++ ) { var k=i+1; while(N-k>...
Main.java:8: error: not a statement var utu=[K]; ^ Main.java:1: error: unnamed classes are a preview feature and are disabled by default. function main(input){ ^ (use --enable-preview to enable unnamed classes) Main.java:1: error: <identifier> expected function main(input){ ^ Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u704651206|p03215|0
u704651206|p03215|0
codenet
Compile Error
716
v2_s277005606
s277005606
s277005606
p03215
p03215
u704651206
u704651206
1,543,113,641
2018-11-25T02:40:41
Main.java
function main(input){ var lines = input.replace('\n',' '); lines = lines.split(" "); var N = lines[0]; var K = lines[1]; lines.splice(0,2); var utu=[K]; for(var i=0;i < K;i++){ utu[i]=0; } var max=0; var mem=0; for (var i=0;i<N ;i++ ) { var k=i+1; while(N-k>...
Main.java:8: error: not a statement var utu=[K]; ^ Main.java:1: error: unnamed classes are a preview feature and are disabled by default. function main(input){ ^ (use --enable-preview to enable unnamed classes) Main.java:1: error: <identifier> expected function main(input){ ^ Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u704651206|p03215|0
u704651206|p03215|0
codenet
Compile Error
717
v2_s291711671
s291711671
s291711671
p03219
p03219
u062736195
u062736195
1,581,973,337
2020-02-17T21:02:17
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); //候補地点の数 int T = sc.nextInt(); //基礎気温 ある地点の気温はT-H[]*0.006 int A = sc.nextInt(); //理想とする気温 int[] H = new int[N]; //候補地点ごとの高度 int number = 0; //理想の候補地点...
Main.java:15: error: incompatible types: possible lossy conversion from double to int int xi = A - (T - H[i] * 0.006); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03219|0
u062736195|p03219|0
codenet
Compile Error
710
v2_s369787780
s369787780
s369787780
p03219
p03219
u062736195
u062736195
1,581,973,419
2020-02-17T21:03:39
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 T = sc.nextInt(); //基礎気温 ある地点の気温はT-H[]*0.006 int A = sc.nextInt(); //理想とする気温 int[] H = new int[N]; //候補地点ごとの高度 int number = 0; //理想の候補地点...
Main.java:15: error: incompatible types: possible lossy conversion from double to int int xi = (double)A - (T - H[i] * 0.006); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03219|0
u062736195|p03219|0
codenet
Compile Error
718
v2_s506197016
s506197016
s506197016
p03219
p03219
u073396193
u073396193
1,584,853,809
2020-03-22T05:10:09
Main.java
import java.io.BufferedReader; import java.io.*; import java.util.*; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Collections; public class Main { public static void main(final String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); ...
Main.java:15: error: ';' expected System.out.println(x + y/2) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073396193|p03219|0
u073396193|p03219|0
codenet
Compile Error
396
v2_s649283463
s649283463
s649283463
p03219
p03219
u073396193
u073396193
1,584,853,854
2020-03-22T05:10:54
Main.java
import java.io.BufferedReader; import java.io.*; import java.util.*; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Collections; public class Main { public static void main(final String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); ...
Main.java:15: error: ')' or ',' expected System.out.println(x + y/2;) ^ Main.java:15: error: illegal start of expression System.out.println(x + y/2;) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073396193|p03219|0
u073396193|p03219|0
codenet
Compile Error
397
v2_s027875369
s027875369
s027875369
p03219
p03219
u105096556
u105096556
1,541,383,585
2018-11-05T02:06:25
Main.java
public static void Main(String[] args) { int x = 0; int y = 0; Scanner scan = new Scanner(System.in); x = scan.nextInt(); y = scan.nextInt(); int result = x+ y/2; System.out.println(result); }
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
u105096556|p03219|0
u105096556|p03219|0
codenet
Compile Error
210
v2_s244768016
s244768016
s244768016
p03219
p03219
u162893962
u162893962
1,579,907,924
2020-01-24T23:18:44
Main.java
import java.util.scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int x = scanner.nextInt(); int y = scanner.nextInt(); int ans = x + y / 2 System.out.println(ans); } }
Main.java:8: error: ';' expected int ans = x + y / 2 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u162893962|p03219|0
u162893962|p03219|0
codenet
Compile Error
261
v2_s395377660
s395377660
s395377660
p03219
p03219
u162893962
u162893962
1,579,907,959
2020-01-24T23:19:19
Main.java
import java.util.scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int x = scanner.nextInt(); int y = scanner.nextInt(); int ans = x + y / 2; System.out.println(ans); } }
Main.java:1: error: cannot find symbol import java.util.scanner; ^ symbol: class scanner location: package java.util Main.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u162893962|p03219|0
u162893962|p03219|0
codenet
Compile Error
252
v2_s031725919
s031725919
s031725919
p03219
p03219
u162893962
u162893962
1,579,908,017
2020-01-24T23:20:17
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int x = scanner.nextInt(); int y = scanner.nextInt(); int ans = x + y / 2 System.out.println(ans); } }
Main.java:8: error: ';' expected int ans = x + y / 2 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u162893962|p03219|0
u162893962|p03219|0
codenet
Compile Error
252
v2_s886752166
s886752166
s886752166
p03219
p03219
u176129148
u176129148
1,543,889,206
2018-12-04T02:06:46
Main.java
aaa
Main.java:1: error: reached end of file while parsing aaa ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u176129148|p03219|0
u176129148|p03219|0
codenet
Compile Error
3
v2_s854792053
s854792053
s854792053
p03219
p03219
u183787127
u183787127
1,541,383,270
2018-11-05T02:01:10
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(); System.out.println(x + (y / 2)); } }
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
u183787127|p03219|0
u183787127|p03219|0
codenet
Compile Error
235
v2_s511555839
s511555839
s511555839
p03219
p03219
u207391881
u207391881
1,544,928,619
2018-12-16T02:50:19
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.nextLine(); int black=0; int white=0; int count=0; for(int i=str.length()-1; i>=0; i==){ if(str.charAt(i).equals("B"))...
Main.java:12: error: illegal start of expression for(int i=str.length()-1; i>=0; i==){ ^ Main.java:12: error: not a statement for(int i=str.length()-1; i>=0; i==){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03219|1
u207391881|p03219|1
codenet
Compile Error
471
v2_s127910534
s127910534
s127910534
p03219
p03219
u305197882
u305197882
1,541,384,573
2018-11-05T02:22:53
Main.java
import java.io.PrintWriter; import java.util.Scanner; public class Main { static Scanner in; static PrintWriter out; static void solve() { Scanner stdIn = new Scanner(System.in); int N = stdIn.nextInt(); int T = stdIn.nextInt(); int A = stdIn.nextInt(); int[] H = new int[N]; int answer = 1; int ...
Main.java:21: error: ';' expected near_A = Math.abs(A - (T - (H[0] * 0.006))) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u305197882|p03219|0
u305197882|p03219|0
codenet
Compile Error
794
v2_s847993429
s847993429
s847993429
p03219
p03219
u305197882
u305197882
1,541,384,633
2018-11-05T02:23:53
Main.java
import java.io.PrintWriter; import java.util.Scanner; public class Main { static Scanner in; static PrintWriter out; static void solve() { Scanner stdIn = new Scanner(System.in); int N = stdIn.nextInt(); int T = stdIn.nextInt(); int A = stdIn.nextInt(); int[] H = new int[N]; int answer = 1; int ...
Main.java:20: error: incompatible types: int cannot be converted to boolean if(i = 0) ^ Main.java:21: error: cannot find symbol near_A = Math.abs(A - (T - (H[0] * 0.006))); ^ symbol: variable near_A location: class Main Main.java:23: error: cannot find symbol if(Math.abs(A - (T - (H[i] * 0.0...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u305197882|p03219|0
u305197882|p03219|0
codenet
Compile Error
795
v2_s265273408
s265273408
s265273408
p03219
p03219
u305197882
u305197882
1,541,384,725
2018-11-05T02:25:25
Main.java
import java.io.PrintWriter; import java.util.Scanner; public class Main { static Scanner in; static PrintWriter out; static void solve() { Scanner stdIn = new Scanner(System.in); int N = stdIn.nextInt(); int T = stdIn.nextInt(); int A = stdIn.nextInt(); int[] H = new int[N]; int answer = 1; int ...
Main.java:22: error: incompatible types: possible lossy conversion from double to int near_A = Math.abs(A - (T - (H[0] * 0.006))); ^ Main.java:26: error: incompatible types: possible lossy conversion from double to int near_A = Math.abs(A - (T - (H[i] * 0.006))); ^ 2 er...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u305197882|p03219|0
u305197882|p03219|0
codenet
Compile Error
815
v2_s193745171
s193745171
s193745171
p03219
p03219
u305197882
u305197882
1,541,385,132
2018-11-05T02:32:12
Main.java
import java.io.PrintWriter; import java.util.Scanner; public class Main { static Scanner in; static PrintWriter out; static void solve() { Scanner stdIn = new Scanner(System.in); int N = stdIn.nextInt(); int T = stdIn.nextInt(); int A = stdIn.nextInt(); int[] H = new int[N]; for(int i = 0; i < N; ...
Main.java:21: error: incompatible types: possible lossy conversion from double to int int near_A = Math.abs(A - (T - (H[0] * 0.006))); ^ Main.java:27: error: incompatible types: possible lossy conversion from double to int near_A = Math.abs(A - (T - (H[i] * 0.006))); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u305197882|p03219|0
u305197882|p03219|0
codenet
Compile Error
805
v2_s894288193
s894288193
s894288193
p03219
p03219
u305445092
u305445092
1,541,385,781
2018-11-05T02:43:01
MainActivity.java
import java.util.Scanner; public class MainActivity extends AppCompatActivity { public void main(String args[]) { Scanner scan = new Scanner(System.in); String str = scan.next(); int x = Integer.valueOf(str); str = scan.next(); int y = Integer.valueOf(str); System.out.println(calc(x,...
MainActivity.java:3: error: cannot find symbol public class MainActivity extends AppCompatActivity { ^ symbol: class AppCompatActivity 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u305445092|p03219|0
u305445092|p03219|0
codenet
Compile Error
548
v2_s715998912
s715998912
s715998912
p03219
p03219
u316394373
u316394373
1,541,385,279
2018-11-05T02:34:39
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int a = 0; int b = 0;81 a = y/2; ...
Main.java:12: error: not a statement int b = 0;81 ^ Main.java:12: error: ';' expected int b = 0;81 ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u316394373|p03219|0
u316394373|p03219|0
codenet
Compile Error
411
v2_s767524028
s767524028
s767524028
p03219
p03219
u316394373
u316394373
1,541,385,314
2018-11-05T02:35:14
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int a = 0; int b = 0;81 a = y/2; ...
Main.java:12: error: not a statement int b = 0;81 ^ Main.java:12: error: ';' expected int b = 0;81 ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u316394373|p03219|0
u316394373|p03219|0
codenet
Compile Error
411
v2_s358915613
s358915613
s358915613
p03219
p03219
u316394373
u316394373
1,541,385,534
2018-11-05T02:38:54
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int a = 0; int b = 0;81 a = y/2; ...
Main.java:12: error: not a statement int b = 0;81 ^ Main.java:12: error: ';' expected int b = 0;81 ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u316394373|p03219|0
u316394373|p03219|0
codenet
Compile Error
412
v2_s456055788
s456055788
s456055788
p03219
p03219
u335664637
u335664637
1,541,385,459
2018-11-05T02:37:39
Main.java
class Main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); int num1=sc.nextInt(); int num2=sc.nextInt(); System.out.println(num1+int(num2/2)) } }
Main.java:6: error: '.class' expected System.out.println(num1+int(num2/2)) ^ Main.java:6: error: not a statement System.out.println(num1+int(num2/2)) ^ Main.java:6: error: ';' expected System.out.println(num1+int(num2/2)) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u335664637|p03219|0
u335664637|p03219|0
codenet
Compile Error
194
v2_s401659671
s401659671
s401659671
p03219
p03219
u335664637
u335664637
1,541,385,554
2018-11-05T02:39:14
Main.java
class Main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); int num1=sc.nextInt(); int num2=sc.nextInt(); System.out.println(num1+int(num2/2)); } }
Main.java:6: error: '.class' expected System.out.println(num1+int(num2/2)); ^ Main.java:6: error: not a statement System.out.println(num1+int(num2/2)); ^ Main.java:6: error: ';' expected System.out.println(num1+int(num2/2)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u335664637|p03219|0
u335664637|p03219|0
codenet
Compile Error
195
v2_s012950756
s012950756
s012950756
p03219
p03219
u337427360
u337427360
1,543,927,241
2018-12-04T12:40:41
Main.java
class Main{ public static void main(String args){ Scanner sc =new Scanner(System.in); int x = sc.read(); int y = sc.read(); System.out.print(x + (y /2)); } }
Main.java:3: error: cannot find symbol Scanner sc =new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc =new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u337427360|p03219|0
u337427360|p03219|0
codenet
Compile Error
182
v2_s818935707
s818935707
s818935707
p03219
p03219
u412235839
u412235839
1,544,904,151
2018-12-15T20:02:31
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nectInt(); System.out.println(a + (b/2)); } }
Main.java:7: error: cannot find symbol int b = sc.nectInt(); ^ symbol: method nectInt() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u412235839|p03219|0
u412235839|p03219|0
codenet
Compile Error
198
v2_s222769528
s222769528
s222769528
p03219
p03219
u461179335
u461179335
1,542,751,871
2018-11-20T22:11:11
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main{ public static void main(String[] args) { ex1(); ex2(); } public static void ex1() { int X=0; int Y=0; InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); ...
Main.java:9: error: cannot find symbol ex2(); ^ symbol: method ex2() location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u461179335|p03219|0
u461179335|p03219|0
codenet
Compile Error
566
v2_s840082627
s840082627
s840082627
p03219
p03219
u461179335
u461179335
1,542,752,357
2018-11-20T22:19:17
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; public class Main { public static void main(String[] args) { ex1(); } public static void ex1() { int X=0; int Y=0; try{ Scanner sc = new Scanner(System.in); //String = ...
Main.java:26: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u461179335|p03219|0
u461179335|p03219|0
codenet
Compile Error
486
v2_s932984167
s932984167
s932984167
p03219
p03219
u461179335
u461179335
1,542,752,386
2018-11-20T22:19:46
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; public class Main { public static void main(String[] args) { ex1(); } public static void ex1() { int X=0; int Y=0; try{ Scanner sc = new Scanner(System.in); //String = ...
Main.java:26: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u461179335|p03219|0
u461179335|p03219|0
codenet
Compile Error
478
v2_s398369175
s398369175
s398369175
p03219
p03219
u505800678
u505800678
1,541,384,070
2018-11-05T02:14:30
Main.java
public class Main{ public static void main (String[] args){ int x = X + ( Y/2 ); System.out.println(x); } }
Main.java:3: error: cannot find symbol int x = X + ( Y/2 ); ^ symbol: variable X location: class Main Main.java:3: error: cannot find symbol int x = X + ( Y/2 ); ^ symbol: variable Y location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u505800678|p03219|0
u505800678|p03219|0
codenet
Compile Error
119
v2_s017576457
s017576457
s017576457
p03219
p03219
u522636435
u522636435
1,580,682,241
2020-02-02T22:24:01
Main.java
mport java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); sc.close(); System.out.println(x + y / 2); } }
Main.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u522636435|p03219|0
u522636435|p03219|0
codenet
Compile Error
245
v2_s838315175
s838315175
s838315175
p03219
p03219
u533017901
u533017901
1,559,661,254
2019-06-04T15:14:14
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); system.out.prinln(a+b/2); }}
Main.java:9: error: package system does not exist system.out.prinln(a+b/2); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u533017901|p03219|0
u533017901|p03219|0
codenet
Compile Error
222
v2_s239712120
s239712120
s239712120
p03219
p03219
u533017901
u533017901
1,559,661,314
2019-06-04T15:15:14
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.prinln(a+b/2); }}
Main.java:9: error: cannot find symbol System.out.prinln(a+b/2); ^ symbol: method prinln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u533017901|p03219|0
u533017901|p03219|0
codenet
Compile Error
223
v2_s896227889
s896227889
s896227889
p03219
p03219
u547167033
u547167033
1,561,406,733
2019-06-24T20:05:33
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(); System.out.println(x+y/2); } }
Main.java:4: error: cannot find symbol Scanner sc = new scanner(System.in); ^ symbol: class scanner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03219|0
u547167033|p03219|0
codenet
Compile Error
218
v2_s419505984
s419505984
s419505984
p03219
p03219
u587842109
u587842109
1,542,773,000
2018-11-21T04:03:20
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.neztInt(); int out = X + Y / 2; System.out.println(out); } }
Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.In); ^ symbol: variable In location: class System Main.java:9: error: cannot find symbol int Y = sc.neztInt(); ^ symbol: method neztInt() location: variable sc of type Scanner 2 er...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587842109|p03219|1
u587842109|p03219|1
codenet
Compile Error
263
v2_s688930596
s688930596
s688930596
p03219
p03219
u593940758
u593940758
1,542,801,934
2018-11-21T12:05:34
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println(sc.nextInt() + sc.nextInt()/2); } }
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u593940758|p03219|0
u593940758|p03219|0
codenet
Compile Error
159
v2_s875687608
s875687608
s875687608
p03219
p03219
u600215903
u600215903
1,558,643,121
2019-05-23T20:25:21
Main.java
class Sample1 { public static void main(String[] args){ int X,Y; System.out.println(X + Y / 2); } }
Main.java:4: error: variable X might not have been initialized System.out.println(X + Y / 2); ^ Main.java:4: error: variable Y might not have been initialized System.out.println(X + Y / 2); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
123
v2_s485412654
s485412654
s485412654
p03219
p03219
u600215903
u600215903
1,558,643,279
2019-05-23T20:27:59
Main.java
class Sample1 { public static void main(String[] args){ int X,Y; int x = X + Y/2; System.out.println(x); } }
Main.java:4: error: variable X might not have been initialized int x = X + Y/2; ^ Main.java:4: error: variable Y might not have been initialized int x = X + Y/2; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
140
v2_s210825121
s210825121
s210825121
p03219
p03219
u600215903
u600215903
1,558,643,288
2019-05-23T20:28:08
Main.java
class Sample1 { public static void main(String[] args){ int X,Y; int x = X + Y/2; System.out.println(x); } }
Main.java:4: error: variable X might not have been initialized int x = X + Y/2; ^ Main.java:4: error: variable Y might not have been initialized int x = X + Y/2; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
140
v2_s857242093
s857242093
s857242093
p03219
p03219
u600215903
u600215903
1,558,643,328
2019-05-23T20:28:48
Main.java
class Sample1 { public static void main(String[] args){ int X; int Y; int x = X + Y/2; System.out.println(x); } }
Main.java:5: error: variable X might not have been initialized int x = X + Y/2; ^ Main.java:5: error: variable Y might not have been initialized int x = X + Y/2; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
153
v2_s844023508
s844023508
s844023508
p03219
p03219
u600215903
u600215903
1,558,643,345
2019-05-23T20:29:05
Main.java
class main { public static void main(String[] args){ int X; int Y; int x = X + Y/2; System.out.println(x); } }
Main.java:5: error: variable X might not have been initialized int x = X + Y/2; ^ Main.java:5: error: variable Y might not have been initialized int x = X + Y/2; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
150
v2_s248220553
s248220553
s248220553
p03219
p03219
u600215903
u600215903
1,558,643,773
2019-05-23T20:36:13
Main.java
class abc113a { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int X = sc.nextInt(); int Y = sc.nextInt(); int x = X + Y/2; System.out.println(x); } }
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class abc113a Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class abc113a 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
226
v2_s741075810
s741075810
s741075810
p03219
p03219
u600215903
u600215903
1,558,644,076
2019-05-23T20:41:16
Main.java
class abc113a { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int X = sc.nextInt(); //鉄道運賃 int Y = sc.nextInt(); //バス運賃 System.out.println(X + Y/2); //合計運賃を計算して出力 } }
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class abc113a Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class abc113a 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
297
v2_s411238718
s411238718
s411238718
p03219
p03219
u600215903
u600215903
1,558,644,148
2019-05-23T20:42:28
Main.java
class abc113a { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int X = sc.nextInt(); //鉄道運賃 int Y = sc.nextInt(); //バス運賃 System.out.println(X + Y/2); //合計運賃を計算して出力 } }
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class abc113a Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class abc113a 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
297
v2_s875041277
s875041277
s875041277
p03219
p03219
u600215903
u600215903
1,558,644,602
2019-05-23T20:50:02
Main.java
import java.util.*; //なんかよくわからないやつ class abc113a { public static void main(String[] args){ Scanner scan = new Scanner(System.in); //入力のやつ int X = sc.nextInt(); //鉄道運賃 int Y = sc.nextInt(); //バス運賃 System.out.println(X + Y / 2); //合計運賃を計算して出力 } }
Main.java:7: error: cannot find symbol int X = sc.nextInt(); ^ symbol: variable sc location: class abc113a Main.java:9: error: cannot find symbol int Y = sc.nextInt(); ^ symbol: variable sc location: class abc113a 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
384
v2_s532988857
s532988857
s532988857
p03219
p03219
u600215903
u600215903
1,558,644,701
2019-05-23T20:51:41
Main.java
import java.util.*; //なんかよくわからないやつ class abc113a{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); //入力のやつ int x = sc.nextInt(); //鉄道運賃 int x = sc.nextInt(); //バス運賃 System.out.println(x + y / 2); //合計運賃を計算して出力 } }
Main.java:7: error: cannot find symbol int x = sc.nextInt(); ^ symbol: variable sc location: class abc113a Main.java:9: error: variable x is already defined in method main(String[]) int x = sc.nextInt(); ^ Main.java:9: error: cannot find symbol int x = sc.nextIn...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
383
v2_s283290511
s283290511
s283290511
p03219
p03219
u600215903
u600215903
1,558,644,752
2019-05-23T20:52:32
Main.java
import java.util.scanner; //なんかよくわからないやつ class abc113a{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); //入力のやつ int x = sc.nextInt(); //鉄道運賃 int x = sc.nextInt(); //バス運賃 System.out.println(x + y / 2); //合計運賃を計算して出力 } }
Main.java:1: error: cannot find symbol import java.util.scanner; ^ symbol: class scanner location: package java.util Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class abc113a Main.java:5: error: cannot find symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
389
v2_s274594041
s274594041
s274594041
p03219
p03219
u600215903
u600215903
1,558,644,804
2019-05-23T20:53:24
Main.java
import java.util.Scanner; //なんかよくわからないやつ class abc113a{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); //入力のやつ int x = sc.nextInt(); //鉄道運賃 int x = sc.nextInt(); //バス運賃 System.out.println(x + y / 2); //合計運賃を計算して出力 } }
Main.java:7: error: cannot find symbol int x = sc.nextInt(); ^ symbol: variable sc location: class abc113a Main.java:9: error: variable x is already defined in method main(String[]) int x = sc.nextInt(); ^ Main.java:9: error: cannot find symbol int x = sc.nextIn...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
389
v2_s477318988
s477318988
s477318988
p03219
p03219
u600215903
u600215903
1,558,644,845
2019-05-23T20:54:05
Main.java
import java.util.Scanner; //なんかよくわからないやつ class abc113a{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); //入力のやつ int x = scan.nextInt(); //鉄道運賃 int x = scan.nextInt(); //バス運賃 System.out.println(x + y / 2); //合計運賃を計算して出力 } ...
Main.java:9: error: variable x is already defined in method main(String[]) int x = scan.nextInt(); ^ Main.java:11: error: cannot find symbol System.out.println(x + y / 2); ^ symbol: variable y location: class abc113a 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
393
v2_s048451056
s048451056
s048451056
p03219
p03219
u600215903
u600215903
1,558,644,884
2019-05-23T20:54:44
abc113a.java
import java.util.Scanner; //なんかよくわからないやつ public class abc113a{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); //入力のやつ int x = scan.nextInt(); //鉄道運賃 int x = scan.nextInt(); //バス運賃 System.out.println(x + y / 2); //合計運賃を計算して出力...
abc113a.java:9: error: variable x is already defined in method main(String[]) int x = scan.nextInt(); ^ abc113a.java:11: error: cannot find symbol System.out.println(x + y / 2); ^ symbol: variable y location: class abc113a 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
400
v2_s584952713
s584952713
s584952713
p03219
p03219
u600215903
u600215903
1,558,645,300
2019-05-23T21:01:40
Main.java
import java.util.Scanner; //なんかよくわからないやつ Public class Abc113a{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); //入力のやつ int x = sc.nextInt(); //鉄道運賃 int y = sc.nextInt(); //バス運賃 System.out.println(x + y / 2); //合計運賃を計算して出力 }...
Main.java:3: error: class, interface, enum, or record expected Public class Abc113a{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
394
v2_s281834386
s281834386
s281834386
p03219
p03219
u600215903
u600215903
1,558,645,548
2019-05-23T21:05:48
Abc113a.java
import java.util.Scanner; //なんかよくわからないやつ public class Abc113a{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); //入力のやつ int X = sc.nextInt(); //鉄道運賃 int Y = sc.nextInt(); //バス運賃 System.out.println(X + (Y / 2); //合計運賃を計算して出力 ...
Abc113a.java:11: error: ')' or ',' expected System.out.println(X + (Y / 2); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
395
v2_s891968279
s891968279
s891968279
p03219
p03219
u600215903
u600215903
1,558,645,658
2019-05-23T21:07:38
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(); //バス運賃 System.out.println(X + (Y / 2); //合計運賃を計算して出力 } }
Main.java:11: error: ')' or ',' expected System.out.println(X + (Y / 2); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
392
v2_s532379422
s532379422
s532379422
p03219
p03219
u600215903
u600215903
1,558,645,737
2019-05-23T21:08:57
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(); //バス運賃 System.out.println(X + (Y / 2); //合計運賃を計算して出力 } }
Main.java:11: error: ')' or ',' expected System.out.println(X + (Y / 2); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
392
v2_s670972101
s670972101
s670972101
p03219
p03219
u600215903
u600215903
1,558,646,517
2019-05-23T21:21:57
Main.java
import java.util.Scanner; //なんかよくわからないやつ class Gakunaikon20190520-abc113a{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); //入力のやつ int X = sc.nextInt(); //鉄道運賃 int Y = sc.nextInt(); //バス運賃 System.out.println(X + Y / 2); //合計運賃を...
Main.java:3: error: '{' expected class Gakunaikon20190520-abc113a{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03219|0
u600215903|p03219|0
codenet
Compile Error
407
v2_s682400838
s682400838
s682400838
p03219
p03219
u606033239
u606033239
1,545,213,998
2018-12-19T10:06:38
Main.java
import java.util.Scanner; class Main{ public static void main{ Scanner scanner = new Scanner(System.in); int X = scanner.nextInt(); int Y = scanner.nextInt(); int x = X + Y/2; System.out.println(x); } }
Main.java:3: error: '(' expected public static void main{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606033239|p03219|0
u606033239|p03219|0
codenet
Compile Error
250
v2_s693308110
s693308110
s693308110
p03219
p03219
u606033239
u606033239
1,545,214,087
2018-12-19T10:08:07
Main.java
import java.util.Scanner; class Main{ public static void main{ Scanner scanner = new Scanner(System.in); int X = scanner.nextInt(); int Y = scanner.nextInt(); int x = round(X + Y/2); System.out.println(x); } }
Main.java:3: error: '(' expected public static void main{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606033239|p03219|0
u606033239|p03219|0
codenet
Compile Error
257
v2_s502379260
s502379260
s502379260
p03219
p03219
u606033239
u606033239
1,545,214,265
2018-12-19T10:11:05
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int X = scanner.nextInt(); int Y = scanner.nextInt(); int x = round(X + Y/2); System.out.println(x); } }
Main.java:7: error: cannot find symbol int x = round(X + Y/2); ^ symbol: method round(int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606033239|p03219|0
u606033239|p03219|0
codenet
Compile Error
272
v2_s909225812
s909225812
s909225812
p03219
p03219
u648912196
u648912196
1,548,801,925
2019-01-29T22:45:25
Main.java
import java.util.*; import java.lang.*; import java.io.*; import java.util.Scanner; /* Name of the class has to be "Main" only if the class is public. */ class Main { public static void main (String[] args) throws java.lang.Exception { Scanner sc = new Scanner(System.in); System.out.println(sc.nextInt()+...
Main.java:11: error: cannot find symbol System.out.println(sc.nextInt()+sc.nexInt()/2); ^ symbol: method nexInt() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u648912196|p03219|0
u648912196|p03219|0
codenet
Compile Error
347
v2_s889640739
s889640739
s889640739
p03219
p03219
u667294123
u667294123
1,543,519,037
2018-11-29T19:17:17
Main.java
import java util.Scanner class mondai{ public static void main(String[] args){ Scanner stdIn=new Scanner(System.in); System.out.print("電鉄の運賃は:"); int X=stdIn.nextInt; System.out.print("バスの運賃は"); int Y=stdIn.nextInt; System.out.println("合計運賃は"+(X+(Y/2))+"です。"); } }
Main.java:1: error: '.' expected import java util.Scanner ^ Main.java:1: error: ';' expected import java util.Scanner ^ Main.java:6: error: illegal character: '\uff09' System.out.print("???????"?? ^ Main.java:6: error: illegal character: '\uff1b' Sys...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u667294123|p03219|0
u667294123|p03219|0
codenet
Compile Error
343
v2_s314940507
s314940507
s314940507
p03219
p03219
u667294123
u667294123
1,543,519,170
2018-11-29T19:19:30
Main.java
import java.util.Scanner; class mondai{ public static void main(String[] args){ Scanner stdIn=new Scanner(System.in); System.out.print("電鉄の運賃は:"); int X=stdIn.nextInt; System.out.print("バスの運賃は"); int Y=stdIn.nextInt; System.out.println("合計運賃は"+(X+(Y/2))+"です。"); } }
Main.java:7: error: cannot find symbol int X=stdIn.nextInt; ^ symbol: variable nextInt location: variable stdIn of type Scanner Main.java:9: error: cannot find symbol int Y=stdIn.nextInt; ^ symbol: variable nextInt location: variable stdIn of type Scanner 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u667294123|p03219|0
u667294123|p03219|0
codenet
Compile Error
339
v2_s635824446
s635824446
s635824446
p03219
p03219
u690844139
u690844139
1,587,438,588
2020-04-21T03:09:48
Main.java
import java.util.*; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int T = sc.nextInt(); int A = sc.nextInt(); int [] a = new int[N]; int [] temp = sc.nextInt(); for(int i=0;i<N;i++){ a[i...
Main.java:11: error: incompatible types: int cannot be converted to int[] int [] temp = sc.nextInt(); ^ Main.java:14: error: incompatible types: possible lossy conversion from double to int temp[i] = T-a[i]*0.006; ^ Main.java:20: error: cannot find symbol x =...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u690844139|p03219|0
u690844139|p03219|0
codenet
Compile Error
677
v2_s287196198
s287196198
s287196198
p03219
p03219
u690844139
u690844139
1,587,438,654
2020-04-21T03:10:54
Main.java
import java.util.*; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int T = sc.nextInt(); int A = sc.nextInt(); int [] a = new int[N]; int [] temp = new int[N]; for(int i=0;i<N;i++){ a[i] ...
Main.java:14: error: incompatible types: possible lossy conversion from double to int temp[i] = T-a[i]*0.006; ^ Main.java:20: error: cannot find symbol x = Math.abs(A-temp[i]); ^ symbol: variable x location: class Main Main.java:21: error: cannot find symbol if(x<min){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u690844139|p03219|0
u690844139|p03219|0
codenet
Compile Error
675
v2_s270292675
s270292675
s270292675
p03219
p03219
u728498511
u728498511
1,548,803,011
2019-01-29T23:03:31
Main.java
x, y = map(int, input().split()) print(x+y/2)
Main.java:1: error: class, interface, enum, or record expected x, y = map(int, input().split()) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u728498511|p03219|0
u728498511|p03219|0
codenet
Compile Error
45
v2_s135862086
s135862086
s135862086
p03219
p03219
u800258616
u800258616
1,553,034,131
2019-03-19T22:22:11
Main.java
} class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int sum = x + (y/2); println(sum); } /* 以下、標準出力用関数 */ static public void print(byte what) { System.out.print(what); System.out.flush()...
Main.java:1: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u800258616|p03219|0
u800258616|p03219|0
codenet
Compile Error
3,796
v2_s765937324
s765937324
s765937324
p03219
p03219
u802758605
u802758605
1,542,774,535
2018-11-21T04:28:55
Main.java
public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); ArrayList<Integer> num = new ArrayList<Integer>(); ArrayList<String> param = new ArrayList<String>(); int system = 2; // 文字の空白区切り 0:ON 1:OFF 2:(※数字の場合) while (sc.hasNext()) { if (system == ...
Main.java:22: error: cannot find symbol static void Method(ArrayList<Integer> num, ArrayList<String> param) { ^ symbol: class ArrayList location: class Main Main.java:22: error: cannot find symbol static void Method(ArrayList<Integer> num, ArrayList<String> param) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u802758605|p03219|0
u802758605|p03219|0
codenet
Compile Error
699
v2_s674431245
s674431245
s674431245
p03219
p03219
u802905102
u802905102
1,541,384,658
2018-11-05T02:24:18
Main.java
import java.util.*; import java.io.*; class Main { public static void main(String[] args) throws Exception{ try (Scanner sc = new Scanner(System.in)){ int X = sc.nextInt(); int Y = sc.nextInt(); System.out.println(X + Y /2); } } } import java.util.*; import java.io.*; class Main { ...
Main.java:17: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:20: error: class, interface, enum, or record expected import java.io.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u802905102|p03219|0
u802905102|p03219|0
codenet
Compile Error
532
v2_s195593473
s195593473
s195593473
p03219
p03219
u809433990
u809433990
1,577,332,140
2019-12-26T03:49:00
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int m = scan.nextInt(); scan.close(); System.out.println(n+(m/2)); } }
Main.java:4: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809433990|p03219|0
u809433990|p03219|0
codenet
Compile Error
207
v2_s916473553
s916473553
s916473553
p03219
p03219
u845442981
u845442981
1,542,169,217
2018-11-14T04:20:17
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(); System.out.println(x + y/2); } }
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
u845442981|p03219|0
u845442981|p03219|0
codenet
Compile Error
216
v2_s869383874
s869383874
s869383874
p03219
p03219
u897013300
u897013300
1,575,156,624
2019-11-30T23:30:24
Main.java
import java.util.*; public class Main { public static void main(String[] args) { @SuppressWarnings("resource") Scanner sc = new Scanner(System.in); System.out.println(sc.nextInt() + (sc.nextInt() / 2); } }
Main.java:8: error: ')' or ',' expected System.out.println(sc.nextInt() + (sc.nextInt() / 2); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u897013300|p03219|0
u897013300|p03219|0
codenet
Compile Error
224
v2_s791079636
s791079636
s791079636
p03220
p03220
u062736195
u062736195
1,581,973,247
2020-02-17T21:00:47
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 T = sc.nextInt(); //基礎気温 ある地点の気温はT-H[]*0.006 int A = sc.nextInt(); //理想とする気温 int[] H = new Int[N]; //候補地点ごとの高度 int number = 0; //理想の候補地点...
Main.java:15: error: ';' expected int xi = A - (T - H[i] * 0.006) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03220|0
u062736195|p03220|0
codenet
Compile Error
711
v2_s603201567
s603201567
s603201567
p03220
p03220
u062736195
u062736195
1,581,973,263
2020-02-17T21:01:03
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 T = sc.nextInt(); //基礎気温 ある地点の気温はT-H[]*0.006 int A = sc.nextInt(); //理想とする気温 int[] H = new Int[N]; //候補地点ごとの高度 int number = 0; //理想の候補地点...
Main.java:8: error: cannot find symbol int[] H = new Int[N]; //????????? ^ symbol: class Int location: class Main Main.java:12: error: cannot find symbol H[i] = sc.nextint(); ^ symbol: method nextint() location: variable sc of type Scanner Main.java:15: error: inc...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03220|0
u062736195|p03220|0
codenet
Compile Error
709
v2_s317140759
s317140759
s317140759
p03220
p03220
u062736195
u062736195
1,581,973,297
2020-02-17T21:01:37
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 T = sc.nextInt(); //基礎気温 ある地点の気温はT-H[]*0.006 int A = sc.nextInt(); //理想とする気温 int[] H = new int[N]; //候補地点ごとの高度 int number = 0; //理想の候補地点...
Main.java:12: error: cannot find symbol H[i] = sc.nextint(); ^ symbol: method nextint() location: variable sc of type Scanner Main.java:15: error: incompatible types: possible lossy conversion from double to int int xi = A - (T - H[i] * 0.006); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03220|0
u062736195|p03220|0
codenet
Compile Error
709
v2_s425229788
s425229788
s425229788
p03220
p03220
u176003399
u176003399
1,594,519,426
2020-07-12T02:03:46
Main.java
import java.util.*; public class Main{ public static void mian(String[]args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int T = sc.nextInt(); double A = sc.nextDouble(); double min = 1000000; for(int i=0; i<N; i++){ double H = sc.nextInt(); double temp = T- H...
Main.java:17: error: cannot find symbol System.out.println(temp1); ^ symbol: variable temp1 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u176003399|p03220|0
u176003399|p03220|0
codenet
Compile Error
457
v2_s245618221
s245618221
s245618221
p03220
p03220
u207391881
u207391881
1,541,383,913
2018-11-05T02:11:53
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int t = sc.nextInt(); int a = sc.nextInt(); int[] h = new int[n]; for(int i=0; i<n; i++){ h[i] = sc.nextInt(); h[i] = t - h[i]*0.006; } int min = 110; i...
Main.java:13: error: incompatible types: possible lossy conversion from double to int h[i] = t - h[i]*0.006; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03220|0
u207391881|p03220|0
codenet
Compile Error
506
v2_s081004528
s081004528
s081004528
p03220
p03220
u207391881
u207391881
1,541,383,977
2018-11-05T02:12:57
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 t = sc.nextInt(); int a = sc.nextInt(); int[] h = new int[n]; for(int i=0; i<n; i++){ int b = sc.nextInt(); h[i] = t - b*0.006; } int min = 110; int...
Main.java:13: error: incompatible types: possible lossy conversion from double to int h[i] = t - b*0.006; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03220|0
u207391881|p03220|0
codenet
Compile Error
504
v2_s797999100
s797999100
s797999100
p03220
p03220
u207391881
u207391881
1,541,384,023
2018-11-05T02:13:43
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 t = sc.nextInt(); int a = sc.nextInt(); double[] h = new double[n]; for(int i=0; i<n; i++){ int b = sc.nextInt(); h[i] = t - b*0.006; } int min = 110;...
Main.java:21: error: incompatible types: possible lossy conversion from double to int x = h[i]-a; ^ Main.java:23: error: incompatible types: possible lossy conversion from double to int x = a - h[i]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03220|0
u207391881|p03220|0
codenet
Compile Error
510
v2_s652340740
s652340740
s652340740
p03220
p03220
u207391881
u207391881
1,541,384,067
2018-11-05T02:14:27
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 t = sc.nextInt(); int a = sc.nextInt(); double[] h = new double[n]; for(int i=0; i<n; i++){ int b = sc.nextInt(); h[i] = t - b*0.006; } double min = 1...
Main.java:29: error: variable ans might not have been initialized System.out.println(ans+1); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03220|0
u207391881|p03220|0
codenet
Compile Error
516
v2_s931636586
s931636586
s931636586
p03220
p03220
u214701107
u214701107
1,565,893,754
2019-08-15T18:29:14
Main.java
public class Main { public static void main(String[] args) { try (Scanner scanner = new Scanner(System.in)) { // 基本情報入力 int N = scanner.nextInt(); int T = scanner.nextInt(); int heikinKion = scanner.nextInt(); // ループしつつ、平均気温と、計算結果の絶対値差を記録する Map<Integer,Double> map = new HashMap<Integer, Double>();...
Main.java:3: error: cannot find symbol try (Scanner scanner = new Scanner(System.in)) { ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol try (Scanner scanner = new Scanner(System.in)) { ^ symbol: class Scanner location: class Main Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u214701107|p03220|0
u214701107|p03220|0
codenet
Compile Error
909
v2_s633879956
s633879956
s633879956
p03220
p03220
u305197882
u305197882
1,541,385,577
2018-11-05T02:39:37
Main.java
static PrintWriter out; static void solve() { Scanner stdIn = new Scanner(System.in); int N = stdIn.nextInt(); int T = stdIn.nextInt(); int A = stdIn.nextInt(); int[] H = new int[N]; for(int i = 0; i < N; i++) { H[i] = stdIn.nextInt(); } int answer = 1; int near_A = (int)Math.abs(A - (T - (H[...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. static PrintWriter out; ^ (use --enable-preview to enable unnamed classes) Main.java:40: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u305197882|p03220|0
u305197882|p03220|0
codenet
Compile Error
868
v2_s874958195
s874958195
s874958195
p03220
p03220
u334624175
u334624175
1,541,383,738
2018-11-05T02:08:58
Main.java
import java.util.*; import java.awt.*; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int t = sc.nextInt(); int a = sc.nextInt(); int[] h = new int[n]; for (int i = 0; i < n; i++) { ...
Main.java:20: error: ';' expected ans = Math.abs(a - t + h[i]*0.006) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334624175|p03220|0
u334624175|p03220|0
codenet
Compile Error
658
v2_s783719440
s783719440
s783719440
p03220
p03220
u335209863
u335209863
1,592,372,534
2020-06-17T05:42:14
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int T = sc.nextInt(); int A = sc.nextInt(); int[] H = new int[N]; double[] temperatures = new double[N]; double diffMin = 1000000000; ...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u335209863|p03220|0
u335209863|p03220|0
codenet
Compile Error
732