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_s563124786
s563124786
s563124786
p01138
p01138
u693762292
u693762292
1,421,096,861
2015-01-12T21:07:41
Main.java
import java.io.*; import java.math.*; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.lang.ArrayIndexOutOfBoundsException; import topcoder.SRM645.*; /** * @author yoshikyoto */ class Main extends MyUtil{ // public static ArrayList<ArrayList<Integer>> g; // public st...
Main.java:8: error: package topcoder.SRM645 does not exist import topcoder.SRM645.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u693762292|p01138|0
u693762292|p01138|0
codenet
Compile Error
11,914
v2_s928598664
s928598664
s928598664
p01139
p01139
u197786702
u197786702
1,361,253,773
2013-02-19T06:02:53
Main.java
import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); while (true) { final int w = sc.nextInt(); final int h = sc.nextInt(); if (w == 0 && h == 0) { break; } int[][] map = ne...
Main.java:253: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u197786702|p01139|0
u197786702|p01139|0
codenet
Compile Error
6,459
v2_s314729161
s314729161
s314729161
p01139
p01139
u211138527
u211138527
1,457,270,862
2016-03-06T13:27:42
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.Bi...
Main.java:50: error: illegal start of type public static void bfs(int x,int y,int m,){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01139|0
u211138527|p01139|0
codenet
Compile Error
3,887
v2_s695404292
s695404292
s695404292
p01139
p01139
u211138527
u211138527
1,457,271,040
2016-03-06T13:30:40
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.Bi...
Main.java:42: error: ';' expected static int w,h ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01139|0
u211138527|p01139|0
codenet
Compile Error
3,838
v2_s157590469
s157590469
s157590469
p01139
p01139
u211138527
u211138527
1,457,271,529
2016-03-06T13:38:49
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.Bi...
Main.java:54: error: method in in class Main cannot be applied to given types; if(!in(nx,ny,h,w)) continue; ^ required: int,int found: int,int,int,int reason: actual and formal argument lists differ in length Main.java:63: error: method in in class Main cannot be applied to given types; if(!in(nx,ny...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01139|0
u211138527|p01139|0
codenet
Compile Error
3,839
v2_s022178567
s022178567
s022178567
p01139
p01139
u211138527
u211138527
1,457,272,995
2016-03-06T14:03:15
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.Bi...
Main.java:45: error: illegal start of expression static final int[] dd=new int[]{0,-1,0,1}; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01139|0
u211138527|p01139|0
codenet
Compile Error
3,706
v2_s876890316
s876890316
s876890316
p01139
p01139
u211138527
u211138527
1,457,273,252
2016-03-06T14:07:32
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.Bi...
Main.java:28: error: variable i is already defined in method solve() for(int i=0;i<4;i++){ ^ Main.java:29: error: cannot find symbol int nx=x+dd[i],ny=y+dd[i^1]; ^ symbol: variable x location: class Main Main.java:29: error: cannot find symbol int nx=x+dd[i],ny=y+dd[i^1]...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01139|0
u211138527|p01139|0
codenet
Compile Error
3,719
v2_s123123676
s123123676
s123123676
p01139
p01139
u211138527
u211138527
1,457,273,308
2016-03-06T14:08:28
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.Bi...
Main.java:29: error: cannot find symbol int nx=x+dd[k],ny=y+dd[k^1]; ^ symbol: variable x location: class Main Main.java:29: error: cannot find symbol int nx=x+dd[k],ny=y+dd[k^1]; ^ symbol: variable y location: class Main Main.java:31: error: cannot find symb...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01139|0
u211138527|p01139|0
codenet
Compile Error
3,719
v2_s611821816
s611821816
s611821816
p01139
p01139
u211138527
u211138527
1,457,274,578
2016-03-06T14:29:38
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.Bi...
Main.java:28: error: method dfs in class Main cannot be applied to given types; int ret=dfs(i,j); ^ required: int,int,int found: int,int reason: actual and formal argument lists differ in length Main.java:29: error: cannot find symbol if(ret==1) bl++; ^ symbol: variab...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01139|0
u211138527|p01139|0
codenet
Compile Error
3,587
v2_s232252975
s232252975
s232252975
p01139
p01139
u288812249
u288812249
1,418,359,935
2014-12-12T04:52:15
Main.java
import java.util.Scanner; public class Main{ int nx; int ny; int[] dx = {0,-1,0,1}; int[] dy = {1,0,-1,0}; char[][] map; boolean flagW ; boolean flagB ; int res = 0; void dfs(int y, int x){ int sx; int sy; map[y][x] = 'X'; for(int i=0; i<4; i++){ sy = y + dy[i]; sx = x + dx[i]; if(sx < 0...
Main.java:86: error: cannot find symbol new A3().run(); ^ symbol: class A3 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288812249|p01139|0
u288812249|p01139|0
codenet
Compile Error
1,254
v2_s115420429
s115420429
s115420429
p01139
p01139
u435518193
u435518193
1,363,889,417
2013-03-21T18:10:17
Main.java
import java.util.*; public class Main { int w, h, count, cb, cw; int[][] map; boolean black, white; public void func(){ for(int i=0;i<h;i++){ for(int j=0;j<w;j++){ if(map[i][j]==0){ count = 0; black = true; white = true; loop(i, j); if(black==false && white==true){ cb += ...
Main.java:48: error: cannot find symbol AOJ_2014 A = new AOJ_2014(); ^ symbol: class AOJ_2014 location: class Main Main.java:48: error: cannot find symbol AOJ_2014 A = new AOJ_2014(); ^ symbol: class AOJ_2014 location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u435518193|p01139|0
u435518193|p01139|0
codenet
Compile Error
1,201
v2_s526172728
s526172728
s526172728
p01140
p01140
u261561433
u261561433
1,431,939,853
2015-05-18T09:04:13
Main.java
#include <algorithm> #include <cmath> #include <climits> #include <cstdio> #include <cstdlib> #include <cstring> #include <fstream> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <vector> #include <cassert> #include <func...
Main.java:1: error: illegal character: '#' #include <algorithm> ^ Main.java:2: error: illegal character: '#' #include <cmath> ^ Main.java:3: error: illegal character: '#' #include <climits> ^ Main.java:4: error: illegal character: '#' #include <cstdio> ^ Main.java:5: error: illegal character: '#' #include <cstdlib> ^ M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u261561433|p01140|0
u261561433|p01140|0
codenet
Compile Error
1,634
v2_s238592924
s238592924
s238592924
p01140
p01140
u399118522
u399118522
1,369,240,786
2013-05-22T16:39:46
Main.java
import java.util.HashMap; import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n, m; while ((n = in.nextInt()) != 0 & (m = in.nextInt()) != 0) { HashMap<Integer, Integer> hmap = new Hash...
Main.java:42: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p01140|1
u399118522|p01140|1
codenet
Compile Error
1,101
v2_s829149963
s829149963
s829149963
p01143
p01143
u158979022
u158979022
1,530,461,553
2018-07-01T16:12:33
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { try(Scanner sc = new Scanner(System.in)) { while(sc.hasNext()) { int N = sc.nextInt(); int M = sc.nextInt(); int P = sc.nextInt(); if(N + M + P == 0) break; int w = 0; int sum = 0; boolean win...
Main.java:18: error: cannot find symbol if(x == 0) win = false; ^ symbol: variable x location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u158979022|p01143|0
u158979022|p01143|0
codenet
Compile Error
621
v2_s235530027
s235530027
s235530027
p01143
p01143
u211138527
u211138527
1,446,017,927
2015-10-28T07:38:47
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigDecimal; import java.math.BigInteger; public cl...
Main.java:20: error: cannot find symbol while(ture){ ^ symbol: variable ture location: class Main Main.java:30: error: cannot find symbol out.println(all/x[i]); ^ symbol: variable i location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01143|0
u211138527|p01143|0
codenet
Compile Error
3,187
v2_s183055725
s183055725
s183055725
p01143
p01143
u211138527
u211138527
1,446,017,995
2015-10-28T07:39:55
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigDecimal; import java.math.BigInteger; public cl...
Main.java:20: error: cannot find symbol while(ture){ ^ symbol: variable ture location: class Main Main.java:31: error: cannot find symbol out.println(all/x[i]); ^ symbol: variable i location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01143|0
u211138527|p01143|0
codenet
Compile Error
3,205
v2_s229237931
s229237931
s229237931
p01144
p01144
u211138527
u211138527
1,455,715,219
2016-02-17T13:20:19
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:34: error: not a statement tot+r[i][0]*r[i][1]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01144|0
u211138527|p01144|0
codenet
Compile Error
3,123
v2_s411392376
s411392376
s411392376
p01144
p01144
u384557967
u384557967
1,332,762,867
2012-03-26T11:54:27
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt();// ‹æŠÔ int m = sc.nextInt();// •P‚Ì‚¨‚©‚Ë if (n == 0 && m == 0) { break; } int c = 0; int dp[][] = new int[n][2]; for (int i = 0; i < n; i++) { dp[i][0...
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
u384557967|p01144|0
u384557967|p01144|0
codenet
Compile Error
761
v2_s772786024
s772786024
s772786024
p01144
p01144
u413996626
u413996626
1,311,308,323
2011-07-22T04:18:43
Main.java
import java.util.Arrays; import java.util.Scanner; //Princess's Marriage public class Main{ class P implements Comparable<P>{ int d, p; public P(int d, int p) { this.d = d; this.p = p; } public int compareTo(P o) { return o.p-p; } } int n, m; P[] p; void run(){ Scanner sc = new Scanner(Sys...
Main.java:47: error: cannot find symbol new Main.run(); ^ symbol: class run location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u413996626|p01144|0
u413996626|p01144|0
codenet
Compile Error
788
v2_s406448821
s406448821
s406448821
p01146
p01146
u482574623
u482574623
1,422,090,777
2015-01-24T09:12:57
Main.java
import java.awt.font.GraphicAttribute; import java.io.*; import java.util.*; import javax.swing.undo.StateEdit; import org.omg.PortableServer.POAManagerPackage.State; public class Main { FastScanner in = new FastScanner(System.in); PrintWriter out = new PrintWriter(System.out); class Edge { int to; int cost...
Main.java:8: error: package org.omg.PortableServer.POAManagerPackage does not exist import org.omg.PortableServer.POAManagerPackage.State; ^ 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
u482574623|p01146|1
u482574623|p01146|1
codenet
Compile Error
4,678
v2_s489247806
s489247806
s489247806
p01146
p01146
u616613978
u616613978
1,335,693,515
2012-04-29T09:58:35
Main.java
import java.util.*; public class Main{ int n,m,l,k,a,h; int[] x,y,t; int[][] time; int min; List<String> f; public static void main(String[] args){ new Main2().solve(); } void solve(){ Scanner sc = new Scanner(System.in); n = sc.nextInt(); while(n!=0){ m = sc.nextInt(); ...
Main.java:11: error: cannot find symbol new Main2().solve(); ^ symbol: class Main2 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u616613978|p01146|0
u616613978|p01146|0
codenet
Compile Error
1,829
v2_s416004840
s416004840
s416004840
p01146
p01146
u616613978
u616613978
1,335,779,189
2012-04-30T09:46:29
Main.java
import java.util.*; public class Main{ int N,M,L,K,A,H; int[] d; List<Edge>[] adj; int INF = 1000000000; List<String> f; public static void main(String[] args){ new Main().solve(); } class Edge{ int t, c; public Edge(int t, int c) { this.t = t; this.c = ...
Main.java:96: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u616613978|p01146|2
u616613978|p01146|1
codenet
Compile Error
2,268
v2_s800965302
s800965302
s800965302
p01147
p01147
u660498157
u660498157
1,369,232,616
2013-05-22T14:23:36
Main.java
import java.util.* import java.lang.*; import java.math.*; import java.io.*; import static java.lang.Math.*; import static java.util.Arrays.*; import static java.util.Collections.*; public class Main{ Scanner sc=new Scanner(System.in); int INF=1<<28; double EPS=1e-12; HashSet<String> set; void run(){ for(;;)...
Main.java:1: error: ';' expected import java.util.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660498157|p01147|0
u660498157|p01147|0
codenet
Compile Error
2,558
v2_s762944176
s762944176
s762944176
p01147
p01147
u918572590
u918572590
1,352,568,482
2012-11-10T17:28:02
Main.java
import java.util.*; import static java.lang.Math.*; public class Main { final Scanner sc=new Scanner(System.in); public static void main(String[] args) { new Main().init(); } void init(){ final long STACK_SIZE=8*1024*1024; new Thread(null, new AOJ2022(), "RUN", STACK_SIZE).start(); } class AOJ2022 impleme...
Main.java:95: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918572590|p01147|0
u918572590|p01147|0
codenet
Compile Error
2,520
v2_s425949095
s425949095
s425949095
p01168
p01168
u026129418
u026129418
1,361,337,601
2013-02-20T05:20:01
Main.java
import java.io.*; import java.util.*; import java.math.*; class Main{ public static void main(String[] args){ BufferedReader sc=new BufferedReader(new InputStreamReader(System.in)); try { while(true){ String[] st = sc.readLine().split(" "); int a = Integer.valueOf(st[0]),b = Integer.valueOf(st[1]),c = In...
Main.java:27: error: cannot find symbol System.out.println(min); ^ symbol: variable min location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u026129418|p01168|0
u026129418|p01168|0
codenet
Compile Error
1,026
v2_s705999893
s705999893
s705999893
p01193
p01193
u334558507
u334558507
1,346,390,521
2012-08-31T05:22:01
Main.java
while line = gets do ans = eval(line.chomp.chop) puts (ans<0||ans>9999) ? "E" : ans end
Main.java:1: error: class, interface, enum, or record expected while line = gets do ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334558507|p01193|0
u334558507|p01193|0
codenet
Compile Error
91
v2_s889240559
s889240559
s889240559
p01193
p01193
u334558507
u334558507
1,346,390,562
2012-08-31T05:22:42
Main.java
while line = gets do ans = eval(line.chomp.chop) puts (ans<0||ans>9999) ? "E" : ans end
Main.java:1: error: class, interface, enum, or record expected while line = gets do ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334558507|p01193|0
u334558507|p01193|0
codenet
Compile Error
91
v2_s334151525
s334151525
s334151525
p01193
p01193
u334558507
u334558507
1,346,390,580
2012-08-31T05:23:00
Main.java
while line = gets ans = eval(line.chomp.chop) puts (ans<0||ans>9999) ? "E" : ans end
Main.java:1: error: class, interface, enum, or record expected while line = gets ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334558507|p01193|0
u334558507|p01193|0
codenet
Compile Error
88
v2_s454694941
s454694941
s454694941
p01213
p01213
u605441342
u605441342
1,371,478,120
2013-06-17T14:08:40
Main.java
import java.util.Scanner; //Repeated Subsequences public class Main { String lcs(String a, String b){ int na = a.length(), nb = b.length(); int dp[][] = new int[na+1][nb+1]; for(int i=1;i<=na;i++)for(int j=1;j<=nb;j++){ if(a.charAt(i-1)==b.charAt(j-1))dp[i][j] = dp[i-1][j-1] + 1; else dp[i][j] = Math.max...
Main.java:41: error: cannot find symbol new Main.run(); ^ symbol: class run location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u605441342|p01213|0
u605441342|p01213|0
codenet
Compile Error
966
v2_s247785763
s247785763
s247785763
p01213
p01213
u760351030
u760351030
1,426,409,734
2015-03-15T08:55:34
Main.java
mport java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); void run() { for (;;) { String in = sc.next(); if (in.equals("#END")) { return; } String ans = ""; for (int i = 1; i < in.length(); i++) { String lcs = lcs(in.substring(0, i), in.substring(i, in.length())); ...
Main.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u760351030|p01213|0
u760351030|p01213|0
codenet
Compile Error
1,108
v2_s461971723
s461971723
s461971723
p01213
p01213
u922633376
u922633376
1,481,628,639
2016-12-13T11:30:39
Main.java
import java.util.Scanner; public Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String str = ""; while(true){ str = scan.next(); if(str.equals("#END")){ break; }else{ System.out.println(rs(str)); } } } public static String rs(St...
Main.java:3: error: class, interface, enum, or record expected public 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:42: error: <identifier>...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u922633376|p01213|0
u922633376|p01213|0
codenet
Compile Error
1,232
v2_s824479397
s824479397
s824479397
p01213
p01213
u922633376
u922633376
1,481,628,691
2016-12-13T11:31:31
Main.java
import java.util.Scanner; public Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String str = ""; while(true){ str = scan.next(); if(str.equals("#END")){ break; }else{ System.out.println(rs(str)); } } } public static String rs(St...
Main.java:3: error: class, interface, enum, or record expected public 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:59: error: class, inter...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u922633376|p01213|0
u922633376|p01213|0
codenet
Compile Error
1,238
v2_s714204941
s714204941
s714204941
p01223
p01223
u384557967
u384557967
1,329,221,640
2012-02-14T12:14:00
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int t = sc.nextInt(); while(t-- > 0){ int n=sc.nextInt()-1; int h=sc.nextInt(); int mc = 0; int mf = 0; while(n-->0){ int nh = sc.nextInt(); if(nh-h>mc)mc=nh-h; if(h-nh>mf)mf=h-nh; h=n...
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
u384557967|p01223|0
u384557967|p01223|0
codenet
Compile Error
370
v2_s013515385
s013515385
s013515385
p01224
p01224
u131592835
u131592835
1,399,797,000
2014-05-11T08:30:00
Main.java
srtbybns
Main.java:1: error: reached end of file while parsing srtbybns ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u131592835|p01224|0
u131592835|p01224|0
codenet
Compile Error
8
v2_s479274238
s479274238
s479274238
p01224
p01224
u440985525
u440985525
1,342,187,539
2012-07-13T13:52:19
Main.java
long divisors(long n) { long sum = 0; for (long d = 2; d * d <= n; d++) { if (n % d == 0) { sum += d; if (d * d != n) sum += n / d; } } return sum + 1; } Scanner sc; void run() { sc = new Scanner(System.in); while(true) { int N = sc.nextInt(); if (N == 0) break; if (N == 1) { ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. long divisors(long n) { ^ (use --enable-preview to enable unnamed classes) Main.java:38: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u440985525|p01224|0
u440985525|p01224|0
codenet
Compile Error
674
v2_s746170918
s746170918
s746170918
p01225
p01225
u015482691
u015482691
1,433,682,501
2015-06-07T13:08:21
Rummy.java
import java.io.*; import java.util.ArrayList; public class Rummy { public static void main(String[] args) { // ??\??????????????°??????????´???¨ int intHairetsuNum[] = new int[9]; String strHairetsuNum[] = new String[9]; // ??\??????????????????????´???¨ String strHairetsuColor[] = new String...
Rummy.java:111: error: illegal escape character System.out.println("???????????\?????????????????????"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u015482691|p01225|0
u015482691|p01225|0
codenet
Compile Error
6,633
v2_s217391188
s217391188
s217391188
p01225
p01225
u015482691
u015482691
1,433,682,638
2015-06-07T13:10:38
Rummy.java
import java.io.*; import java.util.ArrayList; public class Rummy { public static void main(String[] args) { // ??\??????????????°??????????´???¨ int intHairetsuNum[] = new int[9]; String strHairetsuNum[] = new String[9]; // ??\??????????????????????´???¨ String strHairetsuColor[] = new String...
Rummy.java:111: error: illegal escape character System.out.println("???????????\?????????????????????"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u015482691|p01225|0
u015482691|p01225|0
codenet
Compile Error
6,633
v2_s595121724
s595121724
s595121724
p01225
p01225
u015482691
u015482691
1,433,687,358
2015-06-07T14:29:18
MainTwo.java
import java.io.*; import java.util.ArrayList; public class MainTwo { public static void main(String[] args) { // ??\??????????????°??????????´???¨ int[] intHairetsuNum = new int[9]; String[] strHairetsuNum = new String[9]; // ??\??????????????????????´???¨ String[] strHairetsuColor = new Stri...
MainTwo.java:125: error: illegal escape character System.out.println("???????????\?????????????????????"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u015482691|p01225|0
u015482691|p01225|0
codenet
Compile Error
6,954
v2_s670732708
s670732708
s670732708
p01225
p01225
u226368180
u226368180
1,494,298,726
2017-05-09T02:58:46
Main.java
import java.util.*; import java.io.*; class Set{ int num=0; int color=0; static boolean sameNum(Set num1, Set num2, Set num3){ if((num1.num == num2.num) && (num2.num == num3.num) && (num3.num == num1.num)){ return true; }else{ return false; } } sta...
Main.java:46: error: '.class' expected while(int i=0;i<n;i++){ ^ Main.java:46: error: > or ',' expected while(int i=0;i<n;i++){ ^ Main.java:46: error: not a statement while(int i=0;i<n;i++){ ^ Main.java:46: error: ';' expected while(int i=0;i<n;i++){...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u226368180|p01225|0
u226368180|p01225|0
codenet
Compile Error
4,017
v2_s101774107
s101774107
s101774107
p01225
p01225
u366739360
u366739360
1,523,264,214
2018-04-09T08:56:54
Main.java
class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int T = scan.nextInt(); int N[][] = new int[T][9] char C[][] = new char[T][9]; for(int j=0;j<T;j++){ for(int i=0;i<9;i++){ N[j][i] = scan.nextInt(); } for(int i=0;i<9;i++){ C[j*2][i] = scan.nextChar();...
Main.java:5: error: ';' expected int N[][] = new int[T][9] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u366739360|p01225|0
u366739360|p01225|0
codenet
Compile Error
964
v2_s560801774
s560801774
s560801774
p01225
p01225
u366739360
u366739360
1,523,264,523
2018-04-09T09:02:03
Main.java
class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int T = scan.nextInt(); int N[][] = new int[T][] char C[][] = new char[T][]; for(int j=0;j<T;j++){ N[j] = new int[9]; C[j] = new int[9]; for(int i=0;i<9;i++){ N[j][i] = scan.nextInt(); } for(int i=0;...
Main.java:5: error: ';' expected int N[][] = new int[T][] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u366739360|p01225|0
u366739360|p01225|0
codenet
Compile Error
1,012
v2_s411535966
s411535966
s411535966
p01225
p01225
u366739360
u366739360
1,523,264,561
2018-04-09T09:02:41
Main.java
class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int T = scan.nextInt(); int N[][] = new int[T][]; char C[][] = new char[T][]; for(int j=0;j<T;j++){ N[j] = new int[9]; C[j] = new int[9]; for(int i=0;i<9;i++){ N[j][i] = scan.nextInt(); } for(int i=0...
Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:9: error: incompatible ty...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u366739360|p01225|0
u366739360|p01225|0
codenet
Compile Error
1,013
v2_s799125049
s799125049
s799125049
p01225
p01225
u366739360
u366739360
1,523,264,717
2018-04-09T09:05:17
Main.java
class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int T = scan.nextInt(); int N[][] = new int[T][]; char C[][] = new char[T][]; for(int j=0;j<T;j++){ N[j] = new int[9]; C[j] = new int[9]; for(int i=0;i<9;i++){ N[j][i] = scan.nextInt(); } for(int i=0...
Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:9: error: incompatible ty...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u366739360|p01225|0
u366739360|p01225|0
codenet
Compile Error
1,013
v2_s489842040
s489842040
s489842040
p01225
p01225
u366739360
u366739360
1,523,264,725
2018-04-09T09:05:25
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int T = scan.nextInt(); int N[][] = new int[T][]; char C[][] = new char[T][]; for(int j=0;j<T;j++){ N[j] = new int[9]; C[j] = new int[9]; for(int i=0;i<9;i++){ N[j][i] = scan.nex...
Main.java:11: error: incompatible types: int[] cannot be converted to char[] C[j] = new int[9]; ^ Main.java:16: error: cannot find symbol C[j*2][i] = scan.nextChar(); ^ symbol: method nextChar() location: variable scan of type Scanner Main.java:20: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u366739360|p01225|0
u366739360|p01225|0
codenet
Compile Error
1,040
v2_s879478160
s879478160
s879478160
p01225
p01225
u366739360
u366739360
1,523,264,962
2018-04-09T09:09:22
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int T = scan.nextInt(); int N[][] = new int[T][]; char C[][] = new char[T][]; for(int j=0;j<T;j++){ N[j] = new int[9]; C[j] = new char[9]; for(int i=0;i<9;i+...
Main.java:17: error: cannot find symbol C[j*2][i] = scan.nextChar(); ^ symbol: method nextChar() location: variable scan of type Scanner Main.java:21: error: cannot find symbol Char coler[]={'R','G','B'}; ^ symbol: class Char location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u366739360|p01225|0
u366739360|p01225|0
codenet
Compile Error
1,066
v2_s229186452
s229186452
s229186452
p01225
p01225
u366739360
u366739360
1,523,265,446
2018-04-09T09:17:26
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int T = scan.nextInt(); int N[][] = new int[T][]; char C[][] = new char[T][]; for(int j=0;j<T;j++){ N[j] = new int[9]; C[j] = new char[9]; for(int i=0;i<9;i+...
Main.java:17: error: incompatible types: char[] cannot be converted to char C[j*2][i] = scan.next().toCharArray(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u366739360|p01225|0
u366739360|p01225|0
codenet
Compile Error
1,072
v2_s407037936
s407037936
s407037936
p01225
p01225
u366739360
u366739360
1,523,265,641
2018-04-09T09:20:41
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int T = scan.nextInt(); int N[][] = new int[T][]; char C[][] = new char[T][]; for(int j=0;j<T;j++){ N[j] = new int[9]; C[j] = new char[9]; for(int i=0;i<9;i+...
Main.java:18: error: incompatible types: char[] cannot be converted to char C[j*2][i] = str.toCharArray(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u366739360|p01225|0
u366739360|p01225|0
codenet
Compile Error
1,092
v2_s753425942
s753425942
s753425942
p01225
p01225
u366739360
u366739360
1,523,265,678
2018-04-09T09:21:18
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int T = scan.nextInt(); int N[][] = new int[T][]; char C[][] = new char[T][]; for(int j=0;j<T;j++){ N[j] = new int[9]; C[j] = new char[9]; for(int i=0;i<9;i+...
Main.java:18: error: incompatible types: char[] cannot be converted to char C[j*2][i] = str.toCharArray(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u366739360|p01225|0
u366739360|p01225|0
codenet
Compile Error
1,092
v2_s675238266
s675238266
s675238266
p01225
p01225
u366739360
u366739360
1,523,265,957
2018-04-09T09:25:57
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int T = scan.nextInt(); int N[][] = new int[T][]; char C[][] = new char[T][]; for(int j=0;j<T;j++){ N[j] = new int[9]; C[j] = new char[9]; for(int i=0;i<9;i+...
Main.java:18: error: incompatible types: char[] cannot be converted to char char inpc=str.toCharArray(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u366739360|p01225|0
u366739360|p01225|0
codenet
Compile Error
1,114
v2_s794070720
s794070720
s794070720
p01225
p01225
u366739360
u366739360
1,523,266,129
2018-04-09T09:28:49
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int T = scan.nextInt(); int N[][] = new int[T][]; char C[][] = new char[T][]; for(int j=0;j<T;j++){ N[j] = new int[9]; C[j] = new char[9]; for(int i=0;i<9;i+...
Main.java:42: error: variable pea might not have been initialized pea++; ^ Main.java:46: error: variable pea might not have been initialized if(pea>=3){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u366739360|p01225|0
u366739360|p01225|0
codenet
Compile Error
1,121
v2_s693576145
s693576145
s693576145
p01225
p01225
u372584466
u372584466
1,555,916,119
2019-04-22T06:55:19
Main.java
import java.util.*; import java.lang.*; /** * Rummy */ public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); loop: for (int i = 0; i < n; i++) { int numList[] = new int[9]; List<Inte...
Main.java:174: error: class, interface, enum, or record expected }} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u372584466|p01225|0
u372584466|p01225|0
codenet
Compile Error
5,355
v2_s670806181
s670806181
s670806181
p01225
p01225
u372584466
u372584466
1,555,916,534
2019-04-22T07:02:14
Main.java
import java.util.*; import java.lang.*; /** * Rummy */ public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); loop: for (int i = 0; i < n; i++) { int numList[] = new int[9]; List<Inte...
Main.java:107: error: orphaned case case 0: ^ Main.java:171: error: illegal start of type return (finalflg1 && finalflg2 && finalflg0); ^ Main.java:171: error: <identifier> expected return (finalflg1 && finalflg2 && finalflg0); ^ Main.java...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u372584466|p01225|0
u372584466|p01225|0
codenet
Compile Error
5,369
v2_s439906696
s439906696
s439906696
p01225
p01225
u399118522
u399118522
1,370,448,797
2013-06-05T16:13:17
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int t = in.nextInt(); int[] deck = new int[9]; for (int i = 0; i < t; i++) { int isOK = 1; for (int j = 0; j < 9; j++) { deck[j] = in.nextInt(); } int colorSum = 0; fo...
Main.java:30: error: cannot find symbol Arrays.sort(deck); ^ symbol: variable Arrays location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p01225|0
u399118522|p01225|0
codenet
Compile Error
1,255
v2_s366020958
s366020958
s366020958
p01225
p01225
u399951682
u399951682
1,510,194,971
2017-11-09T02:36:11
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); // ?????????????????°?????\??? int gameCount = in.nextInt(); // ??????????????????????????°????????\??? int[] cardNum = new int[9]; // ???????????????...
Main.java:35: error: constructor Rummy in class Rummy cannot be applied to given types; Rummy rummy = new Rummy(cardNum, cardColor); ^ required: no arguments found: int[],String[] reason: actual and formal argument lists differ in length Main.java:114: error: cannot find symbol hasCardSet...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399951682|p01225|0
u399951682|p01225|0
codenet
Compile Error
2,467
v2_s138427086
s138427086
s138427086
p01225
p01225
u399951682
u399951682
1,510,195,048
2017-11-09T02:37:28
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); // ?????????????????°?????\??? int gameCount = in.nextInt(); // ??????????????????????????°????????\??? int[] cardNum = new int[9]; // ???????????????...
Main.java:35: error: constructor Rummy in class Rummy cannot be applied to given types; Rummy rummy = new Rummy(cardNum, cardColor); ^ required: no arguments found: int[],String[] reason: actual and formal argument lists differ in length 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399951682|p01225|0
u399951682|p01225|0
codenet
Compile Error
2,529
v2_s553121733
s553121733
s553121733
p01225
p01225
u420305014
u420305014
1,431,683,377
2015-05-15T09:49:37
Main.java
public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int t = sc.nextInt(); int[] n = new int[9]; int[] nr = new int[9]; int[] ng = new int[9]; int[] nb = new int[9]; int ir = 0; int ig = 0; int ib = 0; int count = 0; char c; for(int i = 0; i < t; i++){...
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
u420305014|p01225|2
u420305014|p01225|2
codenet
Compile Error
1,320
v2_s223550477
s223550477
s223550477
p01225
p01225
u420305014
u420305014
1,431,683,391
2015-05-15T09:49:51
Main.java
public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int t = sc.nextInt(); int[] n = new int[9]; int[] nr = new int[9]; int[] ng = new int[9]; int[] nb = new int[9]; int ir = 0; int ig = 0; int ib = 0; int count = 0; char c; for(int i = 0; i < t; i++){...
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
u420305014|p01225|2
u420305014|p01225|2
codenet
Compile Error
1,320
v2_s491355331
s491355331
s491355331
p01225
p01225
u585725265
u585725265
1,492,149,257
2017-04-14T05:54:17
Main.java
import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Scanner; public class Main implements Comparator<Main> { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int count = Integer.parseInt(sc.nextLine()) ; while (sc.hasNextLine()){ ...
Main.java:121: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u585725265|p01225|0
u585725265|p01225|0
codenet
Compile Error
2,786
v2_s121173920
s121173920
s121173920
p01225
p01225
u606593727
u606593727
1,446,035,848
2015-10-28T12:37:28
Main.java
class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int[][] tehuda = new int[2][9]; int T = sc.nextInt();//???????????????????????° for( int i = 0 ; i < T ; i++ ){//???????????????????????°????????? ...
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
u606593727|p01225|1
u606593727|p01225|1
codenet
Compile Error
4,887
v2_s300151844
s300151844
s300151844
p01225
p01225
u606593727
u606593727
1,529,283,357
2018-06-18T00:55:57
Main.java
import java.io.*; public class Main { public static void main (String[] args) { BufferedReader input = new BufferedReader (new InputStreamReader (System.in)); String setTotalStr = input.readLine(); int setTotal = Integer.parseInt(setTotalStr); int cardTotal = 9; String[][] cardInfoNumStr = new ...
Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown String setTotalStr = input.readLine(); ^ Main.java:23: error: unreported exception IOException; must be caught or declared to be thrown cardInfoNumStr[set] = input.readLine().split(" "...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606593727|p01225|2
u606593727|p01225|2
codenet
Compile Error
7,953
v2_s679595966
s679595966
s679595966
p01225
p01225
u630795095
u630795095
1,438,926,456
2015-08-07T05:47:36
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { //?????° private static int valueOfCard = 9; //?????????????????° private static int numberOfCard = 9; //?????????????????????????¨??????°(1???9 = 9) private static int colorOfCard = 3; //??????????????????????¨??????°(RGB = 3) private stat...
Main.java:96: error: class Card is public, should be declared in a file named Card.java public class Card { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u630795095|p01225|1
u630795095|p01225|0
codenet
Compile Error
2,894
v2_s552270429
s552270429
s552270429
p01225
p01225
u705352026
u705352026
1,525,674,630
2018-05-07T06:30:30
Main.java
import java.awt.print.Printable; import java.util.Arrays; import java.util.Scanner; import javax.sound.midi.SysexMessage; public class Cards { public int num; public int color; } public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); i...
Main.java:62: error: not a statement nums[nc_count2]==cards[k]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u705352026|p01225|0
u705352026|p01225|0
codenet
Compile Error
3,860
v2_s468139418
s468139418
s468139418
p01225
p01225
u705352026
u705352026
1,525,674,711
2018-05-07T06:31:51
Main.java
import java.awt.print.Printable; import java.util.Arrays; import java.util.Scanner; import javax.sound.midi.SysexMessage; public class Cards { public int num; public int color; } public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); i...
Main.java:7: error: class Cards is public, should be declared in a file named Cards.java public class Cards { ^ Main.java:62: error: incompatible types: Cards cannot be converted to int nums[nc_count2]=cards[k]; ^ Main.java:79: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u705352026|p01225|0
u705352026|p01225|0
codenet
Compile Error
3,859
v2_s649434731
s649434731
s649434731
p01225
p01225
u705352026
u705352026
1,525,674,768
2018-05-07T06:32:48
Main.java
import java.awt.print.Printable; import java.util.Arrays; import java.util.Scanner; import javax.sound.midi.SysexMessage; class Cards { public int num; public int color; } public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = ...
Main.java:62: error: incompatible types: Cards cannot be converted to int nums[nc_count2]=cards[k]; ^ Main.java:79: error: cannot find symbol sames[semecount]=nums[k]; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u705352026|p01225|0
u705352026|p01225|0
codenet
Compile Error
3,852
v2_s988360980
s988360980
s988360980
p01225
p01225
u759934006
u759934006
1,463,222,367
2016-05-14T10:39:27
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; import static java.lang.Integer.parseInt; /** * Rummy */ public class Main { public static void main(String[] args) throws IOException { BufferedReader br = ne...
Main.java:58: error: ';' expected int[] _cards = cards.clone() ^ Main.java:64: error: ';' expected int[] _cards = cards.clone() ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759934006|p01225|0
u759934006|p01225|0
codenet
Compile Error
1,619
v2_s092397172
s092397172
s092397172
p01225
p01225
u852983054
u852983054
1,432,706,809
2015-05-27T06:06:49
Main.java
package Rummy; import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int T = Integer.parseInt(scan.nextLine()); String str = ""; for (int i = 0; i < T; i++) { str = scan....
Main.java:101: error: illegal start of type return false; ^ Main.java:104: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u852983054|p01225|2
u852983054|p01225|1
codenet
Compile Error
2,455
v2_s719840576
s719840576
s719840576
p01225
p01225
u852983054
u852983054
1,432,718,907
2015-05-27T09:28:27
Main.java
package aoj.rummy; import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int T = Integer.parseInt(scan.nextLine()); String str = ""; for (int i = 0; i < T; i++) { str = s...
Main.java:77: error: ';' expected for (int j = 0; j < 9package aoj.rummy; ^ Main.java:77: error: not a statement for (int j = 0; j < 9package aoj.rummy; ^ Main.java:79: error: illegal start of expression import java.util.ArrayList; ^ Main.java:79: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u852983054|p01225|3
u852983054|p01225|1
codenet
Compile Error
3,495
v2_s710856626
s710856626
s710856626
p01225
p01225
u852983054
u852983054
1,432,803,586
2015-05-28T08:59:46
main.java
import java.util.Arrays; import java.util.Scanner; //Rummy public class main { int[] a, c; int[][] as; char[] s; boolean dfs(int k){ if(k==9){ for(int i=0;i<3;i++)if(s[as[i][0]]!=s[as[i][1]]||s[as[i][1]]!=s[as[i][2]])return false; for(int i=0;i<3;i++){ int[] t = new int[3]; for(int j=0;j<3;j++)t...
main.java:45: error: cannot find symbol new AOJ2102().run(); ^ symbol: class AOJ2102 location: class main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u852983054|p01225|5
u852983054|p01225|3
codenet
Compile Error
972
v2_s755865352
s755865352
s755865352
p01225
p01225
u852983054
u852983054
1,432,803,602
2015-05-28T09:00:02
Main.java
import java.util.Arrays; import java.util.Scanner; //Rummy public class Main { int[] a, c; int[][] as; char[] s; boolean dfs(int k){ if(k==9){ for(int i=0;i<3;i++)if(s[as[i][0]]!=s[as[i][1]]||s[as[i][1]]!=s[as[i][2]])return false; for(int i=0;i<3;i++){ int[] t = new int[3]; for(int j=0;j<3;j++)t...
Main.java:45: error: cannot find symbol new AOJ2102().run(); ^ symbol: class AOJ2102 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u852983054|p01225|5
u852983054|p01225|3
codenet
Compile Error
972
v2_s300745816
s300745816
s300745816
p01225
p01225
u982119852
u982119852
1,480,490,759
2016-11-30T07:25:59
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; public class Main{ public static void main(String[] args) throws IOException { // ????????????????????? BufferedReader br = new BufferedReader(new InputStreamReader(...
Main.java:41: error: class CardRummy is public, should be declared in a file named CardRummy.java public class CardRummy { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u982119852|p01225|4
u982119852|p01225|2
codenet
Compile Error
7,023
v2_s498822809
s498822809
s498822809
p01226
p01226
u065787019
u065787019
1,397,034,274
2014-04-09T09:04:34
BattleTown.java
package BattleTown; public class BattleTown { public static void main(String args[]){ } } class tank { // 戦車の位置 private String[][] position = null; // 戦車の向き private String situation = null; // セッター public void setPosition(String[][] p) { position = p; } public void setSituation(String s) { situ...
BattleTown.java:59: error: <identifier> expected if(map[p.][p.-1].equals("*") || map[p.][p.-1].equals("#")){ ^ BattleTown.java:59: error: <identifier> expected if(map[p.][p.-1].equals("*") || map[p.][p.-1].equals("#")){ ^ BattleTown.java:59: error: <identifier> expected if(map[...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u065787019|p01226|0
u065787019|p01226|0
codenet
Compile Error
1,442
v2_s193435018
s193435018
s193435018
p01226
p01226
u065787019
u065787019
1,397,176,170
2014-04-11T00:29:30
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main{ public static void main(String[] args) { try { Scanner sc = new Scanner(System.in); int input_length = 0; // マップの高さ int height = 0; // マップの幅 int width = 0; // 各完成マップを入れる配列 ArrayList<map> map_list = new ArrayList<map>(...
Main.java:16: error: cannot find symbol ArrayList<map> map_list = new ArrayList<map>(); ^ symbol: class map location: class Main Main.java:16: error: cannot find symbol ArrayList<map> map_list = new ArrayList<map>(); ^ symbol: class map location:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u065787019|p01226|2
u065787019|p01226|2
codenet
Compile Error
7,947
v2_s380401599
s380401599
s380401599
p01226
p01226
u065787019
u065787019
1,397,722,226
2014-04-17T08:10:26
Main.java
package BattleTown; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.util.Scanner; // enum Situation{ /// <summary> /// 上 /// </summary> Up, /// <summary> /// 下 /// </summary> Down, /// <summary> /// 左 /// </summary> Left, /// ...
Main.java:207: error: constant string expression required case tank_situation.get("Left"): ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u065787019|p01226|6
u065787019|p01226|5
codenet
Compile Error
10,199
v2_s273196863
s273196863
s273196863
p01226
p01226
u065787019
u065787019
1,397,724,484
2014-04-17T08:48:04
Main.java
import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.util.Scanner; enum Situation { /// <summary> /// 上 /// </summary> Up, /// <summary> /// 下 /// </summary> Down, /// <summary> /// 左 /// </summary> Left, /// <summary> /// 右 ...
Main.java:203: error: constant string expression required case tank_situation.get("Left"): ^ Main.java:222: error: constant string expression required case tank_situation.get("Right"): ^ Main.java:245: error: constant string expression required case tank_situation...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u065787019|p01226|6
u065787019|p01226|5
codenet
Compile Error
10,387
v2_s216483356
s216483356
s216483356
p01226
p01226
u249262080
u249262080
1,518,138,534
2018-02-09T01:08:54
Main.java
import java.util.Scanner; public class Main { // マップ // 戦車 class Tank { char[][] map; int x, y; // 座標 char dir; // 向いてる方角 int bx=-1, by=-1; // 砲弾の座標 public Tank(int x, int y, int dir, char[][] map) { this.x = x; this.y = y; this.map = map; if(dir == 0) this.dir = 'L'; else if...
Main.java:226: error: cannot find symbol Tank t = new BattleTown().new Tank(tankPos[0], tankPos[1], tankPos[2], map); ^ symbol: class BattleTown location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u249262080|p01226|0
u249262080|p01226|0
codenet
Compile Error
4,681
v2_s254041477
s254041477
s254041477
p01226
p01226
u249262080
u249262080
1,518,139,193
2018-02-09T01:19:53
BattleTown.java
import java.util.Scanner; public class BattleTown { // マップ // 戦車 class Tank { char[][] map; int x, y; // 座標 char dir; // 向いてる方角 int bx=-1, by=-1; // 砲弾の座標 public Tank(int x, int y, int dir, char[][] map) { this.x = x; this.y = y; this.map = map; if(dir == 0) this.dir = 'L'; e...
BattleTown.java:208: error: cannot find symbol Main b = new Main(); ^ symbol: class Main location: class BattleTown BattleTown.java:208: error: cannot find symbol Main b = new Main(); ^ symbol: class Main location: class BattleTown BattleTown.java:215: error: cannot find symbol T...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u249262080|p01226|0
u249262080|p01226|0
codenet
Compile Error
4,437
v2_s315178221
s315178221
s315178221
p01226
p01226
u606593727
u606593727
1,446,191,078
2015-10-30T07:44:38
Main.java
class Main{ /** * プログラムエントリポイント * @param args */ public static void main (String[] args){ Scanner sc = new Scanner(System.in); //データセット回数を入力 int setCountData = sc.nextInt(); //入力されたデータセット回数分繰り返す for( int i = 0 ; i < setCountData ; i++ ){ //繰り返す回数ごとに配列を作成して2次元配列の長さを入力 char[][] aryBattleAr...
Main.java:9: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:9: 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
u606593727|p01226|0
u606593727|p01226|0
codenet
Compile Error
4,737
v2_s974096932
s974096932
s974096932
p01226
p01226
u982119852
u982119852
1,481,618,914
2016-12-13T08:48:34
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.HashMap; import static java.lang.Integer.parseInt; /** * <pre> * ?????????????????? * </pre> * * @author ?????????????????§??? * @version 1.8_45 * @since 1.8_45 */ public cl...
Main.java:196: error: unnamed classes are a preview feature and are disabled by default. void last_tankLocate() { ^ (use --enable-preview to enable unnamed classes) Main.java:201: error: class, interface, enum, or record expected }// Tank????????????????????? ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u982119852|p01226|0
u982119852|p01226|0
codenet
Compile Error
4,938
v2_s388016963
s388016963
s388016963
p01227
p01227
u009079361
u009079361
1,555,927,841
2019-04-22T10:10:41
Main.java
#include<bits/stdc++.h> int t, n, k; int x[100010]; int d[100010]; int main(){ cin >> t; while(t){ t--; cin >> n >> k; for(int i=0;i<n;i++){ cin << x[i]; } int ans = x[n-1] - x[n]; for(int i=1;i<n;i++){ d[i-1] = x[i] - x[i-1]; } sort(d,d+n-1); if(n>=k){ ans = 0; }else{ for(int i=0...
Main.java:1: error: illegal character: '#' #include<bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<bits/stdc++.h> ^ Main.java:4: error: class, interface, enum, or record expected int x[100010]; ^ Main.java:5: error: class, interface, enum, or record expected int d[10001...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u009079361|p01227|0
u009079361|p01227|0
codenet
Compile Error
397
v2_s386909589
s386909589
s386909589
p01227
p01227
u009079361
u009079361
1,555,928,727
2019-04-22T10:25:27
Main.java
#include <iostream> #include <algorithm> using namespace std; int t, n, k; int x[100010]; int d[100010]; int main(){ cin >> t; while(t){ t--; cin >> n >> k; for(int i=0;i<n;i++){ cin >> x[i]; } int ans = x[n-1] - x[0]; for(int i=1;i<n;i++){ d[i-1] = x[i] - x[i-1]; } sort(d,d+n-1); if(n<=k){ ...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <algorithm> ^ Main.java:5: error: class, interface, enum, or record expected int t, n, k; ^ Main.java:6: error: class, interface, enum, or record expected int x[100010]; ^ Main.java:7: error: class, inte...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u009079361|p01227|0
u009079361|p01227|0
codenet
Compile Error
437
v2_s931193021
s931193021
s931193021
p01227
p01227
u211138527
u211138527
1,528,685,030
2018-06-11T02:43:50
CountryRoad.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.Arrays; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.util.PriorityQueue; public class CountryRoad{ static final InputStream in=System.in; static final ...
CountryRoad.java:15: error: cannot find symbol int t=ir.nextInt(); ^ symbol: variable ir location: class CountryRoad CountryRoad.java:17: error: cannot find symbol int n=ir.nextInt(); ^ symbol: variable ir location: class CountryRoad CountryRoad.java:18: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01227|0
u211138527|p01227|0
codenet
Compile Error
3,079
v2_s274050448
s274050448
s274050448
p01227
p01227
u211138527
u211138527
1,528,685,043
2018-06-11T02:44:03
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.Arrays; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.util.PriorityQueue; public class Main{ static final InputStream in=System.in; static final PrintWr...
Main.java:15: error: cannot find symbol int t=ir.nextInt(); ^ symbol: variable ir location: class Main Main.java:17: error: cannot find symbol int n=ir.nextInt(); ^ symbol: variable ir location: class Main Main.java:18: error: cannot find symbol int k=ir.nextInt(); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01227|0
u211138527|p01227|0
codenet
Compile Error
3,072
v2_s514362620
s514362620
s514362620
p01227
p01227
u211138527
u211138527
1,528,685,110
2018-06-11T02:45:10
CountryRoad.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.Arrays; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.util.PriorityQueue; public class CountryRoad{ static final InputReader ir; static final PrintWrite...
CountryRoad.java:32: error: cannot assign a value to static final variable ir ir = new InputReader(System.in); ^ CountryRoad.java:33: error: cannot assign a value to static final variable out out = new PrintWriter(System.out); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01227|0
u211138527|p01227|0
codenet
Compile Error
3,041
v2_s609258889
s609258889
s609258889
p01254
p01254
u825684692
u825684692
1,320,281,515
2011-11-03T00:51:55
Main.java
import java.util.BitSet; import java.util.LinkedList; import java.util.PriorityQueue; import java.util.Scanner; @unchecked public class Main { Scanner sc; Main() { sc = new Scanner(System.in); } class st implements Comparable<st> { int cost; int pos; int omit; st(int cost, int pos, int omit) { thi...
Main.java:6: error: cannot find symbol @unchecked ^ symbol: class unchecked 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
u825684692|p01254|0
u825684692|p01254|0
codenet
Compile Error
1,796
v2_s304836716
s304836716
s304836716
p01267
p01267
u616613978
u616613978
1,347,947,090
2012-09-18T05:44:50
Main.java
import java.util.*; class Main{ int N,A,B,C; int[] Y; void solve(){ Scanner sc = new Scanner(System.in); while(true){ N = sc.nextInt(); A = sc.nextInt(); B = sc.nextInt(); C = sc.nextInt(); int X = sc.nextInt(); if(N==0 && A==0 && B==0 && C==0 && X==0) break; Y = ...
Main.java:46: error: cannot find symbol new A2009().solve(); ^ symbol: class A2009 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u616613978|p01267|0
u616613978|p01267|0
codenet
Compile Error
798
v2_s054714730
s054714730
s054714730
p01268
p01268
u211138527
u211138527
1,455,888,833
2016-02-19T13:33:53
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class...
Main.java:36: error: <identifier> expected boolean[] ret=new [a+1]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01268|0
u211138527|p01268|0
codenet
Compile Error
3,324
v2_s752419883
s752419883
s752419883
p01268
p01268
u211138527
u211138527
1,455,888,937
2016-02-19T13:35:37
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class...
Main.java:19: error: cannot find symbol boolean[] p=sieveOfEratosthenes(170000); ^ symbol: method sieveOfEratosthenes(int) location: class Main Main.java:21: error: variable p is already defined in method solve() int n=ir.nextInt(),p=ir.nextInt()-1; ^ Main.java:24: error: arra...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01268|0
u211138527|p01268|0
codenet
Compile Error
3,331
v2_s979940864
s979940864
s979940864
p01268
p01268
u211138527
u211138527
1,455,889,239
2016-02-19T13:40:39
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Collections; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math....
Main.java:23: error: ';' expected n=ir.nextInt(),p=ir.nextInt()-1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01268|0
u211138527|p01268|0
codenet
Compile Error
3,367
v2_s236031753
s236031753
s236031753
p01268
p01268
u211138527
u211138527
1,455,889,804
2016-02-19T13:50:04
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Collections; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math....
Main.java:23: error: illegal start of type ArrayList<> al=new ArrayList<>(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01268|0
u211138527|p01268|0
codenet
Compile Error
3,459
v2_s232078642
s232078642
s232078642
p01268
p01268
u211138527
u211138527
1,455,890,069
2016-02-19T13:54:29
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Collections; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math....
Main.java:20: error: incompatible types: boolean[] cannot be converted to BitSet BitSet prime=sieveOfEratosthenes(115000); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01268|0
u211138527|p01268|0
codenet
Compile Error
3,469
v2_s029481463
s029481463
s029481463
p01268
p01268
u211138527
u211138527
1,455,890,116
2016-02-19T13:55:16
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Collections; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math....
Main.java:20: error: incompatible types: boolean[] cannot be converted to boolean boolean prime=sieveOfEratosthenes(115000); ^ Main.java:28: error: array required, but boolean found if(prime[i]) al.add(i); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01268|0
u211138527|p01268|0
codenet
Compile Error
3,466
v2_s688709898
s688709898
s688709898
p01268
p01268
u211138527
u211138527
1,455,890,481
2016-02-19T14:01:21
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Collections; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math....
Main.java:32: error: ';' expected int sum=al.get(i)+al.get(j) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01268|0
u211138527|p01268|0
codenet
Compile Error
3,469
v2_s918269656
s918269656
s918269656
p01269
p01269
u918572590
u918572590
1,341,151,785
2012-07-01T14:09:45
Main.java
import java.util.*; import java.util.regex.*; import static java.lang.Math.*; import static java.lang.System.out; // AOJ4 public class Main { final Scanner sc=new Scanner(System.in); final int[] vx={0,1,0,-1,-1,1,1,-1}, vy={-1,0,1,0,-1,-1,1,1}; final int INF=1<<26; final double EPS=1.0e-08; public static void mai...
Main.java:302: error: class, interface, enum, or record expected }import java.util.*; ^ Main.java:303: error: class, interface, enum, or record expected import java.util.regex.*; ^ Main.java:304: error: class, interface, enum, or record expected import static java.lang.Math.*; ^ Main.java:305: error: class, interface,...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918572590|p01269|0
u918572590|p01269|0
codenet
Compile Error
16,094
v2_s635618095
s635618095
s635618095
p01271
p01271
u230901651
u230901651
1,496,321,411
2017-06-01T12:50:11
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.Collection; import java.util.Scanner; import java.util.Queue; import java.util.ArrayDeque; /** * Built using CHelper plug-in * Actual solution is at the top */ p...
Main.java:32: error: incompatible types: int[] cannot be converted to int final int dh = new int[]{0, -1, 0, 1}; ^ Main.java:33: error: incompatible types: int[] cannot be converted to int final int dw = new int[]{-1, 0, 1, 0}; ^ Main.java:34: error: incompa...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u230901651|p01271|0
u230901651|p01271|0
codenet
Compile Error
4,631
v2_s243265943
s243265943
s243265943
p01271
p01271
u230901651
u230901651
1,496,321,453
2017-06-01T12:50:53
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.Collection; import java.util.Scanner; import java.util.Queue; import java.util.ArrayDeque; /** * Built using CHelper plug-in * Actual solution is at the top */ p...
Main.java:32: error: incompatible types: int[] cannot be converted to int int dh = new int[]{0, -1, 0, 1}; ^ Main.java:33: error: incompatible types: int[] cannot be converted to int int dw = new int[]{-1, 0, 1, 0}; ^ Main.java:34: error: incompatible types: int[] canno...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u230901651|p01271|0
u230901651|p01271|0
codenet
Compile Error
4,607
v2_s259076304
s259076304
s259076304
p01271
p01271
u760351030
u760351030
1,428,211,036
2015-04-05T05:17:16
Main.java
import java.util.Arrays; import java.util.LinkedList; import java.util.Scanner; public class Main { MyScanner sc = new MyScanner(); Scanner sc2 = new Scanner(System.in); final int MOD = 1000000007; int[] dx = { 1, 0, 0, -1 }; int[] dy = { 0, 1, -1, 0 }; void run() { for (;;) { int w = sc.nextInt(); int ...
Main.java:98: error: <identifier> expected new?\Main().run(); ^ Main.java:98: error: illegal character: '\' new?\Main().run(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u760351030|p01271|0
u760351030|p01271|0
codenet
Compile Error
4,645
v2_s871562262
s871562262
s871562262
p01273
p01273
u434428594
u434428594
1,425,722,764
2015-03-07T10:06:04
Main.java
import com.sun.xml.internal.bind.v2.runtime.reflect.Lister; import java.io.*; import java.util.*; public class Main { void run() { while (true) { int N = readInt(); int M = readInt(); if (N == 0 && M == 0) break; boolean[] virus = new boolean[N]; ...
Main.java:1: error: package com.sun.xml.internal.bind.v2.runtime.reflect does not exist import com.sun.xml.internal.bind.v2.runtime.reflect.Lister; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u434428594|p01273|0
u434428594|p01273|0
codenet
Compile Error
2,416
v2_s000303097
s000303097
s000303097
p01273
p01273
u507118101
u507118101
1,441,166,955
2015-09-02T04:09:15
Main.java
import java.util.Scanner; public class Main { private class Data { long t; int s,d; Data(long t,int s,int d) { this.t = t; this.s = s; this.d = d; } } public void sort(Data[] datas) { for(int i = 0;i < datas.length - 1;i++) { for(int j = i + 1;j < datas.length;j++) { if(datas[i].t ...
Main.java:65: error: cannot find symbol new AOJ_2155().solve(); ^ symbol: class AOJ_2155 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u507118101|p01273|0
u507118101|p01273|0
codenet
Compile Error
1,120
v2_s913475237
s913475237
s913475237
p01283
p01283
u228816757
u228816757
1,418,045,921
2014-12-08T13:38:41
Main.java
#include <bits/stdc++.h> using namespace std; #define REP(i,a,b) for(int i=a;i<(int)b;i++) #define rep(i,n) REP(i,0,n) int N; int S, A, C; int const M = 256; vector<int> I; int R[M]; int calcR(int i) { if(i==0) { return R[0] = S; } return R[i] = (A*calcR(i-1)+C) % M; } inline int O(int i) { return (I[i]+R[i+1]...
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: illegal character: '#' #define REP(i,a,b) for(int i=a;i<(int)b;i++) ^ Main.java:5: error: class, interface, enum, or record expecte...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u228816757|p01283|0
u228816757|p01283|0
codenet
Compile Error
1,342
v2_s993036170
s993036170
s993036170
p01295
p01295
u825684692
u825684692
1,317,373,146
2011-09-30T08:59:06
Main.java
public class Main { private void run() { Scanner sc = new Scanner(System.in); for(;;) { long n = sc.nextLong(); int k = sc.nextInt(); if(n+k==0) ...
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 locati...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825684692|p01295|0
u825684692|p01295|0
codenet
Compile Error
2,371