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_s168747379
s168747379
s168747379
p03643
p03643
u210718367
u210718367
1,533,494,227
2018-08-05T18:37:07
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner scanner = new Scanner(); int i = scanner.nextInt(); system.out.println("ABC" + i); } }
Main.java:5: error: no suitable constructor found for Scanner(no arguments) Scanner scanner = new Scanner(); ^ constructor Scanner.Scanner(Readable,Pattern) is not applicable (actual and formal argument lists differ in length) constructor Scanner.Scanner(Readable) is not applicable ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u210718367|p03643|0
u210718367|p03643|0
codenet
Compile Error
187
v2_s145717492
s145717492
s145717492
p03643
p03643
u210718367
u210718367
1,533,494,268
2018-08-05T18:37:48
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner scanner = new Scanner(system.in); int i = scanner.nextInt(); system.out.println("ABC" + i); } }
Main.java:5: error: cannot find symbol Scanner scanner = new Scanner(system.in); ^ symbol: variable system location: class Main Main.java:7: error: package system does not exist system.out.println("ABC" + i); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u210718367|p03643|0
u210718367|p03643|0
codenet
Compile Error
197
v2_s426667612
s426667612
s426667612
p03643
p03643
u273260238
u273260238
1,589,497,438
2020-05-14T23:03:58
Main.java
import java.uti.*; class Main{ public static void main(String[] args){ Scannner sc = new Scannner(System.in); int n = sc.nextInt(); System.out.println(n); } }
Main.java:1: error: package java.uti does not exist import java.uti.*; ^ Main.java:4: error: cannot find symbol Scannner sc = new Scannner(System.in); ^ symbol: class Scannner location: class Main Main.java:4: error: cannot find symbol Scannner sc = new Scannner(System.in); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u273260238|p03643|0
u273260238|p03643|0
codenet
Compile Error
168
v2_s435944342
s435944342
s435944342
p03643
p03643
u273260238
u273260238
1,589,497,515
2020-05-14T23:05:15
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scannner sc = new Scannner(System.in); int n = sc.nextInt(); System.out.println(n); } }
Main.java:4: error: cannot find symbol Scannner sc = new Scannner(System.in); ^ symbol: class Scannner location: class Main Main.java:4: error: cannot find symbol Scannner sc = new Scannner(System.in); ^ symbol: class Scannner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u273260238|p03643|0
u273260238|p03643|0
codenet
Compile Error
170
v2_s925465229
s925465229
s925465229
p03643
p03643
u273260238
u273260238
1,589,497,558
2020-05-14T23:05:58
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scannnr sc = new Scanner(System.in); int n = sc.nextInt(); System.out.println(n); } }
Main.java:4: error: cannot find symbol Scannnr sc = new Scanner(System.in); ^ symbol: class Scannnr location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u273260238|p03643|0
u273260238|p03643|0
codenet
Compile Error
168
v2_s383687713
s383687713
s383687713
p03643
p03643
u273260238
u273260238
1,589,497,911
2020-05-14T23:11:51
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); System.out.println('ABC' + n); } }
Main.java:6: error: unclosed character literal System.out.println('ABC' + n); ^ Main.java:6: error: unclosed character literal System.out.println('ABC' + n); ^ Main.java:6: error: not a statement System.out.println('ABC' + n); ^ Main.java:6: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u273260238|p03643|0
u273260238|p03643|0
codenet
Compile Error
176
v2_s171974277
s171974277
s171974277
p03643
p03643
u273260238
u273260238
1,589,498,786
2020-05-14T23:26:26
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scaner(System.in); int n = sc.nextInt(); int j = 2; int k = 0; // カウントする数 while( 0 <= j && j <= n){ if(n%j == 0){ j = j* 2; k = k+1; }else{ System.out.println(j); ...
Main.java:4: error: cannot find symbol Scanner sc = new Scaner(System.in); ^ symbol: class Scaner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u273260238|p03643|0
u273260238|p03643|0
codenet
Compile Error
357
v2_s643208854
s643208854
s643208854
p03643
p03643
u273260238
u273260238
1,589,499,191
2020-05-14T23:33:11
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 j = 2; int k = 0; // カウントする数 while((j <= n)%2 == 0){ if(n%j == 0){ j = j* 2; k = k+1; }else{ break; } } Sy...
Main.java:8: error: bad operand types for binary operator '%' while((j <= n)%2 == 0){ ^ first type: boolean second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u273260238|p03643|0
u273260238|p03643|0
codenet
Compile Error
361
v2_s028969520
s028969520
s028969520
p03643
p03643
u458268106
u458268106
1,572,563,598
2019-10-31T23:13:18
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int a=sc.nextInt(); System.out.println(ABC+a/100+""+a/10%10+""+a%10); } }
Main.java:6: error: cannot find symbol System.out.println(ABC+a/100+""+a/10%10+""+a%10); ^ symbol: variable ABC location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458268106|p03643|0
u458268106|p03643|0
codenet
Compile Error
197
v2_s332703896
s332703896
s332703896
p03643
p03643
u492223956
u492223956
1,522,239,836
2018-03-28T12:23:56
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(); System.out.println("ABC"++a); } }
Main.java:6: error: ')' or ',' expected System.out.println("ABC"++a); ^ Main.java:6: error: ';' expected System.out.println("ABC"++a); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u492223956|p03643|0
u492223956|p03643|0
codenet
Compile Error
193
v2_s227330901
s227330901
s227330901
p03643
p03643
u568382716
u568382716
1,563,915,701
2019-07-23T21:01:41
AtCodder.java
public class AtCodder { public static void main(String[] args) { int a; String str2="ABC"; Scanner input = new Scanner(System.in); a=input.nextInt(); String str1 = Integer.toString(a); System.out.println(str2+str1); }
AtCodder.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568382716|p03643|0
u568382716|p03643|0
codenet
Compile Error
274
v2_s941625592
s941625592
s941625592
p03643
p03643
u582880126
u582880126
1,593,437,929
2020-06-29T13:38:49
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int N = sc.nextInt(); System.out.println("ABC" + N); }
Main.java:9: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u582880126|p03643|0
u582880126|p03643|0
codenet
Compile Error
200
v2_s361123120
s361123120
s361123120
p03643
p03643
u587737791
u587737791
1,589,497,681
2020-05-14T23:08:01
Main.java
public class Main( public static void main(String[] args){ for(int N = 100; N <= 999; N++){ System.out.println("ABC" + N); } } }
Main.java:1: error: '{' expected public class Main( ^ 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) Main.java:10: error: class, interface, enum, or rec...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587737791|p03643|0
u587737791|p03643|0
codenet
Compile Error
161
v2_s359768883
s359768883
s359768883
p03643
p03643
u587737791
u587737791
1,589,498,258
2020-05-14T23:17:38
Main.java
import java.util.*; class Main{ public static void main(String[] args){ int N = new.java.util.Scanner(System.in).nextInt(); System.out.println("ABC" + N); } }
Main.java:6: error: <identifier> expected int N = new.java.util.Scanner(System.in).nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587737791|p03643|0
u587737791|p03643|0
codenet
Compile Error
196
v2_s351956941
s351956941
s351956941
p03643
p03643
u587737791
u587737791
1,589,498,328
2020-05-14T23:18:48
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); System.out.println("ABC" + N); } }
Main.java:8: error: cannot find symbol System.out.println("ABC" + N); ^ symbol: variable N location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587737791|p03643|0
u587737791|p03643|0
codenet
Compile Error
178
v2_s621048917
s621048917
s621048917
p03643
p03643
u587737791
u587737791
1,589,498,442
2020-05-14T23:20:42
Main.java
class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); System.out.println("ABC" + N); } }
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587737791|p03643|0
u587737791|p03643|0
codenet
Compile Error
181
v2_s951039532
s951039532
s951039532
p03643
p03643
u613022324
u613022324
1,501,733,686
2017-08-03T04:14:46
Main.java
public static void main(String[] args) { String n = args[0]; System.out.println("ABC" + n); }
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
u613022324|p03643|0
u613022324|p03643|0
codenet
Compile Error
104
v2_s504987859
s504987859
s504987859
p03643
p03643
u613022324
u613022324
1,501,734,050
2017-08-03T04:20:50
Main.java
public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); String n = s.nextLine(); System.out.println("ABC" + n); } }
Main.java:6: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u613022324|p03643|0
u613022324|p03643|0
codenet
Compile Error
174
v2_s733085596
s733085596
s733085596
p03643
p03643
u629914422
u629914422
1,589,497,469
2020-05-14T23:04:29
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String T = sc.next(); System.out.println("ABC" + T); } }
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u629914422|p03643|0
u629914422|p03643|0
codenet
Compile Error
167
v2_s448940940
s448940940
s448940940
p03643
p03643
u659156129
u659156129
1,593,522,044
2020-06-30T13:00:44
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 String a = sc.next(); System.out.println(ABC + a); } } }
Main.java:10: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03643|0
u659156129|p03643|0
codenet
Compile Error
210
v2_s696270102
s696270102
s696270102
p03643
p03643
u659156129
u659156129
1,593,522,144
2020-06-30T13:02:24
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 String a = sc.next(); System.out.println(ABC + a); } }
Main.java:7: error: cannot find symbol System.out.println(ABC + a); ^ symbol: variable ABC location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03643|0
u659156129|p03643|0
codenet
Compile Error
207
v2_s413903102
s413903102
s413903102
p03643
p03643
u659156129
u659156129
1,593,522,249
2020-06-30T13:04:09
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int a = sc.nextInt(); System.out.println("ABC "+ a); } } }
Main.java:10: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03643|0
u659156129|p03643|0
codenet
Compile Error
212
v2_s272667927
s272667927
s272667927
p03643
p03643
u696376855
u696376855
1,567,307,130
2019-09-01T03:05:30
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String n = sc.next(); System.out.print("ABC" + n); }
Main.java:8: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u696376855|p03643|0
u696376855|p03643|0
codenet
Compile Error
199
v2_s672800717
s672800717
s672800717
p03643
p03643
u708460706
u708460706
1,518,277,747
2018-02-10T15:49:07
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String n = sc.next(); System.out.println(ABC" + n ); } }
Main.java:8: error: unclosed string literal System.out.println(ABC" + n ); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u708460706|p03643|0
u708460706|p03643|0
codenet
Compile Error
230
v2_s641531022
s641531022
s641531022
p03643
p03643
u806768852
u806768852
1,575,066,588
2019-11-29T22:29:48
Main.java
import java.util.*; class Main{ public static void main(string[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); System.out.println("ABC" + a); } }
Main.java:4: error: cannot find symbol public static void main(string[] args){ ^ symbol: class string location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u806768852|p03643|0
u806768852|p03643|0
codenet
Compile Error
182
v2_s795164569
s795164569
s795164569
p03643
p03643
u816631826
u816631826
1,540,167,427
2018-10-22T00:17:07
Main.java
#include <iostream> using namespace std; int _move[8][2] = {-1,-1,0,-1,1,-1,-1,0,1,0,-1,1,0,1,1,1,}; int main( ) { int h,w; cin>>h>>w; char _map[55][55]; for(int i = 0; i<52; i++) { _map[0][i]='.'; _map[i][0]='.'; } for(int i = 1; i<=h; i++) { for(int j = 1; j<=w;...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:3: error: class, interface, enum, or record expected int _move[8][2] = {-1,-1,0,-1,1,-1,-1,0,1,0,-1,1,0,1,1,1,}; ^ Main.java:7: error: not a statement ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816631826|p03643|1
u816631826|p03643|1
codenet
Compile Error
951
v2_s392777926
s392777926
s392777926
p03643
p03643
u863370423
u863370423
1,562,691,000
2019-07-09T16:50:00
Main.java
#include <iostream> using namespace std; int _move[8][2] = {-1,-1,0,-1,1,-1,-1,0,1,0,-1,1,0,1,1,1,}; int main( ) { int h,w; cin>>h>>w; char _map[55][55]; for(int i = 0; i<52; i++) { _map[0][i]='.'; _map[i][0]='.'; } for(int i = 1; i<=h; i++) { for(int j = 1; j<=w;...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:3: error: class, interface, enum, or record expected int _move[8][2] = {-1,-1,0,-1,1,-1,-1,0,1,0,-1,1,0,1,1,1,}; ^ Main.java:7: error: not a statement ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03643|1
u863370423|p03643|1
codenet
Compile Error
951
v2_s852861403
s852861403
s852861403
p03643
p03643
u918923596
u918923596
1,593,438,760
2020-06-29T13:52:40
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner(System.in); int a = sc.nextInt(); System.out.println("ABC"+ a); }
Main.java:11: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918923596|p03643|0
u918923596|p03643|0
codenet
Compile Error
283
v2_s299049086
s299049086
s299049086
p03643
p03643
u934790581
u934790581
1,503,361,646
2017-08-22T00:27:26
Main.java
public main (args[]){ string num = args[0]; string msg = "ABC"; system.out.printf(msg+num); }
Main.java:1: error: class, interface, enum, or record expected public main (args[]){ ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. string msg = "ABC"; ^ (use --enable-preview to enable unnamed classes) Main.java:5: error: class, interface, enum, or record expected...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u934790581|p03643|0
u934790581|p03643|0
codenet
Compile Error
100
v2_s247981391
s247981391
s247981391
p03643
p03643
u934790581
u934790581
1,503,361,766
2017-08-22T00:29:26
Main.java
public static void main (String args[]){ String num = args[0]; String msg = "ABC"; System.out.printf(msg+num); }
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
u934790581|p03643|0
u934790581|p03643|0
codenet
Compile Error
120
v2_s028004309
s028004309
s028004309
p03643
p03643
u953801592
u953801592
1,502,062,502
2017-08-06T23:35:02
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Sccaner(System.in); int n = sc.nextInt(); System.out.println("ABC"+n); }
Main.java:7: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u953801592|p03643|0
u953801592|p03643|0
codenet
Compile Error
175
v2_s737872523
s737872523
s737872523
p03643
p03643
u953801592
u953801592
1,502,062,570
2017-08-06T23:36:10
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Sccaner(System.in); int n = sc.nextInt(); System.out.println("ABC"+n); } }
Main.java:4: error: cannot find symbol Scanner sc = new Sccaner(System.in); ^ symbol: class Sccaner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u953801592|p03643|0
u953801592|p03643|0
codenet
Compile Error
181
v2_s850674290
s850674290
s850674290
p03644
p03644
u018679195
u018679195
1,505,832,280
2017-09-19T14:44:40
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner inp = new Scanner(System.in); String u = input.nextLine(); int aPos = -1; int zPos = u.length(); for(int i = u.length() - 1; i > 0; i--){ String chr = u.substring(i - 1,i); if(chr.equals("A")) aPos = i;...
Main.java:6: error: cannot find symbol String u = input.nextLine(); ^ symbol: variable input location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03644|0
u018679195|p03644|0
codenet
Compile Error
505
v2_s342743314
s342743314
s342743314
p03644
p03644
u024824950
u024824950
1,555,679,301
2019-04-19T13:08:21
Main.java
import java.util.*; public class Main{ public static void main(String[]args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); while(n>=answer){ answer *= 2; } System.out.println(answer/2); } }
Main.java:6: error: cannot find symbol while(n>=answer){ ^ symbol: variable answer location: class Main Main.java:7: error: cannot find symbol answer *= 2; ^ symbol: variable answer location: class Main Main.java:9: error: cannot find symbol System.ou...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03644|0
u024824950|p03644|0
codenet
Compile Error
263
v2_s567345876
s567345876
s567345876
p03644
p03644
u273260238
u273260238
1,589,498,742
2020-05-14T23:25:42
Main.java
import java.util.*; public class{ public static void main(String[] args{ Scanner sc = new Scaner(System.in); int n = sc.nextInt(); int j = 2; int k = 0; // カウントする数 while( 0 <= j && j <= n){ if(n%j == 0){ j = j* 2; k = k+1; }else{ System.out.println(j); } ...
Main.java:2: error: <identifier> expected public class{ ^ Main.java:3: error: ',', ')', or '[' expected public static void main(String[] args{ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u273260238|p03644|0
u273260238|p03644|0
codenet
Compile Error
351
v2_s231997889
s231997889
s231997889
p03644
p03644
u273260238
u273260238
1,589,499,767
2020-05-14T23:42:47
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); // 7 int n = 8; int j = 2; int k = 0; // カウントする数 while(((n/j)/2)%2==0){ if(n%j == 0){ j = j* 2; k = k+1; }else{ brea...
Main.java:7: error: variable n is already defined in method main(String[]) int n = 8; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u273260238|p03644|0
u273260238|p03644|0
codenet
Compile Error
386
v2_s201695440
s201695440
s201695440
p03644
p03644
u289660449
u289660449
1,501,377,738
2017-07-30T01:22:18
Main.java
public class Main { public static void main(String args[]){ Scanner scan = new Scanner(System.in); int n = Integer.parseInt(scan.next()); scan.close(); int waru; int max = 0; int cnt = 0; int max_num = 1; while(n > 0){ cnt = 0; waru = n; while(waru % 2...
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 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u289660449|p03644|0
u289660449|p03644|0
codenet
Compile Error
525
v2_s566716194
s566716194
s566716194
p03644
p03644
u396441153
u396441153
1,502,405,674
2017-08-10T22:54:34
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.StringTokenizer; import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.InputStream; /** * Built using CHelper plug-in * Actual soluti...
Main.java:55: error: reached end of file while parsing reader = new BufferedReader(new InputStreamReader(stream), 32768); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u396441153|p03644|0
u396441153|p03644|0
codenet
Compile Error
1,523
v2_s852619315
s852619315
s852619315
p03644
p03644
u462108447
u462108447
1,589,070,221
2020-05-10T00:23:41
InputSample.java
import java.util.Scanner; public class InputSample { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); int n = 0; if ( 2 ^ n <= N ) { n = n + 1; } else { System.out.println(2^n); } } }
InputSample.java:8: error: bad operand types for binary operator '^' if ( 2 ^ n <= N ) { ^ first type: int second type: boolean 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u462108447|p03644|0
u462108447|p03644|0
codenet
Compile Error
317
v2_s845342102
s845342102
s845342102
p03644
p03644
u480612744
u480612744
1,531,142,601
2018-07-09T13:23:21
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; import java.util.*; public class Main { int[] inputArray; public static void main(String[] args) throws IOException { new Main().run(); } void run() { ...
Main.java:24: error: illegal character: '\uff0a' n?=2; ^ Main.java:24: error: not a statement n?=2; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u480612744|p03644|0
u480612744|p03644|0
codenet
Compile Error
501
v2_s283540634
s283540634
s283540634
p03644
p03644
u520480375
u520480375
1,586,462,363
2020-04-09T19:59:23
Main.java
import java.utli.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); if(n<=2){ System.out.println(2); }else if(2<n&&n<=4){ System.out.println(4); }else if(2<n&&n<=8){ System.out.println(...
Main.java:1: error: package java.utli does not exist import java.utli.*; ^ Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u520480375|p03644|0
u520480375|p03644|0
codenet
Compile Error
502
v2_s344127711
s344127711
s344127711
p03644
p03644
u553314348
u553314348
1,593,744,402
2020-07-03T02:46:42
Main.java
mport java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Scanner; public class Main { static Scanner scanner; public static void main(String[] args) { scanner = new Scanner(System.in); int N=gi(); int m= 2; for(int i=1; i<=N;i++) { int c=0; i...
Main.java:1: error: class, interface, enum, or record expected mport java.util.HashMap; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.List; ^ Main.java:3: error: class, interface, enum, or record expected import java.util.Map; ^ Main.java:4: error: class, interface, enum, or record e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u553314348|p03644|0
u553314348|p03644|0
codenet
Compile Error
1,200
v2_s975424112
s975424112
s975424112
p03644
p03644
u588688339
u588688339
1,576,876,882
2019-12-20T21:21:22
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 max = 1; for (int i = 0; i < N; i++){ max = 2**i; if (max > N){ break; } } max = max / 2; System.out.println(ma...
Main.java:10: error: illegal start of expression max = 2**i; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u588688339|p03644|0
u588688339|p03644|0
codenet
Compile Error
330
v2_s546453640
s546453640
s546453640
p03644
p03644
u588688339
u588688339
1,576,877,007
2019-12-20T21:23:27
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int max = 1; for (int i = 0; i < N; i++){ max = Math.pow(2, i); if (max > N){ break; } } max = max / 2; System.out....
Main.java:10: error: incompatible types: possible lossy conversion from double to int max = Math.pow(2, i); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u588688339|p03644|0
u588688339|p03644|0
codenet
Compile Error
340
v2_s534592796
s534592796
s534592796
p03644
p03644
u690844139
u690844139
1,587,423,175
2020-04-20T22:52:55
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.next.Int(); int ans = 1; while(0==0){ if(ans*2<=N){ ans*=2; } else{ break; } } System.out.println(ans); } }
Main.java:6: error: cannot find symbol int N = sc.next.Int(); ^ symbol: variable next location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u690844139|p03644|0
u690844139|p03644|0
codenet
Compile Error
303
v2_s793673204
s793673204
s793673204
p03644
p03644
u696376855
u696376855
1,567,291,820
2019-08-31T22:50:20
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int max = sc.nextInt(); boolean isEven = true; count = 10000; newCount = 0; while(isEven) { isEven = true; newCount = 0; ...
Main.java:8: error: cannot find symbol count = 10000; ^ symbol: variable count location: class Main Main.java:9: error: cannot find symbol newCount = 0; ^ symbol: variable newCount location: class Main Main.java:13: error: cannot find symbol newCount = 0; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u696376855|p03644|0
u696376855|p03644|0
codenet
Compile Error
655
v2_s303059136
s303059136
s303059136
p03644
p03644
u734289387
u734289387
1,593,096,719
2020-06-25T14:51:59
void.java
import java.util.Scanner; public class void Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int result = 1; for(int i = 1; i <= N; i *= 2) { result = i; } System.out.println(result); } }
void.java:2: error: <identifier> expected public class void Main { ^ void.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) void.java:13: error: class, interface, enu...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u734289387|p03644|0
u734289387|p03644|0
codenet
Compile Error
264
v2_s500781179
s500781179
s500781179
p03644
p03644
u821635479
u821635479
1,501,420,629
2017-07-30T13:17:09
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException{ FastScanner f = new FastScanner(); //Replace "problem" with problem name int[] powers = {1,2,4,8,16,32,64}; int n = f.nextInt(); for(int i = 0; i < powers.length; i+...
Main.java:16: error: cannot find symbol System.out.println(i-1); ^ symbol: variable i location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u821635479|p03644|0
u821635479|p03644|0
codenet
Compile Error
1,692
v2_s474154774
s474154774
s474154774
p03644
p03644
u848516734
u848516734
1,502,033,296
2017-08-06T15:28:16
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) {; try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1); String s = br.readLine(); int N = Integer.valueOf(s); if (N < 1 |...
Main.java:38: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u848516734|p03644|0
u848516734|p03644|0
codenet
Compile Error
721
v2_s337893175
s337893175
s337893175
p03644
p03644
u863370423
u863370423
1,505,830,841
2017-09-19T14:20:41
Main.java
import java.util.Scanner; class Break_Number { static void main() { Scanner sc=new Scanner(System.in); n=sc.nextInt(); int i=0; while((int)(Math.pow(2,i))<=n) { i++; } i--; System.out.println((int)(Math.pow(2,i))); } }
Main.java:7: error: cannot find symbol n=sc.nextInt(); ^ symbol: variable n location: class Break_Number Main.java:9: error: cannot find symbol while((int)(Math.pow(2,i))<=n) ^ symbol: variable n location: class Break_Number 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03644|0
u863370423|p03644|0
codenet
Compile Error
315
v2_s107890136
s107890136
s107890136
p03644
p03644
u863370423
u863370423
1,505,832,198
2017-09-19T14:43:18
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner inp = new Scanner(System.in); String u = input.nextLine(); int aPos = -1; int zPos = u.length(); for(int i = u.length() - 1; i > 0; i--){ String chr = u.substring(i - 1,i); if(chr.equals("A")) aPos = i; ...
Main.java:6: error: cannot find symbol String u = input.nextLine(); ^ symbol: variable input location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03644|0
u863370423|p03644|0
codenet
Compile Error
499
v2_s038618400
s038618400
s038618400
p03645
p03645
u157322125
u157322125
1,501,419,688
2017-07-30T13:01:28
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStr...
Main.java:20: error: cannot find symbol Arrays.fill(A,false); ^ symbol: variable Arrays location: class Main Main.java:21: error: cannot find symbol Arrays.fill(B,false); ^ symbol: variable Arrays location: class Main Main.java:38: error: incompatible types: unexpected return value ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u157322125|p03645|0
u157322125|p03645|0
codenet
Compile Error
1,203
v2_s696523122
s696523122
s696523122
p03645
p03645
u234826697
u234826697
1,541,713,012
2018-11-08T21:36:52
Main.java
import java.io.File; import java.io.IOException; import java.util.*; public class Main { public static void main(String[] args) throws IOException { //File file = new File("input.txt"); //Scanner in = new Scanner(file); Scanner in = new Scanner(System.in); int n = in.nextInt(); int m = in.nextInt()...
Main.java:17: error: ';' expected boolean[] tf new boolean[n+1]; ^ Main.java:17: error: not a statement boolean[] tf new boolean[n+1]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u234826697|p03645|0
u234826697|p03645|0
codenet
Compile Error
768
v2_s492370283
s492370283
s492370283
p03645
p03645
u234826697
u234826697
1,541,713,127
2018-11-08T21:38:47
Main.java
import java.io.File; import java.io.IOException; import java.util.*; public class Main { public static void main(String[] args) throws IOException { //File file = new File("input.txt"); //Scanner in = new Scanner(file); Scanner in = new Scanner(System.in); int n = in.nextInt(); int m = in.nextInt()...
Main.java:26: error: cannot find symbol if(tf[ab[i][0]] && ab[i][1] == N){ ^ symbol: variable N location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u234826697|p03645|0
u234826697|p03645|0
codenet
Compile Error
770
v2_s453221389
s453221389
s453221389
p03645
p03645
u487433273
u487433273
1,579,632,588
2020-01-21T18:49:48
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); boolean[] one_to_i = new boolean[N+1]; boolean[] i_to_n = new boolean[N+1]; tmpa = 0; tmpb = 0; for(int i=0;i<M;i++) { tmpa =...
Main.java:10: error: cannot find symbol tmpa = 0; ^ symbol: variable tmpa location: class Main Main.java:11: error: cannot find symbol tmpb = 0; ^ symbol: variable tmpb location: class Main Main.java:14: error: cannot find symbol tmpa = sc.nextInt(); ^ symbol: variable tmpa locat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p03645|0
u487433273|p03645|0
codenet
Compile Error
716
v2_s173032779
s173032779
s173032779
p03645
p03645
u568545273
u568545273
1,517,114,530
2018-01-28T04:42:10
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int many = 0; int check[] = new int[M]; int ab[][] = new int[2][M]; boolean ans = false; int k = 0; f...
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568545273|p03645|0
u568545273|p03645|0
codenet
Compile Error
1,031
v2_s775192723
s775192723
s775192723
p03645
p03645
u653981267
u653981267
1,587,081,616
2020-04-17T00:00:16
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int[] num = new num[n]; for(int i = 0; i < m; i++) { int a = sc.nextInt() - 1; int b = sc.nextInt() - 1; if(a == 0) ...
Main.java:9: error: cannot find symbol int[] num = new num[n]; ^ symbol: class num location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03645|0
u653981267|p03645|0
codenet
Compile Error
512
v2_s709656005
s709656005
s709656005
p03645
p03645
u839537730
u839537730
1,571,157,524
2019-10-15T16:38:44
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int m = Integer.parseInt(sc.next()); HashSet<Integer> aSet = new HashSet<>(); HashSet<Integer> bSet = new HashSet<>(); for (int i=0; i<m; i++){ int a = Integer.parseI...
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 Main.java:8: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u839537730|p03645|3
u839537730|p03645|3
codenet
Compile Error
597
v2_s621569535
s621569535
s621569535
p03645
p03645
u869997698
u869997698
1,501,383,141
2017-07-30T02:52:21
Main.java
import java.util.*; import java.lang.*; class Main { public static void main(String []_){ Vector<int> bet = new Vector<int>(); int n, m; int i; int a, b; int len; Scanner input = new Scanner(System.in); n = input.nextInt(); m = input.nextInt(); for(i=0; i<m; i++){ a = inp...
Main.java:5: error: as of release 9, '_' is a keyword, and may not be used as an identifier public static void main(String []_){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869997698|p03645|0
u869997698|p03645|0
codenet
Compile Error
729
v2_s177468075
s177468075
s177468075
p03646
p03646
u518883877
u518883877
1,501,380,756
2017-07-30T02:12:36
Main.java
import java.io.*; import java.util.*; import java.util.stream.IntStream; class Test { FastScanner _in; PrintWriter _out; void solve() { long k = _in.nextLong(); if (k == 0) { _out.println(2); _out.println("1 1"); } else if (k == 1) { _out.println(2); _out.println("2 0"); } ...
Main.java:25: error: cannot find symbol LongStream.rangeClosed(1, k).parallel().forEach((j) -> { ^ symbol: variable LongStream location: class Test 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u518883877|p03646|0
u518883877|p03646|0
codenet
Compile Error
1,685
v2_s285164911
s285164911
s285164911
p03647
p03647
u113560961
u113560961
1,501,376,537
2017-07-30T01:02:17
TaskC.java
package main; import util.FastScanner; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class TaskC { public void solve(int testNumber, FastScanner in, PrintWriter out) { int n = in.nextInt(); int m = in.nextInt(); List<Integer>[] adj = new List[n]...
TaskC.java:3: error: package util does not exist import util.FastScanner; ^ TaskC.java:11: error: cannot find symbol public void solve(int testNumber, FastScanner in, PrintWriter out) { ^ symbol: class FastScanner location: class TaskC Note: TaskC.java uses unchecked...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u113560961|p03647|0
u113560961|p03647|0
codenet
Compile Error
964
v2_s532268105
s532268105
s532268105
p03647
p03647
u653981267
u653981267
1,501,376,842
2017-07-30T01:07:22
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); ArrayList[] list = new ArrayList[N]; for(int i = 0; i < N; i++) { list[i] = new ArrayList<Integer>(); } for(int i = 0; i ...
Main.java:21: error: incompatible types: ArrayList cannot be converted to int int v = list[list0.get(i)]; ^ Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03647|0
u653981267|p03647|0
codenet
Compile Error
720
v2_s243085745
s243085745
s243085745
p03647
p03647
u891161439
u891161439
1,522,348,503
2018-03-29T18:35:03
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[] s = new int[2*M]; int[] ps = new int[2*M]; int counter = 0; for(int i = 0;i < 2*M;i++){ s[i] = sc.nextInt(); } for(int i = 0;i < 2*M -...
Main.java:32: error: incompatible types: int cannot be converted to boolean if(ps[i] = ps[j]){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u891161439|p03647|0
u891161439|p03647|0
codenet
Compile Error
916
v2_s838103804
s838103804
s838103804
p03648
p03648
u248995595
u248995595
1,501,385,078
2017-07-30T03:24:38
Main.java
import java.util.Scanner; public class Main{ static final long MAX = 10_000_000_000_001_000L; static long k; public static void main(String[] args){ Scanner sc = new Scanner(System.in); k = sc.nextLong(); long[] a = null; for(int n = 2; n...
Main.java:33: error: cannot find symbol System.out.println(n); ^ symbol: variable n location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u248995595|p03648|0
u248995595|p03648|0
codenet
Compile Error
1,017
v2_s748171254
s748171254
s748171254
p03648
p03648
u291271108
u291271108
1,501,381,172
2017-07-30T02:19:32
Main.java
//( ͡° ͜ʖ ͡°) °º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤°º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤º°` looking at my code... #define ONLINE_JUDGE //in case i forget to uncomment this, sometimes the grader defines the macro ^.^ #ifdef ONLINE_JUDGE #include <bits/stdc++.h> #else #include "stdc++.h" #endif #define MAX(x, y) (((x) > (y)) ? (x) : (y)) #define MIN...
Main.java:3: error: illegal character: '#' #define ONLINE_JUDGE //in case i forget to uncomment this, sometimes the grader defines the macro ^.^ ^ Main.java:4: error: illegal character: '#' #ifdef ONLINE_JUDGE ^ Main.java:5: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:6: error: illegal character:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u291271108|p03648|0
u291271108|p03648|0
codenet
Compile Error
955
v2_s338729961
s338729961
s338729961
p03648
p03648
u291271108
u291271108
1,501,381,184
2017-07-30T02:19:44
Main.java
//( ͡° ͜ʖ ͡°) °º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤°º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤º°` looking at my code... #define ONLINE_JUDGE //in case i forget to uncomment this, sometimes the grader defines the macro ^.^ #ifdef ONLINE_JUDGE #include <bits/stdc++.h> #else #include "stdc++.h" #endif #define MAX(x, y) (((x) > (y)) ? (x) : (y)) #define MIN...
Main.java:3: error: illegal character: '#' #define ONLINE_JUDGE //in case i forget to uncomment this, sometimes the grader defines the macro ^.^ ^ Main.java:4: error: illegal character: '#' #ifdef ONLINE_JUDGE ^ Main.java:5: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:6: error: illegal character:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u291271108|p03648|0
u291271108|p03648|0
codenet
Compile Error
955
v2_s581515061
s581515061
s581515061
p03648
p03648
u547167033
u547167033
1,578,549,515
2020-01-09T05:58:35
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long k = sc.nextLong(); System.out.println(50); long p = k/50; long q = k%50; for(int i=0;i<q;i++)System.out.print((49-(q-1)+p+50)+" "); for(int i=q;i<50;i++)System.out.print...
Main.java:10: error: incompatible types: possible lossy conversion from long to int for(int i=q;i<50;i++)System.out.print((49-q+p)+" "); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03648|0
u547167033|p03648|0
codenet
Compile Error
341
v2_s791137697
s791137697
s791137697
p03648
p03648
u653981267
u653981267
1,501,378,882
2017-07-30T01:41:22
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long K = sc.nextLong(); if(K == 0) { System.out.println(2); System.out.println(0 + " " + 0); } else if(K == 1) { System.out.println(2); System.out.println(0 + ...
Main.java:27: error: cannot find symbol System.out.print(N - 1 + s); ^ symbol: variable N location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03648|0
u653981267|p03648|0
codenet
Compile Error
807
v2_s754482792
s754482792
s754482792
p03648
p03648
u870585895
u870585895
1,501,382,335
2017-07-30T02:38:55
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); long K = scanner.nextLong(); System.out.println("2"); if((K % 3) == 1) { int n = K ; int x = n / 2; ...
Main.java:11: error: incompatible types: possible lossy conversion from long to int int n = K ; ^ Main.java:13: error: incompatible types: possible lossy conversion from long to int int y = K - x + 1; ^ Main.java:16: error: incompatible types: possib...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u870585895|p03648|0
u870585895|p03648|0
codenet
Compile Error
726
v2_s925485083
s925485083
s925485083
p03649
p03649
u324669236
u324669236
1,600,212,164
2020-09-15T23:22:44
Main.java
// copied #include<cstdio> #include<iostream> #include<algorithm> using namespace std; int n; typedef long long ll; ll ans,a[60]; int main(){ scanf("%d",&n); for(int i=1;i<=n;++i){ cin>>a[i]; } ll* p; while(*(p=max_element(a+1,a+n+1)) >= (ll)n){ for(int i=1;i<=n;++i){ if(...
Main.java:2: error: illegal character: '#' #include<cstdio> ^ Main.java:3: error: illegal character: '#' #include<iostream> ^ Main.java:4: error: illegal character: '#' #include<algorithm> ^ Main.java:6: error: unnamed classes are a preview feature and are disabled by default. int n; ^ (use --enable-preview to enable...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u324669236|p03649|0
u324669236|p03649|0
codenet
Compile Error
476
v2_s007385802
s007385802
s007385802
p03649
p03649
u653981267
u653981267
1,501,381,686
2017-07-30T02:28:06
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N = sc.nextLong(); long[] a = new long[N]; long max = 0; long sum = 0; for(int i = 0; i < (int)N; i++) { a[i] = sc.nextLong(); max = Math.max(max, a[i]); ...
Main.java:7: error: incompatible types: possible lossy conversion from long to int long[] a = new long[N]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03649|0
u653981267|p03649|0
codenet
Compile Error
447
v2_s528403086
s528403086
s528403086
p03651
p03651
u507706381
u507706381
1,574,987,973
2019-11-29T00:39:33
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 K = sc.nextInt(); int[] A = new int[N]; for (int i = 0; i < N; i++) { A[i] = sc.nextInt(); } Arrays.sort(A); boolean ans = fa...
Main.java:18: error: bad operand types for binary operator '||' if (A[i] != d*(i+1 || A[i] == K)) { ^ first type: int second type: boolean 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u507706381|p03651|0
u507706381|p03651|0
codenet
Compile Error
530
v2_s020959159
s020959159
s020959159
p03651
p03651
u507706381
u507706381
1,574,992,198
2019-11-29T01:49:58
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 K = sc.nextInt(); int[] A = new int[N]; for (int i = 0; i < N; i++) { A[i] = sc.nextInt(); } Arrays.sort(A); if (K > A[N-1]) { ...
Main.java:20: error: : expected System.out.println(A[0] == K ? "POSSIBLE" ? "IMPOSSIBLE"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u507706381|p03651|0
u507706381|p03651|0
codenet
Compile Error
828
v2_s323860086
s323860086
s323860086
p03651
p03651
u507706381
u507706381
1,574,992,225
2019-11-29T01:50:25
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 K = sc.nextInt(); int[] A = new int[N]; for (int i = 0; i < N; i++) { A[i] = sc.nextInt(); } Arrays.sort(A); if (K > A[N-1]) { ...
Main.java:36: error: cannot find symbol return gcd(b, a%b); ^ symbol: method gcd(int,int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u507706381|p03651|0
u507706381|p03651|0
codenet
Compile Error
828
v2_s560168519
s560168519
s560168519
p03651
p03651
u801144528
u801144528
1,563,236,312
2019-07-16T00:18:32
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long k = sc.nextLong(); long[] a = new long[n]; for (int i = 0; i < n; i++){ a[i] = sc.nextLong(); } in...
Main.java:9: error: incompatible types: possible lossy conversion from long to int long[] a = new long[n]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u801144528|p03651|0
u801144528|p03651|0
codenet
Compile Error
653
v2_s837358454
s837358454
s837358454
p03651
p03651
u801144528
u801144528
1,563,236,723
2019-07-16T00:25:23
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long k = sc.nextLong(); List<Long> a = new ArrayList<>(); for (int i = 0; i < n; i++){ a.add(sc.nextLong()); } ...
Main.java:17: error: cannot find symbol while(i < a.size()){ ^ symbol: variable i location: class Main Main.java:18: error: cannot find symbol j = i+1; ^ symbol: variable i location: class Main Main.java:20: error: cannot find symbol diff = M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u801144528|p03651|0
u801144528|p03651|0
codenet
Compile Error
816
v2_s795581295
s795581295
s795581295
p03651
p03651
u801144528
u801144528
1,563,237,945
2019-07-16T00:45:45
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long k = sc.nextLong(); List<Long> a = new ArrayList<>(); for (int i = 0; i < n; i++){ a.add(sc.nextLong()); ...
Main.java:15: error: cannot find symbol Sytem.exit(0); ^ symbol: variable Sytem location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u801144528|p03651|0
u801144528|p03651|0
codenet
Compile Error
972
v2_s136915359
s136915359
s136915359
p03652
p03652
u601809648
u601809648
1,501,708,024
2017-08-02T21:07:04
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.io.IOException; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(Strin...
Main.java:104: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u601809648|p03652|0
u601809648|p03652|0
codenet
Compile Error
3,074
v2_s598502827
s598502827
s598502827
p03653
p03653
u119714109
u119714109
1,500,943,370
2017-07-25T00:42:50
Main.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; public class Main { static InputStream is; static PrintWriter out; static String INPUT = ""; stat...
Main.java:158: error: cannot find symbol while(ipq.size() > 0 && pq.size() > 0 && pq.peek() < -ipq.peek()){ ^ symbol: method peek() location: variable pq of type SimpleMinHeapL Main.java:158: error: cannot find symbol while(ipq.size() > 0 && pq.size() > 0 && pq....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u119714109|p03653|1
u119714109|p03653|1
codenet
Compile Error
6,307
v2_s032898384
s032898384
s032898384
p03653
p03653
u119714109
u119714109
1,500,943,389
2017-07-25T00:43:09
Main.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; public class Main { static InputStream is; static PrintWriter out; static String INPUT = ""; stat...
Main.java:158: error: cannot find symbol while(ipq.size() > 0 && pq.size() > 0 && pq.peek() < -ipq.peek()){ ^ symbol: method peek() location: variable pq of type SimpleMinHeapL Main.java:158: error: cannot find symbol while(ipq.size() > 0 && pq.size() > 0 && pq....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u119714109|p03653|1
u119714109|p03653|1
codenet
Compile Error
6,307
v2_s922439516
s922439516
s922439516
p03653
p03653
u601809648
u601809648
1,501,708,703
2017-08-02T21:18:23
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.Collection; import java.io.IOException; import java.util.Queue; import java.util.ArrayDeque; import java.io.InputStream; /** * Built using CHelper plug-in * Actua...
Main.java:112: error: reached end of file while parsing private int[] _from; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u601809648|p03653|0
u601809648|p03653|0
codenet
Compile Error
3,348
v2_s673830518
s673830518
s673830518
p03654
p03654
u934019430
u934019430
1,501,081,706
2017-07-26T15:08:26
Main.java
import java.util.*; import java.lang.*; public class Main{ static int [] head; static int [] next; static int [] to; static long [] cost; static int [] size; static int edgeCount = 0; static long ans = 0; static int N; public static void main(String [] args) { Scanner sc = ...
Main.java:15: error: cannot find symbol Scanner sc = new Scanner(new BufferedInputStream(System.in)); ^ symbol: class BufferedInputStream location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u934019430|p03654|0
u934019430|p03654|0
codenet
Compile Error
2,092
v2_s303148410
s303148410
s303148410
p03657
p03657
u005671927
u005671927
1,596,340,191
2020-08-02T03:49:51
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a=scan.nextInt(); int b=scan.nextInt(); if((a+b)%3==0) System.out.println("Possible"); else System.out.println("Impossible"); } }
Main.java:4: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u005671927|p03657|0
u005671927|p03657|0
codenet
Compile Error
248
v2_s071656377
s071656377
s071656377
p03657
p03657
u018773111
u018773111
1,593,478,063
2020-06-30T00:47:43
Main.java
import java.util*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a+b >= 3 ? "Possible" : "Impossible"); } }
Main.java:1: error: ';' expected import java.util*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018773111|p03657|0
u018773111|p03657|0
codenet
Compile Error
241
v2_s154981287
s154981287
s154981287
p03657
p03657
u062736195
u062736195
1,581,982,679
2020-02-17T23:37:59
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); //棒の全体数 int K = sc.nextInt(); //取る棒の本数 int[] rodList = new int[55]; int rodSum = 0; for(int i=0; i < N; i++){ rodList[i] = sc.nextInt(); } ...
Main.java:16: error: illegal start of type for(int i = 0; i < K; i++){ ^ Main.java:16: error: > or ',' expected for(int i = 0; i < K; i++){ ^ Main.java:16: error: <identifier> expected for(int i = 0; i < K; i++){ ^ Main.java:19: error: <identifier> expe...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03657|0
u062736195|p03657|0
codenet
Compile Error
481
v2_s952300755
s952300755
s952300755
p03657
p03657
u062736195
u062736195
1,581,982,706
2020-02-17T23:38:26
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); //棒の全体数 int K = sc.nextInt(); //取る棒の本数 int[] rodList = new int[55]; int rodSum = 0; for(int i=0; i < N; i++){ rodList[i] = sc.nextInt(); } ...
Main.java:13: error: cannot find symbol Arrays.sort(rodlist); ^ symbol: variable rodlist location: class Main Main.java:13: error: cannot find symbol Arrays.sort(rodlist); ^ symbol: variable Arrays location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03657|0
u062736195|p03657|0
codenet
Compile Error
476
v2_s641942362
s641942362
s641942362
p03657
p03657
u062736195
u062736195
1,581,982,831
2020-02-17T23:40:31
Main.java
import java.util.Scanner; import java.util.Arrays; import java.util.Collections; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); //棒の全体数 int K = sc.nextInt(); //取る棒の本数 int[] rodList = new int[55]; int rodSum = 0; for(int i=0; i...
Main.java:15: error: cannot find symbol Arrays.sort(rodlist, Collections.reverseOrder()); ^ symbol: variable rodlist location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03657|0
u062736195|p03657|0
codenet
Compile Error
559
v2_s006546404
s006546404
s006546404
p03657
p03657
u062736195
u062736195
1,581,982,869
2020-02-17T23:41:09
Main.java
import java.util.Scanner; import java.util.Arrays; import java.util.Collections; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); //棒の全体数 int K = sc.nextInt(); //取る棒の本数 int[] rodList = new int[55]; int rodSum = 0; for(int i=0; i...
Main.java:15: error: no suitable method found for sort(int[],Comparator<Object>) Arrays.sort(rodList, Collections.reverseOrder()); ^ method Arrays.<T#1>sort(T#1[],Comparator<? super T#1>) is not applicable (inference variable T#1 has incompatible bounds equality constraints: int ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03657|0
u062736195|p03657|0
codenet
Compile Error
559
v2_s527904402
s527904402
s527904402
p03657
p03657
u062736195
u062736195
1,581,982,970
2020-02-17T23:42:50
Main.java
import java.util.Scanner; import java.util.Arrays; import java.util.Collections; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); //棒の全体数 int K = sc.nextInt(); //取る棒の本数 Integer[] rodList = new int[55]; int rodSum = 0; for(int i=...
Main.java:9: error: incompatible types: int[] cannot be converted to Integer[] Integer[] rodList = new int[55]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03657|0
u062736195|p03657|0
codenet
Compile Error
563
v2_s354586315
s354586315
s354586315
p03657
p03657
u099249771
u099249771
1,502,793,278
2017-08-15T10:34:38
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if ((a+b) % 3 == 0) { System.out.println("Possible"); } else if (a % 3 == 0) { System.out.println("Pos...
Main.java:18: error: unclosed string literal System.out.println("Impossible); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u099249771|p03657|0
u099249771|p03657|0
codenet
Compile Error
462
v2_s135975377
s135975377
s135975377
p03657
p03657
u101225820
u101225820
1,500,169,630
2017-07-16T01:47:10
main.java
/** * Created by DELL on 2017/7/15. */ public class main { public static void main(String[] args) { Scanner in=new Scanner(System.in); int A=in.nextInt(); int B=in.nextInt(); if(A%3==0||B%3==0||(A+B)%3==0){ System.out.println("Possible"); } else Sy...
main.java:11: error: cannot find symbol Scanner in=new Scanner(System.in); ^ symbol: class Scanner location: class main main.java:11: 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
u101225820|p03657|0
u101225820|p03657|0
codenet
Compile Error
367
v2_s151868217
s151868217
s151868217
p03657
p03657
u188424647
u188424647
1,500,502,278
2017-07-19T22:11:18
Main.java
Public class Main{ void main(String args[]){ String input = br.readLine(); } }
Main.java:1: error: class, interface, enum, or record expected Public class Main{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u188424647|p03657|0
u188424647|p03657|0
codenet
Compile Error
90
v2_s097864366
s097864366
s097864366
p03657
p03657
u243084871
u243084871
1,565,480,428
2019-08-10T23:40:28
Main.java
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); if ((A + B) % 3 == 0){ System.out.println("Possible"); } else ((A + B) % 3 != 0){ System.out.println("Impossible") ; ...
Main.java:17: error: not a statement else ((A + B) % 3 != 0){ ^ Main.java:17: error: ';' expected else ((A + B) % 3 != 0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u243084871|p03657|0
u243084871|p03657|0
codenet
Compile Error
333
v2_s379671274
s379671274
s379671274
p03657
p03657
u251779460
u251779460
1,569,596,067
2019-09-27T14:54:27
Main.java
import java.util.*; 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=a+b; if(a%3==0 || b%3==0 ||c%3==0){ System.out.println("Possible"); }else{ System.out.println("Impossible"); } 4 ...
Main.java:15: error: not a statement 4 ^ Main.java:15: error: ';' expected 4 ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u251779460|p03657|0
u251779460|p03657|0
codenet
Compile Error
342
v2_s231597448
s231597448
s231597448
p03657
p03657
u382759311
u382759311
1,502,792,856
2017-08-15T10:27:36
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if ((a+b) % 3 == 0) { System.out.println("Possible"); } else { System.out.println("Impossible"); }...
Main.java:17: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u382759311|p03657|0
u382759311|p03657|0
codenet
Compile Error
339
v2_s019420416
s019420416
s019420416
p03657
p03657
u405073161
u405073161
1,500,934,491
2017-07-24T22:14:51
A.java
public class A { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); if (a % 3 == 0 || (a + b) % 3 == 0){ System.out.println("Possible"); } else { System.out.println(...
A.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class A A.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class A 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u405073161|p03657|0
u405073161|p03657|0
codenet
Compile Error
353
v2_s785345795
s785345795
s785345795
p03657
p03657
u405073161
u405073161
1,500,934,661
2017-07-24T22:17:41
Main.java
public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); if (a % 3 == 0 || (a + b) % 3 == 0){ System.out.println("Possible"); } else { System.out.println("Impossible"); ...
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
u405073161|p03657|0
u405073161|p03657|0
codenet
Compile Error
330
v2_s335429805
s335429805
s335429805
p03657
p03657
u405073161
u405073161
1,500,935,062
2017-07-24T22:24:22
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); if (a % 3 == 0 || (a + b) % 3 == 0){ System.out.println("Possible"); } else { System.out.print...
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
u405073161|p03657|0
u405073161|p03657|0
codenet
Compile Error
355
v2_s869790309
s869790309
s869790309
p03657
p03657
u429053592
u429053592
1,500,358,948
2017-07-18T06:22:28
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.io.IOException; import java.io.BufferedReader; import java.io.Reader; import java.io.InputStreamReader; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at th...
Main.java:24: error: unreported exception IOException; must be caught or declared to be thrown solver.solve(1, in, out); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u429053592|p03657|0
u429053592|p03657|0
codenet
Compile Error
3,624
v2_s108172618
s108172618
s108172618
p03657
p03657
u458268106
u458268106
1,572,563,241
2019-10-31T23:07:21
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); System.out.println((sc.nextInt()+sc.nextInt()>2?"Possible":"Impossible"); } }
Main.java:5: error: ')' or ',' expected System.out.println((sc.nextInt()+sc.nextInt()>2?"Possible":"Impossible"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458268106|p03657|0
u458268106|p03657|0
codenet
Compile Error
197