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_s726328934
s726328934
s726328934
p02807
p02807
u521293705
u521293705
1,579,273,737
2020-01-17T15:08:57
Main.java
import java.io.*; import java.util.*; class Main{ final static long MOD = 1000000007; FastScanner sc = new FastScanner(); Set<Integer> set = new HashSet<>(); public static void main(String[] args) { new Main().solve(); } void solve(){ int n = sc.nextInt(); long[] p =...
Main.java:42: error: incompatible types: possible lossy conversion from long to int return n * factorial(n-1) % MOD; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u521293705|p02807|1
u521293705|p02807|1
codenet
Compile Error
4,663
v2_s247323786
s247323786
s247323786
p02807
p02807
u526355529
u526355529
1,578,797,992
2020-01-12T02:59: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(); int[] x = new int[n]; // スペース区切りの入力 for ( int i=0; i<n; i++ ) { x[i] = sc.nextInt(); } int[] d = new int[n-1]; for ( int i=0; i<n-1; i++ ) { d[i] ...
Main.java:32: error: cannot find symbol private static BigInteger fct(int p){ ^ symbol: class BigInteger location: class Main Main.java:18: error: cannot find symbol BigInteger t = new BigInteger(0); ^ symbol: class BigInteger location: class Main Main.java:18: error: cannot find symbol...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u526355529|p02807|0
u526355529|p02807|0
codenet
Compile Error
777
v2_s320342448
s320342448
s320342448
p02807
p02807
u981808900
u981808900
1,578,792,632
2020-01-12T01:30:32
Main.java
import java.io.BufferedInputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.StringJoiner; import java.util.function.IntUnaryOperator; import java.util.function.LongUnaryOperator; import static com.yu212.Utils.println; class Main { static In in = new In(); static Out out = new ...
Main.java:8: error: package com.yu212 does not exist import static com.yu212.Utils.println; ^ Main.java:8: error: static import only from classes and interfaces import static com.yu212.Utils.println; ^ Main.java:37: error: cannot find symbol println(i, temp, fac[i], fac[n - i]); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p02807|0
u981808900|p02807|0
codenet
Compile Error
3,789
v2_s458118799
s458118799
s458118799
p02807
p02807
u981808900
u981808900
1,578,794,156
2020-01-12T01:55:56
Main.java
import java.io.BufferedInputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.StringJoiner; import java.util.function.IntUnaryOperator; import java.util.function.LongUnaryOperator; import static com.yu212.Utils.println; class Main { static In in = new In(); static Out out = new ...
Main.java:8: error: package com.yu212 does not exist import static com.yu212.Utils.println; ^ Main.java:8: error: static import only from classes and interfaces import static com.yu212.Utils.println; ^ Main.java:37: error: cannot find symbol println(i, temp, fac[i], fac[n - i]); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p02807|0
u981808900|p02807|0
codenet
Compile Error
3,789
v2_s860930162
s860930162
s860930162
p02810
p02810
u200215998
u200215998
1,578,879,792
2020-01-13T01:43:12
Main.java
// >>> TEMPLATES #include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; #define int ll #define double ld #define rep(i,n) for (int i = 0; i < (int)(n); i++) #define rep1(i,n) for (int i = 1; i <= (int)(n); i++) #define repR(i,n) for (int i = (int)(n)-1; i >= 0; i--) #define rep1R(i,...
Main.java:2: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:2: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. using ll = long long; ^ (use --enable-preview to enable unname...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u200215998|p02810|0
u200215998|p02810|0
codenet
Compile Error
6,448
v2_s024840153
s024840153
s024840153
p02811
p02811
u008863082
u008863082
1,578,714,011
2020-01-11T03:40:11
Main.java
import java.util.Scanner; public class Main { public static void main (String[] args) { Scanner scan = new Scanner(System.in); int length = Integer.parseInt(scan.nextLine()); String strA = scan.nextLine(); String strB = scan.nextLine(); int cntA = count(strA, length); int cntB = count(...
Main.java:35: error: ')' expected if (strList.get(1) > strList.get(0) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u008863082|p02811|0
u008863082|p02811|0
codenet
Compile Error
1,664
v2_s432284741
s432284741
s432284741
p02811
p02811
u016753669
u016753669
1,578,709,933
2020-01-11T02:32:13
Main.java
[K, Z] = [int(x) in input().split()] if K * 500 >= X: print('Yes') else: print('No')
Main.java:1: error: class, interface, enum, or record expected [K, Z] = [int(x) in input().split()] ^ Main.java:3: error: unclosed character literal print('Yes') ^ Main.java:3: error: unclosed character literal print('Yes') ^ Main.java:5: error: unclosed character literal print('No')...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u016753669|p02811|0
u016753669|p02811|0
codenet
Compile Error
92
v2_s881317046
s881317046
s881317046
p02811
p02811
u045289115
u045289115
1,579,911,717
2020-01-25T00:21:57
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int K = sc.nextInt(), X = sc.nextInt(); System.out.println((500 * K >= X) "Yes" : "No"); } }
Main.java:7: error: ')' or ',' expected System.out.println((500 * K >= X) "Yes" : "No"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u045289115|p02811|0
u045289115|p02811|0
codenet
Compile Error
228
v2_s331008431
s331008431
s331008431
p02811
p02811
u062736195
u062736195
1,582,049,379
2020-02-18T18:09:39
Main.java
import java.util.Scanner; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int X = sc.nextInt(); if(k * 500 >= X) System.out.println("Yes"); else System.out.println("No"); } }
Main.java:8: error: cannot find symbol if(k * 500 >= X) System.out.println("Yes"); ^ symbol: variable k location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p02811|0
u062736195|p02811|0
codenet
Compile Error
291
v2_s363197110
s363197110
s363197110
p02811
p02811
u062736195
u062736195
1,582,051,974
2020-02-18T18:52:54
Main.java
import java.util.Scanner; import java.util.Arrays; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] P = new int[N]; int[] Ps = new int[N]; int[] Q = new int[N]; int[] Qs = new int[N]; int a = 0; int b = 0; ...
Main.java:29: error: incompatible types: int cannot be converted to boolean if(searchNumber = Ps[i]){ ^ Main.java:43: error: incompatible types: int cannot be converted to boolean if(searchNumber = Qs[i]){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p02811|0
u062736195|p02811|0
codenet
Compile Error
1,127
v2_s894657604
s894657604
s894657604
p02811
p02811
u062736195
u062736195
1,582,054,973
2020-02-18T19:42:53
Main.java
import java.util.Scanner; import java.util.Arrays; import java.util.List; import java.util.ArrayList; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); List<Integer> P = new ArrayList<Integer>(); List<Integer> Q = new ArrayList<Inte...
Main.java:25: error: no suitable method found for sort(List<Integer>) Arrays.sort(Ps); ^ method Arrays.sort(int[]) is not applicable (argument mismatch; List<Integer> cannot be converted to int[]) method Arrays.sort(long[]) is not applicable (argument mismatch; List<Integer> cannot be ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p02811|0
u062736195|p02811|0
codenet
Compile Error
1,511
v2_s964087520
s964087520
s964087520
p02811
p02811
u062736195
u062736195
1,582,069,358
2020-02-18T23:42:38
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(); long M = sc.nextLong(); long[] A = new long[N]; long num1 = 0; long num2 = 0; long swap = 0; long r = 0; for(int i=0; i<N; i++){ A[i] =s...
Main.java:19: error: cannot find symbol a = max; ^ symbol: variable a location: class Main Main.java:20: error: cannot find symbol b = A[i]; ^ symbol: variable b location: class Main Main.java:21: error: cannot find symbol x = a * b; ^ symbol: variable x location: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p02811|1
u062736195|p02811|0
codenet
Compile Error
780
v2_s135101550
s135101550
s135101550
p02811
p02811
u062736195
u062736195
1,582,069,416
2020-02-18T23:43:36
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(); long M = sc.nextLong(); long[] A = new long[N]; long a = 0; long b = 0; long swap = 0; long r = 0; long x = 0; for(int i=0; i<N; i++){ ...
Main.java:34: error: incompatible types: possible lossy conversion from long to int int ans = M / max + 1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p02811|1
u062736195|p02811|0
codenet
Compile Error
790
v2_s175187700
s175187700
s175187700
p02811
p02811
u073606136
u073606136
1,587,874,761
2020-04-26T04:19:21
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int sum = sc.next(); if(num * 500 >= sum) { System.out.println("Yes"); } else { System.out.println("N...
Main.java:7: error: incompatible types: String cannot be converted to int int sum = sc.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p02811|0
u073606136|p02811|0
codenet
Compile Error
352
v2_s815150149
s815150149
s815150149
p02811
p02811
u154898295
u154898295
1,583,448,593
2020-03-05T22:49:53
Main.java
import java.util.* public class Main{ public static void main(String[] args){ Scanner scanner=new Scanner(System.in); int k=scanner.nextInt(); int x=scanner.nextInt(); System.out.println(k*500>=x?"Yes":"No"); } }
Main.java:1: error: ';' expected import java.util.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u154898295|p02811|0
u154898295|p02811|0
codenet
Compile Error
243
v2_s781463762
s781463762
s781463762
p02811
p02811
u154898295
u154898295
1,583,448,713
2020-03-05T22:51:53
Main.java
import java.util.* public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int k=sc.nextInt(); int x=sc.nestInt(); System.out.println(k*500>=x?"Yes":"No");}}
Main.java:1: error: ';' expected import java.util.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u154898295|p02811|0
u154898295|p02811|0
codenet
Compile Error
222
v2_s784091162
s784091162
s784091162
p02811
p02811
u155138322
u155138322
1,584,033,577
2020-03-12T17:19:37
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num1 = sc.nextInt(); int num2 = sc.nextInt(); if(500*num1 ≧ num2){ System.out.println("Yes"); } else{ System.out.println("No"); } } }
Main.java:7: error: illegal character: '\u2267' if(500*num1 ? num2){ ^ Main.java:7: error: not a statement if(500*num1 ? num2){ ^ Main.java:7: error: ';' expected if(500*num1 ? num2){ ^ Main.java:9: error: 'else' without 'if' } else{ ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u155138322|p02811|0
u155138322|p02811|0
codenet
Compile Error
281
v2_s460338351
s460338351
s460338351
p02811
p02811
u166807268
u166807268
1,578,708,935
2020-01-11T02:15:35
Main.java
public static void main(String[] args) { Scanner input = new Scanner(System.in); int K = input.nextInt(); int X = input.nextInt(); if(K*500>=X) System.out.println("Yes"); else System.out.println("No"); }
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
u166807268|p02811|0
u166807268|p02811|0
codenet
Compile Error
275
v2_s040032628
s040032628
s040032628
p02811
p02811
u166807268
u166807268
1,578,709,003
2020-01-11T02:16:43
Main.java
public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); int K = input.nextInt(); int X = input.nextInt(); if(K*500>=X) System.out.println("Yes"); else System.out.println("No"); } }
Main.java:4: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u166807268|p02811|0
u166807268|p02811|0
codenet
Compile Error
301
v2_s280349813
s280349813
s280349813
p02811
p02811
u291133005
u291133005
1,580,055,697
2020-01-26T16:21:37
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(); ABC150A abc124A = new ABC150A(); System.out.println(abc124A.solve(A, B)); } public String solve(int k, int x){ return 50...
Main.java:8: error: cannot find symbol ABC150A abc124A = new ABC150A(); ^ symbol: class ABC150A location: class Main Main.java:8: error: cannot find symbol ABC150A abc124A = new ABC150A(); ^ symbol: class ABC150A location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u291133005|p02811|0
u291133005|p02811|0
codenet
Compile Error
353
v2_s942212308
s942212308
s942212308
p02811
p02811
u305758815
u305758815
1,583,614,701
2020-03-07T20:58:21
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = Integer.parseInt(sc.next); int y = Integer.parseInt(sc.next); if ( x * 500 > y) System.out.println("YES"); else System.out.println("NO"); } }
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
u305758815|p02811|0
u305758815|p02811|0
codenet
Compile Error
277
v2_s572614205
s572614205
s572614205
p02811
p02811
u305758815
u305758815
1,583,614,770
2020-03-07T20:59:30
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = Integer.parseInt(sc.next); int y = Integer.parseInt(sc.next); if ( x * 500 > y) System.out.println("YES"); else System.out.println("NO"); } }
Main.java:5: error: cannot find symbol int x = Integer.parseInt(sc.next); ^ symbol: variable next location: variable sc of type Scanner Main.java:6: error: cannot find symbol int y = Integer.parseInt(sc.next); ^ symbol: variable next ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u305758815|p02811|0
u305758815|p02811|0
codenet
Compile Error
297
v2_s668079951
s668079951
s668079951
p02811
p02811
u313238134
u313238134
1,578,708,720
2020-01-11T02:12:00
Main.java
k, x = [int(a) for a in input().split()] if k * 500 >= x: print('Yes') else: print('No')
Main.java:1: error: class, interface, enum, or record expected k, x = [int(a) for a in input().split()] ^ Main.java:3: error: unclosed character literal print('Yes') ^ Main.java:3: error: unclosed character literal print('Yes') ^ Main.java:5: error: unclosed character literal print('...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u313238134|p02811|0
u313238134|p02811|0
codenet
Compile Error
96
v2_s923742520
s923742520
s923742520
p02811
p02811
u360153728
u360153728
1,586,577,286
2020-04-11T03:54:46
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.math.BigInteger; import java.util.*; public class Main { static long MOD = 1_000_000_007; static int INF = 1_000_000_007; //static long INF = Long.MAX_VALUE; //二項係数関連ここから----- static boolean isPreprocessing = fals...
Main.java:68: error: cannot find symbol if(visit_cnt == N){ ^ symbol: variable N location: class Main Main.java:69: error: cannot find symbol ans++; ^ symbol: variable ans location: class Main Main.java:74: error: cannot find symbol if(visited[to])continue; ^ symbol: v...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u360153728|p02811|0
u360153728|p02811|0
codenet
Compile Error
14,720
v2_s328754819
s328754819
s328754819
p02811
p02811
u363962679
u363962679
1,578,712,960
2020-01-11T03:22:40
Main.java
import java.util.*; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int s=sc.nextInt(); int ss=sc.nextInt(); if(s*500){ System.out.print("yes") ; } else{ System.out.print("no") ; } } }
Main.java:9: error: incompatible types: int cannot be converted to boolean if(s*500){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u363962679|p02811|0
u363962679|p02811|0
codenet
Compile Error
336
v2_s738598454
s738598454
s738598454
p02811
p02811
u403519522
u403519522
1,592,190,862
2020-06-15T03:14:22
Main.java
public static void main(String[] args){ if(K * 500 >= X){ System.out.println("Yes"); }else{ System.out.println("No"); } }
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
u403519522|p02811|0
u403519522|p02811|0
codenet
Compile Error
121
v2_s980977345
s980977345
s980977345
p02811
p02811
u407795516
u407795516
1,587,941,754
2020-04-26T22:55:54
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int K = scanner.nextInt(); long X = scanner.nextLong(); int sum = 500*K; if(sum >= x){ System.out.println("Yes"); }else{ System.out....
Main.java:13: error: cannot find symbol if(sum >= x){ ^ symbol: variable x location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u407795516|p02811|0
u407795516|p02811|0
codenet
Compile Error
364
v2_s698904368
s698904368
s698904368
p02811
p02811
u411318935
u411318935
1,588,711,658
2020-05-05T20:47:38
Main.java
import java.util.*; public class Main { public statoic void main(String args[]) { Scanner in=new Scanner(System.in); long k,x; k=in.nextLong(); x=in.nextLong(); if((k*500)>=x) { System.out.println("YES"); } else { System.out.println("NO"); } } }
Main.java:4: error: <identifier> expected public statoic void main(String args[]) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u411318935|p02811|0
u411318935|p02811|0
codenet
Compile Error
304
v2_s256567120
s256567120
s256567120
p02811
p02811
u411318935
u411318935
1,588,711,719
2020-05-05T20:48:39
Main.java
import java.util.*; public class Main { public statoic void main(String args[]) { Scanner in=new Scanner(System.in); long k,x; k=in.nextLong(); x=in.nextLong(); if((k*500)>=x) { System.out.println("YES"); } else { System.out.println("NO"); } } } import java.util...
Main.java:4: error: <identifier> expected public statoic void main(String args[]) ^ Main.java:20: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:39: error: class, interface, enum, or record expected Submission Info ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u411318935|p02811|0
u411318935|p02811|0
codenet
Compile Error
638
v2_s529465178
s529465178
s529465178
p02811
p02811
u411318935
u411318935
1,588,711,766
2020-05-05T20:49:26
Main.java
import java.util.*; public class Main { public statoic void main(String args[]) { Scanner in=new Scanner(System.in); long k,x; k=in.nextLong(); x=in.nextLong(); if((k*500)>=x) { System.out.println("YES"); } else { System.out.println("NO"); } } } import java.util...
Main.java:4: error: <identifier> expected public statoic void main(String args[]) ^ Main.java:20: error: class, interface, enum, or record expected import java.util.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u411318935|p02811|0
u411318935|p02811|0
codenet
Compile Error
606
v2_s888758631
s888758631
s888758631
p02811
p02811
u411318935
u411318935
1,588,712,129
2020-05-05T20:55:29
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner in=new Scanner(System.in); long k,x; k=in.nextLong(); x=in.nextLong(); if((k*500)>=x) { System.out.println("YES"): } else { System.out.println("NO"); } } }
Main.java:12: error: ';' expected System.out.println("YES"): ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u411318935|p02811|0
u411318935|p02811|0
codenet
Compile Error
302
v2_s848222377
s848222377
s848222377
p02811
p02811
u414988062
u414988062
1,578,741,677
2020-01-11T11:21:17
Main.java
return K*500>=X;
Main.java:1: error: class, interface, enum, or record expected return K*500>=X; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u414988062|p02811|0
u414988062|p02811|0
codenet
Compile Error
16
v2_s176461375
s176461375
s176461375
p02811
p02811
u469852021
u469852021
1,578,708,552
2020-01-11T02:09:12
Main.java
import java.util.*; public class Main { public static void main(String[] args ){ Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int X = sc.nextInt(); if(K>=X){ System.out.printnln("Yes"); } else{ System.out.printnln("No"); } } }
Main.java:10: error: cannot find symbol System.out.printnln("Yes"); ^ symbol: method printnln(String) location: variable out of type PrintStream Main.java:13: error: cannot find symbol System.out.printnln("No"); ^ symbol: method printnln(String) location: variable...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u469852021|p02811|0
u469852021|p02811|0
codenet
Compile Error
290
v2_s567421758
s567421758
s567421758
p02811
p02811
u520480375
u520480375
1,590,451,071
2020-05-25T23:57:51
Main.java
import java.uti.*; class Main { public static void main(String[] args) { Scnner sc = new Scanner(System.in); int fiveCoins = sc.nextInt(); int n = sc.nextInt(); if (500 * fiveCoins >= n) { System.out.println("Yes"); } else { System.out.println("No"); } } }
Main.java:1: error: package java.uti does not exist import java.uti.*; ^ Main.java:7: error: cannot find symbol Scnner sc = new Scanner(System.in); ^ symbol: class Scnner location: class Main Main.java:7: error: cannot find symbol Scnner sc = new Scanner(System.in); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u520480375|p02811|1
u520480375|p02811|1
codenet
Compile Error
309
v2_s312896720
s312896720
s312896720
p02811
p02811
u532252958
u532252958
1,592,636,931
2020-06-20T07:08:51
greateroftwo.java
package collection; import java.util.*; public class greateroftwo { public static void main(String[]args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number you want"); int num1 = sc.nextInt(); int num2 = sc.nextInt(); if (num1* 500>num2) { System.out.println("Ye...
greateroftwo.java:13: error: ';' expected System.out.println("Yes") ^ greateroftwo.java:18: error: ';' expected System.out.println("No") ^ greateroftwo.java:19: error: reached end of file while parsing } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532252958|p02811|0
u532252958|p02811|0
codenet
Compile Error
402
v2_s711022322
s711022322
s711022322
p02811
p02811
u536564370
u536564370
1,598,402,349
2020-08-26T00:39:09
Main.java
import java.util.*; class Main{ public static void main(String[] args){ int x = 0; Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String S = sc.nextLine(); for(int i = 0; i <= (N - 2); i++){ if( S.charAt(i) = "a" && S.charAt(i) = "b"){ if(S.charAt(i) = "c"){ ...
Main.java:10: error: unexpected type if( S.charAt(i) = "a" && S.charAt(i) = "b"){ ^ required: variable found: value Main.java:10: error: bad operand types for binary operator '&&' if( S.charAt(i) = "a" && S.charAt(i) = "b"){ ^ first type: String second t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p02811|0
u536564370|p02811|0
codenet
Compile Error
398
v2_s292200957
s292200957
s292200957
p02811
p02811
u536564370
u536564370
1,598,402,485
2020-08-26T00:41:25
Main.java
import java.util.*; class Main{ public static void main(String[] args){ int x = 0; Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String S = sc.nextLine(); for(int i = 0; i <= (N - 2); i++){ if( S.charAt(i).equals(a) && S.charAt(i).equals(b)){ if(S.charAt(i).equals(c)...
Main.java:11: error: ')' expected if(S.charAt(i).equals(c){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p02811|0
u536564370|p02811|0
codenet
Compile Error
409
v2_s374555624
s374555624
s374555624
p02811
p02811
u536564370
u536564370
1,598,402,510
2020-08-26T00:41:50
Main.java
import java.util.*; class Main{ public static void main(String[] args){ int x = 0; Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String S = sc.nextLine(); for(int i = 0; i <= (N - 2); i++){ if( S.charAt(i).equals(a) && S.charAt(i).equals(b)){ if(S.charAt(i).equals(c)...
Main.java:10: error: cannot find symbol if( S.charAt(i).equals(a) && S.charAt(i).equals(b)){ ^ symbol: variable a location: class Main Main.java:10: error: char cannot be dereferenced if( S.charAt(i).equals(a) && S.charAt(i).equals(b)){ ^ Main.java:10: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p02811|0
u536564370|p02811|0
codenet
Compile Error
410
v2_s215014125
s215014125
s215014125
p02811
p02811
u536564370
u536564370
1,598,402,636
2020-08-26T00:43:56
Main.java
import java.util.*; class Main{ public static void main(String[] args){ int x = 0; Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String S = sc.nextLine(); for(int i = 0; i <= (N - 2); i++){ if( S.charAt(i).equals("a") && S.charAt(i).equals("b")){ if(S.charAt(i).equal...
Main.java:10: error: char cannot be dereferenced if( S.charAt(i).equals("a") && S.charAt(i).equals("b")){ ^ Main.java:10: error: char cannot be dereferenced if( S.charAt(i).equals("a") && S.charAt(i).equals("b")){ ^ Main.java:11: error: char c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p02811|0
u536564370|p02811|0
codenet
Compile Error
416
v2_s672651481
s672651481
s672651481
p02811
p02811
u553551165
u553551165
1,578,708,623
2020-01-11T02:10:23
Yen.java
public class Yen { public static void main(String[] args) { if (k<k+x){ System.out.println("yes"); } else { System.out.println("no"); } } }
Yen.java:3: error: cannot find symbol if (k<k+x){ ^ symbol: variable k location: class Yen Yen.java:3: error: cannot find symbol if (k<k+x){ ^ symbol: variable k location: class Yen Yen.java:3: error: cannot find symbol if (k<k+x){ ^ symbol...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u553551165|p02811|0
u553551165|p02811|0
codenet
Compile Error
212
v2_s434174653
s434174653
s434174653
p02811
p02811
u553551165
u553551165
1,578,708,761
2020-01-11T02:12:41
Yen.java
public class Yen { public static void main(String[] args) { if (500*K>=X){ System.out.println("yes"); } else { System.out.println("no"); } } }
Yen.java:3: error: cannot find symbol if (500*K>=X){ ^ symbol: variable K location: class Yen Yen.java:3: error: cannot find symbol if (500*K>=X){ ^ symbol: variable X location: class Yen 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u553551165|p02811|0
u553551165|p02811|0
codenet
Compile Error
215
v2_s988941658
s988941658
s988941658
p02811
p02811
u553551165
u553551165
1,578,709,455
2020-01-11T02:24:15
Main.java
public class Main { public static void main(String[] args) { if (500*K>=X){ System.out.println("Yes"); } else { System.out.println("No"); } } }
Main.java:3: error: cannot find symbol if (500*K>=X){ ^ symbol: variable K location: class Main Main.java:3: error: cannot find symbol if (500*K>=X){ ^ symbol: variable X location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u553551165|p02811|0
u553551165|p02811|0
codenet
Compile Error
215
v2_s927812093
s927812093
s927812093
p02811
p02811
u553551165
u553551165
1,578,709,712
2020-01-11T02:28:32
Main.java
public class Main { public static void main(String[] args) { if (500*K>=X){ System.out.println("Yes"); } else { System.out.println("No"); } } }
Main.java:3: error: cannot find symbol if (500*K>=X){ ^ symbol: variable K location: class Main Main.java:3: error: cannot find symbol if (500*K>=X){ ^ symbol: variable X location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u553551165|p02811|0
u553551165|p02811|0
codenet
Compile Error
215
v2_s933533232
s933533232
s933533232
p02811
p02811
u571638716
u571638716
1,578,708,796
2020-01-11T02:13:16
Main.java
import java.util.Scanner; public class Main public static void main(String[] args) { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int X = sc.nextInt(); System.out.println(K*500>= ? "Yes": "No"); } }
Main.java:3: error: '{' expected 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:11: error: illegal start of expressio...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u571638716|p02811|0
u571638716|p02811|0
codenet
Compile Error
266
v2_s076518193
s076518193
s076518193
p02811
p02811
u621185427
u621185427
1,578,709,716
2020-01-11T02:28:36
Main.java
import java.util.Scanner; public Main{ public static void main(arg[] Array){ int K,X; Scanner Input = new Scanner(Syste.in); K = Input.nextInt(); X = Input.nextInt(); if ((k >=1 && K <= 100) && (X >=1 && X <= 100000)) { System.out.println("Yes"); } else...
Main.java:2: error: class, interface, enum, or record expected public Main{ ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(arg[] Array){ ^ (use --enable-preview to enable unnamed classes) Main.java:18: error: class, interface, en...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u621185427|p02811|0
u621185427|p02811|0
codenet
Compile Error
384
v2_s926485756
s926485756
s926485756
p02811
p02811
u626353997
u626353997
1,585,455,516
2020-03-29T04:18:36
Main.java
import java.util.*; class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int x = sc.nextInt(); System.out.println(500*k>=x?"Yes"*"No"); } }
Main.java:9: error: : expected System.out.println(500*k>=x?"Yes"*"No"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u626353997|p02811|0
u626353997|p02811|0
codenet
Compile Error
240
v2_s442650369
s442650369
s442650369
p02811
p02811
u626353997
u626353997
1,586,236,382
2020-04-07T05:13:02
Main.java
import java.*; class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int x = sc.nextInt(); System.out.println(500*k>=x?"Yes":"No"); } }
Main.java:1: error: package java does not exist import java.*; ^ Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u626353997|p02811|1
u626353997|p02811|1
codenet
Compile Error
235
v2_s260515133
s260515133
s260515133
p02811
p02811
u632419605
u632419605
1,578,762,215
2020-01-11T17:03:35
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int k = nextInt(); int x = nextInt(); if(k * 500 >= x){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
Main.java:5: error: cannot find symbol int k = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:6: error: cannot find symbol int x = nextInt(); ^ symbol: method nextInt() location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u632419605|p02811|0
u632419605|p02811|0
codenet
Compile Error
278
v2_s656702611
s656702611
s656702611
p02811
p02811
u665090185
u665090185
1,578,708,505
2020-01-11T02:08:25
Main.java
public class Main { public static void main(String[] args){ Scanner scan=new Scanner(System.in); int k=scan.nextInt(); int x=scan.nextInt(); if(k*500>=x) { System.out.println("Yes"); } else { System.out.println("No"); } ...
Main.java:3: error: cannot find symbol Scanner scan=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: 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
u665090185|p02811|0
u665090185|p02811|0
codenet
Compile Error
328
v2_s916702189
s916702189
s916702189
p02811
p02811
u704287489
u704287489
1,578,713,839
2020-01-11T03:37:19
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int X = sc.nextInt(); int total = 500 * K; if(total >= K) System.out.println("Yes"); else System.out.println("No); }
Main.java:11: error: unclosed string literal System.out.println("No); ^ Main.java:12: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u704287489|p02811|0
u704287489|p02811|0
codenet
Compile Error
289
v2_s041419134
s041419134
s041419134
p02811
p02811
u718559100
u718559100
1,578,709,394
2020-01-11T02:23:14
Main.java
class a { public static void main(String[] args){ Scanner scan = new Scanner(System. in); int k = scan.nextInt(); int x = scan.nextInt(); if(k*500 >= x) System.out.println("Yes"); else System.out.println("No"); } }
Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System. in); ^ symbol: class Scanner location: class a Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System. in); ^ symbol: class Scanner location: class a 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u718559100|p02811|0
u718559100|p02811|0
codenet
Compile Error
262
v2_s824305670
s824305670
s824305670
p02811
p02811
u723790132
u723790132
1,578,709,103
2020-01-11T02:18:23
Main.java
S = str(input()) print(S.count("ABC"))
Main.java:1: error: class, interface, enum, or record expected S = str(input()) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u723790132|p02811|0
u723790132|p02811|0
codenet
Compile Error
39
v2_s063134941
s063134941
s063134941
p02811
p02811
u790685134
u790685134
1,579,033,600
2020-01-14T20:26:40
Main.java
public class Main{ public static void main(Strings[] args){ sc = new Scaner(System.in); K = sc.nextInt(); X = sc.nextInt(); if(500 * K >= X){ System.out.plintln("Yes"); }else System.out.plintln("No"); }
Main.java:9: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790685134|p02811|0
u790685134|p02811|0
codenet
Compile Error
242
v2_s064868177
s064868177
s064868177
p02811
p02811
u790685134
u790685134
1,579,033,656
2020-01-14T20:27:36
Main.java
public class Main{ public static void main(Strings[] args){ sc = new Scaner(System.in); K = sc.nextInt(); X = sc.nextInt(); if(500 * K >= X){ System.out.plintln("Yes"); }else System.out.plintln("No"); } }
Main.java:2: error: cannot find symbol public static void main(Strings[] args){ ^ symbol: class Strings location: class Main Main.java:3: error: cannot find symbol sc = new Scaner(System.in); ^ symbol: variable sc location: class Main Main.java:3: error: cannot find symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790685134|p02811|0
u790685134|p02811|0
codenet
Compile Error
230
v2_s101365583
s101365583
s101365583
p02811
p02811
u790685134
u790685134
1,579,033,721
2020-01-14T20:28:41
Main.java
import java.util.* public class Main{ public static void main(Strings[] args){ sc = new Scaner(System.in); K = sc.nextInt(); X = sc.nextInt(); if(500 * K >= X){ System.out.plintln("Yes"); }else System.out.plintln("No"); } }
Main.java:1: error: ';' expected import java.util.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790685134|p02811|0
u790685134|p02811|0
codenet
Compile Error
249
v2_s075137193
s075137193
s075137193
p02811
p02811
u790685134
u790685134
1,579,033,778
2020-01-14T20:29:38
Main.java
import java.util.*; public class Main{ public static void main(Strings[] args){ sc = new Scaner(System.in); K = sc.nextInt(); X = sc.nextInt(); if(500 * K >= X){ System.out.plintln("Yes"); }else System.out.plintln("No"); } }
Main.java:3: error: cannot find symbol public static void main(Strings[] args){ ^ symbol: class Strings location: class Main Main.java:4: error: cannot find symbol sc = new Scaner(System.in); ^ symbol: variable sc location: class Main Main.java:4: error: cannot find symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790685134|p02811|0
u790685134|p02811|0
codenet
Compile Error
250
v2_s899066842
s899066842
s899066842
p02811
p02811
u790685134
u790685134
1,579,033,825
2020-01-14T20:30:25
Main.java
import java.util.*; public class Main{ public static void main(Strings[] args){ Scaner sc = new Scaner(System.in); int K = sc.nextInt(); int X = sc.nextInt(); if(500 * K >= X){ System.out.plintln("Yes"); }else System.out.plintln("No"); } }
Main.java:3: error: cannot find symbol public static void main(Strings[] args){ ^ symbol: class Strings location: class Main Main.java:4: error: cannot find symbol Scaner sc = new Scaner(System.in); ^ symbol: class Scaner location: class Main Main.java:4: error: cannot find...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790685134|p02811|0
u790685134|p02811|0
codenet
Compile Error
262
v2_s556926501
s556926501
s556926501
p02811
p02811
u790685134
u790685134
1,579,033,916
2020-01-14T20:31:56
Main.java
import java.util.*; public class Main{ public static void main(Strings[] args){ Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int X = sc.nextInt(); if(500 * K >= X){ System.out.plintln("Yes"); }else System.out.plintln("No"); } }
Main.java:3: error: cannot find symbol public static void main(Strings[] args){ ^ symbol: class Strings location: class Main Main.java:8: error: cannot find symbol System.out.plintln("Yes"); ^ symbol: method plintln(String) location: variable out of type PrintStream...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790685134|p02811|0
u790685134|p02811|0
codenet
Compile Error
264
v2_s476716842
s476716842
s476716842
p02811
p02811
u790685134
u790685134
1,579,034,055
2020-01-14T20:34:15
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int X = sc.nextInt(); if(500 * K >= X){ System.out.plintln("Yes"); }else System.out.plintln("No"); } }
Main.java:8: error: cannot find symbol System.out.plintln("Yes"); ^ symbol: method plintln(String) location: variable out of type PrintStream Main.java:9: error: cannot find symbol }else System.out.plintln("No"); ^ symbol: method plintln(String) location: variable out o...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790685134|p02811|0
u790685134|p02811|0
codenet
Compile Error
263
v2_s477644879
s477644879
s477644879
p02811
p02811
u803314854
u803314854
1,580,331,815
2020-01-29T21:03:35
Main.java
import java.util.*;class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);System.out.println((s.nextInt()*500<sc.nextInt()?"No":"Yes"));}}
Main.java:1: error: cannot find symbol import java.util.*;class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);System.out.println((s.nextInt()*500<sc.nextInt()?"No":"Yes"));}} ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p02811|0
u803314854|p02811|0
codenet
Compile Error
163
v2_s237702574
s237702574
s237702574
p02811
p02811
u803314854
u803314854
1,580,331,850
2020-01-29T21:04:10
Main.java
import java.util.*;class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);System.out.println((s.nextInt()*500<sc.nextInt())?"No":"Yes");}}
Main.java:1: error: cannot find symbol import java.util.*;class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);System.out.println((s.nextInt()*500<sc.nextInt())?"No":"Yes");}} ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p02811|0
u803314854|p02811|0
codenet
Compile Error
162
v2_s837048065
s837048065
s837048065
p02811
p02811
u822452967
u822452967
1,579,961,027
2020-01-25T14:03:47
Main.java
public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int X = sc.nextInt(); // スペース区切りの整数の入力 int K = sc.nextInt(); if((500*X) >= K){ System.out.println("Yes") }else{ System.out.println("No") } ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) Main.java:10: error: ';' expected System.out.println("Yes") ^ Main.java:12: e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u822452967|p02811|0
u822452967|p02811|0
codenet
Compile Error
361
v2_s198755832
s198755832
s198755832
p02811
p02811
u822452967
u822452967
1,579,961,109
2020-01-25T14:05:09
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 K = sc.nextInt(); if((500*X) >= K){ System.out.println("Yes") }else{ Syst...
Main.java:12: error: ';' expected System.out.println("Yes") ^ Main.java:14: error: ';' expected System.out.println("No") ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u822452967|p02811|0
u822452967|p02811|0
codenet
Compile Error
399
v2_s766371416
s766371416
s766371416
p02811
p02811
u824819605
u824819605
1,594,094,137
2020-07-07T03:55:37
S.java
import java.util.*; import java.io.FileInputStream; import java.io.InputStream; public class S { public static Scanner scan = new Scanner(System.in); public static void main(String[] args) { File file = new File(input.txt); Scanner sc = new Scanner(file); int n = sc.nextInt(); int k = sc.n...
S.java:10: error: cannot find symbol File file = new File(input.txt); ^ symbol: class File location: class S S.java:10: error: cannot find symbol File file = new File(input.txt); ^ symbol: class File location: class S S.java:10: error: cannot find symbol File file = new File(input....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u824819605|p02811|0
u824819605|p02811|0
codenet
Compile Error
447
v2_s238646167
s238646167
s238646167
p02811
p02811
u824819605
u824819605
1,594,094,196
2020-07-07T03:56:36
S.java
import java.io.FileInputStream; import java.io.InputStream;import java.util.*; import java.io.FileInputStream; import java.io.InputStream; public class S { public static Scanner scan = new Scanner(System.in); public static void main(String[] args) { File file = new File("input.txt"); Scanner sc = new ...
S.java:11: error: cannot find symbol File file = new File("input.txt"); ^ symbol: class File location: class S S.java:11: error: cannot find symbol File file = new File("input.txt"); ^ symbol: class File location: class S 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u824819605|p02811|0
u824819605|p02811|0
codenet
Compile Error
509
v2_s885893040
s885893040
s885893040
p02811
p02811
u824819605
u824819605
1,594,094,233
2020-07-07T03:57:13
Main.java
import java.util.*; import java.io.FileInputStream; import java.io.InputStream; public class Main { public static Scanner scan = new Scanner(System.in); public static void main(String[] args) { File file = new File("input.txt"); Scanner sc = new Scanner(file); int n = sc.nextInt(); int k...
Main.java:10: error: cannot find symbol File file = new File("input.txt"); ^ symbol: class File location: class Main Main.java:10: error: cannot find symbol File file = new File("input.txt"); ^ symbol: class File location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u824819605|p02811|0
u824819605|p02811|0
codenet
Compile Error
453
v2_s155066225
s155066225
s155066225
p02811
p02811
u824819605
u824819605
1,594,094,282
2020-07-07T03:58:02
Main.java
import java.util.*; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; public class Main { public static Scanner scan = new Scanner(System.in); public static void main(String[] args) { File file = new File("input.txt"); Scanner sc = new Scanner(file); int n = sc.ne...
Main.java:12: error: unreported exception FileNotFoundException; must be caught or declared to be thrown Scanner sc = new Scanner(file); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u824819605|p02811|0
u824819605|p02811|0
codenet
Compile Error
474
v2_s785676756
s785676756
s785676756
p02811
p02811
u889604426
u889604426
1,578,708,439
2020-01-11T02:07:19
Main.java
k, x = map(int, input().split()) if k * 500 >= x: print('Yes') else: print('No')
Main.java:1: error: class, interface, enum, or record expected k, x = map(int, input().split()) ^ Main.java:3: error: unclosed character literal print('Yes') ^ Main.java:3: error: unclosed character literal print('Yes') ^ Main.java:5: error: unclosed character literal print('No') ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u889604426|p02811|0
u889604426|p02811|0
codenet
Compile Error
88
v2_s508288911
s508288911
s508288911
p02811
p02811
u920686190
u920686190
1,578,709,012
2020-01-11T02:16:52
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int X = sc.nextInt(); while(K<=X){ K+=K; } if(K==X){ System.out.println("Yes"); } else{ System.out.println("No"); } } }
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
u920686190|p02811|0
u920686190|p02811|0
codenet
Compile Error
315
v2_s274935448
s274935448
s274935448
p02811
p02811
u920686190
u920686190
1,578,709,557
2020-01-11T02:25:57
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int X = sc.nextInt(); do{ K+=K; }while(K < X) if(K==X){ System.out.println("Yes"); } else{ System.out.pr...
Main.java:11: error: ';' expected }while(K < X) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u920686190|p02811|0
u920686190|p02811|0
codenet
Compile Error
339
v2_s936307996
s936307996
s936307996
p02811
p02811
u923923174
u923923174
1,578,708,926
2020-01-11T02:15:26
Main.java
import java.util.*; import java.lang.*; class main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int k = scan.next(); int x = scan.next(); if (500 * x >= k) System.println("Yes"); else System.println("No"); } }
Main.java:6: error: incompatible types: String cannot be converted to int int k = scan.next(); ^ Main.java:7: error: incompatible types: String cannot be converted to int int x = scan.next(); ^ Main.java:10: error: cannot find symbol System.println...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923923174|p02811|0
u923923174|p02811|0
codenet
Compile Error
318
v2_s422678261
s422678261
s422678261
p02811
p02811
u923923174
u923923174
1,578,709,111
2020-01-11T02:18:31
Main.java
import java.util.*; import java.lang.*; class main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); String k1 = scan.next(); String x1 = scan.next(); int k = convert(k1); int x = convert(k2); if (500 * x >= k) System.out....
Main.java:9: error: non-static method convert(String) cannot be referenced from a static context int k = convert(k1); ^ Main.java:10: error: cannot find symbol int x = convert(k2); ^ symbol: variable k2 location: class main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923923174|p02811|0
u923923174|p02811|0
codenet
Compile Error
548
v2_s396987330
s396987330
s396987330
p02811
p02811
u923923174
u923923174
1,578,709,214
2020-01-11T02:20:14
Main.java
import java.util.*; import java.lang.*; class main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); String k1 = scan.next(); String x1 = scan.next(); int k = this.convert(k1); int x = this.convert(x1); if (500 * x >= k) S...
Main.java:9: error: non-static variable this cannot be referenced from a static context int k = this.convert(k1); ^ Main.java:10: error: non-static variable this cannot be referenced from a static context int x = this.convert(x1); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923923174|p02811|0
u923923174|p02811|0
codenet
Compile Error
558
v2_s204274294
s204274294
s204274294
p02811
p02811
u958207414
u958207414
1,578,709,949
2020-01-11T02:32:29
Main.java
Scanner I =new Scanner(System.in); float K=I.nextFloat(); Scanner J=new Scanner(System.in); float X=J.nextFloat(); if(K*500<X){ System.out.println("No"); } else{ System.out.println("Yes"); }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Scanner I =new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:5: error: class, interface, enum, or record expected if(K*500<X){ ^ Main.java:7: error: class, interface, enum, or reco...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u958207414|p02811|0
u958207414|p02811|0
codenet
Compile Error
271
v2_s290427941
s290427941
s290427941
p02811
p02811
u958207414
u958207414
1,578,710,445
2020-01-11T02:40:45
Main.java
import java.util.Scanner; public static void main(String[] args) { Scanner I =new Scanner(System.in); float K=I.nextFloat(); Scanner J=new Scanner(System.in); float X=J.nextFloat(); if(K*500<X){ System.out.println("No"); } else{ System....
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
u958207414|p02811|0
u958207414|p02811|0
codenet
Compile Error
349
v2_s388813231
s388813231
s388813231
p02811
p02811
u980887005
u980887005
1,586,037,831
2020-04-04T22:03:51
Main.java
package abc160; import static java.lang.System.*; import java.io.IOException; import java.io.InputStream; import java.util.NoSuchElementException; public class Main { FastScanner s = new FastScanner(); public void solve() { int K = nextInt(); int X = nextInt(); if(K*500 >= X){ out.println("Yes"); }el...
Main.java:11: error: cannot find symbol FastScanner s = new FastScanner(); ^ symbol: class FastScanner location: class Main Main.java:11: error: cannot find symbol FastScanner s = new FastScanner(); ^ symbol: class FastScanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u980887005|p02811|0
u980887005|p02811|0
codenet
Compile Error
2,334
v2_s888266641
s888266641
s888266641
p02812
p02812
u011996008
u011996008
1,583,869,575
2020-03-10T19:46:15
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String S = sc.next(); System.out.println(N - S.replaceAll("ABC", "").length / 3); } }
Main.java:9: error: cannot find symbol System.out.println(N - S.replaceAll("ABC", "").length / 3); ^ symbol: variable length location: class String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u011996008|p02812|0
u011996008|p02812|0
codenet
Compile Error
232
v2_s243652733
s243652733
s243652733
p02812
p02812
u047746316
u047746316
1,592,319,515
2020-06-16T14:58:35
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();//文字列の長さ String S =sc.next();//文字列 char[] T =S.toCharArray(); int count = 0; //いくつABCが含まれているか for(in...
Main.java:19: error: illegal character: '\u3000' ?//?? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u047746316|p02812|0
u047746316|p02812|0
codenet
Compile Error
538
v2_s657102694
s657102694
s657102694
p02812
p02812
u095200025
u095200025
1,584,336,236
2020-03-16T05:23:56
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str = sc.nextLine(); int count = 0; for(int i = 0; i < str.length()-2;str++){ if(str.charAt(i).equals("A")){ if(str.charAt(i+1).equals("B")){ if(str....
Main.java:7: error: bad operand type String for unary operator '++' for(int i = 0; i < str.length()-2;str++){ ^ Main.java:8: error: char cannot be dereferenced if(str.charAt(i).equals("A")){ ^ Main.java:9: error: char cannot be dereferenced ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u095200025|p02812|0
u095200025|p02812|0
codenet
Compile Error
440
v2_s673925411
s673925411
s673925411
p02812
p02812
u095200025
u095200025
1,584,336,300
2020-03-16T05:25:00
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str = sc.nextLine(); int count = 0; for(int i = 0; i < str.length()-2;str++){ if(str.charAt(i).equals('A')){ if(str.charAt(i+1).equals('B')){ if(str....
Main.java:7: error: bad operand type String for unary operator '++' for(int i = 0; i < str.length()-2;str++){ ^ Main.java:8: error: char cannot be dereferenced if(str.charAt(i).equals('A')){ ^ Main.java:9: error: char cannot be dereferenced ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u095200025|p02812|0
u095200025|p02812|0
codenet
Compile Error
440
v2_s073708180
s073708180
s073708180
p02812
p02812
u095200025
u095200025
1,584,336,347
2020-03-16T05:25:47
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str = sc.nextLine(); int count = 0; for(int i = 0; i < str.length()-2;i++){ if(str.charAt(i).equals('A')){ if(str.charAt(i+1).equals('B')){ if(str.ch...
Main.java:8: error: char cannot be dereferenced if(str.charAt(i).equals('A')){ ^ Main.java:9: error: char cannot be dereferenced if(str.charAt(i+1).equals('B')){ ^ Main.java:10: error: char cannot be dereferenced if(str.charAt(i+2).equals('C')){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u095200025|p02812|0
u095200025|p02812|0
codenet
Compile Error
438
v2_s494008935
s494008935
s494008935
p02812
p02812
u135363744
u135363744
1,596,475,668
2020-08-03T17:27:48
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner ISR = new Scanner(System.in); int N = ISR.nextInt(); String St = ISR.next(); int R = 0; for(int i = 0;i<N;i++){ if(St.substring(i,i+1).equals("A")){ i++; if(St.substring(i,i+1).equals("B")){ ...
Main.java:20: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u135363744|p02812|0
u135363744|p02812|0
codenet
Compile Error
447
v2_s138206833
s138206833
s138206833
p02812
p02812
u135363744
u135363744
1,596,475,778
2020-08-03T17:29:38
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner ISR = new Scanner(System.in); int N = ISR.nextInt(); String St = ISR.next(); int R = 0; for(int i = 0;i<N;i++){ if(i<N-2&&St.substring(i,i+1).equals("A")){ i++; if(&&St.substring(i,i+1).equals("B...
Main.java:12: error: illegal start of expression if(&&St.substring(i,i+1).equals("B")){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u135363744|p02812|0
u135363744|p02812|0
codenet
Compile Error
489
v2_s824035813
s824035813
s824035813
p02812
p02812
u135363744
u135363744
1,596,476,698
2020-08-03T17:44:58
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner ISR = new Scanner(System.in); int N = ISR.nextInt(); String St = ISR.next(); int R = 0; for(int i = 0;i<N-2;i++){ if(charAt(i).equals("A")){ if(charaAt(i+1).equals("B")){ if(charAt(i+2).equals...
Main.java:10: error: cannot find symbol if(charAt(i).equals("A")){ ^ symbol: method charAt(int) location: class Main Main.java:11: error: cannot find symbol if(charaAt(i+1).equals("B")){ ^ symbol: method charaAt(int) location: class Main Main.java:12: error: cannot find sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u135363744|p02812|0
u135363744|p02812|0
codenet
Compile Error
413
v2_s027325797
s027325797
s027325797
p02812
p02812
u135363744
u135363744
1,596,476,750
2020-08-03T17:45:50
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner ISR = new Scanner(System.in); int N = ISR.nextInt(); String St = ISR.next(); int R = 0; for(int i = 0;i<N-2;i++){ if(St.charAt(i).equals("A")){ if(St.charaAt(i+1).equals("B")){ if(St.charAt(i+...
Main.java:10: error: char cannot be dereferenced if(St.charAt(i).equals("A")){ ^ Main.java:11: error: cannot find symbol if(St.charaAt(i+1).equals("B")){ ^ symbol: method charaAt(int) location: variable St of type String Main.java:12: error: char cannot be dereferen...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u135363744|p02812|0
u135363744|p02812|0
codenet
Compile Error
422
v2_s862561321
s862561321
s862561321
p02812
p02812
u135363744
u135363744
1,596,476,803
2020-08-03T17:46:43
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner ISR = new Scanner(System.in); int N = ISR.nextInt(); String St = ISR.next(); int R = 0; for(int i = 0;i<N-2;i++){ if(St.charAt(i)=="A"){ if(St.charaAt(i+1)=="B"){ if(St.charAt(i+2)=="C"){ ...
Main.java:10: error: bad operand types for binary operator '==' if(St.charAt(i)=="A"){ ^ first type: char second type: String Main.java:11: error: cannot find symbol if(St.charaAt(i+1)=="B"){ ^ symbol: method charaAt(int) location: variable St of type String Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u135363744|p02812|0
u135363744|p02812|0
codenet
Compile Error
401
v2_s153787304
s153787304
s153787304
p02812
p02812
u212397344
u212397344
1,585,101,801
2020-03-25T02:03:21
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String S = sc.next(); int prev = S.lenght(); S = S.replace("ABC", ""); int sum = (prev - S.length())/3; System.out.println(sum); } }
Main.java:6: error: cannot find symbol int prev = S.lenght(); ^ symbol: method lenght() location: variable S of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212397344|p02812|1
u212397344|p02812|1
codenet
Compile Error
294
v2_s064684232
s064684232
s064684232
p02812
p02812
u218740431
u218740431
1,586,739,588
2020-04-13T00:59:48
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); String s = sc.next(); int b = 0; for(int i=0;i<a-2;i++){if(s.substring(i,i+3).equals("ABC"){b++; } ...
Main.java:8: error: ')' expected for(int i=0;i<a-2;i++){if(s.substring(i,i+3).equals("ABC"){b++; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02812|1
u218740431|p02812|1
codenet
Compile Error
378
v2_s347447634
s347447634
s347447634
p02812
p02812
u229120147
u229120147
1,586,822,820
2020-04-14T00:07:00
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String s = sc.next(); char[] c = s.charAt(); int ans = 0; for(int i = 0; i < n - 2; i++){ if(c[i] == 'A' && c[i + 1] == 'B' && c[i + 2] == 'C'){ ...
Main.java:9: error: method charAt in class String cannot be applied to given types; char[] c = s.charAt(); ^ required: int found: no arguments reason: actual and formal argument lists differ in length 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u229120147|p02812|1
u229120147|p02812|1
codenet
Compile Error
386
v2_s411324703
s411324703
s411324703
p02812
p02812
u297341053
u297341053
1,579,264,586
2020-01-17T12:36:26
Main.java
mport java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N =sc.nextInt(); int count =0; String s =sc.next(); if(s.length()>N){ return; } s.toUpperCase(); int index = s....
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
u297341053|p02812|0
u297341053|p02812|0
codenet
Compile Error
570
v2_s103116937
s103116937
s103116937
p02812
p02812
u317709209
u317709209
1,578,709,568
2020-01-11T02:26:08
Main.java
#include<bits/stdc++.h> using namespace std; #define ll long long #define pi pair<int,int> #define ti tuple<int,int,int> #define mt make_tuple #define mk make_pair #define vi vector<int> #define vll vector<ll> #define fastInOut ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0); #define pr(a) for(auto x:a) ...
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:4: error: illegal character: '#' #define ll long long ^ Main.java:4: error: class, interface, enum, or record expected #define ll long long ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u317709209|p02812|0
u317709209|p02812|0
codenet
Compile Error
745
v2_s283251409
s283251409
s283251409
p02812
p02812
u345702587
u345702587
1,591,121,109
2020-06-02T18:05:09
Main.java
import java.util.Scanner; public Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String s = sc.next(); int count = 0; for (int i=0; i<s.length()-2; i++) { if (s.charAt(i) == 'A' && s.charAt(i+1) == 'B' && s.charAt(i+2)) { co...
Main.java:3: error: class, interface, enum, or record expected public Main { ^ 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) Main.java:17: error: class, interfa...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u345702587|p02812|0
u345702587|p02812|0
codenet
Compile Error
393
v2_s610010333
s610010333
s610010333
p02812
p02812
u345702587
u345702587
1,591,121,209
2020-06-02T18:06:49
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(); String s = sc.next(); int count = 0; for (int i=0; i<s.length()-2; i++) { if (s.charAt(i) == 'A' && s.charAt(i+1) == 'B' && s.charAt(i+2)) { ...
Main.java:10: error: bad operand types for binary operator '&&' if (s.charAt(i) == 'A' && s.charAt(i+1) == 'B' && s.charAt(i+2)) { ^ first type: boolean second type: char 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u345702587|p02812|0
u345702587|p02812|0
codenet
Compile Error
400
v2_s146472234
s146472234
s146472234
p02812
p02812
u351303380
u351303380
1,582,486,759
2020-02-23T19:39:19
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String s = sc.next(); String t; int count = 0; for(int i=0 ; i=<s.length()-3 ; i++){ t = s.substring(i,i+3); if(t.equals("ABC")){ coun...
Main.java:10: error: > or ',' expected for(int i=0 ; i=<s.length()-3 ; i++){ ^ Main.java:10: error: -> expected for(int i=0 ; i=<s.length()-3 ; i++){ ^ Main.java:10: error: ')' expected for(int i=0 ; i=<s.length()-3 ; i++){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u351303380|p02812|0
u351303380|p02812|0
codenet
Compile Error
376
v2_s366939810
s366939810
s366939810
p02812
p02812
u363962679
u363962679
1,578,713,688
2020-01-11T03:34:48
Main.java
import java.util.*; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int count=0; int s=sc.nextInt(); String ss=sc.nextInt(); for(int i=0;i<s;i++){if(ss.substring(i).equals(A){if(ss.substring(i+1).equals(B){if(ss.substring(i+2).eq...
Main.java:10: error: ')' expected for(int i=0;i<s;i++){if(ss.substring(i).equals(A){if(ss.substring(i+1).equals(B){if(ss.substring(i+2).equals(C){count++;i+=2;}}})} ^ Main.java:10: error: ')' expected for(int i=0;i<s;i++){if(ss.substring(i).equals(A){if(ss.su...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u363962679|p02812|0
u363962679|p02812|0
codenet
Compile Error
406
v2_s629934741
s629934741
s629934741
p02812
p02812
u363962679
u363962679
1,578,713,817
2020-01-11T03:36:57
Main.java
import java.util.*; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int count=0; int s=sc.nextInt(); String ss=sc.nextInt(); for(int i=0;i<s;i++){ if(ss.substring(i).equals(A)){if(ss.substring(i+1).equals(B)){if(ss.substring(i+2)...
Main.java:9: error: incompatible types: int cannot be converted to String String ss=sc.nextInt(); ^ Main.java:11: error: cannot find symbol if(ss.substring(i).equals(A)){if(ss.substring(i+1).equals(B)){if(ss.substring(i+2).equals(C)){count++;i+=2;}}}} ^ symbol: vari...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u363962679|p02812|0
u363962679|p02812|0
codenet
Compile Error
409
v2_s652570742
s652570742
s652570742
p02812
p02812
u363962679
u363962679
1,578,713,860
2020-01-11T03:37:40
Main.java
import java.util.*; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int count=0; int s=sc.nextInt(); String ss=sc.next(); for(int i=0;i<s;i++){ if(ss.substring(i).equals(A)){if(ss.substring(i+1).equals(B)){if(ss.substring(i+2).eq...
Main.java:11: error: cannot find symbol if(ss.substring(i).equals(A)){if(ss.substring(i+1).equals(B)){if(ss.substring(i+2).equals(C)){count++;i+=2;}}}} ^ symbol: variable A location: class Main Main.java:11: error: cannot find symbol if(ss.substring(i).equals(A)){if(ss.substring(i+1).equ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u363962679|p02812|0
u363962679|p02812|0
codenet
Compile Error
406
v2_s958919657
s958919657
s958919657
p02812
p02812
u369712616
u369712616
1,584,263,642
2020-03-15T09:14:02
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = 0; int n = sc.nextInt(); char[] letterss = sc.next().toCharArray(); for(int i = 0; i < n - 2; i++){ if(letters[i] == 'A'){ if(letters[i+1] =...
Main.java:10: error: cannot find symbol if(letters[i] == 'A'){ ^ symbol: variable letters location: class Main Main.java:11: error: cannot find symbol if(letters[i+1] == 'B'){ ^ symbol: variable letters location: class Main Main.java:12: error: cannot find symbol if(letters...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369712616|p02812|0
u369712616|p02812|0
codenet
Compile Error
522
v2_s741669975
s741669975
s741669975
p02812
p02812
u411433053
u411433053
1,595,627,566
2020-07-24T21:52:46
Main.java
import java.io.*; import java.lang.*; import java.util.*; public class Main { public static void main (String[] args) { Scanner sc = new Scanner (System.in); int n = sc.nextInt(); char[] arr = sc.next().toCharArray(); int count = 0; for (int = 0; i<n-3; i++) { if (arr[i] == 'A' && arr[i+1] == 'B' &...
Main.java:11: error: not a statement for (int = 0; i<n-3; i++) { ^ Main.java:11: error: ';' expected for (int = 0; i<n-3; i++) { ^ Main.java:11: error: illegal start of expression for (int = 0; i<n-3; i++) { ^ Main.java:11: error: not a statement for (int = 0; i<n-3; i++) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u411433053|p02812|0
u411433053|p02812|0
codenet
Compile Error
395
v2_s381105434
s381105434
s381105434
p02812
p02812
u442877951
u442877951
1,594,133,765
2020-07-07T14:56:05
Main.java
import java.util.*; public class Main { public static int countString(String S, String word) { //Sに調べたい文字列を、wordに数えたい文字列を入れる。 String reS = S.replace(word,""); int ans = (S.length() - reS.length())/word.length(); return ans; } public static void main (String[] args) { Scanner sc = new Scanner(Sy...
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u442877951|p02812|0
u442877951|p02812|0
codenet
Compile Error
477