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_s873255704
s873255704
s873255704
p03545
p03545
u474492589
u474492589
1,566,930,116
2019-08-27T18:21:56
Main.java
mport java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int D = N % 10; N /= 10; int C = N % 10; N /= 10; int B = N % 10; N /= 10; int A = N % 10; sc.cl...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u474492589|p03545|0
u474492589|p03545|0
codenet
Compile Error
1,359
v2_s523839665
s523839665
s523839665
p03545
p03545
u507706381
u507706381
1,566,055,578
2019-08-17T15:26:18
Main.java
public class Main { private static char[] op1 = { '+', '+', '+', '+', '-', '-', '-', '-' }; private static char[] op2 = { '+', '+', '-', '-', '+', '+', '-', '-' }; private static char[] op3 = { '+', '-', '+', '-', '+', '-', '+', '-' }; public static void main(String[] args) { Scanner sc = new Scanner(System...
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
u507706381|p03545|0
u507706381|p03545|0
codenet
Compile Error
896
v2_s865818739
s865818739
s865818739
p03545
p03545
u587100042
u587100042
1,590,690,929
2020-05-28T18:35:29
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String[] s=sc.next().split(""),ops={"+","+","+"}; int[] n=new int[4],sum=0; for(int i=0;i<4;i++){ n[i]=Integer.parseInt(s[i]); sum+=n[i]; } int f=sum,j=1; if(su...
Main.java:22: error: illegal start of expression ops={"+","+","+"}; ^ Main.java:22: error: not a statement ops={"+","+","+"}; ^ Main.java:22: error: ';' expected ops={"+","+","+"}; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p03545|0
u587100042|p03545|0
codenet
Compile Error
822
v2_s533877524
s533877524
s533877524
p03545
p03545
u587100042
u587100042
1,590,691,096
2020-05-28T18:38:16
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String[] s=sc.next().split(""),ops={"+","+","+"}; int[] n=new int[4],sum=0; for(int i=0;i<4;i++){ n[i]=Integer.parseInt(s[i]); sum+=n[i]; } int f=sum,j=1; if(su...
Main.java:8: error: incompatible types: int cannot be converted to int[] int[] n=new int[4],sum=0; ^ Main.java:11: error: bad operand types for binary operator '+' sum+=n[i]; ^ first type: int[] second type: int Main.java:13: error: incompatible types: int[] cannot be co...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p03545|0
u587100042|p03545|0
codenet
Compile Error
852
v2_s545794888
s545794888
s545794888
p03545
p03545
u587100042
u587100042
1,590,691,150
2020-05-28T18:39:10
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String[] s=sc.next().split(""),ops={"+","+","+"}; int[] n=new int[4]; int sum=0; for(int i=0;i<4;i++){ n[i]=Integer.parseInt(s[i]); sum+=n[i]; } int f=sum,j=1; ...
Main.java:20: error: cannot find symbol if(sum-a[i]<7){ ^ symbol: variable a location: class Main Main.java:28: error: cannot find symbol sum=sum-a[i]; ^ symbol: variable a location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p03545|0
u587100042|p03545|0
codenet
Compile Error
861
v2_s486157428
s486157428
s486157428
p03545
p03545
u604068691
u604068691
1,573,788,650
2019-11-15T03:30:50
Main.java
import java.util.*; import java.lang.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String ss = sc.next(); int[] num = new int[4]; for( int i=0; i<4; i++ ){ num[i] = Integer.parseInt(ss.charAt(i)); } for( int i=0; i<1; i++ ){ if( num[0]+num[1]+num[...
Main.java:10: error: incompatible types: char cannot be converted to String num[i] = Integer.parseInt(ss.charAt(i)); ^ 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
u604068691|p03545|0
u604068691|p03545|0
codenet
Compile Error
1,320
v2_s056077521
s056077521
s056077521
p03545
p03545
u653981267
u653981267
1,595,897,211
2020-07-28T00:46:51
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(); String ans = ""; for(int i = 0; i < 2; i++) { for(int j = 0; j < 2; j++) { ...
Main.java:32: error: incompatible types: int cannot be converted to String ans = a; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03545|1
u653981267|p03545|1
codenet
Compile Error
1,200
v2_s962188932
s962188932
s962188932
p03545
p03545
u679312480
u679312480
1,588,123,540
2020-04-29T01:25:40
Main.java
import java.util.*; import java.math.*; class Main{ public static void main(String[] args) { try(Scanner sc = new Scanner(System.in)){ int a = Integer.parseInt(sc.next()); int b = Integer.parseInt(sc.next()); int c = Integer.parseInt(sc.next()); ...
Main.java:23: error: cannot find symbol sb.append(a); ^ symbol: variable sb location: class Main Main.java:24: error: cannot find symbol sb.append("+").append("b"); ^ symbol: variable sb location: class Main Main.java:25: error: cannot find sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u679312480|p03545|0
u679312480|p03545|0
codenet
Compile Error
3,215
v2_s375125760
s375125760
s375125760
p03545
p03545
u697532629
u697532629
1,597,471,115
2020-08-15T05:58:35
Main.java
import java.util.*; class Main(){ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int a=sc.nextInt(); int bcd[3]; for(int i=0;i<3;i++){ abcd[i]=sc.nextInt(); } for(int i=0;i<1<<3;i++){ int sum=a; char pm[3]; for(int j=0;j<3;j++){ if((1...
Main.java:2: error: '{' expected class Main(){ ^ Main.java:6: error: ']' expected int bcd[3]; ^ Main.java:12: error: ']' expected char pm[3]; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u697532629|p03545|0
u697532629|p03545|0
codenet
Compile Error
666
v2_s256250456
s256250456
s256250456
p03545
p03545
u697532629
u697532629
1,597,471,264
2020-08-15T06:01:04
Main.java
import java.util.*; class Main(){ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int a=sc.nextInt(); int bcd[3]; for(int i=0;i<3;i++){ bcd[i]=sc.nextInt(); } for(int i=0;i<1<<3;i++){ int sum=a; char pm[3]; for(int j=0;j<3;j++){ if((1&...
Main.java:2: error: '{' expected class Main(){ ^ Main.java:6: error: ']' expected int bcd[3]; ^ Main.java:12: error: ']' expected char pm[3]; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u697532629|p03545|0
u697532629|p03545|0
codenet
Compile Error
666
v2_s254528551
s254528551
s254528551
p03545
p03545
u697532629
u697532629
1,597,471,404
2020-08-15T06:03:24
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 bcd[3]; for(int i=0;i<3;i++){ bcd[i]=sc.nextInt(); } for(int i=0;i<1<<3;i++){ int sum=a; char[] pm=new char[3]; for(int j=0;j<3;j+...
Main.java:2: error: '{' expected public class Main(){ ^ Main.java:6: error: ']' expected int bcd[3]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u697532629|p03545|0
u697532629|p03545|0
codenet
Compile Error
684
v2_s107808388
s107808388
s107808388
p03545
p03545
u697532629
u697532629
1,597,471,439
2020-08-15T06:03:59
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[] bcd=new int[3]; for(int i=0;i<3;i++){ bcd[i]=sc.nextInt(); } for(int i=0;i<1<<3;i++){ int sum=a; char[] pm=new char[3]; for(int ...
Main.java:2: error: '{' expected public class Main(){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u697532629|p03545|0
u697532629|p03545|0
codenet
Compile Error
694
v2_s031845569
s031845569
s031845569
p03545
p03545
u847923384
u847923384
1,547,058,674
2019-01-09T18:31:14
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.StringTokenizer; import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.InputStream; /** * Built using CHelper...
Main.java:52: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u847923384|p03545|0
u847923384|p03545|0
codenet
Compile Error
2,569
v2_s950010442
s950010442
s950010442
p03545
p03545
u885822757
u885822757
1,575,262,920
2019-12-02T05:02:00
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); Integer n = Integer.valueOf(scanner.nextLine()); Integer a = n / 1000; n %= 1000; Integer b = n / 100; n %= 100; Integer c = n / 10; n %= 10; Integer d = n; BiFunction<Integer, Integer, Integer> ...
Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:13: error: canno...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u885822757|p03545|0
u885822757|p03545|0
codenet
Compile Error
1,135
v2_s499176848
s499176848
s499176848
p03545
p03545
u918923596
u918923596
1,598,625,230
2020-08-28T14:33:50
Main.java
String s = sc.next(); int n[] = new int[4]; String ans = ""; for(int i = 0; i < 4; i++){ n[i] = Integer.parseInt(s.substring(i, i + 1)); } if(n[0] + n[1] + n[2] + n[3] == 7){ ans = n[0] + "+" + n[1] + "+" + n[2] + "+" + n[3]; }else if(n[0] + n[1] + n[2] ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. String s = sc.next(); ^ (use --enable-preview to enable unnamed classes) Main.java:2: error: class, interface, enum, or record expected int n[] = new int[4]; ^ Main.java:4: error: class, interface, enum, or record e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918923596|p03545|1
u918923596|p03545|1
codenet
Compile Error
1,109
v2_s156169046
s156169046
s156169046
p03546
p03546
u482226328
u482226328
1,578,940,519
2020-01-13T18:35:19
Main.java
private final int[][] matrix; public AdjacencyMatrixGridPointGraph(int n, int[][] matrix) { this.n = n; this.matrix = matrix; IntStream.range(0, n).forEach(vertexes::add); } @Override public Set<Integer> getVertexes() { return vertexes; } @Override public Set<...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. private final int[][] matrix; ^ (use --enable-preview to enable unnamed classes) Main.java:4: error: class, interface, enum, or record expected public AdjacencyMatrixGridPointGraph(int n, int[][] matrix) {...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u482226328|p03546|1
u482226328|p03546|1
codenet
Compile Error
12,281
v2_s829134081
s829134081
s829134081
p03547
p03547
u003018968
u003018968
1,563,643,008
2019-07-20T17:16:48
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); char X = sc.nextChar(); char Y = sc.nextChar(); if(X < Y){ System.out.println("<"); } else if (X == Y){ System.out.println("="); } else{ System.out.println(">"); } }...
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
u003018968|p03547|0
u003018968|p03547|0
codenet
Compile Error
322
v2_s810082728
s810082728
s810082728
p03547
p03547
u003018968
u003018968
1,563,643,069
2019-07-20T17:17:49
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); char X = sc.nextChar(); char Y = sc.nextChar(); if(X < Y){ System.out.println("<"); } else if (X == Y){ System.out.println("="); } else{ System.o...
Main.java:5: error: cannot find symbol char X = sc.nextChar(); ^ symbol: method nextChar() location: variable sc of type Scanner Main.java:6: error: cannot find symbol char Y = sc.nextChar(); ^ symbol: method nextChar() location: variable sc of type Scanner 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u003018968|p03547|0
u003018968|p03547|0
codenet
Compile Error
349
v2_s578847644
s578847644
s578847644
p03547
p03547
u018773111
u018773111
1,593,402,703
2020-06-29T03:51:43
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String x = sc.next(); String y = sc.next(); String ans[] = {">", "=", "<"}; System.out.println(ans[x.compareTo(y)+1])
Main.java:9: error: reached end of file while parsing System.out.println(ans[x.compareTo(y)+1]) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018773111|p03547|0
u018773111|p03547|0
codenet
Compile Error
256
v2_s390170132
s390170132
s390170132
p03547
p03547
u024824950
u024824950
1,556,291,390
2019-04-26T15:09:50
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); char x = sc.next(); char y = sc.next(); if(x<y){ System.out.println("<"); }else if(x>y){ System.out.println(">"); }else{ System.out...
Main.java:5: error: incompatible types: String cannot be converted to char char x = sc.next(); ^ Main.java:6: error: incompatible types: String cannot be converted to char char y = sc.next(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03547|0
u024824950|p03547|0
codenet
Compile Error
349
v2_s020777723
s020777723
s020777723
p03547
p03547
u105096556
u105096556
1,510,452,921
2017-11-12T02:15:21
Main.java
public static void Main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); String X = scan.next(); char x = X.charAt(0); String Y = scan.next(); char y = Y.charAt(0); if(x>y){ System.out.println(">"); }else if(X == Y){ System.out.println("="); }else{ ...
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
u105096556|p03547|0
u105096556|p03547|0
codenet
Compile Error
356
v2_s623084469
s623084469
s623084469
p03547
p03547
u105096556
u105096556
1,510,453,174
2017-11-12T02:19:34
Main.java
public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); String X = scan.next(); char x = X.charAt(0); String Y = scan.next(); char y = Y.charAt(0); if(x>y){ System.out.println(">"); }else if(x == y){ System.out.println("="); }else{ ...
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
u105096556|p03547|0
u105096556|p03547|0
codenet
Compile Error
354
v2_s292952848
s292952848
s292952848
p03547
p03547
u105096556
u105096556
1,510,453,210
2017-11-12T02:20:10
Main.java
public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); String X = scan.next(); char x = X.charAt(0); String Y = scan.next(); char y = Y.charAt(0); if(x>y){ System.out.println(">"); }else if(x == y){ System.out.println("="); }else{ ...
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
u105096556|p03547|0
u105096556|p03547|0
codenet
Compile Error
354
v2_s762020173
s762020173
s762020173
p03547
p03547
u105096556
u105096556
1,510,453,296
2017-11-12T02:21:36
Main.java
public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); String X = scan.next(); char x = X.charAt(0); String Y = scan.next(); char y = Y.charAt(0); if(x>y){ System.out.println(">"); }else if(x == y){ System.out.prin...
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
u105096556|p03547|0
u105096556|p03547|0
codenet
Compile Error
379
v2_s240298324
s240298324
s240298324
p03547
p03547
u161835833
u161835833
1,601,047,521
2020-09-25T15:25:21
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String X =sc.next(); String Y =sc.next(); int numX; int numY; if(X.equals("A")){ numX=1; }else if(X.equals("B")){ ...
Main.java:44: error: variable numX might not have been initialized if(numX<numY){ ^ Main.java:44: error: variable numY might not have been initialized if(numX<numY){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u161835833|p03547|0
u161835833|p03547|0
codenet
Compile Error
1,205
v2_s354206241
s354206241
s354206241
p03547
p03547
u242455652
u242455652
1,553,052,219
2019-03-20T03:23:39
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); String X=sc.next(); String Y=sc.next(); if(X=A)int x=10; else if(X=B) int x=11; else if(X=C) int x=12; else if(X=D) int x=13; else if(X=E) int x=14; else if(X=F) int x=15;...
Main.java:6: error: variable declaration not allowed here if(X=A)int x=10; ^ Main.java:7: error: variable declaration not allowed here else if(X=B) int x=11; ^ Main.java:8: error: variable declaration not allowed here else if(X=C) int x=12; ^ Main.jav...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u242455652|p03547|0
u242455652|p03547|0
codenet
Compile Error
4,141
v2_s387927462
s387927462
s387927462
p03547
p03547
u242455652
u242455652
1,553,052,396
2019-03-20T03:26:36
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); String X=sc.next(); String Y=sc.next(); if(X=A)int x=10; else if(X='B') int x=11; else if(X='C') int x=12; else if(X='D') int x=13; else if(X='E') int x=14; else if(X...
Main.java:7: error: variable declaration not allowed here if(X=A)int x=10; ^ Main.java:8: error: variable declaration not allowed here else if(X='B') int x=11; ^ Main.java:9: error: variable declaration not allowed here else if(X='C') int x=12; ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u242455652|p03547|0
u242455652|p03547|0
codenet
Compile Error
4,168
v2_s346289180
s346289180
s346289180
p03547
p03547
u242455652
u242455652
1,553,052,491
2019-03-20T03:28:11
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); String X=sc.next(); String Y=sc.next(); int x; int y; if(X=A) x=10; else if(X='B') x=11; else if(X='C') x=12; else if(X='D') x=13; else if(X='E') x=14; else if(...
Main.java:8: error: cannot find symbol if(X=A) x=10; ^ symbol: variable A location: class Main Main.java:8: error: incompatible types: String cannot be converted to boolean if(X=A) x=10; ^ Main.java:9: error: incompatible types: char cannot be converted to String else if(X='B') x=11; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u242455652|p03547|0
u242455652|p03547|0
codenet
Compile Error
4,148
v2_s138788043
s138788043
s138788043
p03547
p03547
u242455652
u242455652
1,553,052,717
2019-03-20T03:31:57
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); String X=sc.next(); String Y=sc.next(); int x=0; int y=0; if(X=='A') x=10; else if(X=='B') x=11; else if(X=='C') x=12; else if(X=='D') x=13; else if(X=='E') x=14; ...
Main.java:8: error: bad operand types for binary operator '==' if(X=='A') x=10; ^ first type: String second type: char Main.java:9: error: bad operand types for binary operator '==' else if(X=='B') x=11; ^ first type: String second type: char Main.java:10: error: bad operand type...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u242455652|p03547|0
u242455652|p03547|0
codenet
Compile Error
4,167
v2_s889658278
s889658278
s889658278
p03547
p03547
u242455652
u242455652
1,553,080,578
2019-03-20T11:16:18
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); char X=sc.nextChar(); char Y=sc.nextChar(); int x=0; int y=0; if(X=='A') x=10; else if(X=='B') x=11; else if(X=='C') x=12; else if(X=='D') x=13; else if(X=='E') x=...
Main.java:4: error: cannot find symbol char X=sc.nextChar(); ^ symbol: method nextChar() location: variable sc of type Scanner Main.java:5: error: cannot find symbol char Y=sc.nextChar(); ^ symbol: method nextChar() location: variable sc of type Scanner 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u242455652|p03547|1
u242455652|p03547|1
codenet
Compile Error
4,170
v2_s963153460
s963153460
s963153460
p03547
p03547
u242455652
u242455652
1,553,080,824
2019-03-20T11:20:24
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); char X=sc.next(); char Y=sc.next(); int x=0; int y=0; if(X=='A') x=10; else if(X=='B') x=11; else if(X=='C') x=12; else if(X=='D') x=13; else if(X=='E') x=14; ...
Main.java:47: error: duplicate class: Main class Main { ^ Main.java:4: error: incompatible types: String cannot be converted to char char X=sc.next(); ^ Main.java:5: error: incompatible types: String cannot be converted to char char Y=sc.next(); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u242455652|p03547|1
u242455652|p03547|1
codenet
Compile Error
8,334
v2_s934734418
s934734418
s934734418
p03547
p03547
u242455652
u242455652
1,553,081,521
2019-03-20T11:32:01
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); String X=sc.next(); String Y=sc.next(); int x=0; int y=0; if(X=="A") x=10; else if(X=="B") x=11; else if(X=="C") x=12; else if(X=="D") x=13; else if(X=="E") x=14; ...
Main.java:93: error: reached end of file while parsing ???? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u242455652|p03547|1
u242455652|p03547|1
codenet
Compile Error
8,351
v2_s624006598
s624006598
s624006598
p03547
p03547
u242455652
u242455652
1,553,081,560
2019-03-20T11:32:40
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); String X=sc.next(); String Y=sc.next(); int x=0; int y=0; if(X=="A") x=10; else if(X=="B") x=11; else if(X=="C") x=12; else if(X=="D") x=13; else if(X=="E") x=14; ...
Main.java:47: error: duplicate class: Main class Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u242455652|p03547|1
u242455652|p03547|1
codenet
Compile Error
8,338
v2_s114744159
s114744159
s114744159
p03547
p03547
u246907970
u246907970
1,589,936,753
2020-05-20T01:05:53
Main.java
import java.util.Scanner; import java.util.List; import java.util.ArrayList; import java.util.Collections; import java.util.List; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); String[] str = {"A","B","C","D","E","F"}; ...
Main.java:17: error: ';' expected c=num[i] ^ Main.java:20: error: ';' expected d=num[i] ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u246907970|p03547|0
u246907970|p03547|0
codenet
Compile Error
693
v2_s145667517
s145667517
s145667517
p03547
p03547
u274962354
u274962354
1,554,223,467
2019-04-02T16:44:27
Main.java
#include<iostream> #include <algorithm> #include <string> #include<math.h> #define rep(i,n)for(int i=0;i<n;i++) using namespace std; int main() { char a, b; cin >> a >> b; if (a == b) { cout << "=" << endl; } else if (a < b) { cout << "<" << endl; } else { cout << ">"...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include <algorithm> ^ Main.java:3: error: illegal character: '#' #include <string> ^ Main.java:4: error: illegal character: '#' #include<math.h> ^ Main.java:5: error: illegal character: '#' #define rep(i,n)for(in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u274962354|p03547|1
u274962354|p03547|1
codenet
Compile Error
351
v2_s002134153
s002134153
s002134153
p03547
p03547
u286955577
u286955577
1,552,540,936
2019-03-14T05:22:16
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); int X = Integer.toHexString(sc.next()); int Y = Integer.toHexString(sc.next()); println(X == Y ? '=' : X > Y ? '>' : '<'); } /* 以下、標準出力用関数 */ static public void print(byte what) { Syst...
Main.java:4: error: incompatible types: String cannot be converted to int int X = Integer.toHexString(sc.next()); ^ Main.java:5: error: incompatible types: String cannot be converted to int int Y = Integer.toHexString(sc.next()); ^ No...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u286955577|p03547|0
u286955577|p03547|0
codenet
Compile Error
3,836
v2_s978774216
s978774216
s978774216
p03547
p03547
u369190981
u369190981
1,570,198,769
2019-10-04T14:19:29
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.NoSuchElementException; class FastScanner { private final InputStream in = System.in; private final byte[] buffer = new byte[1024]; private int ptr = 0; private int buflen = 0; private boolean hasNextByte() { if (ptr ...
Main.java:119: error: cannot find symbol String x = sc.next(); ^ symbol: variable sc location: class Main Main.java:120: error: cannot find symbol String y = sc.next(); ^ symbol: variable sc location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369190981|p03547|0
u369190981|p03547|0
codenet
Compile Error
3,172
v2_s032113835
s032113835
s032113835
p03547
p03547
u431125128
u431125128
1,573,557,717
2019-11-12T11:21:57
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); String s="ABCDEF"; String a=sc.next(); String b=sc.next(); if(s.indexOf(a)<s.indexOf(b)){ System.out.println("<"); }else if(s.indexOf(a)=s.indexOf(b)){ System.out.prin...
Main.java:11: error: unexpected type }else if(s.indexOf(a)=s.indexOf(b)){ ^ required: variable found: value 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u431125128|p03547|0
u431125128|p03547|0
codenet
Compile Error
413
v2_s921520277
s921520277
s921520277
p03547
p03547
u487433273
u487433273
1,577,115,135
2019-12-23T15:32:15
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String A = sc.next(); String B = sc.next(); if(A<B) System.out.println("<"); else if(A.equals(B))System.out.println("="); else System.out.println(">"); } }
Main.java:9: error: bad operand types for binary operator '<' if(A<B) System.out.println("<"); ^ first type: String second type: String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p03547|0
u487433273|p03547|0
codenet
Compile Error
296
v2_s259896643
s259896643
s259896643
p03547
p03547
u492223956
u492223956
1,522,771,143
2018-04-03T15:59:03
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String x = sc.next().toCharArray()[0]; String y = sc.next().toCharArray()[0]; if(x<y){ System.out.println("<"); }else if(x==y){ System.out.println("="); }else{ ...
Main.java:5: error: incompatible types: char cannot be converted to String String x = sc.next().toCharArray()[0]; ^ Main.java:6: error: incompatible types: char cannot be converted to String String y = sc.next().toCharArray()[0]; ^ Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u492223956|p03547|0
u492223956|p03547|0
codenet
Compile Error
362
v2_s575406400
s575406400
s575406400
p03547
p03547
u492223956
u492223956
1,522,771,298
2018-04-03T16:01:38
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); Char x = sc.next().toCharArray()[0]; Char y = sc.next().toCharArray()[0]; if(x>y){ System.out.println(">"); }else if(x==y){ System.out.println("="); }else{ ...
Main.java:5: error: cannot find symbol Char x = sc.next().toCharArray()[0]; ^ symbol: class Char location: class Main Main.java:6: error: cannot find symbol Char y = sc.next().toCharArray()[0]; ^ symbol: class Char location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u492223956|p03547|0
u492223956|p03547|0
codenet
Compile Error
358
v2_s294627693
s294627693
s294627693
p03547
p03547
u632953742
u632953742
1,513,732,089
2017-12-20T01:08:09
Main.java
import java.util.Scanner; public class Main{ ublic static void main(String[] args) { Scanner sc = new Scanner(System.in); int X =sc.nextInt(); int Y =sc.nextInt(); int Z =sc.nextInt(); int count = 0; X -= Z; while(X >= (Y + Z)){ X -= Y+Z; count++; } System.out.println(count); } }
Main.java:5: error: <identifier> expected ublic static void main(String[] args) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u632953742|p03547|0
u632953742|p03547|0
codenet
Compile Error
319
v2_s222393349
s222393349
s222393349
p03547
p03547
u637935007
u637935007
1,510,454,636
2017-11-12T02:43:56
Main.java
import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args) throes IOException { Scanner sc = new Scanner(System.in); int a = Integer.parseInt(sc.next(),16); int b = Integer.parseInt(sc.next(),16); String answer = "="; if(a>b){ answer = "...
Main.java:5: error: ';' expected public static void main(String[] args) throes IOException { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637935007|p03547|0
u637935007|p03547|0
codenet
Compile Error
410
v2_s972741843
s972741843
s972741843
p03547
p03547
u686751625
u686751625
1,587,142,247
2020-04-17T16:50:47
Main.java
public class Main { public static void main(String[] args) throws IOException { InputReader in = new InputReader(System.in); char x = (char)in.read(); char y = (char)in.read(); if(x < y) { System.out.println("<"); } else if( y < x) System.out.println(">"); else System.out.println("="); } } class Inpu...
Main.java:2: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:15: error: cannot find symbol private InputStream stream; ^ symbol: class InputStream locati...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u686751625|p03547|0
u686751625|p03547|0
codenet
Compile Error
2,084
v2_s179795646
s179795646
s179795646
p03547
p03547
u686751625
u686751625
1,587,142,703
2020-04-17T16:58:23
Main.java
#include <iostream> #include <iomanip> #include <cstdio> #include <cstdlib> #include <cstring> #include <cassert> #include <algorithm> #include <numeric> #include <random> #include <vector> #include <array> #include <bitset> #include <queue> #include <set> #include <unordered_set> #include <map> #include <unordered_map...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <iomanip> ^ Main.java:3: error: illegal character: '#' #include <cstdio> ^ Main.java:4: error: illegal character: '#' #include <cstdlib> ^ Main.java:5: error: illegal character: '#' #include <cstring> ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u686751625|p03547|0
u686751625|p03547|0
codenet
Compile Error
814
v2_s185942444
s185942444
s185942444
p03547
p03547
u747725336
u747725336
1,553,091,849
2019-03-20T14:24:09
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); String X =sc.next(); String Y =sc.next(); int Xnum = unhex(X); int Ynum = unhex(Y); if(Xnum>Ynum){ print(">"); }else if(Xnum<Ynum){ print("<"); }else{ print(...
Main.java:6: error: cannot find symbol int Xnum = unhex(X); ^ symbol: method unhex(String) location: class Main Main.java:7: error: cannot find symbol int Ynum = unhex(Y); ^ symbol: method unhex(String) location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u747725336|p03547|0
u747725336|p03547|0
codenet
Compile Error
3,920
v2_s080063920
s080063920
s080063920
p03547
p03547
u747725336
u747725336
1,553,091,973
2019-03-20T14:26:13
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); String X =sc.next(); String Y =sc.next(); int Xnum =int(unhex(X)); int Ynum =int(unhex(Y)); if(Xnum>Ynum){ print(">"); }else if(Xnum<Ynum){ print("<"); }else{ ...
Main.java:6: error: '.class' expected int Xnum =int(unhex(X)); ^ Main.java:6: error: ';' expected int Xnum =int(unhex(X)); ^ Main.java:7: error: '.class' expected int Ynum =int(unhex(Y)); ^ Main.java:7: error: ';' expected int Ynum =int(unhex(Y...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u747725336|p03547|0
u747725336|p03547|0
codenet
Compile Error
3,928
v2_s940839620
s940839620
s940839620
p03547
p03547
u784448849
u784448849
1,543,985,452
2018-12-05T04:50:52
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in);) { solve(sc); } } public static void solve(Scanner sc) { String a = sc.next(); String b = sc.next(); System.out.println(a.com...
Main.java:13: error: incompatible types: int cannot be converted to boolean System.out.println(a.compareTo(b) ? ">" : a == b ? "=" : "<"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u784448849|p03547|0
u784448849|p03547|0
codenet
Compile Error
366
v2_s711182019
s711182019
s711182019
p03547
p03547
u784448849
u784448849
1,543,985,493
2018-12-05T04:51:33
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in);) { solve(sc); } } public static void solve(Scanner sc) { String a = sc.next(); String b = sc.next(); System.out.println(a.com...
Main.java:13: error: incompatible types: int cannot be converted to boolean System.out.println(a.compareTo(b) ? ">" : (a == b ? "=" : "<")); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u784448849|p03547|0
u784448849|p03547|0
codenet
Compile Error
368
v2_s712049733
s712049733
s712049733
p03547
p03547
u803314854
u803314854
1,550,899,586
2019-02-23T05:26:26
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); String p=sc.nextLine(); char po=p.toCharArray(); System.out.println(((int)po[0]==(int)po[2])?"=":((int)po[0]<(int)po[2])?"<":">"); } }
Main.java:8: error: incompatible types: char[] cannot be converted to char char po=p.toCharArray(); ^ Main.java:10: error: array required, but char found System.out.println(((int)po[0]==(int)po[2])?"=":((int)po[0]<(int)po[2])?"<":">"); ^ Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p03547|0
u803314854|p03547|0
codenet
Compile Error
301
v2_s375406656
s375406656
s375406656
p03547
p03547
u806768852
u806768852
1,581,721,612
2020-02-14T23:06:52
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String x[] = new String[2]; int i = 0; while(i < 2){ x[i] = sc.next(); i++; } int num[] = new int[2]; for(i;i<2;i++){ if(x[i].equals("A")){ num[i] ...
Main.java:13: error: not a statement for(i;i<2;i++){ ^ Main.java:29: error: ';' expected System.out.println("<") ^ Main.java:31: error: ';' expected System.out.println("=") ^ Main.java:33: error: ';' expected System.out.println(">")...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u806768852|p03547|0
u806768852|p03547|0
codenet
Compile Error
785
v2_s780790205
s780790205
s780790205
p03547
p03547
u809407598
u809407598
1,552,272,858
2019-03-11T02:54:18
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 W = sc.next(); if(S.getBytes()>W.getBytes()){ System.out.println(">"); }else if(S.getBytes()==W.getBytes()){ System.o...
Main.java:8: error: bad operand types for binary operator '>' if(S.getBytes()>W.getBytes()){ ^ first type: byte[] second type: byte[] Main.java:12: error: bad operand types for binary operator '<' }else if(S.getBytes()<W.getBytes()){ ^ first type: byte[] ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809407598|p03547|0
u809407598|p03547|0
codenet
Compile Error
451
v2_s027738999
s027738999
s027738999
p03547
p03547
u809407598
u809407598
1,552,273,054
2019-03-11T02:57:34
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 W = sc.next(); if(Integer.toHexString(S.getBytes())>Integer.toHexString(W.getBytes())){ System.out.println(">"); }else i...
Main.java:8: error: incompatible types: byte[] cannot be converted to int if(Integer.toHexString(S.getBytes())>Integer.toHexString(W.getBytes())){ ^ Main.java:8: error: incompatible types: byte[] cannot be converted to int if(Integer.toHexString(S.getBytes())>Integer.toHexString(W...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809407598|p03547|0
u809407598|p03547|0
codenet
Compile Error
578
v2_s677527296
s677527296
s677527296
p03547
p03547
u811982386
u811982386
1,510,452,527
2017-11-12T02:08:47
Main.java
static Map<String, Integer> map = new HashMap() { { put("A",10); put("B",11); put("C",12); put("D",13); put("E",14); put("F",15); } }; public static void main(String[] args) { Scanner scanner = new Scanner(System.in)...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. static Map<String, Integer> map = new HashMap() { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u811982386|p03547|0
u811982386|p03547|0
codenet
Compile Error
736
v2_s294373196
s294373196
s294373196
p03547
p03547
u918923596
u918923596
1,598,620,273
2020-08-28T13:11:13
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); Scanner sc = new Scanner(System.in); String s1 = sc.next(); String s2 = sc.next(); int n1 = (int)s1.charAt(0); int n2 = (int)s2.charAt(...
Main.java:6: error: variable sc is already defined in method main(String[]) Scanner sc = new Scanner(System.in); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918923596|p03547|0
u918923596|p03547|0
codenet
Compile Error
507
v2_s053600425
s053600425
s053600425
p03547
p03547
u982761903
u982761903
1,522,868,219
2018-04-04T18:56:59
Main.java
import java.io.*; public class Main { public static void main (String[] args) throws IOException { InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); String str1 = br.readLine(); String[] str2 = str1.split(" ", 0); doubl...
Main.java:22: error: '.class' expected System.out.println(int(r); ^ Main.java:22: error: not a statement System.out.println(int(r); ^ Main.java:22: error: ';' expected System.out.println(int(r); ^ 3 erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u982761903|p03547|0
u982761903|p03547|0
codenet
Compile Error
582
v2_s509084219
s509084219
s509084219
p03548
p03548
u286955577
u286955577
1,552,542,710
2019-03-14T05:51:50
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); int X = sc.nextInt(); int Y = sc.nextInt(); int Z = sc.nextInt(); println(int((X - Z) / (X + Y))); } /* 以下、標準出力用関数 */ static public void print(byte what) { System.out.print(what); ...
Main.java:7: error: '.class' expected println(int((X - Z) / (X + Y))); ^ Main.java:7: error: not a statement println(int((X - Z) / (X + Y))); ^ Main.java:7: error: ';' expected println(int((X - Z) / (X + Y))); ^ Main.java:7: error: not a statement ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u286955577|p03548|0
u286955577|p03548|0
codenet
Compile Error
3,816
v2_s663584550
s663584550
s663584550
p03548
p03548
u286955577
u286955577
1,552,542,727
2019-03-14T05:52:07
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); int X = sc.nextInt(); int Y = sc.nextInt(); int Z = sc.nextInt(); println(int((X - Z) / (X + Y))); } /* 以下、標準出力用関数 */ static public void print(byte what) { System.out.print(what); ...
Main.java:7: error: '.class' expected println(int((X - Z) / (X + Y))); ^ Main.java:7: error: not a statement println(int((X - Z) / (X + Y))); ^ Main.java:7: error: ';' expected println(int((X - Z) / (X + Y))); ^ Main.java:7: error: not a statement ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u286955577|p03548|0
u286955577|p03548|0
codenet
Compile Error
3,816
v2_s454502851
s454502851
s454502851
p03548
p03548
u487433273
u487433273
1,577,139,071
2019-12-23T22:11:11
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int X = sc.nextInt(); int Y = sc.nextInt(); int Z = sc.nextInt(); X -=Y+2*Z System.out.println(1+X/(Y+Z)); } }
Main.java:8: error: ';' expected X -=Y+2*Z ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p03548|0
u487433273|p03548|0
codenet
Compile Error
247
v2_s668815852
s668815852
s668815852
p03548
p03548
u522305303
u522305303
1,512,483,433
2017-12-05T14:17:13
Main.java
import java.io.*; import java.util.StringTokenizer; public class Main{ public static void main(String[] args) throws IOException { FastScanner in = new FastScanner(); int x = in.nextInt(); int y = in.nextInt(); int z = in.nextInt(); boolean good = true; long people ...
Main.java:13: error: ';' expected x = x-z ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u522305303|p03548|1
u522305303|p03548|1
codenet
Compile Error
2,210
v2_s390859006
s390859006
s390859006
p03548
p03548
u522305303
u522305303
1,512,483,487
2017-12-05T14:18:07
Main.java
import java.io.*; import java.util.StringTokenizer; public class Main{ public static void main(String[] args) throws IOException { FastScanner in = new FastScanner(); int x = in.nextInt(); int y = in.nextInt(); int z = in.nextInt(); boolean good = true; long people ...
Main.java:13: error: ';' expected x = x-z ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u522305303|p03548|1
u522305303|p03548|1
codenet
Compile Error
2,210
v2_s838435681
s838435681
s838435681
p03548
p03548
u540491484
u540491484
1,554,183,043
2019-04-02T05:30:43
Main.java
#include <bits/stdc++.h> using namespace std; int main() { int x, y, z; cin >> x >> y >> z; cout << ((x - z) / (y + z)) <<endl; }
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:6: error: not a statement cin >> x >> y >> z; ^ Main.java:8: error: not a statement cout << ((x - z) / (y + z)) <<e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u540491484|p03548|0
u540491484|p03548|0
codenet
Compile Error
144
v2_s680380995
s680380995
s680380995
p03548
p03548
u803314854
u803314854
1,551,233,815
2019-02-27T02:16:55
Main.java
import java.util.*; public class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt();int m=sc.nextInt();a=sc.nextInt(); System.out.println((n-a)/m); } }
Main.java:5: error: cannot find symbol int n=sc.nextInt();int m=sc.nextInt();a=sc.nextInt(); ^ symbol: variable a location: class Main Main.java:6: error: cannot find symbol System.out.println((n-a)/m); ^ symbol: variable a location: class ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p03548|0
u803314854|p03548|0
codenet
Compile Error
204
v2_s454197300
s454197300
s454197300
p03548
p03548
u803314854
u803314854
1,551,233,834
2019-02-27T02:17:14
Main.java
import java.util.*; public class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt();int m=sc.nextInt();a=sc.nextInt(); System.out.println((n-a)/(m+a)); } }
Main.java:5: error: cannot find symbol int n=sc.nextInt();int m=sc.nextInt();a=sc.nextInt(); ^ symbol: variable a location: class Main Main.java:6: error: cannot find symbol System.out.println((n-a)/(m+a)); ^ symbol: variable a location: cl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p03548|0
u803314854|p03548|0
codenet
Compile Error
208
v2_s241306691
s241306691
s241306691
p03548
p03548
u810066979
u810066979
1,580,687,982
2020-02-02T23:59:42
Main.java
x,y,z=map(int,input().split()) xx=x-z yy=y+z print(int(xx/yy))
Main.java:1: error: class, interface, enum, or record expected x,y,z=map(int,input().split()) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u810066979|p03548|0
u810066979|p03548|0
codenet
Compile Error
62
v2_s698948790
s698948790
s698948790
p03548
p03548
u849943974
u849943974
1,510,453,267
2017-11-12T02:21:07
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { no2(); } static void no2() { try (Scanner sc = new Scanner(System.in)) { Integer max = sc.nextInt(); Integer width = sc.nextInt(); Integer gap = sc.nextInt(); int n = max / (width + gap); if (n * (width + ga...
Main.java:20: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u849943974|p03548|0
u849943974|p03548|0
codenet
Compile Error
377
v2_s348852004
s348852004
s348852004
p03549
p03549
u024824950
u024824950
1,556,293,300
2019-04-26T15:41:40
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 tle = sc.nextInt(); int ac = n-m; System.out.println((ac*100 + tle*1900)*Math.pow(2,tle)); }
Main.java:9: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03549|0
u024824950|p03549|0
codenet
Compile Error
271
v2_s395955879
s395955879
s395955879
p03549
p03549
u024824950
u024824950
1,556,293,327
2019-04-26T15:42:07
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 tle = sc.nextInt(); int ac = n-m; System.out.println((ac*100 + tle*1900)*Math.pow(2,tle)); } }
Main.java:7: error: cannot find symbol int ac = n-m; ^ symbol: variable m location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03549|0
u024824950|p03549|0
codenet
Compile Error
277
v2_s023075742
s023075742
s023075742
p03549
p03549
u105096556
u105096556
1,510,458,828
2017-11-12T03:53:48
Main.java
public class Main { public static void main(String[] args) { // TODO Auto-generated method stub // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int m = scan.nextInt(); int sum = 0; sum+=1900*m+(n-m)*100; for(int i=0;i<m;i++) ...
Main.java:6: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: 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
u105096556|p03549|0
u105096556|p03549|0
codenet
Compile Error
380
v2_s342441142
s342441142
s342441142
p03549
p03549
u547167033
u547167033
1,568,315,069
2019-09-12T19:04:29
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); long x = (long)Math.pow(2,m); System.out.println(1900*x) } }
Main.java:8: error: ';' expected System.out.println(1900*x) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03549|0
u547167033|p03549|0
codenet
Compile Error
254
v2_s189389904
s189389904
s189389904
p03550
p03550
u227020436
u227020436
1,510,457,851
2017-11-12T03:37:31
Main.java
import java.util.*; public class Main { public static void main(String[] arg) { Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); int Z = scanner.nextInt(); int W = scanner.nextInt(); a = new int[N + 2]; a[0] = Z; a[1] = W; for (int i = 0; i < N; i++) { a[2 + ...
Main.java:21: error: cannot find symbol static int pair(int z, int w) { return MAX_N << 11 + w; } ^ symbol: variable MAX_N location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u227020436|p03550|0
u227020436|p03550|0
codenet
Compile Error
1,416
v2_s318270263
s318270263
s318270263
p03550
p03550
u346247259
u346247259
1,510,461,210
2017-11-12T04:33:30
Main.java
Submission #1761416 Source code import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)) { int n = sc.nextInt(); int z = sc.nextInt(); int w = sc.nextInt(); int[] a = new int[n]; ...
Main.java:2: error: illegal character: '#' Submission #1761416 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u346247259|p03550|0
u346247259|p03550|0
codenet
Compile Error
661
v2_s135100785
s135100785
s135100785
p03551
p03551
u655729056
u655729056
1,575,445,599
2019-12-04T07:46:39
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); N = sc.nextInt(); M = sc.nextInt(); int ans = 1; for (i = 0;i < M;i ++) { ans *= 2; } ans *= ((N - M) * 100 + M * 1900); System.out.println(ans); } }
Main.java:6: error: cannot find symbol N = sc.nextInt(); ^ symbol: variable N location: class Main Main.java:7: error: cannot find symbol M = sc.nextInt(); ^ symbol: variable M location: class Main Main.java:9: error: cannot find symbol for (i = 0;i < M;i ++) { ^ symbol: var...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655729056|p03551|0
u655729056|p03551|0
codenet
Compile Error
312
v2_s368335772
s368335772
s368335772
p03551
p03551
u902576227
u902576227
1,555,630,854
2019-04-18T23:40:54
Main.java
/* * @Author Silviase(@silviasetitech) * For ProCon */ import java.util.*; import java.lang.*; import java.math.*; class Main{ static int MOD = (int)1e9+7; // for dfs static int n; static int ansi; static int[] w; static int[] ww; static boolean[] isvisited; ...
Main.java:26: error: incompatible types: possible lossy conversion from double to int int kakuritu = Math.pow(2,m); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902576227|p03551|0
u902576227|p03551|0
codenet
Compile Error
3,329
v2_s156475936
s156475936
s156475936
p03551
p03551
u991035745
u991035745
1,510,458,027
2017-11-12T03:40:27
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); double x = 0; int y = 0; if(n-m>0){ y = (n-m)*100; } int k = (int)Math.pow(2, m); //int -2147483648 2147483647だと長過ぎる /* * ...
Main.java:33: error: illegal start of expression x += (double)(y + 1900*m)*i*(q*/Math.pow(2, m)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u991035745|p03551|0
u991035745|p03551|0
codenet
Compile Error
629
v2_s028384809
s028384809
s028384809
p03551
p03551
u991035745
u991035745
1,510,459,283
2017-11-12T04:01:23
Math.java
import java.util.Scanner; public class Math { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); double x = 0; int y = 0; if(n-m>0){ y = (n-m)*100; } double k = Math.pow(2, m); double p,q; p=1-1/k; for(int i=1; i<4050000...
Math.java:15: error: cannot find symbol double k = Math.pow(2, m); ^ symbol: method pow(int,int) location: class Math Math.java:20: error: cannot find symbol q=Math.pow(p, i-1); ^ symbol: method pow(double,int) location: class Math Math.java:23: error: cannot find symbol Sys...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u991035745|p03551|0
u991035745|p03551|0
codenet
Compile Error
448
v2_s429798295
s429798295
s429798295
p03552
p03552
u663333959
u663333959
1,510,560,256
2017-11-13T08:04:16
Main.java
import java.util.Scanner class Main { public static void main (String [] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int x=sc.nextInt();int y=sc.nextInt(); int []a=new int [n]; for(int i=0;i<n;i++) a[i]=sc.nextInt(); int max=Math.abs(a[n-1]-y); if(n!=1) max=Math.max(max,Math.abs(a[n-1]-a[n-2])); } }
Main.java:1: error: ';' expected import java.util.Scanner ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u663333959|p03552|0
u663333959|p03552|0
codenet
Compile Error
319
v2_s115971164
s115971164
s115971164
p03553
p03553
u059234158
u059234158
1,510,453,319
2017-11-12T02:21:59
Main.java
import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.Scanner; import java.util.stream.IntStream; import java.util.stream.Stream; class Main{ static class System{ private static final InputStream in=java.lang.System.in; private static final PrintWriter out=new PrintWrit...
Main.java:31: error: not a statement ?? ^ Main.java:31: error: ';' expected ?? ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u059234158|p03553|0
u059234158|p03553|0
codenet
Compile Error
1,290
v2_s829105242
s829105242
s829105242
p03553
p03553
u541055501
u541055501
1,589,757,767
2020-05-17T23:22:47
Main.java
import static java.lang.Math.max; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.NoSuchElementException; import java.util.function.IntUnaryOperator; import java.util.function.LongUnaryOperator; import lib.util.collections.IntStack; public class Main { public ...
Main.java:10: error: package lib.util.collections does not exist import lib.util.collections.IntStack; ^ Main.java:31: error: cannot find symbol public static long dfs(IntStack wst, int i) { ^ symbol: class IntStack location: class Main Main.java:28: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u541055501|p03553|0
u541055501|p03553|0
codenet
Compile Error
5,888
v2_s856657355
s856657355
s856657355
p03553
p03553
u653981267
u653981267
1,510,589,411
2017-11-13T16:10:11
Main.java
import java.util.*; public class Main { static ArrayList<Edge>[] G; static int[] level; static int[] iter; static int N; public static void main(String[] args) { Scanner sc = new Scanner(System.in); N = sc.nextInt(); long a[] = new long[N]; long ans = 0; for(int i = 0; i < N; i++) { ...
Main.java:36: error: constructor Edge in class Edge cannot be applied to given types; G[from].add(new Edge()); ^ required: int,int,int found: no arguments reason: actual and formal argument lists differ in length Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|0
u653981267|p03553|0
codenet
Compile Error
2,354
v2_s661445318
s661445318
s661445318
p03553
p03553
u653981267
u653981267
1,510,606,713
2017-11-13T20:58:33
Main.java
import java.util.*; public class Main { static class Edge { int t, rev, cap, f; public Edge(int t, int rev, int cap) { this.t = t; this.rev = rev; this.cap = cap; } } public static List<Edge>[] createGraph(int nodes) { List<Edge>[] graph = new List[nodes]; for (int i = 0;...
Main.java:81: error: illegal start of type for(int i = 0; i < N; i++) { ^ Main.java:81: error: > or ',' expected for(int i = 0; i < N; i++) { ^ Main.java:81: error: <identifier> expected for(int i = 0; i < N; i++) { ^ Main.java:86: error: illegal start of type fo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,588
v2_s003206882
s003206882
s003206882
p03553
p03553
u653981267
u653981267
1,510,607,524
2017-11-13T21:12:04
Main.java
import java.util.*; public class Main { static class Edge { int t, rev, cap, f; public Edge(int t, int rev, int cap) { this.t = t; this.rev = rev; this.cap = cap; } } public static List<Edge>[] createGraph(int nodes) { List<Edge>[] graph = new List[nodes]; for (int i = 0;...
Main.java:81: error: illegal start of type for(int i = 0; i < N; i++) { ^ Main.java:81: error: > or ',' expected for(int i = 0; i < N; i++) { ^ Main.java:81: error: <identifier> expected for(int i = 0; i < N; i++) { ^ Main.java:86: error: illegal start of type fo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,590
v2_s007304857
s007304857
s007304857
p03553
p03553
u653981267
u653981267
1,510,607,944
2017-11-13T21:19:04
Main.java
import java.util.*; public class Main { static class Edge { int t, rev, cap, f; public Edge(int t, int rev, int cap) { this.t = t; this.rev = rev; this.cap = cap; } } public static List<Edge>[] createGraph(int nodes) { List<Edge>[] graph = new List[nodes]; for (int i = 0;...
Main.java:81: error: illegal start of type for(int i = 0; i < N; i++) { ^ Main.java:81: error: > or ',' expected for(int i = 0; i < N; i++) { ^ Main.java:81: error: <identifier> expected for(int i = 0; i < N; i++) { ^ Main.java:86: error: illegal start of type fo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,590
v2_s889967535
s889967535
s889967535
p03553
p03553
u653981267
u653981267
1,510,608,137
2017-11-13T21:22:17
Main.java
import java.util.*; public class Main { static class Edge { int t, rev, cap, f; public Edge(int t, int rev, int cap) { this.t = t; this.rev = rev; this.cap = cap; } } public static List<Edge>[] createGraph(int nodes) { List<Edge>[] graph = new List[nodes]; for (int i = 0;...
Main.java:88: error: List is abstract; cannot be instantiated G[i] = new List<Edge>(); ^ Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,637
v2_s491725935
s491725935
s491725935
p03553
p03553
u653981267
u653981267
1,510,614,368
2017-11-13T23:06:08
Main.java
import java.util.*; public class Main { static class Edge { int t, rev, cap, f; public Edge(int t, int rev, int cap) { this.t = t; this.rev = rev; this.cap = cap; } } public static List<Edge>[] createGraph(int nodes) { List<Edge>[] graph = new List[nodes]; for (int i = 0;...
Main.java:97: error: incompatible types: possible lossy conversion from long to int addEdge(G, i, (i + 1) * j - 1, Long.MAX_VALUE / 2); ^ Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Some messages ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,637
v2_s676624963
s676624963
s676624963
p03553
p03553
u653981267
u653981267
1,510,614,441
2017-11-13T23:07:21
Main.java
import java.util.*; public class Main { static class Edge { int t, rev, cap, f; public Edge(int t, int rev, int cap) { this.t = t; this.rev = rev; this.cap = cap; } } public static List<Edge>[] createGraph(int nodes) { List<Edge>[] graph = new List[nodes]; for (int i = 0;...
Main.java:23: error: incompatible types: possible lossy conversion from long to int graph[s].add(new Edge(t, graph[t].size(), cap)); ^ Main.java:24: error: incompatible types: possible lossy conversion from long to int graph[t].add(new Edge(s, graph[s].size() - 1, (...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,644
v2_s761169747
s761169747
s761169747
p03553
p03553
u653981267
u653981267
1,510,614,499
2017-11-13T23:08:19
Main.java
import java.util.*; public class Main { static class Edge { int t, rev, f; long cap; public Edge(int t, int rev, long cap) { this.t = t; this.rev = rev; this.cap = cap; } } public static List<Edge>[] createGraph(int nodes) { List<Edge>[] graph = new List[nodes]; for (...
Main.java:52: error: incompatible types: possible lossy conversion from long to int int df = dinicDfs(graph, ptr, dist, dest, e.t, Math.min(f, e.cap - e.f)); ^ Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecke...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,654
v2_s135245673
s135245673
s135245673
p03553
p03553
u653981267
u653981267
1,510,614,617
2017-11-13T23:10:17
Main.java
import java.util.*; public class Main { static class Edge { int t, rev; long cap; long f; public Edge(int t, int rev, long cap) { this.t = t; this.rev = rev; this.cap = cap; } } public static List<Edge>[] createGraph(int nodes) { List<Edge>[] graph = new List[nodes]; ...
Main.java:53: error: incompatible types: possible lossy conversion from long to int int df = dinicDfs(graph, ptr, dist, dest, e.t, Math.min(f, e.cap - e.f)); ^ Main.java:70: error: incompatible types: possible lossy conversion from long to int int df = dinicDfs(graph, ptr, dist,...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,665
v2_s215237039
s215237039
s215237039
p03553
p03553
u653981267
u653981267
1,510,614,669
2017-11-13T23:11:09
Main.java
import java.util.*; public class Main { static class Edge { int t, rev; long cap; long f; public Edge(int t, int rev, long cap) { this.t = t; this.rev = rev; this.cap = cap; } } public static List<Edge>[] createGraph(int nodes) { List<Edge>[] graph = new List[nodes]; ...
Main.java:70: error: incompatible types: possible lossy conversion from long to int int df = dinicDfs(graph, ptr, dist, dest, src, Integer.MAX_VALUE); ^ Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,666
v2_s565843171
s565843171
s565843171
p03553
p03553
u653981267
u653981267
1,510,614,941
2017-11-13T23:15:41
Main.java
import java.util.*; public class Main { class MaxFlow { class Edge { public final int to, rev; public long cap; public Edge(int to, int rev, long cap) { this.to = to; this.rev = rev; this.cap = cap; } }...
Main.java:71: error: cannot find symbol List<Edge>[] G = new List[N + 2]; ^ symbol: class Edge location: class Main Main.java:73: error: cannot find symbol G[i] = new ArrayList<Edge>(); ^ symbol: class Edge location: class Main Note: Main.java uses unchecked or unsafe o...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,291
v2_s576622163
s576622163
s576622163
p03553
p03553
u653981267
u653981267
1,510,615,555
2017-11-13T23:25:55
Main.java
import java.util.*; public class Main { class MaxFlow { class Edge { public final int to, rev; public long cap; public Edge(int to, int rev, long cap) { this.to = to; this.rev = rev; this.cap = cap; } }...
Main.java:65: error: non-static variable this cannot be referenced from a static context MaxFlow flow = new MaxFlow(n + 2); ^ Main.java:65: error: cannot find symbol MaxFlow flow = new MaxFlow(n + 2); ^ symbol: variable n location: class Main Note: Main.java uses ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,224
v2_s808305596
s808305596
s808305596
p03553
p03553
u653981267
u653981267
1,510,615,598
2017-11-13T23:26:38
Main.java
import java.util.*; public class Main { class MaxFlow { class Edge { public final int to, rev; public long cap; public Edge(int to, int rev, long cap) { this.to = to; this.rev = rev; this.cap = cap; } }...
Main.java:65: error: non-static variable this cannot be referenced from a static context MaxFlow flow = new MaxFlow(N + 2); ^ Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,224
v2_s478357604
s478357604
s478357604
p03553
p03553
u653981267
u653981267
1,510,615,731
2017-11-13T23:28:51
Main.java
import java.util.*; public class Main { class MaxFlow { class Edge { public final int to, rev; public long cap; public Edge(int to, int rev, long cap) { this.to = to; this.rev = rev; this.cap = cap; } }...
Main.java:64: error: illegal start of expression static int N = sc.nextInt(); ^ Main.java:68: error: illegal start of type for(int i = 0; i < N; i++) { ^ Main.java:68: error: > or ',' expected for(int i = 0; i < N; i++) { ^ Main.java:68: error: <identifier> expected for(int i = 0; i < ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,231
v2_s531073006
s531073006
s531073006
p03553
p03553
u653981267
u653981267
1,510,617,664
2017-11-14T00:01:04
Main.java
import java.util.*; public class Main { class MaxFlow { class Edge { public final int to, rev; public long cap; public Edge(int to, int rev, long cap) { this.to = to; this.rev = rev; this.cap = cap; } }...
Main.java:66: error: cannot find symbol a[i] = sc.nextLong(); ^ symbol: variable sc location: class Main Main.java:92: error: variable ans is already defined in method main(String[]) long ans = solve(N, a); ^ Main.java:92: error: non-static method solve(int,long[]) cannot be re...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,500
v2_s887343852
s887343852
s887343852
p03553
p03553
u653981267
u653981267
1,510,617,711
2017-11-14T00:01:51
Main.java
import java.util.*; public class Main { class MaxFlow { class Edge { public final int to, rev; public long cap; public Edge(int to, int rev, long cap) { this.to = to; this.rev = rev; this.cap = cap; } }...
Main.java:91: error: variable ans is already defined in method main(String[]) long ans = solve(N, a); ^ Main.java:91: error: non-static method solve(int,long[]) cannot be referenced from a static context long ans = solve(N, a); ^ Note: Main.java uses unchecked or unsafe operations. Note:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,470
v2_s494744423
s494744423
s494744423
p03553
p03553
u653981267
u653981267
1,510,617,792
2017-11-14T00:03:12
Main.java
import java.util.*; public class Main { class MaxFlow { class Edge { public final int to, rev; public long cap; public Edge(int to, int rev, long cap) { this.to = to; this.rev = rev; this.cap = cap; } }...
Main.java:86: error: non-static method solve(int,long[]) cannot be referenced from a static context long ans = solve(N, a); ^ Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,353
v2_s751040624
s751040624
s751040624
p03553
p03553
u653981267
u653981267
1,510,617,829
2017-11-14T00:03:49
Main.java
import java.util.*; public class Main { class MaxFlow { class Edge { public final int to, rev; public long cap; public Edge(int to, int rev, long cap) { this.to = to; this.rev = rev; this.cap = cap; } }...
Main.java:63: error: non-static variable this cannot be referenced from a static context MaxFlow flow = new MaxFlow(n + 2); ^ Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,361
v2_s112978632
s112978632
s112978632
p03553
p03553
u653981267
u653981267
1,510,621,260
2017-11-14T01:01:00
Main.java
import java.util.*; public class Main { class MaxFlow { class Edge { public final int to, rev; public long cap; public Edge(int to, int rev, long cap) { this.to = to; this.rev = rev; this.cap = cap; } }...
Main.java:66: error: cannot find symbol flow.add_edge(i, t, a[i]); ^ symbol: variable t location: class Main Main.java:68: error: cannot find symbol flow.add_edge(s, i, -a[i]); ^ symbol: variable s location: class...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03553|1
u653981267|p03553|0
codenet
Compile Error
2,451
v2_s803558560
s803558560
s803558560
p03553
p03553
u790372061
u790372061
1,510,457,001
2017-11-12T03:23:21
System.java
/* * Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.lang; import java.io.*; import java.lang.reflect.Executable; import java.lang.annotation.A...
System.java:25: error: package exists in another module: java.base package java.lang; ^ System.java:40: error: package sun.nio.ch is not visible import sun.nio.ch.Interruptible; ^ (package sun.nio.ch is declared in module java.base, which does not export it to the unnamed module) System.java:41: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u790372061|p03553|0
u790372061|p03553|0
codenet
Compile Error
53,538
v2_s792573155
s792573155
s792573155
p03555
p03555
u004896190
u004896190
1,509,844,389
2017-11-05T01:13:09
Main.java
public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 文字列の入力 char ch1[]; char ch2[]; String str1 = sc.next(); ch1=str1.toCharArray(); String str2 = sc.next(); ch2=str2.toCharArray(); // 出力 for(int i=0;i<ch1.length;i++){ if(ch1[i]!=ch2[ch2.length-i-1]) { System.out...
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
u004896190|p03555|0
u004896190|p03555|0
codenet
Compile Error
413