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_s799188029
s799188029
s799188029
p03813
p03813
u600215903
u600215903
1,558,987,753
2019-05-27T20:09:13
Main.java
#include <iostream> using namespace std; int main(){ int x; cin >> x; if (x < 1000){ cout << "ABC" << endl; } else if (x >= 1200){ cout << "ARC" << endl; } }
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:7: error: not a statement cin >> x; ^ Main.java:9: error: not a statement cout << "ABC" << endl; ^ Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03813|0
u600215903|p03813|0
codenet
Compile Error
197
v2_s303894495
s303894495
s303894495
p03813
p03813
u600215903
u600215903
1,558,987,796
2019-05-27T20:09:56
Main.java
#include <iostream> using namespace std; int main(){ int x; cin >> x; if (x < 1000){ cout << "ABC" << endl; } else if (x >= 1200){ cout << "ARC" << endl; } return 0; }
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:7: error: not a statement cin >> x; ^ Main.java:9: error: not a statement cout << "ABC" << endl; ^ Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03813|0
u600215903|p03813|0
codenet
Compile Error
211
v2_s093544682
s093544682
s093544682
p03813
p03813
u600215903
u600215903
1,558,987,919
2019-05-27T20:11:59
Main.java
#include <iostream> using namespace std; int main(){ int x; cin >> x; if (x < 1200){ cout << "ABC" << endl; } else if (x >= 1200){ cout << "ARC" << endl; } }
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:7: error: not a statement cin >> x; ^ Main.java:9: error: not a statement cout << "ABC" << endl; ^ Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600215903|p03813|0
u600215903|p03813|0
codenet
Compile Error
197
v2_s147313778
s147313778
s147313778
p03813
p03813
u624065793
u624065793
1,595,109,946
2020-07-18T22:05:46
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new scanner(System.in); int x = scanner.nextInt(); if(x < 1200) { System.out.println("ABC"); } else { System.out.println("ARC"); } } }
Main.java:5: error: cannot find symbol Scanner scanner = new scanner(System.in); ^ symbol: class scanner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u624065793|p03813|0
u624065793|p03813|0
codenet
Compile Error
286
v2_s459166364
s459166364
s459166364
p03813
p03813
u666777033
u666777033
1,485,732,512
2017-01-29T23:28:32
Main.java
import java.io.InputStream; import java.io.PrintWriter; import java.io.BufferedWriter; import java.io.OutputStreamWriter; import java.io.IOException; import java.math.BigInteger; import java.util.*; import java.util.stream.Stream; /** * * @author Pradyumn Agrawal coderbond007 */ public class Main{ public stati...
Main.java:27: error: cannot find symbol if(x < 1200){ ^ symbol: variable x location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u666777033|p03813|0
u666777033|p03813|0
codenet
Compile Error
7,184
v2_s005050199
s005050199
s005050199
p03813
p03813
u691520752
u691520752
1,591,072,352
2020-06-02T04:32:32
Abc.java
import java.util. public class Abc { public static void main(String[] args){ System.out.println('レートを入力してください。') String score = new Scanner(System.in).nextLine(); int sukeme_score = Integer.parseInt(score); if (sukeme_score < 1200 && sukeme_score >= 1){ System.out.println("ABC"); } else if (sukeme_s...
Abc.java:1: error: <identifier> expected import java.util. ^ Abc.java:5: error: unclosed character literal System.out.println('?????????????') ^ Abc.java:5: error: illegal character: '\u3002' System.out.println('?????????????') ^ Abc.java:5: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u691520752|p03813|0
u691520752|p03813|0
codenet
Compile Error
510
v2_s199688466
s199688466
s199688466
p03813
p03813
u719622470
u719622470
1,500,432,789
2017-07-19T02:53:09
ABCARC.java
import java.util.Scanner; public class ABCARC { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); System.out.pritnln(a < 1200 ? "ABC" : "ARC"); } }
ABCARC.java:7: error: cannot find symbol System.out.pritnln(a < 1200 ? "ABC" : "ARC"); ^ symbol: method pritnln(a < 1200 ?[...]"ARC") location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u719622470|p03813|0
u719622470|p03813|0
codenet
Compile Error
207
v2_s233115038
s233115038
s233115038
p03813
p03813
u719622470
u719622470
1,500,432,808
2017-07-19T02:53:28
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.pritnln(a < 1200 ? "ABC" : "ARC"); } }
Main.java:7: error: cannot find symbol System.out.pritnln(a < 1200 ? "ABC" : "ARC"); ^ symbol: method pritnln(a < 1200 ?[...]"ARC") location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u719622470|p03813|0
u719622470|p03813|0
codenet
Compile Error
205
v2_s777345482
s777345482
s777345482
p03813
p03813
u806768852
u806768852
1,571,437,515
2019-10-18T22:25:15
Main.java
import java.util.*; class Main { public static void main(String[] args){ Scanner sc = new Scanner(); int rate = sc.nextInt(); if(rate < 1200){ System.out.println("ABC"); }else{ System.out.println("ARC"); } } }
Main.java:6: error: no suitable constructor found for Scanner(no arguments) Scanner sc = 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 (actual a...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u806768852|p03813|0
u806768852|p03813|0
codenet
Compile Error
212
v2_s528847649
s528847649
s528847649
p03813
p03813
u818498408
u818498408
1,546,215,295
2018-12-31T00:14:55
Main.java
import java.util.* public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); System.out.println((x < 1200) ? "ABC" : "ARC"); } }
Main.java:1: error: ';' expected import java.util.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u818498408|p03813|0
u818498408|p03813|0
codenet
Compile Error
226
v2_s948594397
s948594397
s948594397
p03813
p03813
u838868357
u838868357
1,486,301,986
2017-02-05T13:39:46
Main.java
public class Main { public static void main(String args...) { Scanner sc = new Scanner(System.in); System.out.println(sc.nextInt() > 1200 ? "ARC" : "ABC"); } }
Main.java:2: error: ',', ')', or '[' expected public static void main(String args...) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u838868357|p03813|0
u838868357|p03813|0
codenet
Compile Error
167
v2_s158840855
s158840855
s158840855
p03813
p03813
u838868357
u838868357
1,486,302,252
2017-02-05T13:44:12
Main.java
public class Main { public static void main(String ...args) { Scanner sc = new Scanner(System.in); System.out.println(sc.nextInt() > 1200 ? "ARC" : "ABC"); } }
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
u838868357|p03813|0
u838868357|p03813|0
codenet
Compile Error
183
v2_s390960367
s390960367
s390960367
p03813
p03813
u858266719
u858266719
1,490,810,888
2017-03-29T18:08:08
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int x =sc.nextInt(); if(x>=1200)System.out.println("ARC") }else{ System.out.println("ABC") } }
Main.java:6: error: ';' expected if(x>=1200)System.out.println("ARC") ^ Main.java:7: error: illegal start of type }else{ ^ Main.java:8: error: ';' expected System.out.println("ABC") ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u858266719|p03813|0
u858266719|p03813|0
codenet
Compile Error
250
v2_s218258276
s218258276
s218258276
p03813
p03813
u858266719
u858266719
1,490,811,339
2017-03-29T18:15:39
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int x =sc.nextInt(); if(x>=1200)System.out.println("ARC"); }else{ System.out.println("ABC"); } } }
Main.java:7: error: illegal start of type }else{ ^ Main.java:11: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u858266719|p03813|0
u858266719|p03813|0
codenet
Compile Error
256
v2_s632258436
s632258436
s632258436
p03813
p03813
u858266719
u858266719
1,490,811,603
2017-03-29T18:20:03
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int x =sc.nextInt(); if(1200>=)System.out.println("ABC"); }else{ System.out.println("ARC"); } } }
Main.java:6: error: illegal start of expression if(1200>=)System.out.println("ABC"); ^ Main.java:7: error: illegal start of type }else{ ^ Main.java:11: error: class, interface, enum, or record expected } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u858266719|p03813|0
u858266719|p03813|0
codenet
Compile Error
255
v2_s300667085
s300667085
s300667085
p03813
p03813
u858266719
u858266719
1,490,811,646
2017-03-29T18:20:46
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int x =sc.nextInt(); if(1200>=x)System.out.println("ABC"); }else{ System.out.println("ARC"); } } }
Main.java:7: error: illegal start of type }else{ ^ Main.java:11: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u858266719|p03813|0
u858266719|p03813|0
codenet
Compile Error
256
v2_s007021782
s007021782
s007021782
p03813
p03813
u858266719
u858266719
1,490,811,812
2017-03-29T18:23:32
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int x =sc.nextInt(); if(x<1200)System.out.println("ABC"); }else{ System.out.println("ARC"); } } }
Main.java:7: error: illegal start of type }else{ ^ Main.java:11: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u858266719|p03813|0
u858266719|p03813|0
codenet
Compile Error
255
v2_s588177296
s588177296
s588177296
p03813
p03813
u858266719
u858266719
1,490,812,746
2017-03-29T18:39:06
Main.java
import java.util.*; public class Main { public static void main(String[] args) Scanner sc = new Scanner(System.in); int x =sc.nextInt(); if(x<1200)System.out.println("ABC"); }else{ System.out.println("ARC"); } } }
Main.java:3: error: ';' expected public static void main(String[] args) ^ Main.java:6: error: illegal start of type if(x<1200)System.out.println("ABC"); ^ Main.java:6: error: illegal start of type if(x<1200)System.out.println("ABC"); ^ Main.java:6: error: <identifier> ex...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u858266719|p03813|0
u858266719|p03813|0
codenet
Compile Error
226
v2_s478601335
s478601335
s478601335
p03813
p03813
u858266719
u858266719
1,490,813,337
2017-03-29T18:48:57
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x =sc.nextInt(); if(x<1200)System.out.println("ABC"); }else{ System.out.println("ARC"); } } }
Main.java:7: error: illegal start of type }else{ ^ Main.java:11: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u858266719|p03813|0
u858266719|p03813|0
codenet
Compile Error
227
v2_s004901328
s004901328
s004901328
p03813
p03813
u909946717
u909946717
1,489,308,486
2017-03-12T08:48:06
Main.java
import java.util.*; public class Main{ public static void main(String atgs[]){ Scanner scan = Scaner(System.in); int x = scan.nextInt(); if(x<1200){System.out.println("ABC");} else{System.out.println("ARC");} } }
Main.java:4: error: cannot find symbol Scanner scan = Scaner(System.in); ^ symbol: method Scaner(InputStream) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u909946717|p03813|0
u909946717|p03813|0
codenet
Compile Error
222
v2_s784481987
s784481987
s784481987
p03813
p03813
u910426639
u910426639
1,485,655,291
2017-01-29T02:01:31
Main.java
import com.sun.tools.corba.se.idl.StringGen; import java.util.*; /** * Created by Seiya on 2016/10/16. */ public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a, b, c; a = scanner.nextInt(); if(a < 1200) { Syste...
Main.java:1: error: package com.sun.tools.corba.se.idl does not exist import com.sun.tools.corba.se.idl.StringGen; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910426639|p03813|0
u910426639|p03813|0
codenet
Compile Error
424
v2_s121156945
s121156945
s121156945
p03814
p03814
u018679195
u018679195
1,505,831,071
2017-09-19T14:24:31
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner inp = new Scanner(System.in); String u = input.next(); 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; } f...
Main.java:6: error: cannot find symbol String u = input.next(); ^ symbol: variable input location: class Main Main.java:8: error: cannot find symbol int zPos = u.length; ^ symbol: variable length location: variable u of type String Main.java:9: error: cannot find symbol for(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03814|0
u018679195|p03814|0
codenet
Compile Error
489
v2_s355487758
s355487758
s355487758
p03814
p03814
u018679195
u018679195
1,505,831,261
2017-09-19T14:27:41
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner inp = new Scanner(System.in); String u = input.nextln(); 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.nextln(); ^ symbol: variable input location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03814|0
u018679195|p03814|0
codenet
Compile Error
498
v2_s638837580
s638837580
s638837580
p03814
p03814
u332478078
u332478078
1,593,620,775
2020-07-01T16:26:15
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { //値を取得 Scanner sc = new Scanner(System.in); String s = sc.next(); String[] str = s.split(""); int count = 0; int countStart = 0; //文字列を一文字ずつ取り出し、条件に合えばカ...
Main.java:18: error: cannot find symbol if (start == 1){ //?????????? ^ symbol: variable start location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u332478078|p03814|0
u332478078|p03814|0
codenet
Compile Error
966
v2_s292602378
s292602378
s292602378
p03814
p03814
u334656323
u334656323
1,520,907,448
2018-03-13T02:17:28
Main.java
import java.util.*; import java.util.HashSet; import java.util.Set; public class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); String s=sc.next(); int a=0; int z=0; for(int i=0;i<s.length();i++){ if(s.charAt(i)=="A"){ ...
Main.java:11: error: bad operand types for binary operator '==' if(s.charAt(i)=="A"){ ^ first type: char second type: String Main.java:14: error: bad operand types for binary operator '==' if(s.charAt(i)=="Z"){ ^ first type: char seco...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334656323|p03814|0
u334656323|p03814|0
codenet
Compile Error
491
v2_s697663990
s697663990
s697663990
p03814
p03814
u353919145
u353919145
1,505,829,793
2017-09-19T14:03:13
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.nextLine(); int maxL = 0; int start; for (int i = 0; i < s.length(); i++) { int L = 0; if (s.ch...
Main.java:22: error: variable start might not have been initialized L = i - start; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u353919145|p03814|0
u353919145|p03814|0
codenet
Compile Error
622
v2_s128821389
s128821389
s128821389
p03814
p03814
u353919145
u353919145
1,505,831,171
2017-09-19T14:26:11
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner inp = new Scanner(System.in); String u = input.nextln(); 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:14: error: illegal start of expression }public class Main{ ^ Main.java:36: error: illegal start of type for(int j = aPos; j < u.length() - 1; j++){ ^ Main.java:36: error: > or ',' expected for(int j = aPos; j < u.length() - 1; j++){ ^ Main.java:36: error: ';' expecte...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u353919145|p03814|0
u353919145|p03814|0
codenet
Compile Error
974
v2_s536459014
s536459014
s536459014
p03814
p03814
u353919145
u353919145
1,505,831,430
2017-09-19T14:30:30
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner inp = new Scanner(System.in); String u = input.next(); 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.next(); ^ symbol: variable input location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u353919145|p03814|0
u353919145|p03814|0
codenet
Compile Error
495
v2_s290404579
s290404579
s290404579
p03814
p03814
u353919145
u353919145
1,505,832,072
2017-09-19T14:41:12
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:15: error: illegal start of expression public class Main{ ^ Main.java:36: error: illegal start of type for(int j = aPos; j < u.length() - 1; j++){ ^ Main.java:36: error: > or ',' expected for(int j = aPos; j < u.length() - 1; j++){ ^ Main.java:36: error: ';' expected for(i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u353919145|p03814|0
u353919145|p03814|0
codenet
Compile Error
978
v2_s498107139
s498107139
s498107139
p03814
p03814
u367866606
u367866606
1,485,656,492
2017-01-29T02:21:32
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); String s=sc.next(); String rev=new StringBuffer(s).reverse().toString(); int l=s.length(); int ctr=0; int fA=0; int fZ=0; while(fA==0){ if(s.charAt(ctr)=='A'){fA=ctr;ctr=0;break;} ctr++; } while(fZ==0){ if(...
Main.java:16: error: bad operand types for binary operator '==' if(rev==0){fZ=ctr;break;} ^ first type: String second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03814|0
u367866606|p03814|0
codenet
Compile Error
384
v2_s828412457
s828412457
s828412457
p03814
p03814
u371791265
u371791265
1,593,709,880
2020-07-02T17:11:20
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in);   String str = sc.next(); //Aが現れるのは何文字目? int a; for (a=0;a<s.length();a++) { if(s.charAt(i)=='A'){ break; } } //Zが現れるのは何...
Main.java:5: error: illegal character: '\u3000' ? String str = sc.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u371791265|p03814|0
u371791265|p03814|0
codenet
Compile Error
545
v2_s579709104
s579709104
s579709104
p03814
p03814
u371791265
u371791265
1,593,709,973
2020-07-02T17:12:53
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in);   String s = sc.next(); //Aが現れるのは何文字目? int a; for (a=0;a<s.length();a++) { if(s.charAt(i)=='A'){ break; } } //Zが現れるのは何文字...
Main.java:5: error: illegal character: '\u3000' ? String s = sc.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u371791265|p03814|0
u371791265|p03814|0
codenet
Compile Error
543
v2_s677643146
s677643146
s677643146
p03814
p03814
u371791265
u371791265
1,593,710,103
2020-07-02T17:15:03
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next(); //Aが現れるのは何文字目? int a; for (a=0;a<s.length();a++) { if(s.charAt(i)=='A'){ break; } } ...
Main.java:9: error: cannot find symbol if(s.charAt(i)=='A'){ ^ symbol: variable i location: class Main Main.java:16: error: cannot find symbol if(s.charAt(i)=='Z'){ ^ symbol: variable i location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u371791265|p03814|0
u371791265|p03814|0
codenet
Compile Error
562
v2_s956341671
s956341671
s956341671
p03814
p03814
u399547145
u399547145
1,486,787,598
2017-02-11T04:33:18
Main.java
package AtCoder; import java.io.*; public class Main { public static void main(String[]args){ BufferedReader reader = new BufferedReader (new InputStreamReader (System.in)); String line; String [] array; array = line.split(""); int startNumber=0; int endNumbe...
Main.java:11: error: variable line might not have been initialized array = line.split(""); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399547145|p03814|0
u399547145|p03814|0
codenet
Compile Error
699
v2_s658520045
s658520045
s658520045
p03814
p03814
u432614080
u432614080
1,496,692,060
2017-06-05T19:47:40
Main.java
import java.io.BufferedReader; import java.io.InputStream; import java.io.IOException; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader( new InputStream(System.in)); String s = br.readLine(); int idxA =0; for(int i=0; i<s.length(); i+...
Main.java:8: error: InputStream is abstract; cannot be instantiated new InputStream(System.in)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u432614080|p03814|0
u432614080|p03814|0
codenet
Compile Error
568
v2_s279896902
s279896902
s279896902
p03814
p03814
u458268106
u458268106
1,568,562,650
2019-09-15T15:50:50
Main.java
static Scanner sc = new Scanner(System.in);public static void main(String args[]){String s = sc.next();System.out.println(s.lastIndexOf('Z')-s.indexOf('A')+1);}}
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. static Scanner sc = new Scanner(System.in);public static void main(String args[]){String s = sc.next();System.out.println(s.lastIndexOf('Z')-s.indexOf('A')+1);}} ^ (use --enable-preview to enable unnamed classes) Main.java:1...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458268106|p03814|0
u458268106|p03814|0
codenet
Compile Error
161
v2_s463609928
s463609928
s463609928
p03814
p03814
u489316980
u489316980
1,567,189,563
2019-08-30T18:26:03
Main.java
import java.util.*; public class Main{ public static void main(String[]args){ Scanner sc = new Scanner(System.in); String S = sc.next(); int s = S.length(); int a = -1, z = 0; for(int i = 0; i < s; i++){ if(S.charAt(i) == 'A' && a == -1){ a = i; }else if(S.charAt('Z')){ ...
Main.java:12: error: incompatible types: char cannot be converted to boolean }else if(S.charAt('Z')){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u489316980|p03814|0
u489316980|p03814|0
codenet
Compile Error
379
v2_s969087499
s969087499
s969087499
p03814
p03814
u547167033
u547167033
1,566,844,062
2019-08-26T18:27:42
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next(); char[] array = s.toCharArray(); int first = 0; int end = s.length(); for(int i = 0;i < end;i++){ if(s.substring(i,i+1).equals("A")){ ...
Main.java:16: error: incompatible types: String cannot be converted to boolean if(s.substring(i-1,i)){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03814|0
u547167033|p03814|0
codenet
Compile Error
536
v2_s500965888
s500965888
s500965888
p03814
p03814
u653981267
u653981267
1,486,867,433
2017-02-12T02:43:53
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); int a = 0; int b = 0; for(int i = 0; i < s.length(); i++) { if(s.charAt(i) == 'A') { a = i; break; } } for(int i = s.leng...
Main.java:21: error: incompatible types: unexpected return value return b - a + 1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03814|0
u653981267|p03814|0
codenet
Compile Error
447
v2_s062070349
s062070349
s062070349
p03814
p03814
u811622556
u811622556
1,593,711,828
2020-07-02T17:43:48
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next(); int a; int z; for(int i = 0; i < s.length(); i++){ if(s.charAt(i) == 'A'){ a = i; break; } ...
Main.java:20: error: variable z might not have been initialized System.out.println(z - a); ^ Main.java:20: error: variable a might not have been initialized System.out.println(z - a); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u811622556|p03814|0
u811622556|p03814|0
codenet
Compile Error
492
v2_s702329130
s702329130
s702329130
p03814
p03814
u863370423
u863370423
1,505,830,923
2017-09-19T14:22:03
Main.java
import java.util.* public class Main{ public static void main(String[] args){ Scanner inp = new Scanner(System.in); String u = input.next(); 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; } fo...
Main.java:1: error: ';' expected import java.util.* ^ Main.java:15: error: ';' expected for(int j = aPos; j < u.length - 1){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03814|0
u863370423|p03814|0
codenet
Compile Error
483
v2_s172889420
s172889420
s172889420
p03814
p03814
u863370423
u863370423
1,505,830,968
2017-09-19T14:22:48
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner inp = new Scanner(System.in); String u = input.next(); 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; } f...
Main.java:15: error: ';' expected for(int j = aPos; j < u.length - 1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03814|0
u863370423|p03814|0
codenet
Compile Error
484
v2_s448328480
s448328480
s448328480
p03814
p03814
u863370423
u863370423
1,505,832,652
2017-09-19T14:50:52
Main.java
import java.util.*; import java.io.*; //A to Z String 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....
Main.java:8: 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|p03814|0
u863370423|p03814|0
codenet
Compile Error
533
v2_s931793764
s931793764
s931793764
p03815
p03815
u153556810
u153556810
1,561,171,685
2019-06-22T02:48:05
Main.java
import java.math.BigInteger; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); BigInteger x = new BigInteger(sc.next()); boolean flag = true; BigInteger ans; int y = x.mod(new BigInteger("11")).intValue(); if(0 < y && y <= 6) { ...
Main.java:18: error: variable ans might not have been initialized System.out.println(ans.toString()); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u153556810|p03815|0
u153556810|p03815|0
codenet
Compile Error
580
v2_s367025831
s367025831
s367025831
p03815
p03815
u367866606
u367866606
1,485,657,397
2017-01-29T02:36:37
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); long x=sc.nextLong(); long ans=(long)(x/11); if(x-11*ans<6)ans++; ans++; System.out.println(ans); }
Main.java:10: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03815|0
u367866606|p03815|0
codenet
Compile Error
213
v2_s699790227
s699790227
s699790227
p03815
p03815
u399547145
u399547145
1,486,799,157
2017-02-11T07:45:57
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int number = Integer.parseInt(scan); int count=1; if (number<=6){ System.out.println(1); } while(number>6){ number = number-6; count++; ...
Main.java:7: error: incompatible types: Scanner cannot be converted to String int number = Integer.parseInt(scan); ^ 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
u399547145|p03815|0
u399547145|p03815|0
codenet
Compile Error
363
v2_s372293161
s372293161
s372293161
p03815
p03815
u399547145
u399547145
1,486,799,281
2017-02-11T07:48:01
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int number = scan.next(); int count=1; if (number<=6){ System.out.print(1); } while(number>6){ number = number-6; count++; } System....
Main.java:7: error: incompatible types: String cannot be converted to int int number = scan.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399547145|p03815|0
u399547145|p03815|0
codenet
Compile Error
348
v2_s185990184
s185990184
s185990184
p03815
p03815
u399547145
u399547145
1,486,835,402
2017-02-11T17:50:02
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) {   Scanner scan = new Scanner(System.in);    String line = scan.next(); Long number = Long.parseLong(line); Long getNumber = number/6; if (number<=6){ System.out.print(1); } else if ...
Main.java:7: error: illegal character: '\u3000' ??Scanner scan = new Scanner(System.in); ^ Main.java:7: error: illegal character: '\u3000' ??Scanner scan = new Scanner(System.in); ^ Main.java:8: error: illegal character: '\u3000' ?? String line = scan.next(); ^ Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399547145|p03815|1
u399547145|p03815|1
codenet
Compile Error
443
v2_s498065261
s498065261
s498065261
p03815
p03815
u873167698
u873167698
1,590,860,593
2020-05-30T17:43:13
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); long x = Long.parseLong(sc.next()); long ans = (x / 11) * 2; if(x % 11 == 0) else if(x % 11 <= 6) ans++; else ans += 2; Sys...
Main.java:9: error: 'else' without 'if' else if(x % 11 <= 6) ans++; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u873167698|p03815|0
u873167698|p03815|0
codenet
Compile Error
350
v2_s791352609
s791352609
s791352609
p03816
p03816
u575909439
u575909439
1,549,482,671
2019-02-06T19:51: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(); HashSet<Integer> set = new HashSet<>(); int count = 0; for (int i = 0; i < n; i++){ int x = sc.nextInt(); if (set.contains(x)){ ...
Main.java:35: error: class, interface, enum, or record expected count++; ^ Main.java:36: error: class, interface, enum, or record expected count = count / 2 * 2; ^ Main.java:37: error: class, interface, enum, or record expected System.out.println(n - count); ^ Main.java:38: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u575909439|p03816|0
u575909439|p03816|0
codenet
Compile Error
870
v2_s583913182
s583913182
s583913182
p03816
p03816
u653981267
u653981267
1,486,920,950
2017-02-12T17:35:50
Main.java
import java.util.HashSet; public class Main { public static void main(String[] args) { HashSet<Integer> cards = new HashSet<Integer>(); Scanner sc = new Scanner(System.in); int num = sc.nextInt(); for(int i = 0; i < num; i++) { cards.add(sc.nextInt()); } int res = cards.size(); if(r...
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); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03816|0
u653981267|p03816|0
codenet
Compile Error
374
v2_s711982059
s711982059
s711982059
p03816
p03816
u696612856
u696612856
1,600,644,081
2020-09-20T23:21:21
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); ArrayList<Integer> a = new ArrayList<Integer>(); for (int i = 0; i < n; i++) { a.add(sc.nextInt()); } sc.close(); Collections.sort(a); int minIndex; while(getSameCardIndex(a...
Main.java:34: error: cannot find symbol private static int getSameCardIndex(ArrayList<Integer> a) { ^ symbol: class ArrayList location: class Main Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u696612856|p03816|0
u696612856|p03816|0
codenet
Compile Error
736
v2_s664906210
s664906210
s664906210
p03816
p03816
u696612856
u696612856
1,600,690,992
2020-09-21T12:23:12
Main.java
import java.util.Arrays; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new int[n]; for (int i = 0; i < n; i++) { a[i] = sc.nextInt(); } sc.close(); Arrays.sort(a); int index = 0; boolean isRemaining = false; ...
Main.java:7: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:7: 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
u696612856|p03816|1
u696612856|p03816|1
codenet
Compile Error
757
v2_s650303697
s650303697
s650303697
p03816
p03816
u863370423
u863370423
1,532,155,971
2018-07-21T06:52:51
Solution.java
import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.LinkedList; import java.util.Scanner; import java.util.Stack; import javax.swing.ScrollPaneConstants; import org.omg.Messaging.SyncScopeHelper; public class Solution { static Scanner input = new Scanner(System.in); ...
Solution.java:9: error: package org.omg.Messaging does not exist import org.omg.Messaging.SyncScopeHelper; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03816|1
u863370423|p03816|1
codenet
Compile Error
860
v2_s149722224
s149722224
s149722224
p03817
p03817
u316355973
u316355973
1,486,082,036
2017-02-03T00:33:56
Main.java
import com.teamlab.vm.controllers.admin.system.SystemController; import java.util.Scanner; public class Main { public static final void main(String args[]) { new Main().solve(); } void solve() { try (Scanner in = new Scanner(System.in)) { long x = in.nextLong(); l...
Main.java:1: error: package com.teamlab.vm.controllers.admin.system does not exist import com.teamlab.vm.controllers.admin.system.SystemController; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u316355973|p03817|0
u316355973|p03817|0
codenet
Compile Error
617
v2_s862761553
s862761553
s862761553
p03817
p03817
u536574363
u536574363
1,485,841,610
2017-01-31T05:46:50
Main.java
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> PII; const int MM = 1e9 + 7; const double eps = 1e-8; const int MAXN = 2e6 + 10; int n, m; void prework(){ } void read(){ } int K; ll C[2222][2222]; ll pw[2222]; ll f[2222][2222]; ll sum[2222][2222]; void solve(int casi)...
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:5: error: class, interface, enum, or record expected typedef long long ll; ^ Main.java:6: error: class, interface, enum, or record expected type...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536574363|p03817|0
u536574363|p03817|0
codenet
Compile Error
1,138
v2_s336323603
s336323603
s336323603
p03817
p03817
u616866689
u616866689
1,497,255,727
2017-06-12T08:22:07
Main.java
//Do what you can't. import java.io.*; import java.util.*; import java.math.BigInteger; public class Main { public static void main(String[] args) { InputReader in = new InputReader(System.in); PrintWriter w = new PrintWriter(System.out); long x = in.nextLong() ; long ans = x / 11; ans += ans;...
Main.java:15: error: 'else' without 'if' else if (x % 11 > 0) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u616866689|p03817|1
u616866689|p03817|1
codenet
Compile Error
3,072
v2_s387504646
s387504646
s387504646
p03817
p03817
u616866689
u616866689
1,497,255,767
2017-06-12T08:22:47
Main.java
//Do what you can't. import java.io.*; import java.util.*; import java.math.BigInteger; public class Main { public static void main(String[] args) { InputReader in = new InputReader(System.in); PrintWriter w = new PrintWriter(System.out); long x = in.nextLong() ; long ans = x / 11; ans += ans; ...
Main.java:15: error: 'else' without 'if' else if (x % 11 > 0) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u616866689|p03817|1
u616866689|p03817|1
codenet
Compile Error
3,071
v2_s562819330
s562819330
s562819330
p03817
p03817
u986437843
u986437843
1,529,099,163
2018-06-15T21:46:03
Main.java
mport java.io.*; import java.util.*; /** * * @author baito */ public class Main { static StringBuilder sb = new StringBuilder(); static FastScanner sc = new FastScanner(System.in); static int INF = 1234567890; static long MOD =1000000007; static int[] y4 = {0,1,0,-1}; static int[] x4 = {1,0,...
Main.java:1: error: class, interface, enum, or record expected mport java.io.*; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u986437843|p03817|0
u986437843|p03817|0
codenet
Compile Error
11,660
v2_s521628880
s521628880
s521628880
p03818
p03818
u857759499
u857759499
1,589,853,858
2020-05-19T02:04:18
Main.java
from collections import Counter n,*a = map(int,open(0).read().split()) c = Counter(a) b = 0 for i in c.values(): b+=i-1 if b%2 != 0: b+=1 print(n-b)
Main.java:1: error: class, interface, enum, or record expected from collections import Counter ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u857759499|p03818|0
u857759499|p03818|0
codenet
Compile Error
152
v2_s580255136
s580255136
s580255136
p03819
p03819
u536574363
u536574363
1,485,841,591
2017-01-31T05:46:31
Main.java
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> PII; const int MM = 1e9 + 7; const double eps = 1e-8; const int MAXN = 2e6 + 10; int n, m; void prework(){ } void read(){ } int K; ll C[2222][2222]; ll pw[2222]; ll f[2222][2222]; ll sum[2222][2222]; void solve(int casi)...
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:5: error: class, interface, enum, or record expected typedef long long ll; ^ Main.java:6: error: class, interface, enum, or record expected type...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536574363|p03819|0
u536574363|p03819|0
codenet
Compile Error
1,138
v2_s016789349
s016789349
s016789349
p03819
p03819
u772909448
u772909448
1,509,236,505
2017-10-29T00:21:45
Java06.java
import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Java06 { public static void main(String[] args) { int bentoType = 0; int stationCnt = 0; Scanner scanner = new Scanner(System.in); Sy...
Java06.java:23: error: unclosed string literal System.out.print("??"+i+"???????????? ^ Java06.java:24: error: illegal character: '\uff1a' ??"); ^ Java06.java:24: error: not a statement ??"); ^ Java06.java:24: error: unclosed string literal ??"); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u772909448|p03819|3
u772909448|p03819|3
codenet
Compile Error
2,537
v2_s131272366
s131272366
s131272366
p03819
p03819
u772909448
u772909448
1,509,236,532
2017-10-29T00:22:12
Main.java
import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main{ public static void main(String[] args) { int bentoType = 0; int stationCnt = 0; Scanner scanner = new Scanner(System.in); Syste...
Main.java:23: error: unclosed string literal System.out.print("??"+i+"???????????? ^ Main.java:24: error: illegal character: '\uff1a' ??"); ^ Main.java:24: error: not a statement ??"); ^ Main.java:24: error: unclosed string literal ??"); ^ Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u772909448|p03819|3
u772909448|p03819|3
codenet
Compile Error
2,534
v2_s379588289
s379588289
s379588289
p03820
p03820
u536574363
u536574363
1,485,841,565
2017-01-31T05:46:05
Main.java
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> PII; const int MM = 1e9 + 7; const double eps = 1e-8; const int MAXN = 2e6 + 10; int n, m; void prework(){ } void read(){ } int K; ll C[2222][2222]; ll pw[2222]; ll f[2222][2222]; ll sum[2222][2222]; void solve(int casi)...
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:5: error: class, interface, enum, or record expected typedef long long ll; ^ Main.java:6: error: class, interface, enum, or record expected type...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536574363|p03820|0
u536574363|p03820|0
codenet
Compile Error
1,138
v2_s926580887
s926580887
s926580887
p03821
p03821
u330021997
u330021997
1,594,941,500
2020-07-16T23:18:20
Main.java
j jaiba
Main.java:1: error: class, interface, enum, or record expected j jaiba ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330021997|p03821|0
u330021997|p03821|0
codenet
Compile Error
7
v2_s278865416
s278865416
s278865416
p03821
p03821
u367866606
u367866606
1,485,137,871
2017-01-23T02:17:51
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ int i,tmp; int ans=0; Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int[] a=new int[n]; int[] b=new int[n]; for(i=0;i<n;i++){ a[i]=sc.nextInt(); b[i]=sc.nextInt(); } for(i=n-1;i>=0;i...
Main.java:16: error: ';' expected if(tmp!=0)ans+=n-tmp ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03821|0
u367866606|p03821|0
codenet
Compile Error
414
v2_s271016727
s271016727
s271016727
p03821
p03821
u367866606
u367866606
1,485,139,543
2017-01-23T02:45:43
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ int i,tmp; long ans=0l; Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int[] a=new int[n]; int[] b=new int[n]; for(i=0;i<n;i++){ a[i]=sc.nextInt(); b[i]=sc.nextInt(); } for(i=n-1;i>=0...
Main.java:15: error: incompatible types: possible lossy conversion from long to int tmp=(a[i]+ans)%b[i]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03821|0
u367866606|p03821|0
codenet
Compile Error
434
v2_s911779311
s911779311
s911779311
p03821
p03821
u381460455
u381460455
1,600,016,243
2020-09-13T16:57:23
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = nextInt(); long[] As = new long[N]; long[] Bs = new long[N]; for (int i = 0; i < N; i++) { As[i] = nextInt(); Bs[i] = nextInt();...
Main.java:6: error: cannot find symbol int N = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:11: error: cannot find symbol As[i] = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:12: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u381460455|p03821|0
u381460455|p03821|0
codenet
Compile Error
607
v2_s996077915
s996077915
s996077915
p03821
p03821
u563321291
u563321291
1,589,057,814
2020-05-09T20:56:54
Main.java
import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main { private static Scanner sc = new Scanner(System.in); //result = Math.pow(num1, num3) //StringBuffer str = new StringBuffer(hoge1); //String hoge2 = str.reverse().toString(); //map.containsKey(A) //Map<String, Integer...
Main.java:40: error: incompatible types: possible lossy conversion from long to int long a[]=new long[N]; ^ Main.java:41: error: incompatible types: possible lossy conversion from long to int long b[]=new long[N]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u563321291|p03821|0
u563321291|p03821|0
codenet
Compile Error
1,888
v2_s625703891
s625703891
s625703891
p03821
p03821
u969605855
u969605855
1,485,139,876
2017-01-23T02:51: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[] a = new int[n]; boolean[] used = new boolean[n]; int[] appear = new int[n]; int ans = 0; int max = 0; int p = 0; for(int i=0; i<n; i++){ a[i] = sc.next...
Main.java:19: error: illegal start of expression } ^ Main.java:34: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969605855|p03821|0
u969605855|p03821|0
codenet
Compile Error
598
v2_s637313839
s637313839
s637313839
p03821
p03821
u969605855
u969605855
1,485,140,043
2017-01-23T02:54: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(); long[] a=new long[n]; long[] b=new long[n]; long ans=0; for(int i=0; i<n; i++){ a[i] = sc.nextLong(); b[i] = sc.nextLong(); } for(int i=n-1;i>=0;i--){ a[...
Main.java:20: error: ';' expected ans -= a[i]%b[i] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969605855|p03821|0
u969605855|p03821|0
codenet
Compile Error
495
v2_s219565120
s219565120
s219565120
p03821
p03821
u969605855
u969605855
1,485,141,679
2017-01-23T03:21: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[] a=new long[n]; long[] b=new long[n]; long ans=0; for(int i=0; i<n; i++){ a[i] = sc.nextLong(); b[i] = sc.nextLong(); } for(int i=n-1;i>=0;i--){ if...
Main.java:18: error: bad operand types for binary operator '&' }else if( (a[i]%b[i] + ans%b[i]) &b[i] != 0 ){ ^ first type: long second type: boolean 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969605855|p03821|0
u969605855|p03821|0
codenet
Compile Error
532
v2_s222851836
s222851836
s222851836
p03821
p03821
u969605855
u969605855
1,485,515,268
2017-01-27T11:07: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(); long[] a=new long[n]; long[] b=new long[n]; long ans=0; for(int i=0; i<n; i++){ a[i] = Long.parseLong(sc.next()); b[i] = Long.parseLong(sc.next()); } for(i...
Main.java:21: error: <identifier> expected System.out.println(ans); ^ Main.java:21: error: <identifier> expected System.out.println(ans); ^ Main.java:22: error: illegal start of type return; ^ Main.java:24: error: class, interface, enum, or record expected } ^ 4 error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969605855|p03821|1
u969605855|p03821|1
codenet
Compile Error
455
v2_s927406700
s927406700
s927406700
p03821
p03821
u979552932
u979552932
1,585,333,561
2020-03-27T18:26:01
Main.java
use v5.18; # strict say state use warnings; use List::Util qw(reduce first max min sum0); chomp (my $n = <STDIN>); my (@a, @b); for my $i (0..$n-1) { chomp (($a[$i], $b[$i]) = split / /, <STDIN>); } my $ans = 0; for my $i (0..($n-1)) { $ans += ($b[$n-$i-1] - ($a[$n-$i-1]+$ans) % $b[$n-$i-1]) % $b[$n-$i-1]; } say $...
Main.java:1: error: class, interface, enum, or record expected use v5.18; # strict say state ^ Main.java:1: error: illegal character: '#' use v5.18; # strict say state ^ Main.java:1: error: class, interface, enum, or record expected use v5.18; # strict say state ^ Main.java:3: error: clas...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u979552932|p03821|0
u979552932|p03821|0
codenet
Compile Error
324
v2_s382156570
s382156570
s382156570
p03822
p03822
u367866606
u367866606
1,485,141,015
2017-01-23T03:10:15
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ int i,j; int tmp=0; int ans=0; Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int[] a=new int[n-1];//2~n->0~n-2 List<Integer> loser=new ArrayList<Integer>(); for(i=0;i<n-1;i++){ a[i]=sc.nextInt...
Main.java:18: error: incompatible types: int cannot be converted to boolean if(a[j]=loser.get(i))tmp++; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03822|0
u367866606|p03822|0
codenet
Compile Error
547
v2_s460049139
s460049139
s460049139
p03822
p03822
u386131832
u386131832
1,485,148,074
2017-01-23T05:07:54
Main.java
public class Main { static int n; static int[] a; static int[] dp; static Node[] node; public static void main(String[] args) throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); n=Integer.parseInt(br.readLine()); a=new int[n-1]; ...
Main.java:7: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:38: error: cannot find symbol ArrayList<Integer> next_list=new ArrayList<>(); ^ symbol: cl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u386131832|p03822|0
u386131832|p03822|0
codenet
Compile Error
1,169
v2_s337978560
s337978560
s337978560
p03822
p03822
u386131832
u386131832
1,485,148,119
2017-01-23T05:08:39
Main.java
public class Main { static int n; static int[] a; static int[] dp; static Node[] node; public static void main(String[] args) throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); n=Integer.parseInt(br.readLine()); a=new int[n-1]; ...
Main.java:7: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:38: error: cannot find symbol ArrayList<Integer> next_list=new ArrayList<>(); ^ symbol: cl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u386131832|p03822|0
u386131832|p03822|0
codenet
Compile Error
1,161
v2_s760950673
s760950673
s760950673
p03825
p03825
u330021997
u330021997
1,594,941,553
2020-07-16T23:19:13
Main.java
jviva
Main.java:1: error: reached end of file while parsing jviva ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330021997|p03825|0
u330021997|p03825|0
codenet
Compile Error
5
v2_s546595234
s546595234
s546595234
p03825
p03825
u330021997
u330021997
1,594,941,568
2020-07-16T23:19:28
Main.java
na j jvaivjva
Main.java:1: error: class, interface, enum, or record expected na j jvaivjva ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330021997|p03825|0
u330021997|p03825|0
codenet
Compile Error
13
v2_s239184153
s239184153
s239184153
p03826
p03826
u010415482
u010415482
1,583,094,832
2020-03-01T20:33:52
Main.java
import java.util.*; import java.util.Collections; 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(); System.out.println(Math.max(A * B, C * D)); } }
Main.java:7: error: cannot find symbol int A = sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:8: error: cannot find symbol int B = sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:9: error: cannot find symbol int C = sc.nextInt(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u010415482|p03826|0
u010415482|p03826|0
codenet
Compile Error
317
v2_s050676592
s050676592
s050676592
p03826
p03826
u018679195
u018679195
1,507,005,721
2017-10-03T04:42:01
file.java
import java.io.*; import java.util.*; import java.lang.*; public class file.java{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int a=Integer.parseInt(br.readLine()); int b=Integer.parseInt(br.readLine(...
file.java:6: error: '{' expected public class file.java{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03826|0
u018679195|p03826|0
codenet
Compile Error
526
v2_s870096031
s870096031
s870096031
p03826
p03826
u127137156
u127137156
1,484,892,532
2017-01-20T06:08:52
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); long a=sc.nextInt(); long b=1; for(int i=1;i<=a;i++){ b*=i; } a=b%(long)10000000000; System.out.println(a); } }
Main.java:10: error: integer number too large a=b%(long)10000000000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u127137156|p03826|2
u127137156|p03826|2
codenet
Compile Error
224
v2_s084108206
s084108206
s084108206
p03826
p03826
u138380318
u138380318
1,541,565,578
2018-11-07T04:39:38
Main.java
public static void main(String[] args) { int a=0,b=0,c=0,d=0; Scanner sc = new Scanner(System.in); try { a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); d = sc.nextInt(); sc.close(); }catch(Exception e) { System.out.println("入力が正しくありません"); System.exit(1); } if(!checkNum(a) ||...
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
u138380318|p03826|0
u138380318|p03826|0
codenet
Compile Error
767
v2_s212276265
s212276265
s212276265
p03826
p03826
u310549140
u310549140
1,505,801,804
2017-09-19T06:16:44
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); if(a*b>==c*d){ System.out.println(a*b); }else{ System.out.println(c...
Main.java:10: error: illegal start of expression if(a*b>==c*d){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u310549140|p03826|0
u310549140|p03826|0
codenet
Compile Error
336
v2_s757319169
s757319169
s757319169
p03826
p03826
u317333738
u317333738
1,575,123,142
2019-11-30T14:12:22
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 = sc.nextInt(); int d = sc.nextInt(); int ab = a * b; int cd = c * d; if (ad = cd) { System.out.pr...
Main.java:14: error: cannot find symbol if (ad = cd) { ^ symbol: variable ad location: class Main Main.java:15: error: cannot find symbol System.out.println(ad); ^ symbol: variable ad location: class Main Main.java:16: error: cannot find symbol } else if (ad > ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u317333738|p03826|0
u317333738|p03826|0
codenet
Compile Error
454
v2_s906087569
s906087569
s906087569
p03826
p03826
u317333738
u317333738
1,575,123,187
2019-11-30T14:13:07
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 = sc.nextInt(); int d = sc.nextInt(); int ab = a * b; int cd = c * d; if (ad = cd) { System.out.pr...
Main.java:14: error: cannot find symbol if (ad = cd) { ^ symbol: variable ad location: class Main Main.java:16: error: cannot find symbol } else if (ad > cd) { ^ symbol: variable ad location: class Main Main.java:18: error: cannot find symbol } else if (cd > ad) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u317333738|p03826|0
u317333738|p03826|0
codenet
Compile Error
454
v2_s765461223
s765461223
s765461223
p03826
p03826
u317333738
u317333738
1,575,123,209
2019-11-30T14:13:29
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 = sc.nextInt(); int d = sc.nextInt(); int ab = a * b; int cd = c * d; if (ad = cd) { System.out.pr...
Main.java:14: error: cannot find symbol if (ad = cd) { ^ symbol: variable ad location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u317333738|p03826|0
u317333738|p03826|0
codenet
Compile Error
454
v2_s873467166
s873467166
s873467166
p03826
p03826
u317333738
u317333738
1,575,123,235
2019-11-30T14:13:55
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 = sc.nextInt(); int d = sc.nextInt(); int ab = a * b; int cd = c * d; if (ab = cd) { System.out.pr...
Main.java:14: error: incompatible types: int cannot be converted to boolean if (ab = cd) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u317333738|p03826|0
u317333738|p03826|0
codenet
Compile Error
454
v2_s880554684
s880554684
s880554684
p03826
p03826
u323959092
u323959092
1,486,512,894
2017-02-08T00:14:54
Main.java
import java.util.Scanner; /** * Created by User on 2017/02/07. */ public class Main { public static void main(String[] args) { int[] num = new int[4]; Scanner scn = new Scanner(System.in); num[0] = scn.nextInt(); num[1] = scn.nextInt(); num[2] = scn.nextInt(); num...
Main.java:17: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323959092|p03826|0
u323959092|p03826|0
codenet
Compile Error
447
v2_s805303984
s805303984
s805303984
p03826
p03826
u367866606
u367866606
1,484,532,289
2017-01-16T02:04:49
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan=new Scanner(); int a=scan.nextInt(); int b=scan.nextInt(); int c=scan.nextInt(); int d=scan.nextInt(); System.out.println(Math.max(a*b,c*d)); } }
Main.java:4: error: no suitable constructor found for Scanner(no arguments) Scanner scan=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 (actual a...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03826|0
u367866606|p03826|0
codenet
Compile Error
244
v2_s700692382
s700692382
s700692382
p03826
p03826
u378487414
u378487414
1,565,837,366
2019-08-15T02:49:26
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); String s=sc.next(); int x=0; int max=0; for(int i=0; i<N; i++){ if(s.charAt(i).equals('I')){ x++; }else{ x--; } if(max<x){...
Main.java:12: error: char cannot be dereferenced if(s.charAt(i).equals('I')){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u378487414|p03826|1
u378487414|p03826|1
codenet
Compile Error
383
v2_s582044887
s582044887
s582044887
p03826
p03826
u380792351
u380792351
1,498,567,933
2017-06-27T12:52:13
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(); int ab = a*b; int cd = c*d; if(ab > cd){ System.out.println(ab); }else if(ab == cd){ System.out.println(ab);...
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
u380792351|p03826|0
u380792351|p03826|0
codenet
Compile Error
377
v2_s090595444
s090595444
s090595444
p03826
p03826
u386801856
u386801856
1,491,339,256
2017-04-04T20:54:16
Main.java
double a,b,c,d; system.out.println(``enter value a``); a=sc.nextDouble(); system.out.println(``enter value b``); b=sc.nextDouble(); system.out.println(``enter value c``); c=sc.nextDouble(); system.out.println(``enter value d``); d=sc.nextDouble(); if((1>a)||(a>10000)||(1>b)||(b>10000)||(1>c)||(c>10000)||(1>d)||(d>10000...
Main.java:1: error: class, interface, enum, or record expected double a,b,c,d; ^ Main.java:2: error: class, interface, enum, or record expected system.out.println(``enter value a``); ^ Main.java:2: error: illegal character: '`' system.out.println(``enter value a``); ^ Main.java:2: error: illegal char...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u386801856|p03826|0
u386801856|p03826|0
codenet
Compile Error
541
v2_s330379256
s330379256
s330379256
p03826
p03826
u405193972
u405193972
1,484,532,109
2017-01-16T02:01:49
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int cnt = 0; String str = ""; int N1 = Integer.parseInt(sc.next()); int N2 = Integer.parseInt(sc.next()); int W1 = Integer.parseInt(s...
Main.java:21: error: cannot find symbol System.out.print(Math.max(N1N2,W1*W2)); ^ symbol: variable N1N2 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u405193972|p03826|0
u405193972|p03826|0
codenet
Compile Error
466
v2_s276498164
s276498164
s276498164
p03826
p03826
u519450844
u519450844
1,490,752,898
2017-03-29T02:01:38
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 = sc.nextInt(); int D = sc.nextInt(); int sqa= A * B int sqb= C * D if(sqa > sqb){ ...
Main.java:10: error: ';' expected int sqa= A * B ^ Main.java:11: error: ';' expected int sqb= C * D ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u519450844|p03826|0
u519450844|p03826|0
codenet
Compile Error
513
v2_s219793223
s219793223
s219793223
p03826
p03826
u565317919
u565317919
1,485,068,764
2017-01-22T07:06:04
Main.java
public class Main { void run() { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); if (a * b < c * d) { System.out.println(c * d); } else { System.out.println(a * b); } } public static void main(String[] args) { new ...
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
u565317919|p03826|0
u565317919|p03826|0
codenet
Compile Error
339
v2_s939989711
s939989711
s939989711
p03826
p03826
u602865659
u602865659
1,547,746,816
2019-01-17T17:40:16
Main.java
import java.util.* fun main(args: Array<String>) { val sc = Scanner(System.`in`) val a: Int = sc.nextInt() val b: Int = sc.nextInt() val c: Int = sc.nextInt() val d: Int = sc.nextInt() if (a * b >= c * d) { print(a * b) } else if (a * b < c * d) { print(c * d) } }
Main.java:1: error: ';' expected import java.util.* ^ Main.java:4: error: illegal character: '`' val sc = Scanner(System.`in`) ^ Main.java:4: error: illegal character: '`' val sc = Scanner(System.`in`) ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u602865659|p03826|0
u602865659|p03826|0
codenet
Compile Error
313
v2_s986466187
s986466187
s986466187
p03826
p03826
u603091581
u603091581
1,498,862,422
2017-06-30T22:40:22
Main.java
public class Main { public static void main(String[] args) { // TODO code application logic here //AtCoder Beginner Contest 052 Scanner sc = new Scanner(System.in); int a = Integer.parseInt(sc.next()); int b = Integer.parseInt(sc.next()); int c = Integer.pars...
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
u603091581|p03826|0
u603091581|p03826|0
codenet
Compile Error
578
v2_s277015980
s277015980
s277015980
p03826
p03826
u646483356
u646483356
1,547,751,752
2019-01-17T19:02:32
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 max = Math.max(a*b,c*d); System.out.print(max); ...
Main.java:7: error: illegal character: '\u3000' ?int b = sc.nextInt(); ^ Main.java:8: error: illegal character: '\u3000' ?int c = sc.nextInt(); ^ Main.java:9: error: illegal character: '\u3000' ?int d = sc.nextInt(); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u646483356|p03826|0
u646483356|p03826|0
codenet
Compile Error
339
v2_s096400418
s096400418
s096400418
p03826
p03826
u675269406
u675269406
1,593,806,479
2020-07-03T20:01:19
Main.java
import java.util.Scanner; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt() System.out.println(a * b >= c * d ? a * b : c * d); } }
Main.java:9: error: ';' expected int d = sc.nextInt() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u675269406|p03826|0
u675269406|p03826|0
codenet
Compile Error
307