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_s876265232
s876265232
s876265232
p03599
p03599
u168621383
u168621383
1,601,241,016
2020-09-27T21:10:16
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int a = nextInt(); int b = nextInt(); int c = nextInt(); int d = nextInt(); int e = nextInt(); int f = nextInt(); int sugerWater = 0; int su...
Main.java:35: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u168621383|p03599|0
u168621383|p03599|0
codenet
Compile Error
799
v2_s176881158
s176881158
s176881158
p03599
p03599
u168621383
u168621383
1,601,241,089
2020-09-27T21:11:29
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int a = nextInt(); int b = nextInt(); int c = nextInt(); int d = nextInt(); int e = nextInt(); int f = nextInt(); int sugerWater = 0; int s...
Main.java:35: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u168621383|p03599|0
u168621383|p03599|0
codenet
Compile Error
799
v2_s143290531
s143290531
s143290531
p03599
p03599
u168621383
u168621383
1,601,242,950
2020-09-27T21:42:30
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(); int b = scan.nextInt(); int c = scan.nextInt(); int d = scan.nextInt(); int e = scan.nextInt(); int f = scan.nextIn...
Main.java:16: error: ';' expected int h = f/(100*a+e) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u168621383|p03599|0
u168621383|p03599|0
codenet
Compile Error
598
v2_s170691808
s170691808
s170691808
p03599
p03599
u286518998
u286518998
1,569,364,010
2019-09-24T22:26:50
Main.java
#include<iostream> #include<queue> #include <math.h> using namespace std; double noudo(double w, double s){ return s/(w+s); } int main(){ int a,b,c,d,e,f; cin >> a >> b >> c >> d >> e >> f; int water=0, sugar=0; double ans = 0.0; double defaultNoudo = noudo(100, e); //cout << defaultNoud...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include<queue> ^ Main.java:3: error: illegal character: '#' #include <math.h> ^ Main.java:6: error: unnamed classes are a preview feature and are disabled by default. double noudo(double w, double s){ ^ (use --...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u286518998|p03599|1
u286518998|p03599|1
codenet
Compile Error
1,773
v2_s203242567
s203242567
s203242567
p03599
p03599
u459325596
u459325596
1,596,777,264
2020-08-07T05:14:24
Main.java
import java.io.*; import java.lang.*; import java.math.*; import java.util.*; public class Main { static InputReader in = new InputReader(System.in); static PrintWriter out = new PrintWriter(System.out); public static void main(String[] args) throws Exception { int a = in.nextInt()*100; int b = in.next...
Main.java:124: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u459325596|p03599|0
u459325596|p03599|0
codenet
Compile Error
3,267
v2_s854388125
s854388125
s854388125
p03599
p03599
u507706381
u507706381
1,566,270,570
2019-08-20T03:09:30
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); int E = sc.nextInt(); int F = sc.nextInt(); double max = -1; int maxSug...
Main.java:40: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u507706381|p03599|0
u507706381|p03599|0
codenet
Compile Error
1,055
v2_s498134231
s498134231
s498134231
p03599
p03599
u568545273
u568545273
1,518,920,000
2018-02-18T02:13:20
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); int E = sc.nextInt(); int F = sc.nextInt(); ...
Main.java:19: error: illegal start of expression for (int c = 0; a * A * 100 + b * 100 * B + c * C <= F && c * C < =E * (a * A + b * B); c++) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568545273|p03599|0
u568545273|p03599|0
codenet
Compile Error
1,270
v2_s065461169
s065461169
s065461169
p03599
p03599
u686175224
u686175224
1,558,668,353
2019-05-24T03:25:53
Main.java
public class Main { public static void main(String[] args) { int water,sugar; Scanner sc=new Scanner(System.in); int A=sc.nextInt(),B=sc.nextInt(),C=sc.nextInt(),D=sc.nextInt(),E=sc.nextInt(),F=sc.nextInt(); double noudo=0.0; int maxm=0; double limit=(double)E/((double)E+100.0); int maxsugar=0; double...
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
u686175224|p03599|0
u686175224|p03599|0
codenet
Compile Error
914
v2_s339676162
s339676162
s339676162
p03599
p03599
u737978623
u737978623
1,510,975,179
2017-11-18T03:19:39
Main.java
public static void main(String[] args) { java.util.Scanner scanner = new java.util.Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); int d = scanner.nextInt(); int e = scanner.nextInt(); int f = scanner.nextInt(); ...
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
u737978623|p03599|0
u737978623|p03599|0
codenet
Compile Error
1,143
v2_s016492776
s016492776
s016492776
p03599
p03599
u737978623
u737978623
1,510,976,158
2017-11-18T03:35:58
Main.java
public static void main(String[] args) { java.util.Scanner scanner = new java.util.Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); int d = scanner.nextInt(); int e = scanner.nextInt(); int f = scanner.nextInt(); ...
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
u737978623|p03599|0
u737978623|p03599|0
codenet
Compile Error
1,201
v2_s725713114
s725713114
s725713114
p03599
p03599
u849943974
u849943974
1,505,613,678
2017-09-17T02:01:18
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { try (Scanner sc = new Scanner(System.in)) { int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); int E = sc.nextInt(); ...
Main.java:26: error: ';' expected if(w > 0){den = s/w+s} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u849943974|p03599|0
u849943974|p03599|0
codenet
Compile Error
1,194
v2_s870028318
s870028318
s870028318
p03599
p03599
u849943974
u849943974
1,505,613,779
2017-09-17T02:02:59
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { try (Scanner sc = new Scanner(System.in)) { int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); int E = sc.nextInt(); ...
Main.java:17: error: cannot find symbol for(int i = 0; w + 100 * a + s < F;i++){ ^ symbol: variable w location: class Main Main.java:17: error: cannot find symbol for(int i = 0; w + 100 * a + s < F;i++){ ^ symbol: variable a loc...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u849943974|p03599|0
u849943974|p03599|0
codenet
Compile Error
1,195
v2_s537913449
s537913449
s537913449
p03599
p03599
u849943974
u849943974
1,505,615,399
2017-09-17T02:29:59
Main.java
double maxden = 0.; double limden = (double)E / (100 + E); int ans1 = 0; int ans2 = 0; int w = 0; int s = 0; for (int i = 0; (100 * A * i) <= F; i++) { w = 100 * A * i; for (int j = 0; (w + 100 * B * j) <= F; j++) { w = w + 100 * B * j; for (int t = 0; w + C*t <= F; t++) { ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. double maxden = 0.; ^ (use --enable-preview to enable unnamed classes) Main.java:8: error: class, interface, enum, or record expected for (int i = 0; (100 * A * i) <= F; i++) { ^ Main.java:8: error: class, interface, en...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u849943974|p03599|0
u849943974|p03599|0
codenet
Compile Error
667
v2_s766365550
s766365550
s766365550
p03599
p03599
u881037761
u881037761
1,549,688,103
2019-02-09T04:55:03
Main.java
/* 文字列の配列の初期化、整数の型がlongになっているか 関数(splitとかcontainsとか)内では"+"とかは正規表現となされるので"\\+"とする */ import java.util.*; import java.awt.*; import static java.lang.System.*; import static java.lang.Math.*; public class Main { public static void main(String[] $) { Scanner sc = new Scanner(in); int a=sc.nextInt(); ...
Main.java:18: error: cannot find symbol if(a*b*c*d*e==1&&f==100)out.prinyln(100+" "+0); ^ symbol: method prinyln(String) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u881037761|p03599|0
u881037761|p03599|0
codenet
Compile Error
621
v2_s436971011
s436971011
s436971011
p03601
p03601
u097204018
u097204018
1,505,611,871
2017-09-17T01:31:11
Main.java
public class Main { public static void main(String[] args){ int a, b, c, d, e, f; Scanner sc = new Scanner(System.in); a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); d = sc.nextInt(); e = sc.nextInt(); f = sc.nextInt(); float max; int maxw, maxs; max = -10.0f; maxw = 0; maxs = 0; ...
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u097204018|p03601|0
u097204018|p03601|0
codenet
Compile Error
889
v2_s122192752
s122192752
s122192752
p03601
p03601
u313111801
u313111801
1,506,146,303
2017-09-23T05:58:23
Main.java
#include <bits/stdc++.h> #include <sys/time.h> using namespace std; #define rep(i,n) for(long long i = 0; i < (long long)(n); i++) #define repi(i,a,b) for(long long i = (long long)(a); i < (long long)(b); i++) #define pb push_back #define all(x) (x).begin(), (x).end() #define fi first #define se second #define mt mak...
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: '#' #include <sys/time.h> ^ Main.java:5: error: illegal character: '#' #define rep(i,n) for(long long i = 0; i <...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u313111801|p03601|2
u313111801|p03601|1
codenet
Compile Error
7,324
v2_s054084534
s054084534
s054084534
p03601
p03601
u432614080
u432614080
1,534,518,752
2018-08-17T15:12:32
Main.java
Copy import java.util.Scanner; import java.util.stream.IntStream; public class Main{ static IntStream REPS(int v){return IntStream.range(0,v);} static IntStream REPS(int l,int r){return IntStream.rangeClosed(l,r);} static IntStream INS(int n) {return REPS(n).map(i->getInt());} static Scanner s=new Scanner(System...
Main.java:2: error: class, interface, enum, or record expected Copy ^ Main.java:4: error: class, interface, enum, or record expected import java.util.stream.IntStream; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u432614080|p03601|0
u432614080|p03601|0
codenet
Compile Error
1,139
v2_s310586794
s310586794
s310586794
p03601
p03601
u724467837
u724467837
1,508,541,989
2017-10-20T23:26:29
Main.java
import java.util.*; public class Main { public static void main(String[] args) { System.out.println(); } private static String solve(Scanner scanner) { String[] split = scanner.nextLine().split(" "); int A = Integer.parseInt(split[0]); int B = Integer.parseInt(split[1]); ...
Main.java:17: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u724467837|p03601|0
u724467837|p03601|0
codenet
Compile Error
503
v2_s806392293
s806392293
s806392293
p03601
p03601
u769201746
u769201746
1,505,692,456
2017-09-17T23:54:16
Main.java
memo
Main.java:1: error: reached end of file while parsing memo ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769201746|p03601|0
u769201746|p03601|0
codenet
Compile Error
4
v2_s295520481
s295520481
s295520481
p03602
p03602
u724467837
u724467837
1,508,545,677
2017-10-21T00:27:57
Main.java
import java.util.*; // 考察: // 二つの都市を通るエッジは、同じ行・列にある一つの都市のみを通るエッジを一つずつ引っ張ってきたものの和 // 同様に、三つの都市を通るエッジは、二つの都市までを通るエッジの和 // 各行で最小の値を引いてきたものは必ず一都市のみを通るエッジ public class Main { public static void main(String[] args) { System.out.println(); } private static int solve(Scanner scanner) { int result...
Main.java:26: error: array dimension missing int[][] matrix = new int[][]; ^ Main.java:83: error: illegal start of expression } ^ Main.java:84: error: illegal start of expression if (sum > ) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u724467837|p03602|0
u724467837|p03602|0
codenet
Compile Error
3,026
v2_s116378853
s116378853
s116378853
p03603
p03603
u313111801
u313111801
1,505,623,913
2017-09-17T04:51:53
Main.java
+import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Arrays; import java.util.Scanner; public class Main implements Runnable { public static void main(String[] args) throws FileNotFoundException { new Main().run2(); } long[] f; long INF = Integer.MAX_VALUE / 10; // f[i][0]={w[i],...
Main.java:1: error: class, interface, enum, or record expected +import java.io.FileNotFoundException; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.ArrayList; ^ Main.java:3: error: class, interface, enum, or record expected import java.util.Arrays; ^ Main.java:4: error: class, interf...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u313111801|p03603|0
u313111801|p03603|0
codenet
Compile Error
1,797
v2_s703947503
s703947503
s703947503
p03604
p03604
u313111801
u313111801
1,510,032,640
2017-11-07T05:30:40
Main.java
Fimport java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.InputMismatchException; import java.util.Scanner; public class Main ...
Main.java:1: error: class, interface, enum, or record expected Fimport java.io.ByteArrayInputStream; ^ Main.java:2: error: class, interface, enum, or record expected import java.io.IOException; ^ Main.java:3: error: class, interface, enum, or record expected import java.io.InputStream; ^ Main.java:4: error: class, inte...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u313111801|p03604|2
u313111801|p03604|2
codenet
Compile Error
9,796
v2_s896088839
s896088839
s896088839
p03605
p03605
u073606136
u073606136
1,588,445,868
2020-05-02T18:57:48
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str1 = sc.next(); String[] str2 = str1.split(""); if("9".equals(str2[0]) || "9".(str2[1])){ System.out.println("Yes"); ...
Main.java:8: error: <identifier> expected if("9".equals(str2[0]) || "9".(str2[1])){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p03605|0
u073606136|p03605|0
codenet
Compile Error
400
v2_s919430804
s919430804
s919430804
p03605
p03605
u096881383
u096881383
1,507,843,385
2017-10-12T21:23:05
Solution.java
public class Solution { public static void main(String[] strings) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); String s = n + ""; if (s.indexOf("9") != -1) { System.out.print("Yes"); } else { System.out.print("No"); } ...
Solution.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Solution Solution.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u096881383|p03605|0
u096881383|p03605|0
codenet
Compile Error
328
v2_s378112298
s378112298
s378112298
p03605
p03605
u096881383
u096881383
1,507,843,449
2017-10-12T21:24:09
Main.java
public static void main(String[] strings) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); String s = n + ""; if (s.indexOf("9") != -1) { System.out.print("Yes"); } else { System.out.print("No"); } }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] strings) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u096881383|p03605|0
u096881383|p03605|0
codenet
Compile Error
300
v2_s042515713
s042515713
s042515713
p03605
p03605
u096881383
u096881383
1,507,843,527
2017-10-12T21:25:27
Main.java
class Solution { public static void main(String[] strings) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); String s = n + ""; if (s.indexOf("9") != -1) { System.out.print("Yes"); } else { System.out.print("No"); } } ...
Main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Solution Main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Sol...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u096881383|p03605|0
u096881383|p03605|0
codenet
Compile Error
321
v2_s191625528
s191625528
s191625528
p03605
p03605
u110212173
u110212173
1,552,366,169
2019-03-12T04:49:29
Main.java
public class Main { public static void main(String[] args) { int N ; Scanner sc = new Scanner(System.in); N = sc.nextInt(); boolean contained = isContainedNine(N); System.out.println(contained); } private static boolean isContainedNine(int n) { if ((n >= ...
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
u110212173|p03605|0
u110212173|p03605|0
codenet
Compile Error
723
v2_s066207521
s066207521
s066207521
p03605
p03605
u127137156
u127137156
1,505,394,309
2017-09-14T13:05:09
Main.java
class Main{ public static void main(String args[]){ if(flag){ res="Yes" } else{ res="No" } } }
Main.java:5: error: ';' expected res="Yes" ^ Main.java:8: error: ';' expected res="No" ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u127137156|p03605|0
u127137156|p03605|0
codenet
Compile Error
111
v2_s329094870
s329094870
s329094870
p03605
p03605
u127137156
u127137156
1,505,399,646
2017-09-14T14:34:06
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ String res="No"; Scanner scn=new Scanner(System.in); if(flag){ res="Yes"; } } }
Main.java:8: error: cannot find symbol if(flag){ ^ symbol: variable flag location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u127137156|p03605|0
u127137156|p03605|0
codenet
Compile Error
174
v2_s757235610
s757235610
s757235610
p03605
p03605
u169082197
u169082197
1,505,352,340
2017-09-14T01:25:40
Main.java
public String Main (int N){ if(N < 10 || N > 100) return null; if(Integer.toString(N).contains("9") == true) return "Yes"; else return "No"; }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public String Main (int N){ ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u169082197|p03605|0
u169082197|p03605|0
codenet
Compile Error
223
v2_s492688538
s492688538
s492688538
p03605
p03605
u175072187
u175072187
1,505,005,722
2017-09-10T01:08:42
Main.java
class Main { public static void main(String[] args) throws java.lang.Exception { Scanner in = new Scanner(System.in); String m = in.nextLine(); for (int i = 0; i < m.length(); i++) { char s = m.charAt(i); if (s == '9') { System.out.println("Yes"); ...
Main.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: 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
u175072187|p03605|0
u175072187|p03605|0
codenet
Compile Error
407
v2_s070327664
s070327664
s070327664
p03605
p03605
u218740431
u218740431
1,585,459,846
2020-03-29T05:30:46
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); if(a%b==9 || a/10==9){System.out.println("Yes");} else{System.out.println("No");} } }
Main.java:6: error: cannot find symbol if(a%b==9 || a/10==9){System.out.println("Yes");} ^ symbol: variable b location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03605|0
u218740431|p03605|0
codenet
Compile Error
235
v2_s815491643
s815491643
s815491643
p03605
p03605
u317333738
u317333738
1,574,711,903
2019-11-25T19:58:23
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.nextInt(); String tens = s.substring(0, 1); String ones = s.substring(1, 2); if (tens.equals("9") || ones.equals("9")) { System.out.println("Yes")...
Main.java:6: error: incompatible types: int cannot be converted to String String s = sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u317333738|p03605|0
u317333738|p03605|0
codenet
Compile Error
378
v2_s412693039
s412693039
s412693039
p03605
p03605
u319039941
u319039941
1,590,217,557
2020-05-23T07:05:57
Main.java
import java.util.*; Class Main{ public static void main(String args[]){ Scanner sc = new Scanner(); String n = sc.next(); if (n.contains("9")) { System.out.println("Yes"); } else { System.out.println("No"); } } }
Main.java:3: error: class, interface, enum, or record expected Class Main{ ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. public static void main(String args[]){ ^ (use --enable-preview to enable unnamed classes) Main.java:13: error: class, interface, enum, ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u319039941|p03605|0
u319039941|p03605|0
codenet
Compile Error
250
v2_s686384435
s686384435
s686384435
p03605
p03605
u319039941
u319039941
1,590,217,614
2020-05-23T07:06:54
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(); String n = sc.next(); if (n.contains("9")) { System.out.println("Yes"); } else { System.out.println("No"); } } }
Main.java:5: error: no suitable constructor found for Scanner(no arguments) Scanner sc = new Scanner(); ^ constructor Scanner.Scanner(Readable,Pattern) is not applicable (actual and formal argument lists differ in length) constructor Scanner.Scanner(Readable) is not applicable (...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u319039941|p03605|0
u319039941|p03605|0
codenet
Compile Error
251
v2_s707086797
s707086797
s707086797
p03605
p03605
u454450282
u454450282
1,505,007,844
2017-09-10T01:44:04
Main.java
public static void main(String args[]){ int n = 39; if(n >9 && n<100){ if(n>=90){ System.out.println("OK"); }else{ if(n % 10 >= 9){ System.out.println("OK"); }else{ if(n % 10 <= 8) System.out.println("NO"); } } } } }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String args[]){ ^ (use --enable-preview to enable unnamed classes) Main.java:17: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u454450282|p03605|0
u454450282|p03605|0
codenet
Compile Error
248
v2_s829054456
s829054456
s829054456
p03605
p03605
u454450282
u454450282
1,505,009,992
2017-09-10T02:19:52
Main.java
import java.util.Scanner; public class Main { public static void main(String args[]){ @SuppressWarnings("resource") int n= new Scanner(System.in).nextInt(); if(n >9 && n<100){ if(n>=90){ System.out.println("OK"); }else{ if(n % 10 >= 9){ System.out.println("OK"); }else{ if(n % 10 <= 8) System.o...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u454450282|p03605|0
u454450282|p03605|0
codenet
Compile Error
351
v2_s891612065
s891612065
s891612065
p03605
p03605
u480442172
u480442172
1,505,005,426
2017-09-10T01:03:46
Main.java
import java.util.Scanner; import static java.lang.System.out; public class Main{ public static void main(String []args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); boolean result = false; int ns = N%10;//1 int nt = (N-ns)%10; if(ns == 9){ result = true; ...
Main.java:20: error: ';' expected out.println("No") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u480442172|p03605|0
u480442172|p03605|0
codenet
Compile Error
506
v2_s777345698
s777345698
s777345698
p03605
p03605
u480442172
u480442172
1,505,005,672
2017-09-10T01:07:52
Main.java
import java.util.Scanner; import static java.lang.System.out; public class Main{ public static void main(String []args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); boolean result = false; int ns = N%10;//1 int nt = (N-ns)/10; if(ns == 9){ result = true; ...
Main.java:22: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u480442172|p03605|0
u480442172|p03605|0
codenet
Compile Error
506
v2_s840610937
s840610937
s840610937
p03605
p03605
u483494667
u483494667
1,505,009,957
2017-09-10T02:19:17
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner stdln = new Scanner(System.in); int flag = 0; int[] a = new int a[1]; for(int i = 0;i < a.length;i++){ a[i] = stdln.nextInt(); } for(int i = 0;i < a.length;i++){ if(a[i] = 9) flag = 1; } if(flag = 0)...
Main.java:9: error: '[' expected int[] a = new int a[1]; ^ Main.java:9: error: ']' expected int[] a = new int a[1]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u483494667|p03605|0
u483494667|p03605|0
codenet
Compile Error
395
v2_s154548522
s154548522
s154548522
p03605
p03605
u483494667
u483494667
1,505,010,261
2017-09-10T02:24:21
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner stdln = new Scanner(System.in); int flag = 0; int[] a = new int [1]; for(int i = 0;i < a.length;i++){ a[i] = stdln.nextInt(); } for(int i = 0;i < a.length;i++){ if(a[i] = 9) flag = 1; } if(flag = 0) ...
Main.java:16: error: incompatible types: int cannot be converted to boolean if(a[i] = 9) flag = 1; ^ Main.java:18: error: incompatible types: int cannot be converted to boolean if(flag = 0) System.out.println("No"); ^ Main.java:19: error: incompatible types: int cannot be converted to boolea...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u483494667|p03605|0
u483494667|p03605|0
codenet
Compile Error
394
v2_s653349557
s653349557
s653349557
p03605
p03605
u492223956
u492223956
1,522,434,816
2018-03-30T18:33:36
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.nextInt(); if(s.contains("9")){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
Main.java:5: error: incompatible types: int cannot be converted to String String s = sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u492223956|p03605|0
u492223956|p03605|0
codenet
Compile Error
270
v2_s185980000
s185980000
s185980000
p03605
p03605
u533017901
u533017901
1,560,275,673
2019-06-11T17:54:33
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s=sc.next(); char c[]=s.toCharArray() if(c[0]=='9'||c[1]=='9'){ System.out.println("Yes"); }else{System.out.println("No"); ...
Main.java:8: error: ';' expected char c[]=s.toCharArray() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u533017901|p03605|0
u533017901|p03605|0
codenet
Compile Error
323
v2_s019012215
s019012215
s019012215
p03605
p03605
u579885123
u579885123
1,505,008,769
2017-09-10T01:59: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(); if(n/10 == 9 || n%10 == 9){ System.out.println(Yes); }else{ System.out.println(No); } } }
Main.java:7: error: cannot find symbol System.out.println(Yes); ^ symbol: variable Yes location: class Main Main.java:9: error: cannot find symbol System.out.println(No); ^ symbol: variable No location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579885123|p03605|0
u579885123|p03605|0
codenet
Compile Error
269
v2_s563560422
s563560422
s563560422
p03605
p03605
u583742777
u583742777
1,587,743,993
2020-04-24T15:59:53
Main.java
import java.io.*; class Main{ public static void main(Sttring[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ String str = br.readLine(); int num = Integer.parseInt(str); if( num % 9 ==1){ System.out.println("Yes"); }else{ System.out.print...
Main.java:16: error: <identifier> expected }catch(Exception){ ^ Main.java:16: error: 'catch' without 'try' }catch(Exception){ ^ Main.java:8: error: 'try' without 'catch', 'finally' or resource declarations try{ ^ Main.java:19: error: reached end of file while parsing } ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u583742777|p03605|0
u583742777|p03605|0
codenet
Compile Error
361
v2_s337903391
s337903391
s337903391
p03605
p03605
u583742777
u583742777
1,587,744,093
2020-04-24T16:01:33
Main.java
import java.io.*; class Main{ public static void main(Sttring[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ String str = br.readLine(); int num = Integer.parseInt(str); if( num % 9 ==1){ System.out.println("Yes"); }else{ System.out.prin...
Main.java:16: error: 'catch' without 'try' }catch(Exception e){ ^ Main.java:8: error: 'try' without 'catch', 'finally' or resource declarations try{ ^ Main.java:19: error: reached end of file while parsing } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u583742777|p03605|0
u583742777|p03605|0
codenet
Compile Error
364
v2_s515302535
s515302535
s515302535
p03605
p03605
u587100042
u587100042
1,590,689,839
2020-05-28T18:17:19
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); char[] ch=sc.next().toCharArray(); if(c[0]=='9'||c[1]=='9'){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
Main.java:8: error: cannot find symbol if(c[0]=='9'||c[1]=='9'){ ^ symbol: variable c location: class Main Main.java:8: error: cannot find symbol if(c[0]=='9'||c[1]=='9'){ ^ symbol: variable c location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p03605|0
u587100042|p03605|0
codenet
Compile Error
281
v2_s823157762
s823157762
s823157762
p03605
p03605
u739791911
u739791911
1,553,647,692
2019-03-27T00:48:12
Main.java
import java.io.IOException; public class Main { public static void main(String[] a) throws IOException { System.out.println(new BufferedReader(new InputStreamReader(System.in)).readLine().contains("9")?"Yes":"No"); } }
Main.java:5: error: cannot find symbol System.out.println(new BufferedReader(new InputStreamReader(System.in)).readLine().contains("9")?"Yes":"No"); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol System.out.println(new BufferedReader(new Inp...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u739791911|p03605|0
u739791911|p03605|0
codenet
Compile Error
224
v2_s740986553
s740986553
s740986553
p03605
p03605
u804363744
u804363744
1,505,349,012
2017-09-14T00:30:12
A.java
public class A { public static void main(String[] args) throws IOException { java.io.BufferedReader buf = new java.io.BufferedReader( new java.io.InputStreamReader(System.in)); String input = buf.readLine(); if (input.charAt(0) =='9' || input.charAt(1) == '9') { System.ou...
A.java:5: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class A 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u804363744|p03605|0
u804363744|p03605|0
codenet
Compile Error
389
v2_s686985392
s686985392
s686985392
p03605
p03605
u806768852
u806768852
1,576,514,162
2019-12-16T16:36:02
Main.java
import java.util.*; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String a = sc.next(); String ans = "No"; for(int i = 0;i < a.length();i++){ if(a.sustring(i,++i).equals("9")){ ans = "Yes"; } } System.out.println(ans); } }
Main.java:10: error: cannot find symbol if(a.sustring(i,++i).equals("9")){ ^ symbol: method sustring(int,int) location: variable a of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u806768852|p03605|0
u806768852|p03605|0
codenet
Compile Error
277
v2_s448785778
s448785778
s448785778
p03605
p03605
u810341133
u810341133
1,505,005,737
2017-09-10T01:08:57
Main01.java
import java.util.*; public class Main01 { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int a = sc.nextInt(); if(if a == 9 || a == 19 || a == 29 || a == 39 || a == 49 || a == 59 || a == 69 || a == 79 || a == 89 || a == 90 || a == 91 || a == 92 || a == 93 || a == 94 || a ...
Main01.java:7: error: illegal start of expression if(if a == 9 || a == 19 || a == 29 || a == 39 || a == 49 || a == 59 || a == 69 || a == 79 || a == 89 || a == 90 || a == 91 || a == 92 || a == 93 || a == 94 || a == 95 ||a == 96 || a == 97 || a == 98 || a == 99){ ^ Main01.java:7: error: '(' expected if(if a == 9...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u810341133|p03605|0
u810341133|p03605|0
codenet
Compile Error
458
v2_s594184506
s594184506
s594184506
p03605
p03605
u891161439
u891161439
1,521,603,340
2018-03-21T03:35:40
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String N = sc.next(); if(N.charAt(0) == '9' || N.charAt(1) == '9') System.out.println(Yes); else System.out.println(No); } }
Main.java:7: error: cannot find symbol System.out.println(Yes); ^ symbol: variable Yes location: class Main Main.java:8: error: cannot find symbol else System.out.println(No); ^ symbol: variable No location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u891161439|p03605|0
u891161439|p03605|0
codenet
Compile Error
250
v2_s855597758
s855597758
s855597758
p03605
p03605
u936066246
u936066246
1,575,350,947
2019-12-03T05:29: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(); if(N%10==9 || n/10==9){ System.out.println("Yes"); } else{ System.out.println("No"); } } }
Main.java:9: error: cannot find symbol if(N%10==9 || n/10==9){ ^ symbol: variable n location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u936066246|p03605|0
u936066246|p03605|0
codenet
Compile Error
251
v2_s850316385
s850316385
s850316385
p03605
p03605
u964623614
u964623614
1,505,012,053
2017-09-10T02:54:13
Main.java
read h f=$(echo $h|awk '/9/') if [ "$f" ] then echo Yes else echo No fi
Main.java:1: error: class, interface, enum, or record expected read h ^ Main.java:2: error: unclosed character literal f=$(echo $h|awk '/9/') ^ Main.java:2: error: unclosed character literal f=$(echo $h|awk '/9/') ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964623614|p03605|0
u964623614|p03605|0
codenet
Compile Error
107
v2_s625540461
s625540461
s625540461
p03605
p03605
u978913880
u978913880
1,598,155,294
2020-08-23T04:01:34
Main.java
#include <bits/stdc++.h> using namespace std; int main(){ int N ; cin >> N; if(N / 10 == 9 || N % 10 == 9){ cout << "Yes" << endl; }else{ cout << "No" << 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 >> N; ^ Main.java:9: error: not a statement cout << "Yes" << endl; ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978913880|p03605|0
u978913880|p03605|0
codenet
Compile Error
201
v2_s520123781
s520123781
s520123781
p03606
p03606
u073606136
u073606136
1,588,609,844
2020-05-04T16:30:44
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 count = 0; for(int i = 0; i < N; i++){ int j = sc.nextInt(); int k = sc.nextInt(); ...
Main.java:12: error: ';' expected count += l ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p03606|0
u073606136|p03606|0
codenet
Compile Error
433
v2_s704786918
s704786918
s704786918
p03606
p03606
u123503119
u123503119
1,589,067,723
2020-05-09T23:42:03
Main.java
class Main{ public static void main(String[] args){ int n; int l,r; int ans = 0; Scanner sc = new Scanner(System.in); n = sc.nextInt(); for(int i=0;i<n;i++){ l = sc.nextInt(); r = sc.nextInt(); ans += r - l + 1; } System.out.println(ans); } }
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
u123503119|p03606|0
u123503119|p03606|0
codenet
Compile Error
296
v2_s629954907
s629954907
s629954907
p03606
p03606
u434662823
u434662823
1,540,864,810
2018-10-30T02:00:10
Main.java
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; vector<int> l(n), r(n); int ans = 0; for(int i = 0; i < n; i++){ cin >> l[i] >> r[i]; ans += r[i] - l[i] + 1; } cout << ans << 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:5: error: not a statement cin >> n; ^ Main.java:7: error: not a statement vector<int> l(n), r(n); ^ Main.ja...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u434662823|p03606|0
u434662823|p03606|0
codenet
Compile Error
255
v2_s804100560
s804100560
s804100560
p03606
p03606
u547167033
u547167033
1,566,324,931
2019-08-20T18:15:31
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[] l = new int(n); int[] r = new int(n); int sum = 0; for(int i = 0;i < n;i++){ l[i] = sc.nextInt(); r[i] = sc.nextInt(); sum...
Main.java:6: error: '[' expected int[] l = new int(n); ^ Main.java:6: error: ']' expected int[] l = new int(n); ^ Main.java:7: error: '[' expected int[] r = new int(n); ^ Main.java:7: error: ']' expected int[] r = new int(n)...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03606|0
u547167033|p03606|0
codenet
Compile Error
383
v2_s835787169
s835787169
s835787169
p03606
p03606
u803314854
u803314854
1,551,416,190
2019-03-01T04:56:30
Main.java
import java.util.*; public class Main{public static void main(String[]args){ Scanner sc=new Scanner(System.in); int a=sc.nextInt(),ans=a; for(int i=0;i<a;i++){ a=-sc.nextInt()+sc.nextInt(); } System.out.println(ans) }}
Main.java:8: error: ';' expected System.out.println(ans) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p03606|0
u803314854|p03606|0
codenet
Compile Error
229
v2_s976986204
s976986204
s976986204
p03607
p03607
u024824950
u024824950
1,556,156,054
2019-04-25T01:34:14
Main.java
import java.util.*; //System.out.println("") public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int cnt = 0; Long[] a = new Long[n]; for(int i=0; i<n; i++){ Long b = sc.nextLong(); a[b...
Main.java:12: error: incompatible types: Long cannot be converted to int a[b] = a[b] + 1; ^ Main.java:12: error: incompatible types: Long cannot be converted to int a[b] = a[b] + 1; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03607|0
u024824950|p03607|0
codenet
Compile Error
510
v2_s474412293
s474412293
s474412293
p03607
p03607
u024824950
u024824950
1,556,156,237
2019-04-25T01:37:17
Main.java
import java.util.*; //System.out.println("") public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); Long n = sc.nextLong(); Long cnt = 0; Long[] a = new Long[n]; for(Long i=0; i<n; i++){ Long b = sc.nextLong(); ...
Main.java:8: error: incompatible types: int cannot be converted to Long Long cnt = 0; ^ Main.java:9: error: incompatible types: Long cannot be converted to int Long[] a = new Long[n]; ^ Main.java:10: error: incompatible types: int cannot be converted to Lon...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03607|0
u024824950|p03607|0
codenet
Compile Error
515
v2_s535283975
s535283975
s535283975
p03607
p03607
u026223519
u026223519
1,505,008,939
2017-09-10T02:02:19
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int[] a; a = new int[10001]; for(int s = 0; s < 10000; s++) a[s] = 0; int tmp; int count = 0; for(int i = 0; i < num; i++){ ...
Main.java:13: error: not a statement if(tmp > 10000) tmp / 10000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u026223519|p03607|0
u026223519|p03607|0
codenet
Compile Error
524
v2_s572681423
s572681423
s572681423
p03607
p03607
u026223519
u026223519
1,505,009,377
2017-09-10T02:09:37
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int[] a; a = new int[10001]; b = new int[10001]; for(int s = 0; s < 10000; s++){ a[s] = 0; b[s] = 0; } int tmp; int count = ...
Main.java:8: error: cannot find symbol b = new int[10001]; ^ symbol: variable b location: class Main Main.java:11: error: cannot find symbol b[s] = 0; ^ symbol: variable b location: class Main Main.java:21: error: cannot find symbol b[tmp] = (b[tmp] + 1) % 2; ^ symbol: variable b lo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u026223519|p03607|0
u026223519|p03607|0
codenet
Compile Error
651
v2_s553436934
s553436934
s553436934
p03607
p03607
u046482892
u046482892
1,569,540,174
2019-09-26T23:22:54
Main.java
#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; map<int, int> map; for (int i = 0; i < N; i++) { int A; cin >> A; map[A]++; } int count = 0; for (auto i: map) { if (i.second % 2 != 0) { count++; } } cout << count << 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:7: error: not a statement cin >> N; ^ Main.java:13: error: not a statement cin >> A; ^ Main.java:25: error: not a stateme...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u046482892|p03607|1
u046482892|p03607|1
codenet
Compile Error
303
v2_s784101275
s784101275
s784101275
p03607
p03607
u169082197
u169082197
1,505,359,237
2017-09-14T03:20:37
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.nextLine()); String str = ""; ArrayList<Integer> ar = new ArrayList<Integer>(); else{ for(int i = 0; i < N;i...
Main.java:10: error: 'else' without 'if' else{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u169082197|p03607|0
u169082197|p03607|0
codenet
Compile Error
689
v2_s242777263
s242777263
s242777263
p03607
p03607
u218740431
u218740431
1,585,456,899
2020-03-29T04:41:39
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 [] in = new int [1000000000]; int b = 0; int c; for(int i=0;i<a;i++){c = sc.nextInt(); in[c-1]++; ...
Main.java:11: error: unexpected type if(in[c-1]%2=1){b++;} ^ required: variable found: value 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03607|0
u218740431|p03607|0
codenet
Compile Error
453
v2_s992779311
s992779311
s992779311
p03607
p03607
u247765076
u247765076
1,569,521,659
2019-09-26T18:14:19
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int amount_number = sc.nextInt(); int count = 0; ArrayList<Integer> array_number = new ArrayList<>(); for (int i =0; i < amount_number; i++) { int input_number = sc.nextInt(); array_number.add(input_numb...
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:8: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u247765076|p03607|0
u247765076|p03607|0
codenet
Compile Error
550
v2_s501500420
s501500420
s501500420
p03607
p03607
u265628533
u265628533
1,505,008,470
2017-09-10T01:54:30
Main.java
#include<cstdio> #include<iomanip> #include<cmath> #include<cstring> #include<algorithm> #include<iostream> using namespace std; const int MAXN=1e5+10; int a[MAXN]; int main() { int n; scanf("%d",&n); int sum=n; for(int i=1;i<=n;i++) scanf("%d",&a[i]); /* for(int i=1;i<n;i++){ for(int j=i+1;j<=n;j++){ if (a...
Main.java:1: error: illegal character: '#' #include<cstdio> ^ Main.java:2: error: illegal character: '#' #include<iomanip> ^ Main.java:3: error: illegal character: '#' #include<cmath> ^ Main.java:4: error: illegal character: '#' #include<cstring> ^ Main.java:5: error: illegal character: '#' #include<algorithm> ^ Main.j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u265628533|p03607|0
u265628533|p03607|0
codenet
Compile Error
474
v2_s418596835
s418596835
s418596835
p03607
p03607
u306154131
u306154131
1,520,024,554
2018-03-02T21:02:34
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { ArrayList<Integer> list =new ArrayList<Integer>(); Scanner sc = new Scanner(System.in); C_73 c_73 =new C_73(); int N = sc.nextInt(); int num; for(int i=0;i<N;i++) { num = sc.nextInt(); ...
Main.java:8: error: cannot find symbol C_73 c_73 =new C_73(); ^ symbol: class C_73 location: class Main Main.java:8: error: cannot find symbol C_73 c_73 =new C_73(); ^ symbol: class C_73 location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u306154131|p03607|0
u306154131|p03607|0
codenet
Compile Error
762
v2_s222245760
s222245760
s222245760
p03607
p03607
u353919145
u353919145
1,562,265,273
2019-07-04T18:34:33
Main.java
#include <stdio.h> #include <algorithm> using namespace std; int a[100000]; int main(){ int N,temp,c=0; fill(a,a+100000,0); scanf("%d%*c",&N); while(N--){ scanf("%d%*c",&temp); a[temp]+=1; } for(int i=0;i<100000;i++){ if(a[i]%2==1){ c++; } } printf("%d",c); return 0; }
Main.java:1: error: illegal character: '#' #include <stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <stdio.h> ^ Main.java:2: error: illegal character: '#' #include <algorithm> ^ Main.java:4: error: class, interface, enum, or record expected int a[100000]; ^ Main.java:5: erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u353919145|p03607|2
u353919145|p03607|1
codenet
Compile Error
290
v2_s655633111
s655633111
s655633111
p03607
p03607
u450832845
u450832845
1,505,005,775
2017-09-10T01:09:35
Main.java
import java.util.Scanner; public class Main { Scanner scanner = new Scanner(System.in); public static void main(String[] args) { new Main().compute(); } void compute() { int N = scanner.nextInt(); ArrayList<Integer> used = new ArrayList<>(); for (int i = 0; i < N; i++...
Main.java:13: error: cannot find symbol ArrayList<Integer> used = new ArrayList<>(); ^ symbol: class ArrayList location: class Main Main.java:13: error: cannot find symbol ArrayList<Integer> used = new ArrayList<>(); ^ symbol: class ArrayList loc...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u450832845|p03607|0
u450832845|p03607|0
codenet
Compile Error
587
v2_s935238633
s935238633
s935238633
p03607
p03607
u474492589
u474492589
1,566,940,552
2019-08-27T21:15:52
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); Map<Integer, Integer> map = new HashMap<>(); for(int i = 0; i < N; i++){ int N = sc.nextInt(); if(map.containsKey(N)) map.put(N, map...
Main.java:9: error: cannot find symbol for(int i = 0; i < N; i++){ ^ symbol: variable N location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u474492589|p03607|0
u474492589|p03607|0
codenet
Compile Error
597
v2_s104584601
s104584601
s104584601
p03607
p03607
u487433273
u487433273
1,579,120,916
2020-01-15T20:41:56
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int a = new int[N]; for(int i=0;i<N;i++) a[i] = sc.nextInt(); Arrays.sort(a); int ans=0; int count =1; int tmp = a[0]; for(int i=1;i<N;i++) { if(t...
Main.java:23: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p03607|0
u487433273|p03607|0
codenet
Compile Error
444
v2_s001031586
s001031586
s001031586
p03607
p03607
u487433273
u487433273
1,579,120,940
2020-01-15T20:42:20
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int a = new int[N]; for(int i=0;i<N;i++) a[i] = sc.nextInt(); Arrays.sort(a); int ans=0; int count =1; int tmp = a[0]; for(int i=1;i<N;i++) { if(t...
Main.java:6: error: incompatible types: int[] cannot be converted to int int a = new int[N]; ^ Main.java:7: error: array required, but int found for(int i=0;i<N;i++) a[i] = sc.nextInt(); ^ Main.java:8: error: no suitable method found for sort(int) Arrays.sort(a); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p03607|0
u487433273|p03607|0
codenet
Compile Error
446
v2_s761370610
s761370610
s761370610
p03607
p03607
u487433273
u487433273
1,579,120,996
2020-01-15T20:43:16
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] a = new int[N]; for(int i=0;i<N;i++) a[i] = sc.nextInt(); Arrays.sort(a); int ans=0; int count =1; int tmp = a[0]; for(int i=1;i<N;i++) { if...
Main.java:23: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p03607|0
u487433273|p03607|0
codenet
Compile Error
447
v2_s885444035
s885444035
s885444035
p03607
p03607
u547167033
u547167033
1,567,182,779
2019-08-30T16:32:59
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); Set<Integer> set = new HashSet<Inetger>(); int n = sc.nextInt(); for(int i = 0;i < n;i++){ int a = sc.nextInt(); if(set.contains(a))set.remove(a); else set.a...
Main.java:5: error: cannot find symbol Set<Integer> set = new HashSet<Inetger>(); ^ symbol: class Inetger location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03607|0
u547167033|p03607|0
codenet
Compile Error
380
v2_s118544223
s118544223
s118544223
p03607
p03607
u651496869
u651496869
1,537,563,172
2018-09-21T20:52:52
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long box = new long(1000000000); int count = 0; for (int i = 0 ; i < n; i ++) { box[sc.nextLong()]++; if(box[sc.nextLong()] % 2 != 0) {...
Main.java:7: error: '[' expected long box = new long(1000000000); ^ Main.java:7: error: ']' expected long box = new long(1000000000); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u651496869|p03607|0
u651496869|p03607|0
codenet
Compile Error
432
v2_s734930336
s734930336
s734930336
p03607
p03607
u762160119
u762160119
1,556,919,578
2019-05-03T21:39:38
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); HashSet<Long> set = new HashSet<Long>(); int N = Integer.parseInt(sc.next()); for(int i = 0; i<N; i++) { long num = Long.parseLong(sc.next()); if(set.contains()) { set.remove(num); ...
Main.java:9: error: method contains in class HashSet<E> cannot be applied to given types; if(set.contains()) { ^ required: Object found: no arguments reason: actual and formal argument lists differ in length where E is a type-variable: E extends Object declared in class HashSet 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u762160119|p03607|0
u762160119|p03607|0
codenet
Compile Error
419
v2_s763226520
s763226520
s763226520
p03607
p03607
u816097281
u816097281
1,564,164,390
2019-07-26T18:06:30
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); HashMap<Integer, Integer> map = new HashMap<Integer, Integer>(); for(int i=0;i<n;i++...
Main.java:11: error: : expected map.put(num, map.containsKey(num)?map.get(num)+1, 1); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816097281|p03607|0
u816097281|p03607|0
codenet
Compile Error
595
v2_s248713327
s248713327
s248713327
p03607
p03607
u841902020
u841902020
1,505,332,013
2017-09-13T19:46:53
Main.java
public class Main { public static void main(String[] args) { //最後の数値計算 int answer = 0; //入力部 Scanner sc = new Scanner(System.in); int roopTimes = Integer.parseInt(sc.nextLine()); ArrayList<String> inputAllNumbers = new ArrayList<>(); HashSet<String> checkNum...
Main.java:35: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u841902020|p03607|0
u841902020|p03607|0
codenet
Compile Error
1,431
v2_s395583655
s395583655
s395583655
p03607
p03607
u841902020
u841902020
1,505,335,048
2017-09-13T20:37:28
Main.java
public class Main { public static void main(String[] args) { //最後の数値計算 int answer = 0; //入力部 Scanner sc = new Scanner(System.in); int roopTimes = Integer.parseInt(sc.nextLine()); int[] inputAllNumbers = new int[roopTimes + 1];//オーバーラン防止 for (int i = 0; i < r...
Main.java:7: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:7: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:24: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u841902020|p03607|0
u841902020|p03607|0
codenet
Compile Error
1,573
v2_s174738471
s174738471
s174738471
p03607
p03607
u860316098
u860316098
1,505,009,207
2017-09-10T02:06:47
Main.java
3import java.util.Scanner; import java.util.HashMap; public class Main { public static void main(String args[]){ Scanner in=new Scanner(System.in); HashMap<Integer,Integer> map =new HashMap<Integer,Integer>(); int counter = 0; int n=in.nextInt(); int tmp=0; int ans=0; for (int i=0;i<n;i++) { ...
Main.java:1: error: class, interface, enum, or record expected 3import java.util.Scanner; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.HashMap; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860316098|p03607|0
u860316098|p03607|0
codenet
Compile Error
468
v2_s599234381
s599234381
s599234381
p03607
p03607
u863370423
u863370423
1,578,007,599
2020-01-02T23:26:39
Main.java
#include <stdio.h> #include <iostream> #include <algorithm> using namespace std; int a[100005]; int main() { int n,k=0; scanf("%d",&n); for(int i=0;i<n;i++) { scanf("%d",&a[i]); } sort(a,a+n); for(int i=0;i<n; ) { if(a[i]==a[i+1]) i=i+2; else { ...
Main.java:1: error: illegal character: '#' #include <stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <stdio.h> ^ Main.java:2: error: illegal character: '#' #include <iostream> ^ Main.java:3: error: illegal character: '#' #include <algorithm> ^ Main.java:5: error: class, inter...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03607|2
u863370423|p03607|2
codenet
Compile Error
405
v2_s990089329
s990089329
s990089329
p03607
p03607
u891161439
u891161439
1,522,436,186
2018-03-30T18:56:26
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N = sc.nextLong(); Set<Integer> s = new HashSet<Integer>(); for(long i = 0;i < N;i++){ long temp = sc.nextLong(); if(s.contains(temp))s.remove(temp); else s.add(temp); } Syste...
Main.java:10: error: incompatible types: long cannot be converted to Integer else s.add(temp); ^ 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
u891161439|p03607|0
u891161439|p03607|0
codenet
Compile Error
347
v2_s549996468
s549996468
s549996468
p03607
p03607
u941274418
u941274418
1,583,565,708
2020-03-07T07:21:48
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); Set<Integer> nums = new HashSet<>(); for(int i = 0; i < n; i++) { int n = sc.nextInt(); if(nums.contains(n)) nums.remove(n); ...
Main.java:9: error: variable n is already defined in method main(String[]) int n = sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u941274418|p03607|0
u941274418|p03607|0
codenet
Compile Error
405
v2_s565420731
s565420731
s565420731
p03607
p03607
u987195232
u987195232
1,505,008,256
2017-09-10T01:50:56
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Scanner; import org.apache.commons.collections.map.HashedMap; /** * お遊び * * @author s-sugimoto */ public class Main { /** * 隠蔽 */ private Main() { } /** * main * * @param args 起動引数 */ public static void ma...
Main.java:6: error: package org.apache.commons.collections.map does not exist import org.apache.commons.collections.map.HashedMap; ^ Main.java:30: error: cannot find symbol Map<Integer, Boolean> resultMap = new HashedMap(); ^ symbol: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u987195232|p03607|0
u987195232|p03607|0
codenet
Compile Error
887
v2_s321661803
s321661803
s321661803
p03607
p03607
u987195232
u987195232
1,505,008,354
2017-09-10T01:52:34
WriteAndErase.java
import java.util.Map; import java.util.Scanner; import org.apache.commons.collections.map.HashedMap; /** * 遊び * * @author s-sugimoto */ public class WriteAndErase { /** * コンストラクタ */ private WriteAndErase() { } /** * main * * @param args 起動引数 */ public static void main(String[] args) { Scanner...
WriteAndErase.java:4: error: package org.apache.commons.collections.map does not exist import org.apache.commons.collections.map.HashedMap; ^ WriteAndErase.java:28: error: cannot find symbol Map<Integer, Boolean> resultMap = new HashedMap(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u987195232|p03607|0
u987195232|p03607|0
codenet
Compile Error
866
v2_s076572334
s076572334
s076572334
p03608
p03608
u136427605
u136427605
1,563,550,007
2019-07-19T15:26:47
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n=sc.nextInt(); int m=sc.nextInt(); int r=sc.nextInt(); int[] tovisit=new int[r]; for(int i=0;i<r;i++){ tovisit[i]=sc.nextInt(); ...
Main.java:22: error: ';' expected for(int i=0;i,m;i++){ ^ Main.java:22: error: not a statement for(int i=0;i,m;i++){ ^ Main.java:22: error: ')' expected for(int i=0;i,m;i++){ ^ Main.java:22: error: ';' expected for(int i=0...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u136427605|p03608|0
u136427605|p03608|0
codenet
Compile Error
955
v2_s380081630
s380081630
s380081630
p03608
p03608
u173574510
u173574510
1,583,593,805
2020-03-07T15:10:05
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.PriorityQueue; import java.util.Queue; import java.util.StringTokenizer; //S...
Main.java:44: error: cannot find symbol PermutationWarshallFloyd<Integer> p = new PermutationWarshallFloyd<>(travels); ^ symbol: class PermutationWarshallFloyd location: class Main Main.java:44: error: cannot find symbol PermutationWarshallFloyd<Integer> p = new PermutationWarshallFloyd<>(travels); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u173574510|p03608|1
u173574510|p03608|1
codenet
Compile Error
6,983
v2_s493364415
s493364415
s493364415
p03608
p03608
u217010036
u217010036
1,561,182,702
2019-06-22T05:51:42
Main.java
import java.io.*; import java.util.*; import static java.lang.Math.*; public class Main { static StringTokenizer st; public static void main(String[] args) { new ABC073D2().solve(); } private void solve() { try(BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); PrintWrit...
Main.java:8: error: cannot find symbol new ABC073D2().solve(); ^ symbol: class ABC073D2 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u217010036|p03608|0
u217010036|p03608|0
codenet
Compile Error
3,125
v2_s941126429
s941126429
s941126429
p03608
p03608
u217010036
u217010036
1,561,194,038
2019-06-22T09:00:38
Main.java
import java.io.*; import java.util.*; import static java.lang.Math.*; public class Main { public static void main(String[] args) { new Main().solve(); } private void solve() { try(InputReader in = InputReader(System.in); PrintWriter out = new PrintWriter(System.out)) { int n = in.nextInt(...
Main.java:11: error: cannot find symbol try(InputReader in = InputReader(System.in); ^ symbol: method InputReader(InputStream) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u217010036|p03608|1
u217010036|p03608|0
codenet
Compile Error
3,206
v2_s896160438
s896160438
s896160438
p03608
p03608
u288042356
u288042356
1,574,979,685
2019-11-28T22:21:25
Main.java
package contest; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.Scanner; public class Main { public static void main(final String args[]) { Scanner sc = new Scanner(System.in); PrintWriter out = new PrintWriter(System.out); int N = Integer.parseInt(sc.next())...
Main.java:56: error: class edge is public, should be declared in a file named edge.java public class edge { ^ Main.java:25: error: cannot find symbol city.add(Integer.parseInt(sc.next())); ^ symbol: variable city location: class Main Main.java:31: error: cannot find symbol edge[i] = new edge(a,b,c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p03608|0
u288042356|p03608|0
codenet
Compile Error
1,382
v2_s673738272
s673738272
s673738272
p03608
p03608
u288042356
u288042356
1,574,979,772
2019-11-28T22:22:52
Main.java
package contest; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.Scanner; public class Main { public static void main(final String args[]) { Scanner sc = new Scanner(System.in); PrintWriter out = new PrintWriter(System.out); int N = Integer.parseInt(sc.next())...
Main.java:56: error: class edge is public, should be declared in a file named edge.java public class edge { ^ Main.java:31: error: cannot find symbol edge[i] = new edge(a,b,c); ^ symbol: variable edge location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p03608|0
u288042356|p03608|0
codenet
Compile Error
1,384
v2_s252228030
s252228030
s252228030
p03608
p03608
u288042356
u288042356
1,574,979,859
2019-11-28T22:24:19
Main.java
package contest; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.Scanner; public class Main { public static void main(final String args[]) { Scanner sc = new Scanner(System.in); PrintWriter out = new PrintWriter(System.out); int N = Integer.parseInt(sc.next())...
Main.java:31: error: cannot find symbol edge[i] = new edge(a,b,c); ^ symbol: variable edge location: class Main Main.java:31: error: non-static variable this cannot be referenced from a static context edge[i] = new edge(a,b,c); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p03608|0
u288042356|p03608|0
codenet
Compile Error
1,385
v2_s283319430
s283319430
s283319430
p03608
p03608
u288042356
u288042356
1,574,979,891
2019-11-28T22:24:51
Main.java
package contest; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.Scanner; public class Main { public static void main(final String args[]) { Scanner sc = new Scanner(System.in); PrintWriter out = new PrintWriter(System.out); int N = Integer.parseInt(sc.next())...
Main.java:60: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p03608|0
u288042356|p03608|0
codenet
Compile Error
1,375
v2_s925289314
s925289314
s925289314
p03608
p03608
u288042356
u288042356
1,574,979,991
2019-11-28T22:26:31
Main.java
package contest; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.Scanner; public class Main { public static void main(final String args[]) { Scanner sc = new Scanner(System.in); PrintWriter out = new PrintWriter(System.out); int N = Integer.parseInt(sc.next())...
Main.java:31: error: cannot find symbol edge[i] = new edge(a,b,c); ^ symbol: variable edge location: class Main Main.java:31: error: non-static variable this cannot be referenced from a static context edge[i] = new edge(a,b,c); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p03608|0
u288042356|p03608|0
codenet
Compile Error
1,378
v2_s422698635
s422698635
s422698635
p03608
p03608
u288042356
u288042356
1,574,984,648
2019-11-28T23:44:08
Main.java
import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.Scanner; public class Main { public static void main(final String args[]) { Scanner sc = new Scanner(System.in); PrintWriter out = new PrintWriter(System.out); int N = Integer.parseInt(sc.next()); int M = Integ...
Main.java:30: error: cannot find symbol edge[i] = new edge(a,b,c); ^ symbol: variable edge location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p03608|0
u288042356|p03608|0
codenet
Compile Error
1,361
v2_s993159968
s993159968
s993159968
p03608
p03608
u288042356
u288042356
1,575,577,283
2019-12-05T20:21:23
Main.java
import java.io.PrintWriter; import java.util.ArrayList; import java.util.Scanner; public class Main { static ArrayList<Integer> cities = new ArrayList<>(); static int N,M,R; static int dist[][]; static boolean used[]; static int result; public static void main(String args[]) { Scanner sc = new Scanner(System....
Main.java:47: error: method search in class Main cannot be applied to given types; result = Math.min(result, search(st,cities,0)); ^ required: int,ArrayList<Integer> found: int,ArrayList<Integer>,int reason: actual and formal argument lists differ in length 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p03608|2
u288042356|p03608|2
codenet
Compile Error
1,691
v2_s000004698
s000004698
s000004698
p03608
p03608
u504228740
u504228740
1,549,406,324
2019-02-05T22:38:44
Main.java
import java.util.Scanner; public class Main{ static int[][] t; static int[] r1; static long ans; static boolean[] used; static int R; public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); R = sc.nextInt(); used=new boolean[R]; ans=Inte...
Main.java:23: error: integer number too large t[i][j]=19900000001 ^ Main.java:23: error: ';' expected t[i][j]=19900000001 ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u504228740|p03608|0
u504228740|p03608|0
codenet
Compile Error
1,188