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_s095027120
s095027120
s095027120
p02701
p02701
u407795516
u407795516
1,587,952,580
2020-04-27T01:56:20
Main.java
import java.util.Scanner; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); long N = scanner.nextLong(); int X = 0; String[] k = new String[N-1]; for(long i=0; i<N; i++){ String k[i] = scanner.next(); ...
Main.java:13: error: ']' expected String k[i] = scanner.next(); ^ Main.java:13: error: ';' expected String k[i] = scanner.next(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u407795516|p02701|0
u407795516|p02701|0
codenet
Compile Error
492
v2_s835177802
s835177802
s835177802
p02701
p02701
u407795516
u407795516
1,587,952,639
2020-04-27T01:57:19
Main.java
import java.util.Scanner; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); long N = scanner.nextLong(); int X = 0; String[] k = new String[N-1]; for(int i=0; i<N; i++){ k[i] = scanner.next(); } ...
Main.java:10: error: incompatible types: possible lossy conversion from long to int String[] k = new String[N-1]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u407795516|p02701|0
u407795516|p02701|0
codenet
Compile Error
483
v2_s439342283
s439342283
s439342283
p02701
p02701
u480168496
u480168496
1,588,033,432
2020-04-28T00:23:52
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); Map<String, Integer> map = new HashMap<>(); for (int i=0; i<n; i++) { String str = sc.nextLine(); map.put(map.getOrDefault(str, 0)...
Main.java:10: error: method put in interface Map<K,V> cannot be applied to given types; map.put(map.getOrDefault(str, 0) + 1); ^ required: String,Integer found: int reason: actual and formal argument lists differ in length where K,V are type-variables: K extends Object declared in ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u480168496|p02701|0
u480168496|p02701|0
codenet
Compile Error
384
v2_s839512550
s839512550
s839512550
p02701
p02701
u523670133
u523670133
1,587,950,397
2020-04-27T01:19:57
Main.java
import java.util.*; class Main { public static void main(String args[]) { Scanner in=new Scanner(System.in); int a=in.nextInt(); HashSet<String> set=new HashSet<>(); while(a>0) { String s=in.next(); a.add(s); a--; } System.out.print(set.size()); } }
Main.java:12: error: int cannot be dereferenced a.add(s); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u523670133|p02701|0
u523670133|p02701|0
codenet
Compile Error
319
v2_s018270234
s018270234
s018270234
p02701
p02701
u526294784
u526294784
1,587,950,784
2020-04-27T01:26:24
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(); String S[] = new String[N]; int sum = 0; for(int i=0;i<N;i++) { S[i] = ...
Main.java:18: error: ')' expected if(!(S[j].equals(S[k]));) ^ Main.java:18: error: illegal start of expression if(!(S[j].equals(S[k]));) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u526294784|p02701|0
u526294784|p02701|0
codenet
Compile Error
567
v2_s248428198
s248428198
s248428198
p02701
p02701
u532667821
u532667821
1,591,218,564
2020-06-03T21:09:24
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); String s; String[] array; array[] = new String[N]; int count = 0; for(int i = 0; i <= N; i++){ ...
Main.java:9: error: not a statement array[] = new String[N]; ^ Main.java:9: error: ';' expected array[] = new String[N]; ^ Main.java:9: error: not a statement array[] = new String[N]; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532667821|p02701|0
u532667821|p02701|0
codenet
Compile Error
606
v2_s292702309
s292702309
s292702309
p02701
p02701
u532667821
u532667821
1,591,218,622
2020-06-03T21:10:22
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); String s; String[] array; array[] = new String[N]; int count = 0; for(int i = 0; i <= N; i++){ ...
Main.java:9: error: not a statement array[] = new String[N]; ^ Main.java:9: error: ';' expected array[] = new String[N]; ^ Main.java:9: error: not a statement array[] = new String[N]; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532667821|p02701|0
u532667821|p02701|0
codenet
Compile Error
605
v2_s685836642
s685836642
s685836642
p02701
p02701
u532667821
u532667821
1,591,219,641
2020-06-03T21:27:21
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); String s; String[] array = new String[N]; HashSet<String> list = new HashSet<String>(); for(int i = 0; i...
Main.java:9: error: cannot find symbol HashSet<String> list = new HashSet<String>(); ^ symbol: class HashSet location: class Main Main.java:9: error: cannot find symbol HashSet<String> list = new HashSet<String>(); ^ symbol: class HashSet location: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532667821|p02701|0
u532667821|p02701|0
codenet
Compile Error
447
v2_s752015509
s752015509
s752015509
p02701
p02701
u532667821
u532667821
1,591,219,706
2020-06-03T21:28:26
Main.java
import java.util.HashSet; import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); String s; String[] array = new String[N]; HashSet<String> list = new HashSet<String>();...
Main.java:17: error: cannot find symbol System.out.println(list.size); ^ symbol: variable size location: variable list of type HashSet<String> 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532667821|p02701|0
u532667821|p02701|0
codenet
Compile Error
473
v2_s727231470
s727231470
s727231470
p02701
p02701
u590926526
u590926526
1,587,953,773
2020-04-27T02:16:13
Main.java
import java.util.Scanner; public static void main(String[] args) { Scanner s =new Scanner(System.in); int num = s.nextInt(); String[] list = new String[num]; for(int i =0;i < num;i++){ list[i] = s.next(); } int result = 1; for(int i = 1;i < num;i++){ ...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u590926526|p02701|0
u590926526|p02701|0
codenet
Compile Error
610
v2_s042440272
s042440272
s042440272
p02701
p02701
u590926526
u590926526
1,587,954,074
2020-04-27T02:21:14
Main.java
import java.util.Scanner; Scanner s =new Scanner(System.in); int num = s.nextInt(); String[] list = new String[num]; for(int i =0;i < num;i++){ list[i] = s.next(); } int result = 1; for(int i = 1;i < num;i++){ int judge = 1; for(int j = 0;j < i;j++){ if(list[i].equals(list[j])){ judge = ...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. Scanner s =new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:5: error: class, interface, enum, or record expected for(int i =0;i < num;i++){ ^ Main.java:5: error: class, interface, enum, or record...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u590926526|p02701|0
u590926526|p02701|0
codenet
Compile Error
411
v2_s825876152
s825876152
s825876152
p02701
p02701
u633565318
u633565318
1,587,955,222
2020-04-27T02:40:22
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { int N = nextInt(); String S[] = new String[N]; int ans = 1; for(int i=0;i<N;i++) { S[i] = next(); } for(int i=1;i<N;i++) { int check = 0; ...
Main.java:27: error: cannot find symbol static InputStream in = System.in; ^ symbol: class InputStream location: class Main Main.java:50: error: cannot find symbol if (!hasNext()) throw new NoSuchElementException(); ^ symbol: class NoSuchElementException location: clas...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u633565318|p02701|0
u633565318|p02701|0
codenet
Compile Error
2,171
v2_s280435742
s280435742
s280435742
p02701
p02701
u766056442
u766056442
1,587,950,418
2020-04-27T01:20:18
Main.java
public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scanner = new Scanner(System.in); //String input1 = scanner.next(); String input2 = scanner.next(); //int h=Integer.parseInt(input1); int n=Integer.parseInt(input2); //int a[]=new int[n]; S...
Main.java:6: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:13: error: canno...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u766056442|p02701|0
u766056442|p02701|0
codenet
Compile Error
634
v2_s424395809
s424395809
s424395809
p02701
p02701
u786768376
u786768376
1,588,032,151
2020-04-28T00:02:31
Main.java
import java.util.*; public class Main{ public static void main(String[]args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); Set list = new HashSet()>(); for(int i=0;i<N;i++){ String str = sc.next(); list.add(str); } ...
Main.java:7: error: -> expected Set list = new HashSet()>(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u786768376|p02701|1
u786768376|p02701|1
codenet
Compile Error
365
v2_s692688671
s692688671
s692688671
p02701
p02701
u824555610
u824555610
1,591,794,364
2020-06-10T13:06:04
Main.java
import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int times = sc.nextInt(); //くじ引きを行った回数 //重複を許さないHashSetを宣言 //くじの結果を入れる HashSet<String> kuji = new HashSet<String>(); //くじを行う回数分、結果をkujiに入力する for(int...
Main.java:15: error: cannot find symbol System.out.print(result.size()); ^ symbol: variable result location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u824555610|p02701|0
u824555610|p02701|0
codenet
Compile Error
518
v2_s924734460
s924734460
s924734460
p02701
p02701
u848412537
u848412537
1,587,951,210
2020-04-27T01:33:30
Main.java
mport java.io.IOException; import java.io.InputStream; import java.util.*; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(); String text = ""; int a = 0; boolean flg = true; String[] texts = new String[10000]; int count...
Main.java:1: error: class, interface, enum, or record expected mport java.io.IOException; ^ Main.java:2: error: class, interface, enum, or record expected import java.io.InputStream; ^ Main.java:3: error: class, interface, enum, or record expected import java.util.*; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u848412537|p02701|0
u848412537|p02701|0
codenet
Compile Error
2,822
v2_s206614387
s206614387
s206614387
p02701
p02701
u848412537
u848412537
1,587,951,467
2020-04-27T01:37:47
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(); String text = ""; int a = 0; boolean flg = true; String[] texts = new String[10000]; int count...
Main.java:3: error: <identifier> expected import java.util.; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u848412537|p02701|0
u848412537|p02701|0
codenet
Compile Error
2,843
v2_s494528732
s494528732
s494528732
p02701
p02701
u848412537
u848412537
1,587,952,202
2020-04-27T01:50:02
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.*; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(); String text = ""; List<String> ListA = new ArrayList<>(); int count = Integer.parseInt(sc.next()); f...
Main.java:17: error: cannot find symbol List<String> listB = new ArrayList<String>(new HashSet<>(listA)); ^ symbol: variable listA location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u848412537|p02701|0
u848412537|p02701|0
codenet
Compile Error
1,693
v2_s826751803
s826751803
s826751803
p02701
p02701
u867045157
u867045157
1,587,955,026
2020-04-27T02:37:06
Main.java
import java.util.*; class string_m { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); ArrayList<String> str= new ArrayList<String>(); for(int i=0;i<n;i++) { String data=str.nextLine(); str.add(); } HashSet set=new HashSet(str); set...
Main.java:11: error: cannot find symbol String data=str.nextLine(); ^ symbol: method nextLine() location: variable str of type ArrayList<String> Main.java:12: error: no suitable method found for add(no arguments) str.add(); ^ method ArrayList.a...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867045157|p02701|0
u867045157|p02701|0
codenet
Compile Error
375
v2_s241349090
s241349090
s241349090
p02701
p02701
u912953341
u912953341
1,587,951,649
2020-04-27T01:40:49
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new scanner(System.in); Set <String> set = new HashSet<>(); int n = scan.nextInt(); String[] s = new String(); for(int i = 0; i < n; i++){ s[i] = scan.nextLine(); set.add(s[i]); } Syst...
Main.java:4: error: cannot find symbol Scanner scan = new scanner(System.in); ^ symbol: class scanner location: class Main Main.java:7: error: incompatible types: String cannot be converted to String[] String[] s = new String(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u912953341|p02701|0
u912953341|p02701|0
codenet
Compile Error
363
v2_s800162885
s800162885
s800162885
p02701
p02701
u953146767
u953146767
1,587,950,169
2020-04-27T01:16:09
Main.java
public static void main(String[] args) { Set<String> set = new HashSet<>(); Scanner sc = new Scanner(System.in); int N = sc.nextInt(); for(int i = 0; i < N; i++) { String s = sc.next(); set.add(s); } System.out.println(set.size()); }
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
u953146767|p02701|0
u953146767|p02701|0
codenet
Compile Error
289
v2_s254695613
s254695613
s254695613
p02702
p02702
u073606136
u073606136
1,587,953,079
2020-04-27T02:04:39
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.next(); String[] str2 = str.split(""); int number = Integer.parseInt(str); int count = 0; int num2 = 0; for(int i...
Main.java:14: error: illegal start of expression if( % 2019 == 0){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p02702|0
u073606136|p02702|0
codenet
Compile Error
592
v2_s745875575
s745875575
s745875575
p02702
p02702
u073606136
u073606136
1,587,953,111
2020-04-27T02:05:11
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.next(); String[] str2 = str.split(""); int number = Integer.parseInt(str); int count = 0; int num2 = 0; for(int i...
Main.java:11: error: cannot find symbol for(int i = 0; i < str.length; i++){ ^ symbol: variable length location: variable str of type String Main.java:12: error: cannot find symbol for(int j = 1; i < str.length; i++) { ^ sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p02702|0
u073606136|p02702|0
codenet
Compile Error
597
v2_s665027278
s665027278
s665027278
p02702
p02702
u073606136
u073606136
1,587,954,873
2020-04-27T02:34:33
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.next(); int count = 0; long num2 = 0; for(int i = 0; i < Long.parseInt(str); i++){ for(int j = i+1; j <= Long.parseInt(st...
Main.java:9: error: cannot find symbol for(int i = 0; i < Long.parseInt(str); i++){ ^ symbol: method parseInt(String) location: class Long Main.java:10: error: cannot find symbol for(int j = i+1; j <= Long.parseInt(str); j++) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p02702|0
u073606136|p02702|0
codenet
Compile Error
529
v2_s935136898
s935136898
s935136898
p02702
p02702
u073606136
u073606136
1,587,955,124
2020-04-27T02:38:44
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.next(); int lee = Long.parseLong(str); int count = 0; long num2 = 0; for(int i = 0; i < lee; i++){ for(int j = ...
Main.java:7: error: incompatible types: possible lossy conversion from long to int int lee = Long.parseLong(str); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p02702|0
u073606136|p02702|0
codenet
Compile Error
538
v2_s270297281
s270297281
s270297281
p02702
p02702
u172953361
u172953361
1,588,094,026
2020-04-28T17:13:46
Main.java
import java.math.*; import java.util.*; class Reader { static BufferedReader reader; static StringTokenizer tokenizer; /** call this method to initialize reader for InputStream */ static void init(InputStream input) { reader = new BufferedReader( new InputStreamReader(input) );...
Main.java:4: error: cannot find symbol static BufferedReader reader; ^ symbol: class BufferedReader location: class Reader Main.java:8: error: cannot find symbol static void init(InputStream input) { ^ symbol: class InputStream location: class Reader Main.java:15: e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u172953361|p02702|1
u172953361|p02702|1
codenet
Compile Error
1,574
v2_s935837588
s935837588
s935837588
p02702
p02702
u172953361
u172953361
1,588,094,081
2020-04-28T17:14:41
Main.java
import java.math.*; import java.util.*; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.StringTokenizer; class Reader { static BufferedReader reader; static StringTokenizer tokenizer; /** call this method to initiali...
Main.java:45: error: unreported exception IOException; must be caught or declared to be thrown String str =Reader.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u172953361|p02702|1
u172953361|p02702|1
codenet
Compile Error
1,729
v2_s402628494
s402628494
s402628494
p02702
p02702
u179272766
u179272766
1,587,954,344
2020-04-27T02:25:44
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! PrintWriter out = new PrintWriter(System.out); Scanner scan = new Scanner(System.in); HashSet hs = new HashSet(); String Ans = scan.next(); for(int i=...
Main.java:6: error: cannot find symbol PrintWriter out = new PrintWriter(System.out); ^ symbol: class PrintWriter location: class Main Main.java:6: error: cannot find symbol PrintWriter out = new PrintWriter(System.out); ^ symbol: class PrintWriter location:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u179272766|p02702|0
u179272766|p02702|0
codenet
Compile Error
1,028
v2_s919777844
s919777844
s919777844
p02702
p02702
u180295543
u180295543
1,588,308,397
2020-05-01T04:46:37
Main.java
import java.util.*; import java.math.*; public class Main { static long[] dp; static int mod=(int)1e9+7; public static void help(String s, int k) { dp=new long[200000]; fun(s); } static void fun(String s) { int n = s.length(); long rem[] = new long[2019]; ...
Main.java:25: error: incompatible types: possible lossy conversion from long to int ++rem[digit]; ^ Main.java:29: error: incompatible types: possible lossy conversion from long to int ++rem[digit]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u180295543|p02702|1
u180295543|p02702|1
codenet
Compile Error
849
v2_s032730603
s032730603
s032730603
p02702
p02702
u180295543
u180295543
1,588,308,446
2020-05-01T04:47:26
Main.java
import java.util.*; import java.math.*; public class Main { static long[] dp; static int mod=(int)1e9+7; public static void help(String s, int k) { dp=new long[200000]; fun(s); } static void fun(String s) { int n = s.length(); long rem[] = new long[2019]; i...
Main.java:26: error: incompatible types: possible lossy conversion from long to int digit = (power * (s.charAt(i) - '0') + digit) % 2019; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u180295543|p02702|1
u180295543|p02702|1
codenet
Compile Error
851
v2_s098503527
s098503527
s098503527
p02702
p02702
u187491596
u187491596
1,588,347,082
2020-05-01T15:31:22
Main.java
import java.util.Scanner; public class { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.nextLine(); int count = 0; sc.close(); for (int i = 0; i < s.length()-3; i++) { for (int j = i+3; j < s.length(); j++) { String subStr = s.substring(i, j); int nu...
Main.java:4: error: <identifier> expected public class { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u187491596|p02702|0
u187491596|p02702|0
codenet
Compile Error
442
v2_s000215890
s000215890
s000215890
p02702
p02702
u292692992
u292692992
1,587,954,207
2020-04-27T02:23:27
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; /** * * @author Milo */ public class Main { static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new Buffere...
Main.java:63: error: cannot find symbol BigInteger bi; ^ symbol: class BigInteger location: class Main Main.java:64: error: cannot find symbol BigInteger mm = new BigInteger("2019"); ^ symbol: class BigInteger location: class Main Main.java:64: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u292692992|p02702|0
u292692992|p02702|0
codenet
Compile Error
2,218
v2_s794342956
s794342956
s794342956
p02702
p02702
u316069805
u316069805
1,587,954,830
2020-04-27T02:33:50
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String ss = sc.next(); int ans = 0; for (int i = 0; i < s.length(); i++) { for (int j = i+4; j < s.length(); j++) { String sub = s.substring(i, j+1); if (Long.parseLong(sub...
Main.java:11: error: cannot find symbol for (int i = 0; i < s.length(); i++) { ^ symbol: variable s location: class Main Main.java:12: error: cannot find symbol for (int j = i+4; j < s.length(); j++) { ^ symbol: variable s location: class Main Main.java:13...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u316069805|p02702|0
u316069805|p02702|0
codenet
Compile Error
387
v2_s302631736
s302631736
s302631736
p02702
p02702
u316069805
u316069805
1,587,955,167
2020-04-27T02:39:27
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String ss = sc.next(); String s = new String(s); int ans = 0; for (int i = 0; i < s.length(); i++) { for (int j = i+4; j < s.length(); j++) { if (j - i > 18) continue; S...
Main.java:9: error: variable s might not have been initialized String s = new String(s); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u316069805|p02702|0
u316069805|p02702|0
codenet
Compile Error
449
v2_s260862754
s260862754
s260862754
p02702
p02702
u399601419
u399601419
1,589,913,062
2020-05-19T18:31:02
Main.java
public static void main(String[] args){ String s; Scanner scanenr = new Scanner(System.in); s = scanner.next(); final int MOD = 2019; int power_of_ten =1; int n = s.length(), suf = 0;long answer = 0; int cnt_suf = new int[MOD]; cnt_suf[suf]++; for (int i= n -1; i >=0; i--){ int digit = s.char...
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
u399601419|p02702|0
u399601419|p02702|0
codenet
Compile Error
506
v2_s426459981
s426459981
s426459981
p02702
p02702
u399601419
u399601419
1,589,913,284
2020-05-19T18:34:44
Main.java
public static void main(String[] args){ String s; Scanner scanner = new Scanner(System.in); s = scanner.nextLine(); final int MOD = 2019; int power_of_ten =1; int n = s.length(), suf = 0; long answer = 0; int[] cnt_suf = new int[MOD]; cnt_suf[suf]++; for (int i= n -1; i >=0; i--){ int digit...
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
u399601419|p02702|0
u399601419|p02702|0
codenet
Compile Error
515
v2_s310748327
s310748327
s310748327
p02702
p02702
u420082791
u420082791
1,587,951,154
2020-04-27T01:32:34
Main.java
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <limits.h> #define REP(i,n) for(i=0;i<n;i++) #define MAX 1000000 #define MOD 1000000007 long long fac[MAX], finv[MAX], inv[MAX]; //prototype declaration int i_in(); long long ll_in(); double d_in(); char c_in(); void s_in(char *s)...
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 <string.h> ^ Main.java:4: error: illegal chara...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420082791|p02702|0
u420082791|p02702|0
codenet
Compile Error
4,842
v2_s945667346
s945667346
s945667346
p02702
p02702
u504228740
u504228740
1,587,955,321
2020-04-27T02:42:01
Main.java
import java.util.*; import java.io.PrintWriter; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); String s=sc.next(); HashMap<Integer,Integer> map=new HashMap<>(); int tmp=0; int ten=1; for(int i=s.length()-1; i>=0; i--){ tmp=(tmp+(s.charAt(i)-'0')*ten)%2019; ...
Main.java:27: error: ';' expected ans+=map.get(0)*(map.get(0)-1)/2 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u504228740|p02702|0
u504228740|p02702|0
codenet
Compile Error
680
v2_s525604712
s525604712
s525604712
p02702
p02702
u547671064
u547671064
1,587,995,145
2020-04-27T13:45:45
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); String S=sc.next(); int x =S.length(); String s[] =S.split("",0); int y[]=new int[x+1]; int z[]=new int[x]; int w[]=new int[2019]; y[x]=0; long ans =0; for(int i=x...
Main.java:15: error: incompatible types: possible lossy conversion from double to int y[i]=(y[i+1]+z[i]*Math.pow(10,x-1-i))%2019; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p02702|1
u547671064|p02702|1
codenet
Compile Error
541
v2_s156625639
s156625639
s156625639
p02702
p02702
u547671064
u547671064
1,587,995,274
2020-04-27T13:47:54
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); String S=sc.next(); int x =S.length(); String s[] =S.split("",0); long y[]=new long[x+1]; long z[]=new long[x]; long w[]=new long[2019]; y[x]=0; long ans =0; for(i...
Main.java:15: error: incompatible types: possible lossy conversion from double to long y[i]=(y[i+1]+z[i]*Math.pow(10,x-1-i))%2019; ^ Main.java:16: error: incompatible types: possible lossy conversion from long to int w[y[i]]=w[y[i]]+1;} ^ Main.java:16: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p02702|1
u547671064|p02702|1
codenet
Compile Error
548
v2_s958261765
s958261765
s958261765
p02702
p02702
u547671064
u547671064
1,587,996,576
2020-04-27T14:09:36
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); String S=sc.next(); int x =S.length(); String s[] =S.split("",0); long y[]=new long[x+1]; long z[]=new long[x]; long w[]=new long[2019]; y[x]=0; long v[] =new long[x];...
Main.java:16: error: ';' expected v[i]=1 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p02702|1
u547671064|p02702|1
codenet
Compile Error
636
v2_s454496587
s454496587
s454496587
p02702
p02702
u547671064
u547671064
1,587,996,604
2020-04-27T14:10:04
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); String S=sc.next(); int x =S.length(); String s[] =S.split("",0); long y[]=new long[x+1]; long z[]=new long[x]; long w[]=new long[2019]; y[x]=0; long v[] =new long[x];...
Main.java:20: error: incompatible types: possible lossy conversion from long to int w[y[i]]=w[y[i]]+1;} ^ Main.java:20: error: incompatible types: possible lossy conversion from long to int w[y[i]]=w[y[i]]+1;} ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p02702|1
u547671064|p02702|1
codenet
Compile Error
637
v2_s559169734
s559169734
s559169734
p02702
p02702
u556125658
u556125658
1,587,955,198
2020-04-27T02:39:58
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.next(); sc.close(); int max = S.length(); int count = 0; for(int i = 0; i < max; i++) { for(int j = i + 5; j < max; j++) { long check = Long.parseLong(S.substri...
Main.java:12: error: illegal non-ASCII digit for(int j = i + ?; j < max; j++) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u556125658|p02702|0
u556125658|p02702|0
codenet
Compile Error
424
v2_s139367437
s139367437
s139367437
p02702
p02702
u562668258
u562668258
1,587,954,177
2020-04-27T02:22:57
Main.java
til.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String sStr = sc.next(); // String sStr = "1817181712114"; int[] sArray = new int[sStr.length()]; for (int i = 0; i < sArray.length; i++) { sArray[i] =...
Main.java:1: error: class, interface, enum, or record expected til.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u562668258|p02702|0
u562668258|p02702|0
codenet
Compile Error
957
v2_s252262614
s252262614
s252262614
p02702
p02702
u649291993
u649291993
1,587,953,950
2020-04-27T02:19:10
Main.java
#include <bits/stdc++.h> using namespace std; void solve() { string s; cin >> s; int c = 0; for (int i = 0; i < s.size() - 4; i++) { for (int j = i + 3; j < s.size(); j++) { unsigned long long x = stoull(s.substr(i, j + 1), nullptr, 10); if (x % (unsigned lon...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:7: error: not a statement cin >> s; ^ Main.java:13: error: not a statement unsigned long long x = stoull(s.substr(i, ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u649291993|p02702|0
u649291993|p02702|0
codenet
Compile Error
551
v2_s236520442
s236520442
s236520442
p02702
p02702
u649291993
u649291993
1,587,954,075
2020-04-27T02:21:15
Main.java
#include <bits/stdc++.h> using namespace std; void solve() { string s; cin >> s; int c = 0; for (int i = 0; i < s.size() - 4; i++) { for (int j = i + 3; j < s.size(); j++) { unsigned long long x = stoull(s.substr(i, j + 1), nullptr, 10); if (x % (unsigned lon...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:7: error: not a statement cin >> s; ^ Main.java:13: error: not a statement unsigned long long x = stoull(s.substr(i, ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u649291993|p02702|0
u649291993|p02702|0
codenet
Compile Error
551
v2_s352981363
s352981363
s352981363
p02702
p02702
u656801456
u656801456
1,587,955,159
2020-04-27T02:39:19
Main.java
class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String sinit = sc.next(); // 文字列 String a; int cnt = 0; int index = 0; for (int i = 1; i < 100; i++) { a = String.valueOf(i * 2019); String s = sinit; ...
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
u656801456|p02702|0
u656801456|p02702|0
codenet
Compile Error
669
v2_s891522827
s891522827
s891522827
p02702
p02702
u752907799
u752907799
1,597,980,011
2020-08-21T03:20:11
Main.java
import java.io.*; import java.util.*; import static java.lang.System.out; public class Main { static MyReader in = new MyReader(); public static void main(String[] args){ String S = in.s(); int len = S.length(); int[] a = new int[2019]; a[0] = 1; int x = 0; d =...
Main.java:14: error: '.class' expected d = int; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u752907799|p02702|0
u752907799|p02702|0
codenet
Compile Error
2,509
v2_s513914811
s513914811
s513914811
p02702
p02702
u755665813
u755665813
1,587,953,715
2020-04-27T02:15:15
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); //切り出しする文字列 String S = sc.next(); String[] work = S.split(""); String sum = ""; int ans = 0; for (int j=0; j < work.length; j++){ ...
Main.java:14: error: illegal start of expression if(Integer.parseInt(sum)%2019 k++){ ^ Main.java:14: error: ')' expected if(Integer.parseInt(sum)%2019 k++){ ^ Main.java:14: error: ';' expected if(Integer.parse...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u755665813|p02702|0
u755665813|p02702|0
codenet
Compile Error
604
v2_s325647153
s325647153
s325647153
p02702
p02702
u764604930
u764604930
1,587,953,116
2020-04-27T02:05:16
Main.java
public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.nextLine(); int len = S.length(); int num = 0; for (int i = 0; i < len - 3; i++) { for (int j = i+3; j < len; j++) { if (S.charAt(i) == 1) { ...
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
u764604930|p02702|0
u764604930|p02702|0
codenet
Compile Error
643
v2_s030836049
s030836049
s030836049
p02702
p02702
u764604930
u764604930
1,587,953,158
2020-04-27T02:05:58
test.java
import java.util.Scanner; public class test{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.nextLine(); int len = S.length(); int num = 0; for (int i = 0; i < len - 3; i++) { for (int j = i+3; j < len; j++) { ...
test.java:26: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764604930|p02702|0
u764604930|p02702|0
codenet
Compile Error
693
v2_s959900554
s959900554
s959900554
p02702
p02702
u825262731
u825262731
1,588,269,552
2020-04-30T17:59:12
Main.java
import java.util.*; public class Main{ public static void main(String[] args) throws IOException{ //Scanner sc = new Scanner(System.in); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String s = br.readLine(); char[] arr = s.toCharArray(); int[] vec = new int[2019]; ...
Main.java:3: error: cannot find symbol public static void main(String[] args) throws IOException{ ^ symbol: class IOException location: class Main Main.java:5: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825262731|p02702|1
u825262731|p02702|1
codenet
Compile Error
802
v2_s947017278
s947017278
s947017278
p02702
p02702
u825262731
u825262731
1,588,269,796
2020-04-30T18:03:16
Main.java
import java.util.*; public class Main{ public static void main(String[] args) throws IOException{ //Scanner sc = new Scanner(System.in); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String s = br.readLine(); char[] arr = s.toCharArray(); int[] vec = new int[2019]; ...
Main.java:3: error: cannot find symbol public static void main(String[] args) throws IOException{ ^ symbol: class IOException location: class Main Main.java:5: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825262731|p02702|1
u825262731|p02702|1
codenet
Compile Error
802
v2_s667273332
s667273332
s667273332
p02702
p02702
u825262731
u825262731
1,588,269,851
2020-04-30T18:04:11
Main.java
import java.util.*; public class Main{ public static void main(String[] args) throws IOException{ //Scanner sc = new Scanner(System.in); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String s = br.readLine(); char[] arr = s.toCharArray(); int[] vec = new int[2019]; ...
Main.java:3: error: cannot find symbol public static void main(String[] args) throws IOException{ ^ symbol: class IOException location: class Main Main.java:5: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825262731|p02702|1
u825262731|p02702|1
codenet
Compile Error
802
v2_s472286628
s472286628
s472286628
p02702
p02702
u848412537
u848412537
1,587,953,213
2020-04-27T02:06:53
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.*; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(); String text = sc.next(); int a; int count = 0; for(int i = 0; i < text.length() - 4; i++) { ...
Main.java:18: error: exception IOException is never thrown in body of corresponding try statement } catch (IOException e) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u848412537|p02702|0
u848412537|p02702|0
codenet
Compile Error
1,846
v2_s970471707
s970471707
s970471707
p02702
p02702
u848412537
u848412537
1,587,953,305
2020-04-27T02:08:25
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.*; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(); String text = sc.next(); int a; int count = 0; try { for (int i = 0; i < text.length...
Main.java:14: error: ';' expected a = Integer.parseInt(text.substring(i, j)) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u848412537|p02702|0
u848412537|p02702|0
codenet
Compile Error
1,881
v2_s983792047
s983792047
s983792047
p02702
p02702
u848412537
u848412537
1,587,953,463
2020-04-27T02:11:03
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.*; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(); String text = sc.next(); int a; int count = 0; for(int i = 0; i < text.length() - 4; i++) { ...
Main.java:18: error: exception IOException is never thrown in body of corresponding try statement } catch (IOException e) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u848412537|p02702|0
u848412537|p02702|0
codenet
Compile Error
1,834
v2_s769087058
s769087058
s769087058
p02702
p02702
u848412537
u848412537
1,587,953,752
2020-04-27T02:15:52
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.*; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(); String text = sc.next(); int a; int count = 0; try { for (int i = 0; i < text.lengt...
Main.java:20: error: exception IOException is never thrown in body of corresponding try statement }catch(IOException e) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u848412537|p02702|0
u848412537|p02702|0
codenet
Compile Error
1,860
v2_s569095493
s569095493
s569095493
p02702
p02702
u870981361
u870981361
1,587,951,077
2020-04-27T01:31:17
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 L = String.valueOf(A).length(); String S = A.toString(); Long c = 0; for (Long i=0; i < L -3; i++) { for (Long j=i+3; j < L; j++) ...
Main.java:7: error: incompatible types: int cannot be converted to Long Long L = String.valueOf(A).length(); ^ Main.java:9: error: incompatible types: int cannot be converted to Long Long c = 0; ^ Main.java:10: error: incompatible types: int cannot be conve...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u870981361|p02702|0
u870981361|p02702|0
codenet
Compile Error
494
v2_s114810000
s114810000
s114810000
p02702
p02702
u917343765
u917343765
1,587,958,367
2020-04-27T03:32:47
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String[] s = sc.next().split(""); final int REKI = 2019; long[][] ans = new long[2][REKI]; if(s.length < 4) {System.out.println(0); return;} int a = 0; for(int i = 3 ; i < s.l...
Main.java:31: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u917343765|p02702|0
u917343765|p02702|0
codenet
Compile Error
664
v2_s675210981
s675210981
s675210981
p02702
p02702
u966523195
u966523195
1,587,950,860
2020-04-27T01:27:40
Main.java
public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String s = br.readLine(); int result = 0; for (int i=0; i<s.length(); i++) { for (int j=i+1; j<=s.length(); j++) { String sb = s.subs...
Main.java:2: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:3: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in));...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u966523195|p02702|0
u966523195|p02702|0
codenet
Compile Error
675
v2_s358115708
s358115708
s358115708
p02702
p02702
u980607863
u980607863
1,587,950,359
2020-04-27T01:19:19
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next(); int len = s.length(); int ans = 0; for(int i = 0; i < len-3; i++){ for(int j = i+3; j < len ; j++){ int sub = s.substring(i,j+1).parseInt(); ...
Main.java:11: error: cannot find symbol int sub = s.substring(i,j+1).parseInt(); ^ symbol: method parseInt() location: class String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u980607863|p02702|0
u980607863|p02702|0
codenet
Compile Error
398
v2_s913509258
s913509258
s913509258
p02703
p02703
u222086507
u222086507
1,587,955,157
2020-04-27T02:39:17
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.InputMismatchException; import java.util.LinkedList; import java.util.PriorityQueue; import java.util.TreeSet; class person{ int where; int nowtime; int coin; int pointscount; int[][...
Main.java:54: error: integer number too large minmap[i] = 999999999999; ^ Main.java:75: error: <identifier> expected nextperson.getpoints[nowperson.pointscount][0] = changepoints[nowperson.where].[0]; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u222086507|p02703|0
u222086507|p02703|0
codenet
Compile Error
6,254
v2_s248758133
s248758133
s248758133
p02703
p02703
u876982823
u876982823
1,588,718,732
2020-05-05T22:45:32
Main.java
import java.util.*; public class Main { static final int MAX_S = 50*50+10; static long dp[][]; // [頂点][銀貨] 頂点で銀貨を持った状態にかかる最小時間 static PriorityQueue<Data> q = new PriorityQueue<>(); //最適としてありうる状態を全て保持しておく優先度つきキュー、時間xが小さいほど先頭 public static void main(String[] args) { Scanner sc = new Scanner(System.in); i...
Main.java:50: error: ';' expected for (int i = 1, i < n; i++) { ^ Main.java:50: error: > or ',' expected for (int i = 1, i < n; i++) { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u876982823|p02703|0
u876982823|p02703|0
codenet
Compile Error
2,736
v2_s883098665
s883098665
s883098665
p02703
p02703
u973540039
u973540039
1,587,958,107
2020-04-27T03:28:27
E.java
public final class E { static class Pair { int v, money; Pair(int v, int money) { this.v = v; this.money = money; } } static class Edge { int to, cost, dist; Edge(int to, int cost, int dist) { this.to = to; this.cost...
E.java:95: error: cannot find symbol private static void update(int v, int money, long t, long[][] time, PriorityQueue<Pair> queue) { ^ symbol: class PriorityQueue location: class E E.java:25: error: cannot find symbol final Scann...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973540039|p02703|0
u973540039|p02703|0
codenet
Compile Error
3,375
v2_s687359529
s687359529
s687359529
p02703
p02703
u980607863
u980607863
1,587,952,586
2020-04-27T01:56:26
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int ginka = sc.nextInt(); int move_time = new int[n][n]; int move_fee = new int[n][n]; int change_amount = new int[n]; int ...
Main.java:9: error: incompatible types: int[][] cannot be converted to int int move_time = new int[n][n]; ^ Main.java:10: error: incompatible types: int[][] cannot be converted to int int move_fee = new int[n][n]; ^ Main.java:11: error: incompatible types: int[] cannot be ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u980607863|p02703|0
u980607863|p02703|0
codenet
Compile Error
730
v2_s046325330
s046325330
s046325330
p02705
p02705
u001337777
u001337777
1,587,783,089
2020-04-25T02:51:29
Main.java
import java.util.* public class Main() { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); double r= scanner.nextDouble(); System.out.println(2*Math.PI*r); } }
Main.java:1: error: ';' expected import java.util.* ^ Main.java:3: error: '{' expected public class Main() { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u001337777|p02705|0
u001337777|p02705|0
codenet
Compile Error
228
v2_s599890038
s599890038
s599890038
p02705
p02705
u073599680
u073599680
1,587,388,538
2020-04-20T13:15:38
Palace.java
import java.util.Scanner; public class Palace { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int R=in.nextInt(); double result=(2*Math.PI)*R; System.out.println(result); } }
Palace.java:6: error: cannot find symbol int R=in.nextInt(); ^ symbol: variable in location: class Palace 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073599680|p02705|0
u073599680|p02705|0
codenet
Compile Error
231
v2_s284390549
s284390549
s284390549
p02705
p02705
u073599680
u073599680
1,587,388,604
2020-04-20T13:16:44
Circle.java
import java.io.*; import java.util.*; import java.lang.*; import java.math.*; public class Circle Pond { public static void main(String[] args) { Scanner in = new Scanner(System.in); int R=in.nextInt(); in.close(); double result=(2*Math.PI)*R; System.out.println(result); } }
Circle.java:5: error: '{' expected public class Circle Pond { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073599680|p02705|0
u073599680|p02705|0
codenet
Compile Error
291
v2_s893535902
s893535902
s893535902
p02705
p02705
u086888129
u086888129
1,587,345,649
2020-04-20T01:20:49
Main.java
class roundB { public static void main(String []args) { Scanner sc = new Scanner (System.in); int r= sc.nextInt(); double res=2*Math.PI*r; System.out.println(res); } }
Main.java:3: error: cannot find symbol Scanner sc = new Scanner (System.in); ^ symbol: class Scanner location: class roundB Main.java:3: error: cannot find symbol Scanner sc = new Scanner (System.in); ^ symbol: class Scanner location: class roundB 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u086888129|p02705|0
u086888129|p02705|0
codenet
Compile Error
172
v2_s947748649
s947748649
s947748649
p02705
p02705
u099460027
u099460027
1,587,479,715
2020-04-21T14:35:15
Main.java
import java.math.*; import java.util.*; public static void main(String[] args) { BigDecimal pi=new BigDecimal("3.14159265359"); Scanner sc = new Scanner(System.in); BigDecimal m = sc.nextBigDecimal(); System.out.println(m.multiply(pi).multiply(new BigDecimal(2))); }
Main.java:4: 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
u099460027|p02705|0
u099460027|p02705|0
codenet
Compile Error
306
v2_s637992142
s637992142
s637992142
p02705
p02705
u099910634
u099910634
1,587,344,650
2020-04-20T01:04:10
Main.java
/*package whatever //do not write package name here */ import java.io.*; public class Main { public static void main (String[] args) { Scanner s=new Scanner(System.in); int r=s.nextInt(); System.out.println(2*3.14285714*r); } }
Main.java:7: error: cannot find symbol Scanner s=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:7: error: cannot find symbol Scanner s=new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u099910634|p02705|0
u099910634|p02705|0
codenet
Compile Error
243
v2_s391332639
s391332639
s391332639
p02705
p02705
u099910634
u099910634
1,587,344,958
2020-04-20T01:09:18
Main.java
/*package whatever //do not write package name here */ import java.io.*; import java.util.*; public class Main { public static void main (String[] args) { Scanner s=new Scanner(System.in); int n=s.nextInt(); System.out.println(2*3.14285714*r); } }
Main.java:11: error: cannot find symbol System.out.println(2*3.14285714*r); ^ symbol: variable r location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u099910634|p02705|0
u099910634|p02705|0
codenet
Compile Error
264
v2_s097356747
s097356747
s097356747
p02705
p02705
u112714855
u112714855
1,587,397,861
2020-04-20T15:51:01
Main.java
public class Main{ Scanner in = new Scanner(System.in); double PI = 2 * Math.acos(0.0); public static void main(String []args){ int r = in.nextInt(); System.out.println(2 * PI * r); } }
Main.java:2: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:2: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: non-static variable i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u112714855|p02705|0
u112714855|p02705|0
codenet
Compile Error
201
v2_s015482258
s015482258
s015482258
p02705
p02705
u112714855
u112714855
1,587,397,943
2020-04-20T15:52:23
Main.java
import java.util.*; public class Main{ Scanner in = new Scanner(System.in); double PI = 2 * Math.acos(0.0); public static void main(String []args){ int r = in.nextInt(); System.out.println(2 * PI * r); } }
Main.java:6: error: non-static variable in cannot be referenced from a static context int r = in.nextInt(); ^ Main.java:7: error: non-static variable PI cannot be referenced from a static context System.out.println(2 * PI * r); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u112714855|p02705|0
u112714855|p02705|0
codenet
Compile Error
248
v2_s977752826
s977752826
s977752826
p02705
p02705
u121141596
u121141596
1,587,345,206
2020-04-20T01:13:26
main.java
public class main { static int R; static double L; public static void main(String args[]){ Scanner scanner =new Scanner(System.in); R=scanner.nextInt(); L=R*2*3.14; System.out.println(L); } }
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 Scanner scanner =new Scanner(System.in); ^ symbol: class Scanner location: class main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u121141596|p02705|0
u121141596|p02705|0
codenet
Compile Error
204
v2_s296192957
s296192957
s296192957
p02705
p02705
u121141596
u121141596
1,587,345,278
2020-04-20T01:14:38
Main.java
static int R; static double L; public static void main(String args[]){ Scanner scanner =new Scanner(System.in); System.out.println("R"); R=scanner.nextInt(); L=R*2*3.14; System.out.println(L); }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. static int R; ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u121141596|p02705|0
u121141596|p02705|0
codenet
Compile Error
209
v2_s959789025
s959789025
s959789025
p02705
p02705
u121141596
u121141596
1,587,947,191
2020-04-27T00:26:31
Main.java
int R; double L; Scanner scanner =new Scanner(System.in); R=scanner.nextInt(); L=R*2*Math.PI; System.out.printf(L);
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. int R; ^ (use --enable-preview to enable unnamed classes) Main.java:4: error: class, interface, enum, or record expected R=scanner.nextInt(); ^ Main.java:5: error: class, interface, enum, or record expected L=R*2*Math.PI; ^ Main.ja...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u121141596|p02705|1
u121141596|p02705|1
codenet
Compile Error
115
v2_s394611074
s394611074
s394611074
p02705
p02705
u167842951
u167842951
1,587,349,326
2020-04-20T02:22:06
MAin.java
import java.util.Scanner; public class MAin { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = 0L; int x = sc.nextInt(); a = Math.PI * x; System.out.println(a); } }
MAin.java:8: error: incompatible types: possible lossy conversion from double to long a = Math.PI * x; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u167842951|p02705|0
u167842951|p02705|0
codenet
Compile Error
251
v2_s112447342
s112447342
s112447342
p02705
p02705
u167842951
u167842951
1,587,349,393
2020-04-20T02:23:13
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = 0L; int x = sc.nextInt(); a = Math.PI *(double) x; System.out.println(a); } }
Main.java:8: error: incompatible types: possible lossy conversion from double to long a = Math.PI *(double) x; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u167842951|p02705|0
u167842951|p02705|0
codenet
Compile Error
259
v2_s948415622
s948415622
s948415622
p02705
p02705
u168185645
u168185645
1,587,520,825
2020-04-22T02:00:25
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.print("R:" ); int R = s.nextDouble(); double pai = 3.141592; double L = 2*pai*R; System.out.println(L); } }
Main.java:6: error: incompatible types: possible lossy conversion from double to int int R = s.nextDouble(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u168185645|p02705|0
u168185645|p02705|0
codenet
Compile Error
263
v2_s281168818
s281168818
s281168818
p02705
p02705
u168185645
u168185645
1,587,520,976
2020-04-22T02:02:56
Main.java
class Main{ public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.print("R:" ); int R = s.nextDouble(); double pai = 3.141592; double L = 2*pai*R; System.out.println(L); }
Main.java:11: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u168185645|p02705|0
u168185645|p02705|0
codenet
Compile Error
237
v2_s644357486
s644357486
s644357486
p02705
p02705
u168185645
u168185645
1,587,521,073
2020-04-22T02:04:33
Main.java
import java.util.*; class Main{ public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.print("R:" ); int R = s.nextDouble(); double pai = 3.141592; double L = 2*pai*R; System.out.println(L); } }
Main.java:6: error: incompatible types: possible lossy conversion from double to int int R = s.nextDouble(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u168185645|p02705|0
u168185645|p02705|0
codenet
Compile Error
257
v2_s656178484
s656178484
s656178484
p02705
p02705
u168185645
u168185645
1,587,521,235
2020-04-22T02:07:15
Main.java
import java.util.Scanner; class Contesta{ public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.println"(R:"); int R = s.nextDouble(); double pai = 3.141592; double L = 2*pai*R; System.out.println(L); } }
Main.java:5: error: not a statement System.out.println"(R:"); ^ Main.java:5: error: ';' expected System.out.println"(R:"); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u168185645|p02705|0
u168185645|p02705|0
codenet
Compile Error
271
v2_s979630379
s979630379
s979630379
p02705
p02705
u168185645
u168185645
1,587,521,285
2020-04-22T02:08:05
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.println("R:"); int R = s.nextDouble(); double pai = 3.141592; double L = 2*pai*R; System.out.println(L); } }
Main.java:6: error: incompatible types: possible lossy conversion from double to int int R = s.nextDouble(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u168185645|p02705|0
u168185645|p02705|0
codenet
Compile Error
267
v2_s375984292
s375984292
s375984292
p02705
p02705
u187491596
u187491596
1,587,346,999
2020-04-20T01:43:19
Main.java
import java.util.Scanner; public class Main { public static void main() { Scanner sc = new Scanner(System.in); int R = sc.nextInt(); double circumference; double PI = 3.14159265 circumference = 2 * PI * R; System.out.println(circumference); } }
Main.java:8: error: ';' expected double PI = 3.14159265 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u187491596|p02705|0
u187491596|p02705|0
codenet
Compile Error
305
v2_s429854087
s429854087
s429854087
p02705
p02705
u187491596
u187491596
1,587,347,074
2020-04-20T01:44:34
Main.java
public static void main() { Scanner sc = new Scanner(System.in); int R = sc.nextInt(); double circumference; double PI = 3.14159265; circumference = 2 * PI * R; System.out.println(circumference); }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main() { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u187491596|p02705|0
u187491596|p02705|0
codenet
Compile Error
250
v2_s038675413
s038675413
s038675413
p02705
p02705
u199120400
u199120400
1,588,568,721
2020-05-04T05:05:21
Main.java
import math print(input()*(math.pi)
Main.java:1: error: '.' expected import math ^ Main.java:3: error: ';' expected print(input()*(math.pi) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u199120400|p02705|0
u199120400|p02705|0
codenet
Compile Error
36
v2_s508028876
s508028876
s508028876
p02705
p02705
u199120400
u199120400
1,588,569,042
2020-05-04T05:10:42
Main.java
import math print(input()*(math.pi))
Main.java:1: error: '.' expected import math ^ Main.java:3: error: ';' expected print(input()*(math.pi)) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u199120400|p02705|0
u199120400|p02705|0
codenet
Compile Error
38
v2_s133059659
s133059659
s133059659
p02705
p02705
u199120400
u199120400
1,588,569,070
2020-05-04T05:11:10
Main.java
import math print(2*input()*(math.pi))
Main.java:1: error: '.' expected import math ^ Main.java:3: error: ';' expected print(2*input()*(math.pi)) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u199120400|p02705|0
u199120400|p02705|0
codenet
Compile Error
40
v2_s965682433
s965682433
s965682433
p02705
p02705
u199120400
u199120400
1,588,569,633
2020-05-04T05:20:33
Main.java
import math x = input() # 円の周を計算する def circle_round(radius): return 2 * math.pi * radius if __name__ == '__main__': print(circle_round(int(x)))
Main.java:1: error: '.' expected import math ^ Main.java:2: error: ';' expected x = input() ^ Main.java:4: error: illegal character: '#' # ???????? ^ Main.java:8: error: unclosed character literal if __name__ == '__main__': ^ Main.java:8: error: unclosed character literal if __name__ == '__ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u199120400|p02705|0
u199120400|p02705|0
codenet
Compile Error
165
v2_s019496845
s019496845
s019496845
p02705
p02705
u201966856
u201966856
1,591,129,565
2020-06-02T20:26:05
Main.java
public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scanner = new Scanner(System.in); double R = scanner.nextDouble(); double answer = 2 * R * Math.PI; System.out.println(answer); scanner.close(); } }
Main.java:6: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u201966856|p02705|0
u201966856|p02705|0
codenet
Compile Error
292
v2_s920298791
s920298791
s920298791
p02705
p02705
u201966856
u201966856
1,591,129,883
2020-06-02T20:31:23
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scanner = new Scanner(System.in); double R = scanner.nextDouble(); double answer = 2 * R * Math.PI; System.out.println(answer); scanner.close(); }
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u201966856|p02705|0
u201966856|p02705|0
codenet
Compile Error
317
v2_s615624841
s615624841
s615624841
p02705
p02705
u224480989
u224480989
1,587,348,469
2020-04-20T02:07:49
Main.java
import java.util.Scanner; public static void main(String[]args){ final double PI = 3.141592; Scanner stdIn = new Scanner(System.in); double r = stdIn.nextDouble();//半径 System.out.println(2 * PI * r ); }
Main.java:4: 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
u224480989|p02705|0
u224480989|p02705|0
codenet
Compile Error
219
v2_s646663856
s646663856
s646663856
p02705
p02705
u243078991
u243078991
1,587,346,657
2020-04-20T01:37:37
Main.java
public class Main { static double circumference(double r){ double PI = 3.1415926535897932384626433832795; double cir = 2*PI*r; return cir; } public static void main (String[] args) { Scanner scanner = new Scanner(System.in); double r = scanner.nextDouble(); d...
Main.java:9: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:9: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u243078991|p02705|0
u243078991|p02705|0
codenet
Compile Error
448
v2_s926593796
s926593796
s926593796
p02705
p02705
u243078991
u243078991
1,587,348,040
2020-04-20T02:00:40
Main.java
import java.util.Scanner; public class { static Scanner sc = new Scanner(System.in); public static void main(String args[]) { System.out.print("Enter the radius: "); double radius = sc.nextDouble(); double area = Math.PI * (radius * radius); System.out.println("The area of circle is: " ...
Main.java:2: error: <identifier> expected public class ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u243078991|p02705|0
u243078991|p02705|0
codenet
Compile Error
464
v2_s574785552
s574785552
s574785552
p02705
p02705
u274506907
u274506907
1,588,202,160
2020-04-29T23:16:00
Main.java
import java.util.*; import java.io.*; import static java.lang.Math.*; class Main { FastIO sc; int n; int[] dp; int M = 1000000007; void solve() throws Exception { int n = sc.nextInt(); System.out.println(2*Math.PI*n); } void run() { try { sc = new FastI...
Main.java:32: error: cannot find symbol new Test().run(); ^ symbol: class Test location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u274506907|p02705|0
u274506907|p02705|0
codenet
Compile Error
2,663
v2_s092574643
s092574643
s092574643
p02705
p02705
u296383300
u296383300
1,591,718,246
2020-06-09T15:57:26
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 m = sc.nextInt(); int a =0; for(int i=0; i<m; i++){ a += sc.nextInt(); } if(n>=a){ System.out.pr...
Main.java:15: error: unclosed character literal System.out.println('-1'); ^ Main.java:15: error: unclosed character literal System.out.println('-1'); ^ Main.java:18: error: class, interface, enum, or record expected } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u296383300|p02705|1
u296383300|p02705|1
codenet
Compile Error
391
v2_s381897030
s381897030
s381897030
p02705
p02705
u361780214
u361780214
1,587,344,678
2020-04-20T01:04:38
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int r = input.nextInt(); System.out.println(2 * Math.PI * r); } }
Main.java:5: error: cannot find symbol int r = input.nextInt(); ^ symbol: variable input location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u361780214|p02705|0
u361780214|p02705|0
codenet
Compile Error
207
v2_s877577944
s877577944
s877577944
p02705
p02705
u378454744
u378454744
1,587,344,669
2020-04-20T01:04:29
Main.java
public class Main { public static void main(String[] args){ double PI = 3.1415; Scanner scan = new Scanner(System.in); String str = scan.nextLine(); int input = Integer.parseInt(str); System.out.println(Math.PI*input*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
u378454744|p02705|0
u378454744|p02705|0
codenet
Compile Error
272