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_s876150609
s876150609
s876150609
p02741
p02741
u753092134
u753092134
1,584,344,480
2020-03-16T07:41:20
Main.java
Scanner scan=new Scanner(System.in); int check=scan.nextInt(); int ar[]={1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; return ar[check+1];
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Scanner scan=new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:3: error: class, interface, enum, or record expected int ar[]={1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753092134|p02741|0
u753092134|p02741|0
codenet
Compile Error
192
v2_s395532385
s395532385
s395532385
p02741
p02741
u753092134
u753092134
1,584,344,628
2020-03-16T07:43:48
Main.java
public static void main(String args[]){ Scanner scan=new Scanner(System.in); int check=scan.nextInt(); int ar[]={1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; return ar[check+1]; }
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String args[]){ ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753092134|p02741|0
u753092134|p02741|0
codenet
Compile Error
237
v2_s669150731
s669150731
s669150731
p02741
p02741
u753092134
u753092134
1,584,344,759
2020-03-16T07:45:59
gandgobi.java
import java.util.Scanner; public class gandgobi(){ public static void main(String args[]){ Scanner scan=new Scanner(System.in); int check=scan.nextInt(); int ar[]={1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; return ar[check+1]; } }
gandgobi.java:2: error: '{' expected public class gandgobi(){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753092134|p02741|0
u753092134|p02741|0
codenet
Compile Error
290
v2_s990550441
s990550441
s990550441
p02741
p02741
u753092134
u753092134
1,584,344,800
2020-03-16T07:46:40
gandgobi.java
import java.util.Scanner; public class gandgobi{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); int check=scan.nextInt(); int ar[]={1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; return ar[check+1]; } }
gandgobi.java:7: error: incompatible types: unexpected return value return ar[check+1]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753092134|p02741|0
u753092134|p02741|0
codenet
Compile Error
287
v2_s624151679
s624151679
s624151679
p02741
p02741
u753092134
u753092134
1,584,345,032
2020-03-16T07:50:32
Main.java
public class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); int check=scan.nextInt(); int ar[]={1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; System.out.println(ar[check+1]); } }
Main.java:3: error: cannot find symbol Scanner scan=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scan=new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753092134|p02741|0
u753092134|p02741|0
codenet
Compile Error
271
v2_s258044172
s258044172
s258044172
p02741
p02741
u753092134
u753092134
1,584,390,878
2020-03-16T20:34:38
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); long int row=scan.nextLong(); long int col=scan.nextLong(); long int pro=row*col; if (pro%2==0){ System.out.println(pro/2); } else{ System.out.println((pro+1)/2); } } }
Main.java:5: error: not a statement long int row=scan.nextLong(); ^ Main.java:5: error: ';' expected long int row=scan.nextLong(); ^ Main.java:6: error: not a statement long int col=scan.nextLong(); ^ Main.java:6: error: ';' expected long int col=scan.nextLong(); ^ Main.java:7: error: not a statement long int p...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753092134|p02741|1
u753092134|p02741|1
codenet
Compile Error
297
v2_s175274666
s175274666
s175274666
p02741
p02741
u753092134
u753092134
1,584,391,106
2020-03-16T20:38:26
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); long row=scan.nextLong(); long col=scan.nextLong(); long pro=row*col; if(row==1 || col==1){ System.out.println("1") } else if (pro%2==0){ System.out.println(pro/2); } else{ System.out.printl...
Main.java:9: error: ';' expected System.out.println("1") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753092134|p02741|1
u753092134|p02741|1
codenet
Compile Error
340
v2_s009495415
s009495415
s009495415
p02741
p02741
u822621199
u822621199
1,584,234,743
2020-03-15T01:12:23
Main.java
import java.util.*; public class Main { public static void main(String[] args){ int[] data = [1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51]; Scanner sc = new Scanner(System.in); // 整数の入力 int a = sc.nextInt(); // スペース区切りの整数の入力 //int b = sc.nextInt(); //int c = s...
Main.java:5: error: illegal start of expression int[] data = [1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u822621199|p02741|0
u822621199|p02741|0
codenet
Compile Error
455
v2_s773263897
s773263897
s773263897
p02741
p02741
u822621199
u822621199
1,584,235,035
2020-03-15T01:17:15
Main.java
import java.util.*; public class Main { public static void main(String[] args){ int[] data = [1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51]; Scanner sc = new Scanner(System.in); // 整数の入力 int a = sc.nextInt(); // スペース区切りの整数の入力 //int b = sc.nextInt(); //int c = s...
Main.java:5: error: illegal start of expression int[] data = [1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u822621199|p02741|0
u822621199|p02741|0
codenet
Compile Error
457
v2_s536931094
s536931094
s536931094
p02741
p02741
u836143249
u836143249
1,584,234,533
2020-03-15T01:08:53
Main.java
import java.util.*; public class Main { int[] numbers = {1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; public static void main(String[] args ) throws Exception { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); System.out.println(number...
Main.java:11: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u836143249|p02741|0
u836143249|p02741|0
codenet
Compile Error
342
v2_s729966351
s729966351
s729966351
p02741
p02741
u836143249
u836143249
1,584,234,608
2020-03-15T01:10:08
Main.java
import java.util.*; public class Main { int[] numbers = {1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; public static void main(String[] args ) throws Exception { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); System.out.println(number...
Main.java:8: error: non-static variable numbers cannot be referenced from a static context System.out.println(numbers[K - 1]); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u836143249|p02741|0
u836143249|p02741|0
codenet
Compile Error
336
v2_s176117242
s176117242
s176117242
p02741
p02741
u836992176
u836992176
1,584,317,988
2020-03-16T00:19:48
Main.java
public class Main { public static void main(String argv[]){ int ka[] = {1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51]; try{ System.out.println(ka[String.toInt(System.in.rcadln())]); }catch(Exception e){ } } }
Main.java:3: error: '}' expected int ka[] = {1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u836992176|p02741|0
u836992176|p02741|0
codenet
Compile Error
302
v2_s730856823
s730856823
s730856823
p02741
p02741
u890331732
u890331732
1,588,301,070
2020-05-01T02:44:30
Main.java
#include <bits/stdc++.h> #define rep(i, n) for(int i = 0; i < (n); i++) using namespace std; signed main(void) { int tab[] = {1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; int k; cin >> k; cout << tab[k - 1] << endl; return 0; }
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:2: error: illegal character: '#' #define rep(i, n) for(int i = 0; i < (n); i++) ^ Main.java:2: error: class, interface, enum, or record expec...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890331732|p02741|0
u890331732|p02741|0
codenet
Compile Error
290
v2_s897935706
s897935706
s897935706
p02741
p02741
u923923174
u923923174
1,584,234,632
2020-03-15T01:10:32
Main.java
public class Main() { public static void main(String[] args) { Scanner K = new Scanner(System.in); int[] res = new int[] {1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; return res[K - 1]; } }
Main.java:1: error: '{' expected public class Main() { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923923174|p02741|0
u923923174|p02741|0
codenet
Compile Error
266
v2_s352032505
s352032505
s352032505
p02741
p02741
u923923174
u923923174
1,584,234,683
2020-03-15T01:11:23
Main.java
public class Main{ public static void main(String[] args) { Scanner K = new Scanner(System.in); int[] res = new int[] {1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; return res[K - 1]; } }
Main.java:3: error: cannot find symbol Scanner K = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner K = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: incompatible...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923923174|p02741|0
u923923174|p02741|0
codenet
Compile Error
263
v2_s463603415
s463603415
s463603415
p02741
p02741
u923923174
u923923174
1,584,234,752
2020-03-15T01:12:32
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner K = new Scanner(System.in); int[] res = new int[] {1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; return res[K - 1]; } }
Main.java:6: error: incompatible types: unexpected return value return res[K - 1]; ^ Main.java:6: error: bad operand types for binary operator '-' return res[K - 1]; ^ first type: Scanner second type: int 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923923174|p02741|0
u923923174|p02741|0
codenet
Compile Error
290
v2_s938577285
s938577285
s938577285
p02741
p02741
u923923174
u923923174
1,584,234,807
2020-03-15T01:13:27
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner K = new Scanner(System.in); int[] res = new int[] {1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; System.out.println(res[K - 1]); } }
Main.java:6: error: bad operand types for binary operator '-' System.out.println(res[K - 1]); ^ first type: Scanner second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923923174|p02741|0
u923923174|p02741|0
codenet
Compile Error
303
v2_s551147546
s551147546
s551147546
p02741
p02741
u981382049
u981382049
1,584,234,463
2020-03-15T01:07:43
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ int[] a = {1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; Scanner scan = new Scanner(System.in); String str = scan.nextLine(); System.out.plintln(Integer.parseInt(str));...
Main.java:8: error: cannot find symbol System.out.plintln(Integer.parseInt(str)); ^ symbol: method plintln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981382049|p02741|0
u981382049|p02741|0
codenet
Compile Error
326
v2_s308219986
s308219986
s308219986
p02741
p02741
u981382049
u981382049
1,584,234,563
2020-03-15T01:09:23
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ int[] a = {1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; Scanner scan = new Scanner(System.in); String str = scan.nextLine(); System.out.plintln(Integer.parseInt(a[str...
Main.java:8: error: incompatible types: String cannot be converted to int System.out.plintln(Integer.parseInt(a[str])); ^ Main.java:8: error: incompatible types: int cannot be converted to String System.out.plintln(Integer.parseInt(a[str])); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981382049|p02741|0
u981382049|p02741|0
codenet
Compile Error
330
v2_s368195500
s368195500
s368195500
p02741
p02741
u981382049
u981382049
1,584,234,612
2020-03-15T01:10:12
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ int[] a = {1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; Scanner scan = new Scanner(System.in); String str = scan.nextLine(); System.out.plintln(a[str]); } }
Main.java:8: error: incompatible types: String cannot be converted to int System.out.plintln(a[str]); ^ Main.java:8: error: cannot find symbol System.out.plintln(a[str]); ^ symbol: method plintln(int) location: variable out of type PrintStream 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981382049|p02741|0
u981382049|p02741|0
codenet
Compile Error
312
v2_s471600023
s471600023
s471600023
p02741
p02741
u981382049
u981382049
1,584,234,697
2020-03-15T01:11:37
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ int[] a = {1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; Scanner scan = new Scanner(System.in); int n = scan.nextInt(); System.out.plintln(a[str]); } }
Main.java:8: error: cannot find symbol System.out.plintln(a[str]); ^ symbol: variable str location: class Main Main.java:8: error: cannot find symbol System.out.plintln(a[str]); ^ symbol: method plintln(int) location: variable out of type PrintStream 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981382049|p02741|0
u981382049|p02741|0
codenet
Compile Error
306
v2_s695508471
s695508471
s695508471
p02741
p02741
u981382049
u981382049
1,584,234,726
2020-03-15T01:12:06
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ int[] a = {1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51}; Scanner scan = new Scanner(System.in); int n = scan.nextInt(); System.out.plintln(a[n]); } }
Main.java:8: error: cannot find symbol System.out.plintln(a[n]); ^ symbol: method plintln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981382049|p02741|0
u981382049|p02741|0
codenet
Compile Error
304
v2_s402815930
s402815930
s402815930
p02742
p02742
u018773111
u018773111
1,593,104,876
2020-06-25T17:07:56
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long h = sc.nextLong(); long w = sc.nextLong(); System.out.println(ans%2 == 0 ? h*w/2 : (h*w/2)+1); } }
Main.java:8: error: cannot find symbol System.out.println(ans%2 == 0 ? h*w/2 : (h*w/2)+1); ^ symbol: variable ans location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018773111|p02742|0
u018773111|p02742|0
codenet
Compile Error
240
v2_s279787881
s279787881
s279787881
p02742
p02742
u176907489
u176907489
1,584,235,577
2020-03-15T01:26:17
Main.java
import java.util.Scanner; public class Main { public static void main(final String[] args) throws Exception { final Scanner scan = new Scanner(System.in); final String line = scan.nextLine(); String[] cells = line.split(" "); long tate = Integer.parseLong(cells[0]); long y...
Main.java:10: error: cannot find symbol long tate = Integer.parseLong(cells[0]); ^ symbol: method parseLong(String) location: class Integer Main.java:11: error: cannot find symbol long yoko = Integer.parseLong(cells[1]); ^ symbol: method pa...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u176907489|p02742|0
u176907489|p02742|0
codenet
Compile Error
558
v2_s393411300
s393411300
s393411300
p02742
p02742
u176907489
u176907489
1,584,236,322
2020-03-15T01:38:42
App2.java
import java.util.Scanner; public class App2 { public static void main(final String[] args) throws Exception { final Scanner scan = new Scanner(System.in); final String line = scan.nextLine(); String[] cells = line.split(" "); long yoko = Long.parseLong(cells[0]); long tate ...
App2.java:22: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u176907489|p02742|0
u176907489|p02742|0
codenet
Compile Error
555
v2_s659632766
s659632766
s659632766
p02742
p02742
u176907489
u176907489
1,584,236,353
2020-03-15T01:39:13
Main.java
import java.util.Scanner; public class Main { public static void main(final String[] args) throws Exception { final Scanner scan = new Scanner(System.in); final String line = scan.nextLine(); String[] cells = line.split(" "); long yoko = Long.parseLong(cells[0]); long tat...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u176907489|p02742|0
u176907489|p02742|0
codenet
Compile Error
556
v2_s043716648
s043716648
s043716648
p02742
p02742
u213143275
u213143275
1,585,693,121
2020-03-31T22:18:41
Main.java
import static java.lang.Math.min; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); long h = in.nextInt(); long w = in.nextInt(); long res = (h * w + 1) / 2; if (min(h, w) == 1) { res = 1; } System.o...
Main.java:5: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: 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
u213143275|p02742|0
u213143275|p02742|0
codenet
Compile Error
345
v2_s721005058
s721005058
s721005058
p02742
p02742
u258441031
u258441031
1,584,238,238
2020-03-15T02:10:38
Main.java
public class Main { public static void main(String[] args) { long h, w; long ans = 0; Scanner scan = new Scanner(System.in); do { h = scan.nextInt(); w = scan.nextInt(); } while(1 < h && Math.pow(10, 9) < w); if(w%2==0 || h%2==0) { ans = (w*h)/2; } else { ans = (i...
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
u258441031|p02742|0
u258441031|p02742|0
codenet
Compile Error
379
v2_s307780224
s307780224
s307780224
p02742
p02742
u280074728
u280074728
1,590,351,715
2020-05-24T20:21:55
Main.java
1000000000 1000000000
Main.java:1: error: class, interface, enum, or record expected 1000000000 1000000000 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u280074728|p02742|0
u280074728|p02742|0
codenet
Compile Error
21
v2_s784180071
s784180071
s784180071
p02742
p02742
u316069805
u316069805
1,584,234,807
2020-03-15T01:13:27
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long H = sc.nextLong(); long W = sc.nextLong(); if (H == 1 || W == 1) { System.out.print(1); } else if (H % 2 == 1 && W % 2 == 1) { if (H) System.out.print(H*W/2+1); } else {...
Main.java:13: error: incompatible types: long cannot be converted to boolean if (H) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u316069805|p02742|0
u316069805|p02742|0
codenet
Compile Error
357
v2_s796519922
s796519922
s796519922
p02742
p02742
u322953890
u322953890
1,584,236,973
2020-03-15T01:49:33
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); int h = sc.nextInt(); int w = sc.nextInt(); if (h * w ==1 ) { System.out.println(ans); return; } int ww1 = w / 2 + (w % 2); int ww2 = (w-1) / 2...
Main.java:13: error: cannot find symbol System.out.println(ans); ^ symbol: variable ans location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u322953890|p02742|0
u322953890|p02742|0
codenet
Compile Error
571
v2_s026512622
s026512622
s026512622
p02742
p02742
u394113190
u394113190
1,584,239,798
2020-03-15T02:36:38
Main.java
#include <bits/stdc++.h> #define rep(i,n) for (int i = 0; i < (n); ++i) using namespace std; typedef long long ll; #define vi vector<int> #define vl vector<ll> #define vvi vector<vector<int>> #define vvl vector<vector<ll>> // constexpr ll mod = 1e9 + 7; int main(){ ll H, W; cin >> H >> W; ll ans = H*(W/2...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:2: error: illegal character: '#' #define rep(i,n) for (int i = 0; i < (n); ++i) ^ Main.java:2: error: class, interface, enum, or record expec...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u394113190|p02742|0
u394113190|p02742|0
codenet
Compile Error
460
v2_s762297427
s762297427
s762297427
p02742
p02742
u417506212
u417506212
1,584,771,008
2020-03-21T06:10:08
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long H = sc.nextInt(); long W = sc.nextInt(); long sum = 0; if(H == 1 || W == 1){ sum = 1; } else{ long base1 = W / 2 + W % 2; ...
Main.java:19: error: variable sum is already defined in method main(String[]) long sum = (H / 2) *(base1 + base2) + (H % 2)*base1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u417506212|p02742|0
u417506212|p02742|0
codenet
Compile Error
492
v2_s691932896
s691932896
s691932896
p02742
p02742
u435097501
u435097501
1,587,934,124
2020-04-26T20:48:44
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int num1 = scan.nextInt(), num2 = scan.nextInt(); int multi = num1 * num2; if(multi % 2 == 0){ System.out.println(multi / 2); }else{ ...
Main.java:12: error: ';' expected System.out.println(multi + 1 / 2) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u435097501|p02742|0
u435097501|p02742|0
codenet
Compile Error
382
v2_s137629507
s137629507
s137629507
p02742
p02742
u491412719
u491412719
1,594,026,054
2020-07-06T09:00:54
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner scn = new Scanner(System.in); int H = scn.nextInt(); int W = scn.nextInt(); long m = H*W; if(m % 2 == 0) { System.out.println(m / 2); }else { System.out.println(m/2 + 1);F } } }
Main.java:12: error: not a statement System.out.println(m/2 + 1);F ^ Main.java:12: error: ';' expected System.out.println(m/2 + 1);F ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u491412719|p02742|0
u491412719|p02742|0
codenet
Compile Error
289
v2_s873556384
s873556384
s873556384
p02742
p02742
u511176146
u511176146
1,586,408,359
2020-04-09T04:59:19
Main.java
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int H = scan.nextInt(), W = scan.nextInt(); if(H == 1 || W == 1) { System.out.println(0); }else{ System.out.println(Math.round(H * W) / 2.0)); } } }
Main.java:10: error: ';' expected System.out.println(Math.round(H * W) / 2.0)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u511176146|p02742|0
u511176146|p02742|0
codenet
Compile Error
299
v2_s876673602
s876673602
s876673602
p02742
p02742
u546418037
u546418037
1,584,580,178
2020-03-19T01:09:38
Main.java
/*package whatever //do not write package name here */ import java.io.*; class GFG { static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); ...
Main.java:9: error: cannot find symbol StringTokenizer st; ^ symbol: class StringTokenizer location: class FastReader Main.java:23: error: cannot find symbol st = new StringTokenizer(br.readLine()); ^ symbol: class StringTokenizer location: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u546418037|p02742|1
u546418037|p02742|1
codenet
Compile Error
1,598
v2_s417515111
s417515111
s417515111
p02742
p02742
u546418037
u546418037
1,584,580,199
2020-03-19T01:09:59
Main.java
/*package whatever //do not write package name here */ import java.io.*; class Main { static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); ...
Main.java:9: error: cannot find symbol StringTokenizer st; ^ symbol: class StringTokenizer location: class FastReader Main.java:23: error: cannot find symbol st = new StringTokenizer(br.readLine()); ^ symbol: class StringTokenizer location: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u546418037|p02742|1
u546418037|p02742|1
codenet
Compile Error
1,599
v2_s829026206
s829026206
s829026206
p02742
p02742
u547671064
u547671064
1,584,245,248
2020-03-15T04:07:28
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ int H=sc.nextInt(); int W=sc.nextInt(); System.out.println((H*W+1)/2); } }
Main.java:4: error: cannot find symbol int H=sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:5: error: cannot find symbol int W=sc.nextInt(); ^ symbol: variable sc location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p02742|0
u547671064|p02742|0
codenet
Compile Error
169
v2_s557386806
s557386806
s557386806
p02742
p02742
u547671064
u547671064
1,584,245,282
2020-03-15T04:08:02
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc =new Scanner(Sytem.in); int H=sc.nextInt(); int W=sc.nextInt(); System.out.println((H*W+1)/2); } }
Main.java:4: error: cannot find symbol Scanner sc =new Scanner(Sytem.in); ^ symbol: variable Sytem location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p02742|0
u547671064|p02742|0
codenet
Compile Error
208
v2_s980186097
s980186097
s980186097
p02742
p02742
u587100042
u587100042
1,588,322,941
2020-05-01T08:49:01
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long h,w; h=sc.nextInt(); w=sc.nextInt(); long sum=0; if((h%2)==0){ sum=(h/2)*w; }else{ if((w%2)==0){ sum=(w/2)*h; }else{ sum=((w-1)/2)*h+(...
Main.java:19: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p02742|0
u587100042|p02742|0
codenet
Compile Error
360
v2_s217801991
s217801991
s217801991
p02742
p02742
u621286144
u621286144
1,589,780,318
2020-05-18T05:38:38
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sn = new Scanner(System.in); long H = sn.nextInt(); long W = sn.nextInt(); long area = H * W; long result = 0; if(H == 1 | W == 1){ result = 1; }else{...
Main.java:25: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u621286144|p02742|0
u621286144|p02742|0
codenet
Compile Error
503
v2_s949706074
s949706074
s949706074
p02742
p02742
u649423108
u649423108
1,584,235,458
2020-03-15T01:24:18
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); long h = scan.nextLong() long w = scan.nextLong(); if (w % 2 == 0) { System.out.println((w ...
Main.java:9: error: ';' expected long h = scan.nextLong() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u649423108|p02742|0
u649423108|p02742|0
codenet
Compile Error
533
v2_s071812894
s071812894
s071812894
p02742
p02742
u656509863
u656509863
1,584,236,567
2020-03-15T01:42:47
Main.java
public class Main{ public static void main(String[] args) { Scanner in =new Scanner(System.in); long a = in.nextLong(); long b = in.nextLong(); BigInteger a1 = BigInteger.valueOf(a); BigInteger b1 = BigInteger.valueOf(b); BigInteger c = a1.multiply(b1); BigInteger two = BigInteger.valueOf(2); if(c.m...
Main.java:4: error: cannot find symbol Scanner in =new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner in =new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:7: error: cannot find symbol Big...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u656509863|p02742|0
u656509863|p02742|0
codenet
Compile Error
474
v2_s551437142
s551437142
s551437142
p02742
p02742
u679312480
u679312480
1,584,234,892
2020-03-15T01:14:52
Main.java
import java.util.*; class Main{ public static void main(String[] args) { try(Scanner sc = new Scanner(System.in)){ Long height = sc.nextLong(); Long width = sc.nextLong(); Long ans = 0; if(height % 2 == 0 || width % 2 == 0){ ...
Main.java:11: error: incompatible types: int cannot be converted to Long Long ans = 0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u679312480|p02742|0
u679312480|p02742|0
codenet
Compile Error
558
v2_s064075568
s064075568
s064075568
p02742
p02742
u679312480
u679312480
1,584,235,194
2020-03-15T01:19:54
Main.java
import java.util.*; import java.math.*; class Main{ public static void main(String[] args) { try(Scanner sc = new Scanner(System.in)){ Long height = sc.nextLong(); Long width = sc.nextLong(); BigDecimal ans = new BigDecimal(); if(height ...
Main.java:12: error: no suitable constructor found for BigDecimal(no arguments) BigDecimal ans = new BigDecimal(); ^ constructor BigDecimal.BigDecimal(BigInteger,long,int,int) is not applicable (actual and formal argument lists differ in length) constructor BigDeci...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u679312480|p02742|0
u679312480|p02742|0
codenet
Compile Error
599
v2_s949810924
s949810924
s949810924
p02742
p02742
u679312480
u679312480
1,584,235,266
2020-03-15T01:21:06
Main.java
import java.util.*; import java.math.*; class Main{ public static void main(String[] args) { try(Scanner sc = new Scanner(System.in)){ Long height = sc.nextLong(); Long width = sc.nextLong(); BigInteger ans = new BigInteger("0"); if(heig...
Main.java:15: error: incompatible types: long cannot be converted to BigInteger ans = height * width / 2; ^ Main.java:17: error: incompatible types: long cannot be converted to BigInteger ans = (height * width + 1) / 2; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u679312480|p02742|0
u679312480|p02742|0
codenet
Compile Error
602
v2_s233948208
s233948208
s233948208
p02742
p02742
u685049671
u685049671
1,584,234,603
2020-03-15T01:10:03
Main.java
package panasonic2020; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long h = sc.nextLong(); long w = sc.nextLong(); System.out.println(h * w / 2 + h * w % 2); } }
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
u685049671|p02742|0
u685049671|p02742|0
codenet
Compile Error
227
v2_s594372402
s594372402
s594372402
p02742
p02742
u707562002
u707562002
1,585,663,483
2020-03-31T14:04:43
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); int H = scn.nextInt(); int W = scn.nextInt(); int ans = switch(H) H%2 = 0 -> ans = W*(H/2); H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2); System...
Main.java:7: error: '{' expected int ans = switch(H) ^ Main.java:8: error: case, default, or '}' expected H%2 = 0 -> ans = W*(H/2); ^ Main.java:8: error: case, default, or '}' expected H%2 = 0 -> ans = W*(H/2); ^ Main.java:8: error: case, default, or '}' e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02742|0
u707562002|p02742|0
codenet
Compile Error
346
v2_s222776620
s222776620
s222776620
p02742
p02742
u707562002
u707562002
1,585,663,597
2020-03-31T14:06:37
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); int H = scn.nextInt(); int W = scn.nextInt(); int ans = switch(H) case H%2 = 0 -> ans = W*(H/2); default -> ans = W*(Math.floor(H/2))+Math.ceil(W/2); S...
Main.java:7: error: '{' expected int ans = switch(H) ^ Main.java:10: error: case, default, or '}' expected System.out.println(ans); ^ Main.java:10: error: case, default, or '}' expected System.out.println(ans); ^ Main.java:10: error: case, default, or '}' exp...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02742|0
u707562002|p02742|0
codenet
Compile Error
352
v2_s482023596
s482023596
s482023596
p02742
p02742
u707562002
u707562002
1,585,663,720
2020-03-31T14:08:40
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); int H = scn.nextInt(); int W = scn.nextInt(); int ans = switch(H){ case H%2 = 0 -> W*(H/2); default -> W*(Math.floor(H/2))+Math.ceil(W/2); }; Sys...
Main.java:8: error: unexpected type case H%2 = 0 -> W*(H/2); ^ required: variable found: value Main.java:9: error: incompatible types: bad type in switch expression default -> W*(Math.floor(H/2))+Math.ceil(W/2); ^ possible lossy conversion fro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02742|0
u707562002|p02742|0
codenet
Compile Error
350
v2_s284656776
s284656776
s284656776
p02742
p02742
u707562002
u707562002
1,585,664,816
2020-03-31T14:26:56
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); int H = scn.nextInt(); int W = scn.nextInt(); int ans; if(H%2 = 0){ ans = W*(H/2); } else { ans = W*(Math.floor(H/2))+Math.ceil(W/2); } ...
Main.java:8: error: unexpected type if(H%2 = 0){ ^ required: variable found: value Main.java:11: error: incompatible types: possible lossy conversion from double to int ans = W*(Math.floor(H/2))+Math.ceil(W/2); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02742|0
u707562002|p02742|0
codenet
Compile Error
355
v2_s828269259
s828269259
s828269259
p02742
p02742
u707562002
u707562002
1,585,665,060
2020-03-31T14:31:00
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); int H = scn.nextInt(); int W = scn.nextInt(); int ans; if(H%2 == 0){ ans = W*(H/2); } else { ans = W*(Math.floor(H/2)) + Math.ceil(W/2); } ...
Main.java:11: error: incompatible types: possible lossy conversion from double to int ans = W*(Math.floor(H/2)) + Math.ceil(W/2); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02742|0
u707562002|p02742|0
codenet
Compile Error
358
v2_s792937145
s792937145
s792937145
p02742
p02742
u707562002
u707562002
1,585,665,575
2020-03-31T14:39:35
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); int h = scn.nextInt(); int w = scn.nextInt(); int H -= 1; int W -= 1; int ans; if(H%2 == 0){ ans = W*(H/2); } else { ans = W*((int)Mat...
Main.java:7: error: ';' expected int H -= 1; ^ Main.java:8: error: ';' expected int W -= 1; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02742|0
u707562002|p02742|0
codenet
Compile Error
418
v2_s635327104
s635327104
s635327104
p02742
p02742
u751558844
u751558844
1,594,165,880
2020-07-07T23:51:20
Main.java
import java.io.PrintWriter; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long H = Integer.parseInt(sc.next()); long W = Integer.parseInt(sc.next()); double N = (double) H * W / 2; long result = ; ...
Main.java:10: error: illegal start of expression long result = ; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u751558844|p02742|0
u751558844|p02742|0
codenet
Compile Error
632
v2_s154228104
s154228104
s154228104
p02742
p02742
u753092134
u753092134
1,584,345,629
2020-03-16T08:00:29
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); int row=scan.nextInt(); int col=scan.nextInt(); int pro=row*col; if (pro%2==0){ System.out.println(pro/2); } else{ System.out.println((pro+1)/2); } }
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753092134|p02742|0
u753092134|p02742|0
codenet
Compile Error
278
v2_s854096082
s854096082
s854096082
p02742
p02742
u753092134
u753092134
1,584,390,650
2020-03-16T20:30:50
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); long int row=scan.nextInt(); long int col=scan.nextInt(); long int pro=row*col; if (pro%2==0){ System.out.println(pro/2); } else{ System.out.println((pro/2)+1); } } }
Main.java:5: error: not a statement long int row=scan.nextInt(); ^ Main.java:5: error: ';' expected long int row=scan.nextInt(); ^ Main.java:6: error: not a statement long int col=scan.nextInt(); ^ Main.java:6: error: ';' expected long int col=scan.nextInt(); ^ Main.java:7: error: not a statement long int pro=r...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753092134|p02742|1
u753092134|p02742|1
codenet
Compile Error
295
v2_s370740693
s370740693
s370740693
p02742
p02742
u753092134
u753092134
1,584,390,715
2020-03-16T20:31:55
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); long int row=scan.nextInt(); long int col=scan.nextInt(); long int pro=row*col; if (pro%2==0){ System.out.println(pro/2); } else{ System.out.println((pro+1)/2); } } }
Main.java:5: error: not a statement long int row=scan.nextInt(); ^ Main.java:5: error: ';' expected long int row=scan.nextInt(); ^ Main.java:6: error: not a statement long int col=scan.nextInt(); ^ Main.java:6: error: ';' expected long int col=scan.nextInt(); ^ Main.java:7: error: not a statement long int pro=r...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753092134|p02742|1
u753092134|p02742|1
codenet
Compile Error
295
v2_s448507378
s448507378
s448507378
p02742
p02742
u766280310
u766280310
1,584,235,521
2020-03-15T01:25:21
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int h=sc.nextInt(); int w=sc.nextInt(); long res1=0,res2=0; res1=(long)(((w+1)/2)*((h+1)/2)); res2=(long)((w/2)*(h/2)); System.out.println(res...
Main.java:12: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u766280310|p02742|0
u766280310|p02742|0
codenet
Compile Error
335
v2_s752243447
s752243447
s752243447
p02742
p02742
u794927332
u794927332
1,584,234,772
2020-03-15T01:12:52
Main.java
import java.util.*; import java.math.*; class Main { // static final int MOD = 1_000_000_007; // 10^9+7 //static final int MAX = 2_147_483_646; // intの最大値 static final int INF = 1_000_000_000; // 10^9 static final int MAX = 10_000_000; public static void main(String args[]) { Scanner sc ...
Main.java:21: error: incompatible types: possible lossy conversion from long to int int tmp = w*(h+1)/2-w/2; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u794927332|p02742|0
u794927332|p02742|0
codenet
Compile Error
762
v2_s069305609
s069305609
s069305609
p02742
p02742
u818640918
u818640918
1,584,234,474
2020-03-15T01:07:54
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int H = sc.nextInt; int W = sc.nextInt; int S = H * W; if(S%2==1){ System.out.println((S-1)/2+1); }else{ System.out.println(S/2); ...
Main.java:8: error: cannot find symbol int H = sc.nextInt; ^ symbol: variable nextInt location: variable sc of type Scanner Main.java:9: error: cannot find symbol int W = sc.nextInt; ^ symbol: variable nextInt location: variable sc of type Scanner 2 errors...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u818640918|p02742|0
u818640918|p02742|0
codenet
Compile Error
338
v2_s116938098
s116938098
s116938098
p02742
p02742
u818640918
u818640918
1,584,234,571
2020-03-15T01:09:31
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int H = sc.nextInt; int W = sc.nextInt; int S = H * W; if(S%2==1){ System.out.println((S-1)/2+1); }else{ System.out.println(S/2); } } }
Main.java:7: error: cannot find symbol int H = sc.nextInt; ^ symbol: variable nextInt location: variable sc of type Scanner Main.java:8: error: cannot find symbol int W = sc.nextInt; ^ symbol: variable nextInt location: variable sc of type Scanner 2 errors...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u818640918|p02742|0
u818640918|p02742|0
codenet
Compile Error
318
v2_s564982014
s564982014
s564982014
p02742
p02742
u818640918
u818640918
1,584,240,274
2020-03-15T02:44:34
Main.java
B import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long H = sc.nextLong(); long W = sc.nextLong(); long S = H * W; if(H==1||W==1){ System.out.println(1); }else{ if(S%2==1){ System.out.println((S-1)...
Main.java:1: error: class, interface, enum, or record expected B ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u818640918|p02742|0
u818640918|p02742|0
codenet
Compile Error
400
v2_s332714287
s332714287
s332714287
p02742
p02742
u867011040
u867011040
1,592,019,499
2020-06-13T03:38:19
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long h = sc.nextLomg(); long w = sc.nextLong(); long s = h * w; if(s % 2 == 1){ s += 1; } System.out.println(s); }...
Main.java:5: error: cannot find symbol long h = sc.nextLomg(); ^ symbol: method nextLomg() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867011040|p02742|0
u867011040|p02742|0
codenet
Compile Error
326
v2_s565523331
s565523331
s565523331
p02742
p02742
u923923174
u923923174
1,584,236,454
2020-03-15T01:40:54
Main.java
public static void main(String[] args) { Scanner itr = new Scanner(System.in); int h = itr.nextInt(); int w = itr.nextInt(); int res = 0; if (h % 2 == 1) res = h * w / 2 + 1; else res = h * w / 2; System.out.println(res); }
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
u923923174|p02742|0
u923923174|p02742|0
codenet
Compile Error
300
v2_s881605893
s881605893
s881605893
p02742
p02742
u923923174
u923923174
1,584,237,337
2020-03-15T01:55:37
Main.java
import java.util.*; import java.math.BigInteger; public class Main{ public static void main(String[] args) { Scanner itr = new Scanner(System.in); int h = itr.nextInt(); int w = itr.nextInt(); int row1 = (w + 1) / 2; int row2 = w / 2; int i = 1; BigInteger res ...
Main.java:16: error: no suitable method found for add(int) if (i % 2 == 1) res.add(row1); ^ method BigInteger.add(BigInteger) is not applicable (argument mismatch; int cannot be converted to BigInteger) method BigInteger.add(long) is not applicable (add(long) is ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923923174|p02742|0
u923923174|p02742|0
codenet
Compile Error
516
v2_s184263987
s184263987
s184263987
p02742
p02742
u923923174
u923923174
1,584,237,403
2020-03-15T01:56:43
Main.java
import java.util.*; import java.math.BigInteger; public class Main{ public static void main(String[] args) { Scanner itr = new Scanner(System.in); int h = itr.nextInt(); int w = itr.nextInt(); BigInteger row1 = new BigInteger((w + 1) / 2); BigInteger row2 = new BigInteger(w / 2); ...
Main.java:9: error: no suitable constructor found for BigInteger(int) BigInteger row1 = new BigInteger((w + 1) / 2); ^ constructor BigInteger.BigInteger(byte[]) is not applicable (argument mismatch; int cannot be converted to byte[]) constructor BigInteger.BigInteger(int[]) is not ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923923174|p02742|0
u923923174|p02742|0
codenet
Compile Error
562
v2_s502122776
s502122776
s502122776
p02742
p02742
u981808900
u981808900
1,584,236,568
2020-03-15T01:42:48
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.StringJoiner; import java.util.StringTokenizer; import java.util.function.IntUnaryOperator; import java.util.function.LongUnaryOperator; class Main { static In in = new In(); ...
Main.java:31: error: illegal start of expression if () ^ Main.java:32: error: illegal start of statement } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p02742|0
u981808900|p02742|0
codenet
Compile Error
3,499
v2_s243759706
s243759706
s243759706
p02743
p02743
u018646913
u018646913
1,584,237,084
2020-03-15T01:51:24
Main.java
import math a, b, c = map(int, input().split()) if math.sqrt(a) + math.sqrt(b) < math.sqrt(c): print("Yes") exit() print("No")
Main.java:1: error: '.' expected import math ^ Main.java:3: error: ';' expected a, b, c = map(int, input().split()) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018646913|p02743|0
u018646913|p02743|0
codenet
Compile Error
137
v2_s117800465
s117800465
s117800465
p02743
p02743
u086780113
u086780113
1,584,238,528
2020-03-15T02:15:28
Main.java
import java.util.*; import java.math.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); sc.close(); double ra = Math.sqrt(a); double rb = Math.sqrt(b); double rc ...
Main.java:17: error: incompatible types: double cannot be converted to boolean System.out.println(ans ? "Yes" : "No"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u086780113|p02743|0
u086780113|p02743|0
codenet
Compile Error
422
v2_s553893799
s553893799
s553893799
p02743
p02743
u087672117
u087672117
1,584,236,518
2020-03-15T01:41:58
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); long a = scanner.nextLong(); long b = scanner.nextLong(); long c = scanner.nextLong(); if((c - a - b) * (c-a-b) > 4 *a *b)) { System.o...
Main.java:13: error: illegal start of expression if((c - a - b) * (c-a-b) > 4 *a *b)) { ^ Main.java:15: error: 'else' without 'if' } else { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u087672117|p02743|0
u087672117|p02743|0
codenet
Compile Error
397
v2_s814974538
s814974538
s814974538
p02743
p02743
u111285482
u111285482
1,590,045,912
2020-05-21T07:25:12
Main.java
import java.io.*; import java.util.*; class Main { public static void main(String[] args) throws IOException { Scan sc= new Scan(); long a= sc.scanLong(); long b = sc.scanLong(); long c = sc.scanLong(); double l = a+b+2*(Math.sqrt(a)*Math.sqrt(b))); if(l-(c*1.0)>=0.0...
Main.java:10: error: ';' expected double l = a+b+2*(Math.sqrt(a)*Math.sqrt(b))); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u111285482|p02743|0
u111285482|p02743|0
codenet
Compile Error
3,489
v2_s080108298
s080108298
s080108298
p02743
p02743
u167206842
u167206842
1,584,236,645
2020-03-15T01:44:05
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); BigDecimal aa = new BigInteger(sc.next()); BigDecimal bb = new BigInteger(sc.next()); BigDecimal cc = new BigInteger(sc.next()); BigDecimal ans1 = new BigInteger("0"); BigDecimal...
Main.java:5: error: cannot find symbol BigDecimal aa = new BigInteger(sc.next()); ^ symbol: class BigDecimal location: class Main Main.java:5: error: cannot find symbol BigDecimal aa = new BigInteger(sc.next()); ^ symbol: class BigInteger location: class Main Main.java:6:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u167206842|p02743|0
u167206842|p02743|0
codenet
Compile Error
1,021
v2_s715651550
s715651550
s715651550
p02743
p02743
u167206842
u167206842
1,584,236,688
2020-03-15T01:44:48
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); BigInteger aa = new BigInteger(sc.next()); BigInteger bb = new BigInteger(sc.next()); BigInteger cc = new BigInteger(sc.next()); BigInteger ans1 = new BigInteger("0"); BigInteger...
Main.java:5: error: cannot find symbol BigInteger aa = new BigInteger(sc.next()); ^ symbol: class BigInteger location: class Main Main.java:5: error: cannot find symbol BigInteger aa = new BigInteger(sc.next()); ^ symbol: class BigInteger location: class Main Main.java:6:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u167206842|p02743|0
u167206842|p02743|0
codenet
Compile Error
1,021
v2_s606308096
s606308096
s606308096
p02743
p02743
u167206842
u167206842
1,584,239,604
2020-03-15T02:33:24
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); BigInteger aa = new BigInteger(sc.next()); BigInteger bb = new BigInteger(sc.next()); BigInteger cc = new BigInteger(sc.next()); BigInteger ans1 = new BigInteger("0"); BigInteger...
Main.java:5: error: cannot find symbol BigInteger aa = new BigInteger(sc.next()); ^ symbol: class BigInteger location: class Main Main.java:5: error: cannot find symbol BigInteger aa = new BigInteger(sc.next()); ^ symbol: class BigInteger location: class Main Main.java:6:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u167206842|p02743|0
u167206842|p02743|0
codenet
Compile Error
1,021
v2_s936614171
s936614171
s936614171
p02743
p02743
u167206842
u167206842
1,584,240,488
2020-03-15T02:48:08
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); if(c − a − b <= 0){ System.out.println("No"); return; } if((c-a-b)*(c-a-b)>4*a*b){ ...
Main.java:8: error: illegal character: '\u2212' if(c ? a ? b <= 0){ ^ Main.java:8: error: illegal character: '\u2212' if(c ? a ? b <= 0){ ^ Main.java:8: error: not a statement if(c ? a ? b <= 0){ ^ Main.java:8: error: not a statement if(c ? a ? b <= 0){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u167206842|p02743|0
u167206842|p02743|0
codenet
Compile Error
418
v2_s832955298
s832955298
s832955298
p02743
p02743
u172546930
u172546930
1,584,236,315
2020-03-15T01:38:35
Main.java
public class Main { public static void main (String[] args){ Scanner sc = new Scanner(System.in); double a = sc.nextInt(); double b = sc.nextInt(); double c = sc.nextInt(); a = Math.sqrt(a); b = Math.sqrt(b); c = Math.sqrt(c); if(a+b-c<0) { System.out.println("Yes"); } else { System.out.prin...
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
u172546930|p02743|0
u172546930|p02743|0
codenet
Compile Error
340
v2_s543291167
s543291167
s543291167
p02743
p02743
u172546930
u172546930
1,584,240,554
2020-03-15T02:49:14
Main.java
2 3 9
Main.java:1: error: class, interface, enum, or record expected 2 3 9 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u172546930|p02743|0
u172546930|p02743|0
codenet
Compile Error
5
v2_s331556011
s331556011
s331556011
p02743
p02743
u207845630
u207845630
1,584,237,177
2020-03-15T01:52:57
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long a = sc.nextDouble(); long b = sc.nextDouble(); long c = sc.nextDouble(); double ab = Math.sqrt((double)(a * b)); String ans = "No"; if(a + b + ab < c){ ans = "Yes"; } System.out...
Main.java:5: error: incompatible types: possible lossy conversion from double to long long a = sc.nextDouble(); ^ Main.java:6: error: incompatible types: possible lossy conversion from double to long long b = sc.nextDouble(); ^ Main.java:7: error: incompatible types: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p02743|0
u207845630|p02743|0
codenet
Compile Error
339
v2_s082876923
s082876923
s082876923
p02743
p02743
u207845630
u207845630
1,584,237,854
2020-03-15T02:04:14
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); String ans = "No"; if(c - a - b) > 0 && (4 * a * b) < (c - a - b) * (c - a - b)){ ans = "Yes"; } System.out.prin...
Main.java:9: error: illegal start of expression if(c - a - b) > 0 && (4 * a * b) < (c - a - b) * (c - a - b)){ ^ Main.java:9: error: not a statement if(c - a - b) > 0 && (4 * a * b) < (c - a - b) * (c - a - b)){ ^ Main.java:9: error: ';' expected if(c - a - b) > 0 && (4 * a * b...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p02743|0
u207845630|p02743|0
codenet
Compile Error
334
v2_s532458164
s532458164
s532458164
p02743
p02743
u233185849
u233185849
1,584,239,751
2020-03-15T02:35:51
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(); int c = sc.nextInt(); if (Math.sqrt(a) + Math.sqrt(b) < Math.sqrt(c)) { System.out.println("Yes"); } else { System.out.p...
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233185849|p02743|0
u233185849|p02743|0
codenet
Compile Error
339
v2_s462791459
s462791459
s462791459
p02743
p02743
u233185849
u233185849
1,584,239,879
2020-03-15T02:37:59
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(); if (Math.sqrt(a) + Math.sqrt(b) < Math.sqrt(c)) { System.out...
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233185849|p02743|0
u233185849|p02743|0
codenet
Compile Error
403
v2_s391652851
s391652851
s391652851
p02743
p02743
u258441031
u258441031
1,584,244,080
2020-03-15T03:48:00
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { long a, b, c; Scanner scan = new Scanner(System.in); a = scan.nextDouble(); b = scan.nextDouble(); c = scan.nextDouble(); double a1 = Math.sqrt(a); double b1 = Math.sqrt(b); double c1 = M...
Main.java:8: error: incompatible types: possible lossy conversion from double to long a = scan.nextDouble(); ^ Main.java:9: error: incompatible types: possible lossy conversion from double to long b = scan.nextDouble(); ^ Main.java:10: error: incompatible types: pos...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u258441031|p02743|0
u258441031|p02743|0
codenet
Compile Error
450
v2_s759114367
s759114367
s759114367
p02743
p02743
u268397939
u268397939
1,584,308,134
2020-03-15T21:35:34
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int num = c - a - b; //c < a + bならば絶対にNo if (num < 0) { System.out.println(“No”...
Main.java:17: error: illegal character: '\u201c' System.out.println(?No?); ^ Main.java:17: error: illegal character: '\u201d' System.out.println(?No?); ^ Main.java:17: error: not a statement System.out.println(?No?); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u268397939|p02743|1
u268397939|p02743|1
codenet
Compile Error
484
v2_s210183113
s210183113
s210183113
p02743
p02743
u268397939
u268397939
1,584,308,373
2020-03-15T21:39:33
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); int num = c - a - b; //c < a + bならば絶対にNo if (num < 0) { System.out.print(...
Main.java:14: error: incompatible types: possible lossy conversion from long to int int num = c - a - b; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u268397939|p02743|1
u268397939|p02743|1
codenet
Compile Error
495
v2_s518181599
s518181599
s518181599
p02743
p02743
u279894908
u279894908
1,584,291,768
2020-03-15T17:02:48
Main.java
/* package codechef; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ public class Main { public static void main (String[] args) throws java.lang.Exception { // your code goes here Scanner sc = new Sc...
Main.java:17: error: incompatible types: possible lossy conversion from double to int int epsilon = 0.00000000001; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u279894908|p02743|0
u279894908|p02743|0
codenet
Compile Error
587
v2_s224253806
s224253806
s224253806
p02743
p02743
u314559067
u314559067
1,584,239,134
2020-03-15T02:25:34
Main.java
import java.util.*; public class Main { public static void main(String[] args) { int count = 0; boolean sw = false; int max = Integer.MIN_VALUE; int min = Integer.MAX_VALUE; double dMax = Double.MIN_VALUE; double dMin = Double.MAX_VALUE; // Scanner...
Main.java:19: error: cannot find symbol Compute compute = new Compute(); ^ symbol: class Compute location: class Main Main.java:19: error: cannot find symbol Compute compute = new Compute(); ^ symbol: class Compute location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u314559067|p02743|0
u314559067|p02743|0
codenet
Compile Error
2,081
v2_s566532808
s566532808
s566532808
p02743
p02743
u316069805
u316069805
1,584,239,864
2020-03-15T02:37:44
Main.java
import java.util.*; import java.math.BigDecimal; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); if (a > 100 && c > 100) { int aa = (int)Math.sqrt(a) / 10; int bb = (int)Math.sqr...
Main.java:28: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u316069805|p02743|0
u316069805|p02743|0
codenet
Compile Error
605
v2_s762098111
s762098111
s762098111
p02743
p02743
u343463670
u343463670
1,584,235,891
2020-03-15T01:31:31
Main.java
#include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <vector> #include <cmath> #include <queue> using namespace std; #define mem(a,b) memset(a,b,sizeof(a)) typedef long long ll; typedef pair<int,int> PII; int main(){ ll a, b, c; cin >> a >> b >> c; ll x = (c - a - b) * (c...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <cstdio> ^ Main.java:3: error: illegal character: '#' #include <cstring> ^ Main.java:4: error: illegal character: '#' #include <algorithm> ^ Main.java:5: error: illegal character: '#' #include <vector> ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343463670|p02743|0
u343463670|p02743|0
codenet
Compile Error
436
v2_s991555011
s991555011
s991555011
p02743
p02743
u369190981
u369190981
1,584,247,461
2020-03-15T04:44:21
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.Map; import java.util.NoSuchElementException; public class Main { static int[] w = new int[100010]; static int[] v = new int[100010]; static private long MOD = 1000000007; static int calcNumOfCombination(int n, int r) { i...
Main.java:54: error: cannot find symbol if ((c-a-b)*(c-a-b)*4>ab) { ^ symbol: variable ab location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369190981|p02743|1
u369190981|p02743|0
codenet
Compile Error
3,692
v2_s877265062
s877265062
s877265062
p02743
p02743
u394062737
u394062737
1,584,236,714
2020-03-15T01:45:14
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner s = new Scanner(System.in); int a = s.nextInt(); int b = s.nextInt(); int c = s.nextInt(); if((Math.sqrt(a)+Math.sqrt(b)<Math.sqrt(c)) System.out.println("YES"); else Syste...
Main.java:8: error: ')' expected if((Math.sqrt(a)+Math.sqrt(b)<Math.sqrt(c)) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u394062737|p02743|0
u394062737|p02743|0
codenet
Compile Error
348
v2_s571892312
s571892312
s571892312
p02743
p02743
u411328412
u411328412
1,584,236,241
2020-03-15T01:37:21
Main.java
import java.util.*; // Import the Scanner class class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); a = sc.nextBigInteger(); b = sc.nextBigInteger(); c = sc.nextBigInteger(); boolean x = 4*(a*b) < Math.pow(c - a - b,2); if(x){ System.out....
Main.java:6: error: cannot find symbol a = sc.nextBigInteger(); ^ symbol: variable a location: class Solution Main.java:7: error: cannot find symbol b = sc.nextBigInteger(); ^ symbol: variable b location: class Solution Main.java:8: error: cannot find symbol c = sc.nextBigInteger(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u411328412|p02743|0
u411328412|p02743|0
codenet
Compile Error
422
v2_s147956972
s147956972
s147956972
p02743
p02743
u435097501
u435097501
1,588,031,179
2020-04-27T23:46:19
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(), b = scan.nextInt(), c = scan.nextInt(); double multi = (double)(num1 * num2); double right = (double)(num3 - num1 - num2); ...
Main.java:9: error: cannot find symbol double multi = (double)(num1 * num2); ^ symbol: variable num1 location: class Main Main.java:9: error: cannot find symbol double multi = (double)(num1 * num2); ^ symbol: variable num2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u435097501|p02743|1
u435097501|p02743|1
codenet
Compile Error
503
v2_s148800677
s148800677
s148800677
p02743
p02743
u435097501
u435097501
1,588,032,084
2020-04-28T00:01:24
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(), b = scan.nextInt(), c = scan.nextInt(); long multi = (long)a * (long)b; long right = c - a - b; if( right > 0 && mu...
Main.java:12: error: ')' expected if( right > 0 && multi * 4 < (right * right){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u435097501|p02743|1
u435097501|p02743|1
codenet
Compile Error
479
v2_s718582556
s718582556
s718582556
p02743
p02743
u469281291
u469281291
1,584,235,256
2020-03-15T01:20:56
Main.java
import java.math.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextDouble(); int b = sc.nextDouble(); int c = sc.nextDouble(); String ans = "No"; if (a + b < c) ans = "Y...
Main.java:7: error: incompatible types: possible lossy conversion from double to int int a = sc.nextDouble(); ^ Main.java:8: error: incompatible types: possible lossy conversion from double to int int b = sc.nextDouble(); ^ Main.java:9: error: in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u469281291|p02743|0
u469281291|p02743|0
codenet
Compile Error
367
v2_s801789283
s801789283
s801789283
p02743
p02743
u482226328
u482226328
1,584,234,219
2020-03-15T01:03:39
Main.java
rn combination(n + k - 1, k); } } private static class ModularCombination { private final long fact[]; private final long mod; private final Modular modular; public ModularCombination(int size, long mod) { this.fact = new long[size + 1]; this.mod = mod; this.modular = new Mo...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. rn combination(n + k - 1, k); ^ (use --enable-preview to enable unnamed classes) Main.java:1: error: <identifier> expected rn combination(n + k - 1, k); ^ Main.java:2: error: class, interface, enum, or record expect...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u482226328|p02743|0
u482226328|p02743|0
codenet
Compile Error
3,055
v2_s821200075
s821200075
s821200075
p02743
p02743
u482226328
u482226328
1,584,235,013
2020-03-15T01:16:53
Main.java
return -1; } } private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126; } public boolean hasNext() { while (hasNextByte() && !isPrintableChar(buffer[ptr])) { ptr++; } return hasNextByte(); } public String next() { if (!ha...
Main.java:2: error: class, interface, enum, or record expected return -1; ^ Main.java:3: error: class, interface, enum, or record expected } ^ Main.java:8: error: class, interface, enum, or record expected } ^ Main.java:10: error: unnamed classes are a preview feature and are disable...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u482226328|p02743|0
u482226328|p02743|0
codenet
Compile Error
1,506
v2_s497949525
s497949525
s497949525
p02743
p02743
u499512304
u499512304
1,584,239,837
2020-03-15T02:37:17
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); long a = scanner.nextLong(); long b = scanner.nextLong(); long c = scanner.nextLong(); BigDecimal as = BigDecimal.valueOf(a); BigDecimal...
Main.java:11: error: cannot find symbol BigDecimal as = BigDecimal.valueOf(a); ^ symbol: class BigDecimal location: class Main Main.java:11: error: cannot find symbol BigDecimal as = BigDecimal.valueOf(a); ^ symbol: variable BigDecimal location: class Main Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u499512304|p02743|0
u499512304|p02743|0
codenet
Compile Error
647
v2_s948837774
s948837774
s948837774
p02743
p02743
u505547600
u505547600
1,584,239,339
2020-03-15T02:28:59
Main.java
public static void main(String[] args) { Scanner scan = new Scanner(System.in); Integer a = scan.next(); Integer b = scan.next(); Integer c = scan.next(); if(Math.sqrt(a)+Math.sqrt(b) < Math.sqrt(c))System.out.println("Yes"); else System.out.println("No"); scan.close(...
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
u505547600|p02743|0
u505547600|p02743|0
codenet
Compile Error
328
v2_s837795595
s837795595
s837795595
p02743
p02743
u511176146
u511176146
1,586,410,064
2020-04-09T05:27:44
Main.java
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); double a = scan.nextLong(), b = scan.nextLong(), c = scan.nextLong(); if(c - a - b > 0 && 4 * a * b < Math.pow((c - a - b), 2) { System.out.println("Yes"); }else { System.out....
Main.java:8: error: ')' expected if(c - a - b > 0 && 4 * a * b < Math.pow((c - a - b), 2) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u511176146|p02743|0
u511176146|p02743|0
codenet
Compile Error
345