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_s793869117
s793869117
s793869117
p02552
p02552
u708615801
u708615801
1,600,023,693
2020-09-13T19:01:33
Main.java
#include <iostream> #include <vector> #include <string> #include <algorithm> #include <unordered_map> using namespace std; #define ll long long #define all(v) v.begin(),v.end() #define bootstrap ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0); void solve() { int num; cin >> num; cout << 1 - nu...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <vector> ^ Main.java:3: error: illegal character: '#' #include <string> ^ Main.java:4: error: illegal character: '#' #include <algorithm> ^ Main.java:5: error: illegal character: '#' #include <unordered_...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u708615801|p02552|0
u708615801|p02552|0
codenet
Compile Error
368
v2_s415715303
s415715303
s415715303
p02552
p02552
u750429254
u750429254
1,600,119,859
2020-09-14T21:44:19
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long mod = 1000000007; long ans = (long)Math.pow(10, n) - (long)Math.pow(9, n) - (long)Math.pow(9, n) + (long)Math.pow(8, n); System.out.println(ans%mod);...
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
u750429254|p02552|1
u750429254|p02552|1
codenet
Compile Error
348
v2_s466512038
s466512038
s466512038
p02552
p02552
u796098198
u796098198
1,600,341,603
2020-09-17T11:20:03
Main.java
import java.io.*; public static void main(String[] args) { int input = 0; Scanner sc = new Scanner(System.in); input = sc.next(); if (x == 0) System.out.println(1); if (x == 1) System.out.println(0); }
Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u796098198|p02552|0
u796098198|p02552|0
codenet
Compile Error
310
v2_s012133534
s012133534
s012133534
p02552
p02552
u796098198
u796098198
1,600,341,664
2020-09-17T11:21:04
Solution.java
import java.io.*; public class Solution{ public static void main(String[] args) { int input = 0; Scanner sc = new Scanner(System.in); input = sc.next(); if (x == 0) System.out.println(1); if (x == 1) System.out.println(0); }
Solution.java:12: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u796098198|p02552|0
u796098198|p02552|0
codenet
Compile Error
301
v2_s163242194
s163242194
s163242194
p02552
p02552
u796098198
u796098198
1,600,341,683
2020-09-17T11:21:23
Solution.java
import java.io.*; public class Solution { public static void main(String[] args) { int input = 0; Scanner sc = new Scanner(System.in); input = sc.next(); if (x == 0) System.out.println(1); if (x == 1) System.out.println(0); } }
Solution.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Solution Solution.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Solution S...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u796098198|p02552|0
u796098198|p02552|0
codenet
Compile Error
300
v2_s798938314
s798938314
s798938314
p02552
p02552
u796098198
u796098198
1,600,341,797
2020-09-17T11:23:17
Not.java
import java.io.*; public class Not { public static void main(String[] args) { int input = 0; Scanner sc = new Scanner(System.in); input = sc.next(); if (input == 0) System.out.println(1); if (input == 1) System.out.println(0); } }
Not.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Not Not.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Not 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u796098198|p02552|0
u796098198|p02552|0
codenet
Compile Error
304
v2_s684775859
s684775859
s684775859
p02552
p02552
u796098198
u796098198
1,600,341,854
2020-09-17T11:24:14
Not.java
import java.util.*; public class Not { public static void main(String[] args) { int input = 0; Scanner sc = new Scanner(System.in); input = sc.next(); if (input == 0) System.out.println(1); if (input == 1) System.out.println(0); } }
Not.java:7: error: incompatible types: String cannot be converted to int input = sc.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u796098198|p02552|0
u796098198|p02552|0
codenet
Compile Error
306
v2_s740833347
s740833347
s740833347
p02552
p02552
u843835721
u843835721
1,600,024,096
2020-09-13T19:08:16
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); if (n == 0) { System.out.println("1"); } else if (n == 1) { System.out.println("0"); } } }
Main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: 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
u843835721|p02552|0
u843835721|p02552|0
codenet
Compile Error
292
v2_s935577713
s935577713
s935577713
p02552
p02552
u979473916
u979473916
1,600,070,624
2020-09-14T08:03:44
Do2.java
import java.util.Scanner; public class Do2 { public static void main(String[] args) { int x = 1 if(x == 0) { System.out.println(1); }else if(x == 1) { System.out.println(0); } } }
Do2.java:7: error: ';' expected int x = 1 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u979473916|p02552|0
u979473916|p02552|0
codenet
Compile Error
199
v2_s933922174
s933922174
s933922174
p02552
p02552
u979473916
u979473916
1,600,075,178
2020-09-14T09:19:38
Do2.java
import java.util.Scanner; public class Do2 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); long c = sc.nextInt(); long d = sc.nextInt(); long[] num = { a*b, a*c, a*d, b*c, c*d }; max = num[0]; for (int i = 0; i < num...
Do2.java:15: error: cannot find symbol max = num[0]; ^ symbol: variable max location: class Do2 Do2.java:17: error: cannot find symbol if (num[i] > max) { ^ symbol: variable max location: class Do2 Do2.java:18: error: cannot find symbol max = (int) num[i]; ^ symbol: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u979473916|p02552|0
u979473916|p02552|0
codenet
Compile Error
441
v2_s888387692
s888387692
s888387692
p02553
p02553
u123550701
u123550701
1,600,070,091
2020-09-14T07:54:51
Main.java
import java.util.*; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long ans = max(max(a * c,a * d),max(b * c,b * d)); System.out.print(ans...
Main.java:11: error: cannot find symbol long ans = max(max(a * c,a * d),max(b * c,b * d)); ^ symbol: method max(long,long) location: class Main Main.java:11: error: cannot find symbol long ans = max(max(a * c,a * d),max(b * c,b * d)); ^ symbol: me...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u123550701|p02553|0
u123550701|p02553|0
codenet
Compile Error
328
v2_s025785752
s025785752
s025785752
p02553
p02553
u220302984
u220302984
1,600,024,050
2020-09-13T19:07:30
Main.java
a, b, c, d = list(map(int, input().split())) print(max((a*c),(a*d),(b*c),(b*d)))
Main.java:1: error: class, interface, enum, or record expected a, b, c, d = list(map(int, input().split())) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u220302984|p02553|0
u220302984|p02553|0
codenet
Compile Error
81
v2_s519867876
s519867876
s519867876
p02553
p02553
u350573240
u350573240
1,600,072,625
2020-09-14T08:37:05
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); double ac=a*c; double ad=a*d; double bc=b*c; double bd=b*d; if(ac>ad) { if(bc>bd) { System....
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
u350573240|p02553|0
u350573240|p02553|0
codenet
Compile Error
557
v2_s736854259
s736854259
s736854259
p02553
p02553
u401860298
u401860298
1,600,024,627
2020-09-13T19:17:07
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); int d = scanner.nextInt(); int[] a= new int[]{a*c,a*d,b*c,b*d}; int num = a[0]; ...
Main.java:11: error: variable a is already defined in method main(String[]) int[] a= new int[]{a*c,a*d,b*c,b*d}; ^ Main.java:11: error: bad operand types for binary operator '*' int[] a= new int[]{a*c,a*d,b*c,b*d}; ^ first type: int[] second type: int Main.java:11: error: bad ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u401860298|p02553|0
u401860298|p02553|0
codenet
Compile Error
408
v2_s742007746
s742007746
s742007746
p02553
p02553
u401860298
u401860298
1,600,024,701
2020-09-13T19:18:21
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); int d = scanner.nextInt(); int[] e= new int[]{a*c,a*d,b*c,b*d}; int num = e[0]; ...
Main.java:15: error: cannot find symbol for(i=1;i<4;i++) if(num > e[i]) num = e[i]; ^ symbol: variable i location: class Main Main.java:15: error: cannot find symbol for(i=1;i<4;i++) if(num > e[i]) num = e[i]; ^ symbol: variable i location: class Main Main.java:15: error: cannot find...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u401860298|p02553|0
u401860298|p02553|0
codenet
Compile Error
408
v2_s564605512
s564605512
s564605512
p02553
p02553
u401860298
u401860298
1,600,024,737
2020-09-13T19:18:57
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); int d = scanner.nextInt(); int[] a= new int[]{a*c,a*d,b*c,b*d}; int num = a[0]; ...
Main.java:11: error: variable a is already defined in method main(String[]) int[] a= new int[]{a*c,a*d,b*c,b*d}; ^ Main.java:11: error: bad operand types for binary operator '*' int[] a= new int[]{a*c,a*d,b*c,b*d}; ^ first type: int[] second type: int Main.java:11: error: bad ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u401860298|p02553|0
u401860298|p02553|0
codenet
Compile Error
412
v2_s712965594
s712965594
s712965594
p02553
p02553
u417017290
u417017290
1,600,023,769
2020-09-13T19:02:49
Main.java
#include <bits/stdc++.h> #define IOS \ ios::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0) #define pb push_back #define ff first ...
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:2: error: illegal character: '#' #define IOS \ ^ Main.java:2: error: illeg...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u417017290|p02553|0
u417017290|p02553|0
codenet
Compile Error
1,095
v2_s376871053
s376871053
s376871053
p02553
p02553
u425025748
u425025748
1,600,024,331
2020-09-13T19:12:11
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int a=s.nextInt(); int b=s.nextInt(); int c=s.nextInt(); int d=s.nextInt(); int p1=a*c; int p2=a*d; int p3=b*c; int p4=b*d; int a[] = new ...
Main.java:16: error: variable a is already defined in method main(String[]) int a[] = new int[]{p1,p2,p3,p4}; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u425025748|p02553|0
u425025748|p02553|0
codenet
Compile Error
583
v2_s728271538
s728271538
s728271538
p02553
p02553
u425025748
u425025748
1,600,024,422
2020-09-13T19:13:42
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int a=s.nextInt(); int b=s.nextInt(); int c=s.nextInt(); int d=s.nextInt(); int p1=a*c; int p2=a*d; int p3=b*c; int p4=b*d; int[] a = new ...
Main.java:16: error: variable a is already defined in method main(String[]) int[] a = new int[]{p1,p2,p3,p4}; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u425025748|p02553|0
u425025748|p02553|0
codenet
Compile Error
584
v2_s704894188
s704894188
s704894188
p02553
p02553
u425025748
u425025748
1,600,024,470
2020-09-13T19:14:30
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int a=s.nextInt(); int b=s.nextInt(); int c=s.nextInt(); int d=s.nextInt(); int p1=a*c; int p2=a*d; int p3=b*c; int p4=b*d; int[] arr = ne...
Main.java:24: error: variable max might not have been initialized else if(arr[i]>=max) ^ Main.java:29: error: variable max might not have been initialized System.out.println(max+""); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u425025748|p02553|0
u425025748|p02553|0
codenet
Compile Error
592
v2_s612526731
s612526731
s612526731
p02553
p02553
u439942292
u439942292
1,600,025,474
2020-09-13T19:31:14
Main.java
import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { solve(); } public static void solve() { long a = sc.nextInt(); long b = sc.nextInt(); long c = sc.nextInt(); long d = sc.nextInt(); long max = Long.MIN_VALUE; long n1 = a ...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u439942292|p02553|0
u439942292|p02553|0
codenet
Compile Error
481
v2_s774191994
s774191994
s774191994
p02553
p02553
u524253154
u524253154
1,600,025,025
2020-09-13T19:23:45
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { int num[] = new int[4]; Scanner scanner = new Scanner(System.in); for (int i = 0; i < 4; i++){ num[i] = Integer.parseInt(scanner.next()); } scanner.close(); long max = -1000000000000000000; ...
Main.java:12: error: integer number too large long max = -1000000000000000000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u524253154|p02553|0
u524253154|p02553|0
codenet
Compile Error
632
v2_s916948977
s916948977
s916948977
p02553
p02553
u536564370
u536564370
1,600,025,079
2020-09-13T19:24:39
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); int x = a * c; int y = a * d; int z = b * c; int w = b * d; int[] aa = new i...
Main.java:23: error: illegal start of expression if(aa[i] => max){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p02553|0
u536564370|p02553|0
codenet
Compile Error
533
v2_s432182582
s432182582
s432182582
p02553
p02553
u536564370
u536564370
1,600,029,238
2020-09-13T20:33:58
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); long x = a *...
Main.java:16: error: incompatible types: possible lossy conversion from long to int aa[0] = x; ^ Main.java:17: error: incompatible types: possible lossy conversion from long to int aa[1] = y; ^ Main.java:18: error: incompatible types: possible lossy conver...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p02553|0
u536564370|p02553|0
codenet
Compile Error
771
v2_s203479105
s203479105
s203479105
p02553
p02553
u536564370
u536564370
1,600,029,310
2020-09-13T20:35:10
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); long x = a *...
Main.java:20: error: incompatible types: possible lossy conversion from long to int int max = x; ^ Main.java:24: error: incompatible types: possible lossy conversion from long to int max = aa[i]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p02553|0
u536564370|p02553|0
codenet
Compile Error
773
v2_s292574949
s292574949
s292574949
p02553
p02553
u563325121
u563325121
1,600,026,699
2020-09-13T19:51:39
Main.java
import java.util.*; import java.lang.Math; class Main{ public static void main(String[] args){ Scanner scanner1 = new Scanner(System.in); Scanner scanner2 = new Scanner(System.in); int a=scanner1.nextInt(); int b=scanner1.nextInt(); int c=scanner1.nextInt(); int d=scanner1.nextInt(); int e=Math.max(a*c,Math.max(a*d,...
Main.java:15: error: reached end of file while parsing System.out.print(e); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u563325121|p02553|0
u563325121|p02553|0
codenet
Compile Error
361
v2_s315519223
s315519223
s315519223
p02553
p02553
u614748348
u614748348
1,600,024,383
2020-09-13T19:13:03
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long xl = Math.max(a, b); long yl = Math.max(c, d); long xs = Math.min(a, b); long ys = Math.min(c, ...
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
u614748348|p02553|0
u614748348|p02553|0
codenet
Compile Error
430
v2_s554422207
s554422207
s554422207
p02553
p02553
u673217098
u673217098
1,600,328,643
2020-09-17T07:44:03
Main.java
import java.util.*; import java.io.*; public class Main{ Scanner sc = new Scanner(System.in); public void run(){ long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long max = 0; max = Math.max(max, a*c); max = Math.max(max, a*d); ...
Main.java:26: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:27: error: class, interface, enum, or record expected import java.io.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673217098|p02553|0
u673217098|p02553|0
codenet
Compile Error
974
v2_s047593122
s047593122
s047593122
p02553
p02553
u693105608
u693105608
1,600,466,884
2020-09-18T22:08:04
Main.java
a, b, c, d = list(map(int, input().split())) print(min(a*c,a*d,b*c,b*d))
Main.java:1: error: class, interface, enum, or record expected a, b, c, d = list(map(int, input().split())) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u693105608|p02553|1
u693105608|p02553|0
codenet
Compile Error
73
v2_s696467931
s696467931
s696467931
p02553
p02553
u697532629
u697532629
1,600,024,274
2020-09-13T19:11:14
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); long[] a=new Long[2]; a[0]=sc.nextLong(); a[1]=sc.nextLong(); long[] c=new Long[2]; c[0]=sc.nextLong(); c[1]=sc.nextLong(); long max=0; for(int i=0;i<2;i++){ for(int j=...
Main.java:6: error: incompatible types: Long[] cannot be converted to long[] long[] a=new Long[2]; ^ Main.java:9: error: incompatible types: Long[] cannot be converted to long[] long[] c=new Long[2]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u697532629|p02553|0
u697532629|p02553|0
codenet
Compile Error
420
v2_s747143703
s747143703
s747143703
p02553
p02553
u697532629
u697532629
1,600,024,459
2020-09-13T19:14:19
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); Long[] a=new Long[2]; a[0]=sc.nextLong(); a[1]=sc.nextLong(); Long[] c=new Long[2]; c[0]=sc.nextLong(); c[1]=sc.nextLong(); Long max=0; for(int i=0;i<2;i++){ for(int j=...
Main.java:12: error: incompatible types: int cannot be converted to Long Long max=0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u697532629|p02553|0
u697532629|p02553|0
codenet
Compile Error
420
v2_s359930902
s359930902
s359930902
p02553
p02553
u697532629
u697532629
1,600,024,492
2020-09-13T19:14:52
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); Long[] a=new Long[2]; a[0]=sc.nextLong(); a[1]=sc.nextLong(); Long[] c=new Long[2]; c[0]=sc.nextLong(); c[1]=sc.nextLong(); Long max=(Long)0; for(int i=0;i<2;i++){ for(...
Main.java:12: error: incompatible types: int cannot be converted to Long Long max=(Long)0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u697532629|p02553|0
u697532629|p02553|0
codenet
Compile Error
426
v2_s423330418
s423330418
s423330418
p02553
p02553
u708615801
u708615801
1,600,024,120
2020-09-13T19:08:40
Main.java
#include <iostream> #include <vector> #include <string> #include <algorithm> #include <unordered_map> using namespace std; #define ll long long #define all(v) v.begin(),v.end() #define bootstrap ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0); void solve() { long a, b, c, d; ll n1, n2, n3, n4; ...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <vector> ^ Main.java:3: error: illegal character: '#' #include <string> ^ Main.java:4: error: illegal character: '#' #include <algorithm> ^ Main.java:5: error: illegal character: '#' #include <unordered_...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u708615801|p02553|0
u708615801|p02553|0
codenet
Compile Error
546
v2_s626028963
s626028963
s626028963
p02553
p02553
u749950784
u749950784
1,600,177,119
2020-09-15T13:38:39
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); long int a = scan.nextInt(); long int b = scan.nextInt(); long int c = scan.nextInt(); long int d = scan.nextInt(); long long[] ans = new long long[4]; ans[0] = ...
Main.java:7: error: not a statement long int a = scan.nextInt(); ^ Main.java:7: error: ';' expected long int a = scan.nextInt(); ^ Main.java:8: error: not a statement long int b = scan.nextInt(); ^ Main.java:8: error: ';' expected long int b = scan.nextInt(); ^ Main.java:9: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u749950784|p02553|0
u749950784|p02553|0
codenet
Compile Error
548
v2_s287985161
s287985161
s287985161
p02553
p02553
u841847008
u841847008
1,600,073,006
2020-09-14T08:43:26
Main.java
import java.util.Scanner; class Main{ public static void main(String[]args){ Scanner input=new Scanner(System.in); long a=input.nextInt(); long b=input.nextInt(); long c=input.nextInt(); long d=input.nextInt(); long t=a*b; long y=a*c; long j=b*c; long k=b*d; if(t>y&&t>Math.max(j,k)){ System.out.p...
Main.java:25: error: class, interface, enum, or record expected import java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u841847008|p02553|0
u841847008|p02553|0
codenet
Compile Error
1,003
v2_s489035960
s489035960
s489035960
p02553
p02553
u978678235
u978678235
1,600,024,270
2020-09-13T19:11:10
Main.java
import java.io.*; import java.util.*; import java.lang.Math; public class Main{ static BufferedReader reader; static StringTokenizer tokenizer; static PrintWriter writer; static int nextInt() throws IOException { return Integer.parseInt(nextToken()); } static long nextLong() throws IOException { return Lon...
Main.java:188: error: cannot find symbol long ans=Long>MIN_VALUE; ^ symbol: variable Long location: class Main Main.java:188: error: cannot find symbol long ans=Long>MIN_VALUE; ^ symbol: variable MIN_VALUE location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978678235|p02553|0
u978678235|p02553|0
codenet
Compile Error
5,308
v2_s973769133
s973769133
s973769133
p02553
p02553
u978678235
u978678235
1,600,024,787
2020-09-13T19:19:47
Main.java
import java.io.*; import java.util.*; import java.lang.Math; public class Main{ static BufferedReader reader; static StringTokenizer tokenizer; static PrintWriter writer; static int nextInt() throws IOException { return Integer.parseInt(nextToken()); } static long nextLong() throws IOException { return Lon...
Main.java:189: error: bad operand types for binary operator '&&' if(a<0&&b==0&&c<0&&d=0){ans=Math.max(ans,a*c);} ^ first type: boolean second type: long 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978678235|p02553|0
u978678235|p02553|0
codenet
Compile Error
5,538
v2_s265707247
s265707247
s265707247
p02553
p02553
u981269105
u981269105
1,600,186,977
2020-09-15T16:22:57
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner s = new Scanner(System.in); int a = s.nextInt(); int b = s.nextInt(); int c = s.nextInt(); int d = s.nextInt(); long res= 1; long a1 = a*c; long a2 = b*d; long a3 = a...
Main.java:16: error: variable res is already defined in method main(String[]) long res = Math.max(res1,res2); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981269105|p02553|0
u981269105|p02553|0
codenet
Compile Error
508
v2_s448343434
s448343434
s448343434
p02554
p02554
u198395973
u198395973
1,600,029,565
2020-09-13T20:39:25
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n= scan.nextInt(); BigDecimal N = new BigDecimal(n) ; long m = (long) (Math.pow(10, 9)+7); BigDecimal[] ans = N.multiply(N.subtract(BigDecimal.ONE)) .multiply(BigDecimal.TEN.pow(n-2)).divideAndRemainde...
Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:7: error: cannot find sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u198395973|p02554|0
u198395973|p02554|0
codenet
Compile Error
394
v2_s264231188
s264231188
s264231188
p02554
p02554
u444163977
u444163977
1,600,114,411
2020-09-14T20:13:31
Main.java
import java.util.*; public class Main { public static int pow1(int a, int b) { long res = a; for( int i = 0; i < b - 1; i++ ) { res = res * a % 1000000007; } return (int)res; } public static void main(String[] args){ Scanner sc = new Scanner(System.in); ...
Main.java:27: error: class, interface, enum, or record expected import java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u444163977|p02554|0
u444163977|p02554|0
codenet
Compile Error
884
v2_s642858236
s642858236
s642858236
p02554
p02554
u673217098
u673217098
1,600,329,345
2020-09-17T07:55:45
Main.java
import java.util.*; import java.io.*; public class Main{ Scanner sc = new Scanner(System.in); public void run(){ int n = sc.nextInt(); long mod = 1_000_000_000 + 7; long dp[] = new long[4]; int no09 = 0; int have0 = 1; int have9 = 2; int have09 = 3; dp[no09] = 1; f...
Main.java:26: error: ';' expected System.out.println(dp[have09]) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673217098|p02554|0
u673217098|p02554|0
codenet
Compile Error
723
v2_s376674571
s376674571
s376674571
p02554
p02554
u750429254
u750429254
1,600,119,720
2020-09-14T21:42:00
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long mod = 1000000007; long ans = (long)Math.pow(10, n) - (long)Math.pow(9, n) - (long)Math.pow(9, n) + (long)Math.pow(8, n); System.out.println(ans%mod);...
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
u750429254|p02554|0
u750429254|p02554|0
codenet
Compile Error
348
v2_s137493415
s137493415
s137493415
p02554
p02554
u750429254
u750429254
1,600,119,890
2020-09-14T21:44:50
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long mod = 1000000007; long ans = (long)Math.pow(10, n) - (long)Math.pow(9, n) - (long)Math.pow(9, n) + (long)Math.pow(8, n); System.out.println(ans%mod);...
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
u750429254|p02554|0
u750429254|p02554|0
codenet
Compile Error
348
v2_s938072693
s938072693
s938072693
p02554
p02554
u951706666
u951706666
1,600,032,947
2020-09-13T21:35:47
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long n = sc.nextInt(); long ans = power(10,n) - power(9, n) - power(9, n) + power(8, n) System.out.println(ans % 1000000007); } static long power(long x, lo...
Main.java:8: error: ';' expected long ans = power(10,n) - power(9, n) - power(9, n) + power(8, n) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u951706666|p02554|0
u951706666|p02554|0
codenet
Compile Error
668
v2_s150150137
s150150137
s150150137
p02554
p02554
u988881618
u988881618
1,600,040,599
2020-09-13T23:43: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(); long ans=(Math.pow(10,n)+Math.pow(8,n)-Math.pow(9,n)-Math.pow(9,n))%1000000007 System.out.println(ans); } }
Main.java:6: error: ';' expected long ans=(Math.pow(10,n)+Math.pow(8,n)-Math.pow(9,n)-Math.pow(9,n))%1000000007 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u988881618|p02554|0
u988881618|p02554|0
codenet
Compile Error
255
v2_s537462412
s537462412
s537462412
p02554
p02554
u988881618
u988881618
1,600,040,635
2020-09-13T23:43:55
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long ans=(Math.pow(10,n)+Math.pow(8,n)-Math.pow(9,n)-Math.pow(9,n))%1000000007; System.out.println(ans); } }
Main.java:6: error: incompatible types: possible lossy conversion from double to long long ans=(Math.pow(10,n)+Math.pow(8,n)-Math.pow(9,n)-Math.pow(9,n))%1000000007; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u988881618|p02554|0
u988881618|p02554|0
codenet
Compile Error
257
v2_s651049002
s651049002
s651049002
p02555
p02555
u218740431
u218740431
1,600,638,071
2020-09-20T21:41:11
Main.java
import java.util.*; public class Main { public static long mod(long x, long y){ return x%y<0?x%y+(y<0?-y:y):x%y; } public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); long [] in = new long [a+1]; in[0]=1; long b = 1000000007; fo...
Main.java:15: error: ';' expected in[i]=mod(in[i],b) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02555|0
u218740431|p02555|0
codenet
Compile Error
568
v2_s852245725
s852245725
s852245725
p02555
p02555
u222548870
u222548870
1,600,031,163
2020-09-13T21:06:03
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.InputMismatchException; import java.io.IOException; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at the top * * @author Pranay2516 */ public class...
Main.java:27: error: incompatible types: long[] cannot be converted to long long dp = new long[2001]; ^ Main.java:31: error: array required, but long found dp[0] = 1; ^ Main.java:32: error: array required, but long found dp[1] = dp[2] = 0; ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u222548870|p02555|0
u222548870|p02555|0
codenet
Compile Error
2,819
v2_s215202656
s215202656
s215202656
p02555
p02555
u391044041
u391044041
1,600,024,607
2020-09-13T19:16:47
Main.java
import org.omg.CORBA.MARSHAL; import java.math.BigInteger; import java.util.*; import java.io.*; public class Main { static long[]memo; static int mod = (int)1e9+7; static long dp(int sum){ if (sum<=2) return sum==0?1:0; if (memo[sum]!=-1) re...
Main.java:1: error: package org.omg.CORBA does not exist import org.omg.CORBA.MARSHAL; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u391044041|p02555|0
u391044041|p02555|0
codenet
Compile Error
1,859
v2_s148640988
s148640988
s148640988
p02555
p02555
u541033696
u541033696
1,600,036,692
2020-09-13T22:38:12
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.Scanner; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(String[] args) { InputS...
Main.java:42: error: incompatible types: int[] cannot be converted to int memo = new int[N + 10]; ^ Main.java:43: error: no suitable method found for fill(int,int) Arrays.fill(memo, -1); ^ method Arrays.fill(long[],long) is not applicable (argument ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u541033696|p02555|0
u541033696|p02555|0
codenet
Compile Error
1,491
v2_s615479795
s615479795
s615479795
p02555
p02555
u672107334
u672107334
1,600,025,893
2020-09-13T19:38:13
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.util.Arrays; import java.io.BufferedWriter; import java.io.Writer; import java.io.OutputStreamWriter; import java.util.InputMismatchException; import java.io.IOExcept...
Main.java:42: error: array required, but long found if (dp[(int) sum] != -1) return dp[(int) sum]; ^ Main.java:42: error: array required, but long found if (dp[(int) sum] != -1) return dp[(int) sum]; ^ Main.java:47: error: array req...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u672107334|p02555|0
u672107334|p02555|0
codenet
Compile Error
4,397
v2_s801388252
s801388252
s801388252
p02555
p02555
u673217098
u673217098
1,600,331,511
2020-09-17T08:31:51
Main.java
import java.util.*; import java.io.*; public class Main{ Scanner sc = new Scanner(System.in); long mod = 1_000_000_000 + 7; public void run(){ int s = sc.nextInt(); long[] dp = new int[2001]; Arrays.fill(dp,-1); dp[0] = 0; dp[1] = 0; dp[2] = 0; dp[3] = 1; for(int ...
Main.java:12: error: incompatible types: int[] cannot be converted to long[] long[] dp = new int[2001]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673217098|p02555|0
u673217098|p02555|0
codenet
Compile Error
573
v2_s755271910
s755271910
s755271910
p02556
p02556
u254886300
u254886300
1,600,525,461
2020-09-19T14:24:21
Main.java
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; #define endl '\n' #define all(x) (x).begin(),(x).end() const int INF=1000000000+5; const int N=2e5+5; const ll oo=1e18+5; const ll mod=998244353; struct point{ int x,y; }; bool cmp(const point& a,const point& b){ ret...
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:3: error: class, interface, enum, or record expected typedef long long ll; ^ Main.java:4: error: class, interface, enum, or record expected t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u254886300|p02556|0
u254886300|p02556|0
codenet
Compile Error
567
v2_s733916937
s733916937
s733916937
p02556
p02556
u338518832
u338518832
1,600,027,976
2020-09-13T20:12:56
Main.java
import java.util.Scanner; //atcoderはScannerクラスのsc.next()で行ける public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long ans1; long ans2; int n = sc.nextInt(); ArrayList<long[]> dists = new ArrayList<>(); for (int i = 0; i <...
Main.java:10: error: cannot find symbol ArrayList<long[]> dists = new ArrayList<>(); ^ symbol: class ArrayList location: class Main Main.java:10: error: cannot find symbol ArrayList<long[]> dists = new ArrayList<>(); ^ symbol: class ArrayList loc...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u338518832|p02556|0
u338518832|p02556|0
codenet
Compile Error
1,005
v2_s069672735
s069672735
s069672735
p02556
p02556
u452505906
u452505906
1,600,028,767
2020-09-13T20:26:07
Main.java
import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.List; import java.util.PriorityQueue; import java.util.Scanner; import java.util.Set; import atCoder.template.f.Main.Pair; public class Main { public static voi...
Main.java:12: error: package atCoder.template.f.Main does not exist import atCoder.template.f.Main.Pair; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u452505906|p02556|0
u452505906|p02556|0
codenet
Compile Error
1,826
v2_s374932911
s374932911
s374932911
p02556
p02556
u556544227
u556544227
1,600,026,026
2020-09-13T19:40:26
Main.java
// Java Program for the above approach import java.awt.*; import java.util.*; import java.util.Map.Entry; public class Main { // Function to detect the orientation static int orientation(Point p, Point q, Point r) { int x = area(p, q, r); // If area > 0 then // points are clockwise ...
Main.java:236: error: cannot find symbol int n = sc.newInt(); ^ symbol: method newInt() location: variable sc of type Scanner Main.java:242: error: cannot find symbol int a = sc.newInt(); ^ symbol: method newInt() location: variable sc of type Scanner Main.jav...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u556544227|p02556|0
u556544227|p02556|0
codenet
Compile Error
4,850
v2_s592015756
s592015756
s592015756
p02556
p02556
u559053033
u559053033
1,600,028,261
2020-09-13T20:17:41
Main.java
import java.util.*; public class pair { int x; int y; pair(int x,int y){ this.x= x; this.y= y; } } public class pair { int x; int y; pair(int x,int y){ this.x= x; this.y= y; } } public class Main { static pair[]a; public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner s...
Main.java:3: error: class pair is public, should be declared in a file named pair.java public class pair { ^ Main.java:15: error: class pair is public, should be declared in a file named pair.java public class pair { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u559053033|p02556|0
u559053033|p02556|0
codenet
Compile Error
840
v2_s575101135
s575101135
s575101135
p02556
p02556
u650819796
u650819796
1,600,029,594
2020-09-13T20:39:54
Main.java
Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long max = 0; List<List<Long>> lists = new ArrayList<>(); for (int i = 0; i < n; i++) { long x = sc.nextLong(); long y = sc.nextLong(); List<Long> list = new ArrayList<>(); ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Scanner sc = 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 < n; i++) { ^ Main.java:5: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u650819796|p02556|0
u650819796|p02556|0
codenet
Compile Error
928
v2_s122325369
s122325369
s122325369
p02556
p02556
u673217098
u673217098
1,600,332,938
2020-09-17T08:55:38
Main.java
import java.util.*; import java.io.*; public class Main{ Scanner sc = new Scanner(System.in); public void run(){ int n = sc.nextInt(); int MAX = 1234567 int posMax = -MAX; int posMin = MAX; int negMax = -MAX; int negMin = MAX; for(int i = 0 ;i < n ; i++){ int x = sc....
Main.java:10: error: ';' expected int MAX = 1234567 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673217098|p02556|0
u673217098|p02556|0
codenet
Compile Error
724
v2_s057895379
s057895379
s057895379
p02557
p02557
u327563797
u327563797
1,600,027,051
2020-09-13T19:57:31
Main.java
import java.io.*; import java.util.*; import learnjava.test6.Pair; public class Main { public static void main(String[] args) throws IOException{ BufferedReader sc=new BufferedReader(new InputStreamReader(System.in)); //Scanner sc=new Scanner(System.in); PrintWriter out=new PrintWriter(System.out); int n=I...
Main.java:5: error: package learnjava.test6 does not exist import learnjava.test6.Pair; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u327563797|p02557|0
u327563797|p02557|0
codenet
Compile Error
814
v2_s501445219
s501445219
s501445219
p02557
p02557
u673217098
u673217098
1,600,339,631
2020-09-17T10:47:11
Main.java
import java.io.*; import java.util.*; public class Main{ Scanner sc = new Scanner(System.in); void run(){ int n = sc.nextInt(); int[] a = new int[n]; int[] count = new int[n+1]; for(int i = 0; i<n ;i++){ a[i] = sc.nextInt(); count[a[i]]++; } int max = Arrays.stream(count).max();...
Main.java:14: error: incompatible types: OptionalInt cannot be converted to int int max = Arrays.stream(count).max(); ^ Main.java:29: error: cannot find symbol Maim m = new Main(); ^ symbol: class Maim location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673217098|p02557|0
u673217098|p02557|0
codenet
Compile Error
675
v2_s890473621
s890473621
s890473621
p02557
p02557
u673217098
u673217098
1,600,339,666
2020-09-17T10:47:46
Main.java
import java.io.*; import java.util.*; public class Main{ Scanner sc = new Scanner(System.in); void run(){ int n = sc.nextInt(); int[] a = new int[n]; int[] count = new int[n+1]; for(int i = 0; i<n ;i++){ a[i] = sc.nextInt(); count[a[i]]++; } int max = Arrays.stream(count).max()....
Main.java:14: error: cannot find symbol int max = Arrays.stream(count).max().get(); ^ symbol: method get() location: class OptionalInt Main.java:29: error: cannot find symbol Maim m = new Main(); ^ symbol: class Maim location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673217098|p02557|0
u673217098|p02557|0
codenet
Compile Error
681
v2_s280936356
s280936356
s280936356
p02557
p02557
u895864703
u895864703
1,600,027,739
2020-09-13T20:08:59
Main.java
//Created by Aminul on 9/13/2020. import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.InputMismatchException; import java.util.Random; import java.util.TreeMap; public class Main { public static void main(String[] args) throws Exception { ...
Main.java:32: error: incompatible types: TreeMap<Integer,Integer> cannot be converted to int[] b = solve(n, a, map); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895864703|p02557|0
u895864703|p02557|0
codenet
Compile Error
6,336
v2_s956304702
s956304702
s956304702
p02557
p02557
u901568278
u901568278
1,600,029,864
2020-09-13T20:44:24
Main.java
#include<bits/stdc++.h> using namespace std; #define rep(i,n) for(int i=0;i<n;i++) #define N 200010 int n,a[N],b[N],c[N],d[N]; int main(){ cin>>n; rep(i,n)cin>>a[i]; rep(i,n)cin>>b[i]; rep(i,n+1)c[i]=d[i]=0; rep(i,n)c[a[i]]++,d[b[i]]++; rep(i,n+1){ if(c[i]+d[i]>n){ cout<<"No\n"; retur...
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:3: error: illegal character: '#' #define rep(i,n) for(int i=0;i<n;i++) ^ Main.java:3: error: class, interface, enum, or record expected #define ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u901568278|p02557|0
u901568278|p02557|0
codenet
Compile Error
552
v2_s064682152
s064682152
s064682152
p02558
p02558
u729337236
u729337236
1,599,517,967
2020-09-07T22:32:47
Main.java
#ifndef _TEMPLATE_ROOT #define _TEMPLATE_ROOT #include "bits/stdc++.h" using namespace std; #define rep(i, a, b) for(int i = a; i < (b); ++i) #define repl(i, a, b) for(ll i = a; i < (b); ++i) #define repd(i, a, b) for(int i = a; i >= (b); --i) #define repdl(i, a, b) for(ll i = a; i >= (b); --i) #define all(x) begin(x),...
Main.java:1: error: illegal character: '#' #ifndef _TEMPLATE_ROOT ^ Main.java:2: error: illegal character: '#' #define _TEMPLATE_ROOT ^ Main.java:3: error: illegal character: '#' #include "bits/stdc++.h" ^ Main.java:5: error: illegal character: '#' #define rep(i, a, b) for(int i = a; i < (b); ++i) ^ Main.java:5: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u729337236|p02558|0
u729337236|p02558|0
codenet
Compile Error
1,688
v2_s906943544
s906943544
s906943544
p02559
p02559
u127030911
u127030911
1,600,540,650
2020-09-19T18:37:30
Main.java
import java.util.*; public class Main { Scanner sc = new Scanner(System.in); public static void main(String[] args) { new Main().run(); } void run() { int n = sc.nextInt(); int q = sc.nextInt(); long[] a = new long[n]; BIT bit = new BIT(n); for (int i...
Main.java:29: error: incompatible types: possible lossy conversion from long to int int diff = bit.sum(r) - bit.sum(l); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u127030911|p02559|0
u127030911|p02559|0
codenet
Compile Error
1,454
v2_s594361381
s594361381
s594361381
p02559
p02559
u541055501
u541055501
1,599,593,828
2020-09-08T19:37:08
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.NoSuchElementException; import java.util.Scanner; public class Main { static FastScanner sc = new FastScanner(System.in); static StringBuilder sb = new StringBuilder(); static Print...
Main.java:33: error: cannot find symbol sc.close(); ^ symbol: method close() location: variable sc of type FastScanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u541055501|p02559|1
u541055501|p02559|1
codenet
Compile Error
5,181
v2_s752470611
s752470611
s752470611
p02564
p02564
u541055501
u541055501
1,600,102,832
2020-09-14T17:00:32
Main.java
class Main { public static void main(String[] args) throws Exception { FastScanner sc = new FastScanner( // new java.io.FileInputStream(new java.io.File("in")) ); FastPrintStream pw = new FastPrintStream(); solve(sc, pw); sc.close(); pw.flush(); pw...
Main.java:35: error: cannot find symbol class SCC<Edg extends AbstractEdge> { ^ symbol: class AbstractEdge Main.java:41: error: cannot find symbol public SCC(Digraph<Edg> g) { ^ symbol: class Digraph location: class SCC<Edg> where Edg is a type-variable: Edg declar...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u541055501|p02564|3
u541055501|p02564|3
codenet
Compile Error
12,784
v2_s003606644
s003606644
s003606644
p02566
p02566
u119714109
u119714109
1,599,609,735
2020-09-09T00:02:15
Main.java
import java.util.Scanner; public class Main { public static void main(String... args) { Scanner in = new Scanner(System.in); String s = in.next(); int[] sa = StringAlgorithm.suffixArray(s); int[] lcp = StringAlgorithm.lcpArray(s, sa); int n = s.length(); long ans = (long)n*(n+1)/2; for(int v : lcp){ ...
Main.java:19: error: class, interface, enum, or record expected import java.util.Arrays; ^ Main.java:20: error: class, interface, enum, or record expected import java.util.Comparator; ^ Main.java:21: error: class, interface, enum, or record expected import java.util.function.Consumer; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u119714109|p02566|0
u119714109|p02566|0
codenet
Compile Error
6,030
v2_s489494203
s489494203
s489494203
p02567
p02567
u183509493
u183509493
1,600,625,981
2020-09-20T18:19:41
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.lang.reflect.Array; import java.util.function.BiFunction; import java.nio.ByteBuffer; import java.nio.charset.Charset; import java.util.NoSuchElementException; import java.io.OutputStream; import ja...
Main.java:115: error: incompatible types: ObjIntFunction is not a functional interface this(array, op, zero, up, merge, nop, (u, w) -> u); ^ no abstract method found in interface ObjIntFunction Main.java:216: warning: [removal] AccessControlException in java.security has been deprecated and ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u183509493|p02567|1
u183509493|p02567|1
codenet
Compile Error
14,036
v2_s138268445
s138268445
s138268445
p02567
p02567
u541055501
u541055501
1,599,923,896
2020-09-12T15:18:16
Main.java
public class Main { public static void main(String[] args) throws Exception { var sc = new FastScanner(); var pw = new FastPrintStream(); solve(sc, pw); sc.close(); pw.flush(); pw.close(); } public static void solve(FastScanner sc, FastPrintStream pw) { ...
Main.java:30: error: cannot find symbol pw.println(t.maxRight(a, e -> e < v) + 1); ^ symbol: variable a location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u541055501|p02567|2
u541055501|p02567|2
codenet
Compile Error
14,311
v2_s734965046
s734965046
s734965046
p02568
p02568
u541055501
u541055501
1,599,922,545
2020-09-12T14:55:45
Main.java
public class Main { static final long mod = 998244353; public static void main(String[] args) { var sc = new FastScanner(System.in); var pw = new FastPrintStream(); final int N = sc.nextInt(); final int Q = sc.nextInt(); final var A = new S[N]; Arrays.setAll(A, i ...
Main.java:77: error: cannot find symbol final BinaryOperator<S> Op; ^ symbol: class BinaryOperator location: class LazySegTree<S,F> where S,F are type-variables: S extends Object declared in class LazySegTree F extends Object declared in class LazySegTree Main.java:79: error: cannot find s...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u541055501|p02568|2
u541055501|p02568|2
codenet
Compile Error
17,884
v2_s862867627
s862867627
s862867627
p02568
p02568
u541055501
u541055501
1,599,922,610
2020-09-12T14:56:50
Main.java
public class Main { static final long mod = 998244353; public static void main(String[] args) { var sc = new FastScanner(System.in); var pw = new FastPrintStream(); final int N = sc.nextInt(); final int Q = sc.nextInt(); final var A = new S[N]; Arrays.setAll(A, i ...
Main.java:77: error: cannot find symbol final java.util.BinaryOperator<S> Op; ^ symbol: class BinaryOperator location: package java.util Main.java:79: error: cannot find symbol final java.util.BiFunction<F, S, S> Mapping; ^ symbol: class BiFunction location: pac...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u541055501|p02568|2
u541055501|p02568|2
codenet
Compile Error
17,994
v2_s341320985
s341320985
s341320985
p02568
p02568
u541055501
u541055501
1,599,922,685
2020-09-12T14:58:05
Main.java
public class Main { static final long mod = 998244353; public static void main(String[] args) { var sc = new FastScanner(System.in); var pw = new FastPrintStream(); final int N = sc.nextInt(); final int Q = sc.nextInt(); final var A = new S[N]; Arrays.setAll(A, i ...
Main.java:9: error: cannot find symbol Arrays.setAll(A, i -> new S(sc.nextLong(), 1)); ^ symbol: variable Arrays location: class Main Main.java:100: error: cannot find symbol Arrays.fill(Dat, E); ^ symbol: variable Arrays location: class LazySegTree<S,F> where S,F are type-...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u541055501|p02568|2
u541055501|p02568|2
codenet
Compile Error
18,093
v2_s723089200
s723089200
s723089200
p02570
p02570
u027402839
u027402839
1,599,756,517
2020-09-10T16:48:37
Main.java
int d = new java.util.Scanner(System.in).nextInt(); int t = new java.util.Scanner(System.in).nextInt(); int s = new java.util.Scanner(System.in).nextInt(); if(t * s <=d) { System.out.println("yes"); }else{ System.out.println("no"); }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. int d = new java.util.Scanner(System.in).nextInt(); ^ (use --enable-preview to enable unnamed classes) Main.java:5: error: class, interface, enum, or record expected if(t * s <=d) { ^ Main.java:7: error: class, interface, enum,...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u027402839|p02570|0
u027402839|p02570|0
codenet
Compile Error
252
v2_s642205367
s642205367
s642205367
p02570
p02570
u027402839
u027402839
1,599,756,691
2020-09-10T16:51:31
Main.java
public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ int d = new java.util.Scanner(System.in).nextInt(); int t = new java.util.Scanner(System.in).nextInt(); int s = new java.util.Scanner(System.in).nextInt(); if(t * s <=d) { System.out.println("yes"); }else{ Syste...
Main.java:16: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u027402839|p02570|0
u027402839|p02570|0
codenet
Compile Error
383
v2_s502169003
s502169003
s502169003
p02570
p02570
u043292204
u043292204
1,598,730,659
2020-08-29T19:50:59
Main.java
import java.util.*; public class Main { public static void main(String[] args){ double D = sc.nextDouble(); double T = sc.nextDouble(); double S = sc.nextDouble(); double a = 0; a = D / S; if(a <= T) { System.out.println("Yes"); }else { System.out.println("No"); } } }
Main.java:4: error: cannot find symbol double D = sc.nextDouble(); ^ symbol: variable sc location: class Main Main.java:5: error: cannot find symbol double T = sc.nextDouble(); ^ symbol: variable sc location: class Main Main.java:6: error: cannot find symbol double S = sc.nex...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u043292204|p02570|0
u043292204|p02570|0
codenet
Compile Error
301
v2_s185823650
s185823650
s185823650
p02570
p02570
u073396193
u073396193
1,598,912,728
2020-08-31T22:25:28
Main.java
import java.io.BufferedReader; import java.io.*; import java.util.*; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Collections; import java.util.Arrays; public class Main { public static void main(final String[] args){ final Scanner sc = new Scanner(System.in)...
Main.java:24: error: package Syetem does not exist Syetem.out.println("No"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073396193|p02570|0
u073396193|p02570|0
codenet
Compile Error
613
v2_s659599421
s659599421
s659599421
p02570
p02570
u079088332
u079088332
1,598,731,131
2020-08-29T19:58:51
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int D = scan.nextInt(); int T = scan.nextInt(); int S = scan.nextInt(); int t = D / S; if(D % S == 0) ans++; System.out.print...
Main.java:14: error: ')' or ',' expected ans <= T ? "Yes" : "No"; ^ Main.java:15: error: illegal start of expression ); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u079088332|p02570|0
u079088332|p02570|0
codenet
Compile Error
379
v2_s374080183
s374080183
s374080183
p02570
p02570
u096087819
u096087819
1,600,540,564
2020-09-19T18:36:04
Main.java
class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int d = in.nextInt(); int s = in.nextInt(); int t = in.nextInt(); if (d >= 1 && d <= 10000 && s >= 1 && s <= 10000 && t >= 1 && t <= 10000) { if ((s * t) == d) { ...
Main.java:4: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u096087819|p02570|0
u096087819|p02570|0
codenet
Compile Error
512
v2_s357345921
s357345921
s357345921
p02570
p02570
u111285482
u111285482
1,599,871,065
2020-09-12T00:37:45
Main.java
import java.io.*; import java.util.*; class Main { public static void main(String args[]) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int D = Integer.parseInt(st.nextToken()); int T = Integer.p...
Main.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u111285482|p02570|0
u111285482|p02570|0
codenet
Compile Error
483
v2_s429144386
s429144386
s429144386
p02570
p02570
u124212130
u124212130
1,598,728,683
2020-08-29T19:18:03
Main.java
import java.io.*; import java.util.*; public class Main{ void main(){ Scanner sc = new Scanner(System.in); long D = sc.nextInt(),T = sc.nextInt(),S = sc.nextInt(); if ((D-T*S)=>0){ System.out.println("Yes") }else{ System.out.println("No") ...
Main.java:8: error: illegal start of expression if ((D-T*S)=>0){ ^ Main.java:9: error: ';' expected System.out.println("Yes") ^ Main.java:11: error: ';' expected System.out.println("No") ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u124212130|p02570|0
u124212130|p02570|0
codenet
Compile Error
353
v2_s950188306
s950188306
s950188306
p02570
p02570
u128379378
u128379378
1,599,124,676
2020-09-03T09:17:56
Main.java
import java.util.Scanner; public static void main(String[] args) { Scanner sc = new Scanner(System.in); // 目的地までの距離 int d = sc.nextInt(); // 待ち合わせ時間 int t = sc.nextInt(); // 分速 int s = sc.nextInt(); if (d / s <= t) { System.out.println("Yes"); } else { System.out.pri...
Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) Main.java:21: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u128379378|p02570|0
u128379378|p02570|0
codenet
Compile Error
378
v2_s595867405
s595867405
s595867405
p02570
p02570
u132094168
u132094168
1,598,727,980
2020-08-29T19:06:20
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int D = sc.nextInt(); // スペース区切りの整数の入力 int T = sc.nextInt(); int S = sc.nextInt(); int X; X = D/S; int Y; Y=D...
Main.java:18: error: ';' expected } elseif(X=T){ ^ Main.java:24: error: 'else' without 'if' } else { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u132094168|p02570|0
u132094168|p02570|0
codenet
Compile Error
644
v2_s636102907
s636102907
s636102907
p02570
p02570
u132094168
u132094168
1,598,728,035
2020-08-29T19:07:15
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int D = sc.nextInt(); // スペース区切りの整数の入力 int T = sc.nextInt(); int S = sc.nextInt(); int X; X = D/S; int Y; Y=D...
Main.java:18: error: incompatible types: int cannot be converted to boolean } else if(X=T){ ^ Main.java:19: error: incompatible types: int cannot be converted to boolean if(Y=0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u132094168|p02570|0
u132094168|p02570|0
codenet
Compile Error
646
v2_s298365313
s298365313
s298365313
p02570
p02570
u176843436
u176843436
1,598,727,702
2020-08-29T19:01:42
Main.java
#include <bits/stdc++.h> using namespace std; double pi=3.14159265358979323846264338; long long sum; long long n,k,st,h,w,m; int tx,ty,gx,gy,cx,cy; string s; const int dx[4]={-1,1,0,0}; const int dy[4]={0,0,-1,1}; int arr[300001],arr2[300001]; vector<int>ar,ar2; map<pair<int,int>,int>ma; long long pr(long long a, ...
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:6: error: unnamed classes are a preview feature and are disabled by default. double pi=3.14159265358979323846264338; ^ (use --enable-previe...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u176843436|p02570|0
u176843436|p02570|0
codenet
Compile Error
507
v2_s001226522
s001226522
s001226522
p02570
p02570
u176843436
u176843436
1,598,727,752
2020-08-29T19:02:32
Main.java
#include <bits/stdc++.h> using namespace std; double pi=3.14159265358979323846264338; long long sum; int main(){ int a,b,c; cin>>a>>b>>c; if(b*c>=a)cout<<"Yes"<<endl; ele cout<<"No"<<endl; return 0; }
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:6: error: unnamed classes are a preview feature and are disabled by default. double pi=3.14159265358979323846264338; ^ (use --enable-previe...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u176843436|p02570|0
u176843436|p02570|0
codenet
Compile Error
209
v2_s178536923
s178536923
s178536923
p02570
p02570
u176843436
u176843436
1,598,727,842
2020-08-29T19:04:02
Main.java
#include <bits/stdc++.h> using namespace std; double pi=3.14159265358979323846264338; long long sum; int main(){ int a,b,c; cin>>a>>b>>c; if(b*c>=a)cout<<"Yes"<<endl; else cout<<"No"<<endl; return 0; }
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:6: error: unnamed classes are a preview feature and are disabled by default. double pi=3.14159265358979323846264338; ^ (use --enable-previe...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u176843436|p02570|0
u176843436|p02570|0
codenet
Compile Error
210
v2_s457703263
s457703263
s457703263
p02570
p02570
u179628624
u179628624
1,599,746,566
2020-09-10T14:02:46
Main.java
public static void main(String[] args) { final Integer distance = Integer.valueOf(args[0]); final Integer time = Integer.valueOf(args[1]); final Integer velocity = Integer.valueOf(args[2]); time > (float)distance / (float)velocity ? velocityprint("Yes") : print("No"); }
Main.java:6: error: not a statement time > (float)distance / (float)velocity ? velocityprint("Yes") : print("No"); ^ Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enabl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u179628624|p02570|0
u179628624|p02570|0
codenet
Compile Error
284
v2_s629470787
s629470787
s629470787
p02570
p02570
u179628624
u179628624
1,599,746,684
2020-09-10T14:04:44
Main.java
class Main { public static void main(String[] args) { final Integer distance = Integer.valueOf(args[0]); final Integer time = Integer.valueOf(args[1]); final Integer velocity = Integer.valueOf(args[2]); time > (float)distance / (float)velocity ? velocityprint("Yes") : print("No"); } }
Main.java:8: error: not a statement time > (float)distance / (float)velocity ? velocityprint("Yes") : print("No"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u179628624|p02570|0
u179628624|p02570|0
codenet
Compile Error
300
v2_s112491392
s112491392
s112491392
p02570
p02570
u179628624
u179628624
1,599,746,724
2020-09-10T14:05:24
Main.java
class Main { public static void main(String[] args) { final Integer distance = Integer.valueOf(args[0]); final Integer time = Integer.valueOf(args[1]); final Integer velocity = Integer.valueOf(args[2]); time > (float)distance / (float)velocity ? print("Yes") : print("No"); } }
Main.java:7: error: not a statement time > (float)distance / (float)velocity ? print("Yes") : print("No"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u179628624|p02570|0
u179628624|p02570|0
codenet
Compile Error
289
v2_s825561721
s825561721
s825561721
p02570
p02570
u179628624
u179628624
1,599,746,776
2020-09-10T14:06:16
Main.java
class Main { public static void main(String[] args) { final Integer distance = Integer.valueOf(args[0]); final Integer time = Integer.valueOf(args[1]); final Integer velocity = Integer.valueOf(args[2]); if(time > (float)distance / (float)velocity) { print("Yes"); } else { print("No"); } } }
Main.java:8: error: cannot find symbol print("Yes"); ^ symbol: method print(String) location: class Main Main.java:10: error: cannot find symbol print("No"); ^ symbol: method print(String) location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u179628624|p02570|0
u179628624|p02570|0
codenet
Compile Error
314
v2_s765163675
s765163675
s765163675
p02570
p02570
u179628624
u179628624
1,599,746,927
2020-09-10T14:08:47
Main.java
class Main { public static void main(String[] args) { final Scanner sc = new Scanner(System.in); final Integer distance = sc.nextInt(); final Integer time = sc.nextInt(); final Integer velocity = sc.nextInt(); if(time > (float)distance / (float)velocity) { System.out.println("Yes"); } else { Sy...
Main.java:3: error: cannot find symbol final Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol final 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
u179628624|p02570|0
u179628624|p02570|0
codenet
Compile Error
351
v2_s344364704
s344364704
s344364704
p02570
p02570
u187785396
u187785396
1,598,731,558
2020-08-29T20:05:58
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int D = sc.nextInt(); int T = sc.nextInt(); int S = sc.nextInt(); String res = D < T * S ? "Yes" : "No"; System.out.println(res); } }
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
u187785396|p02570|0
u187785396|p02570|0
codenet
Compile Error
287
v2_s814879802
s814879802
s814879802
p02570
p02570
u195203042
u195203042
1,598,729,569
2020-08-29T19:32:49
Main.java
)import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力(スペース改行関係なし) double d = sc.nextInt(); double t = sc.nextDouble(); double s = sc.nextInt(); double kakaruhun = Math.ceil(d/s); if(kakaruhun <= t){ // 出力 System....
Main.java:1: error: class, interface, enum, or record expected )import java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u195203042|p02570|0
u195203042|p02570|0
codenet
Compile Error
423
v2_s644114549
s644114549
s644114549
p02570
p02570
u199607618
u199607618
1,600,358,646
2020-09-17T16:04:06
Main.java
public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scannerS = new Scanner(System.in); int D = scannerS.nextInt(); int T = scannerS.nextInt(); int S = scannerS.nextInt(); int t = D / S; if (t<T || t==T) { 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
u199607618|p02570|0
u199607618|p02570|0
codenet
Compile Error
350
v2_s762528488
s762528488
s762528488
p02570
p02570
u199607618
u199607618
1,600,358,760
2020-09-17T16:06:00
Main.java
public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scannerS = new Scanner(System.in); int D = scannerS.nextInt(); int T = scannerS.nextInt(); int S = scannerS.nextInt(); int t = D / S; if (t<T || t==T) { System.out.println("Yes"); }else { System.out....
Main.java:5: error: cannot find symbol Scanner scannerS = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scannerS = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u199607618|p02570|0
u199607618|p02570|0
codenet
Compile Error
375
v2_s579896339
s579896339
s579896339
p02570
p02570
u217243883
u217243883
1,599,534,949
2020-09-08T03:15:49
Main.java
import java.util.Scanner; class class Main { public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); int d = stdIn.nextInt(); int t = stdIn.nextInt(); int s = stdIn.nextInt(); if (d<=t*s){ System.out.println("Yes"); } else {System.out.println("No");} } }
Main.java:3: error: <identifier> expected class class Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u217243883|p02570|0
u217243883|p02570|0
codenet
Compile Error
290
v2_s209035042
s209035042
s209035042
p02570
p02570
u239917735
u239917735
1,598,728,225
2020-08-29T19:10:25
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); float D = sc.nextInt(); float T = sc.nextInt(); float S= sc.nextInt(); if(D / S <= T) {     System.out.println("Yes");     } else { System.out.println("No"); ...
Main.java:11: error: illegal character: '\u3000' ????System.out.println("Yes"); ^ Main.java:11: error: illegal character: '\u3000' ????System.out.println("Yes"); ^ Main.java:11: error: illegal character: '\u3000' ????System.out.println("Yes"); ^ Main.java:11: error: illegal character: '\u3000' ????System.out.println...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u239917735|p02570|0
u239917735|p02570|0
codenet
Compile Error
345
v2_s101321063
s101321063
s101321063
p02570
p02570
u239917735
u239917735
1,598,728,487
2020-08-29T19:14:47
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); float D = sc.nextFloat(); float T = sc.nextFloat(); float S= sc.nextFloat(); if(D / S <= T){     System.out.println("Yes");     } else { System.out.println("No"); ...
Main.java:12: error: illegal character: '\u3000' ????System.out.println("Yes"); ^ Main.java:12: error: illegal character: '\u3000' ????System.out.println("Yes"); ^ Main.java:12: error: illegal character: '\u3000' ????System.out.println("Yes"); ^ Main.java:12: error: illegal character: '\u3000' ????System.out.println...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u239917735|p02570|0
u239917735|p02570|0
codenet
Compile Error
351