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_s806613340
s806613340
s806613340
p03273
p03273
u136378781
u136378781
1,535,261,855
2018-08-26T05:37:35
Main.java
#include <cstdio> #include <algorithm> #include <iostream> #include <vector> #include <map> #include <unordered_map> #include <cmath> using namespace std; const int MAX_H = 100; int H, W; char as[MAX_H][MAX_H]; bool remove_w[MAX_H]; bool remove_h[MAX_H]; void solve() { for (int h = 0; h < H; ++h) { int co...
Main.java:1: error: illegal character: '#' #include <cstdio> ^ Main.java:2: error: illegal character: '#' #include <algorithm> ^ Main.java:3: error: illegal character: '#' #include <iostream> ^ Main.java:4: error: illegal character: '#' #include <vector> ^ Main.java:5: error: illegal character: '#' #include <map> ^ Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u136378781|p03273|1
u136378781|p03273|0
codenet
Compile Error
1,019
v2_s532956380
s532956380
s532956380
p03273
p03273
u198062737
u198062737
1,561,652,706
2019-06-27T16:25:06
Main.java
7 6 ...... ....#. .#.... ..#... ..#... ...... .#..#.
Main.java:1: error: class, interface, enum, or record expected 7 6 ^ Main.java:3: error: illegal character: '#' ....#. ^ Main.java:4: error: illegal character: '#' .#.... ^ Main.java:5: error: illegal '.' ..#... ^ Main.java:5: error: illegal character: '#' ..#... ^ Main.java:6: error: illegal '.' ..#... ^ Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u198062737|p03273|0
u198062737|p03273|0
codenet
Compile Error
52
v2_s208165127
s208165127
s208165127
p03273
p03273
u659156129
u659156129
1,595,274,781
2020-07-20T19:53:01
Main.java
import java.util.*; public class Main { public static void main(String[] args)throws Exeption{ Scanner scn = new Scanner(System.in); int h = scn.nextInt(); int w = scn.nextInt(); char[][] a = new char[h][w]; for(int i=0; i<h; ++i){ String str = scn.next(); for(int j=0; j<w...
Main.java:3: error: cannot find symbol public static void main(String[] args)throws Exeption{ ^ symbol: class Exeption location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03273|0
u659156129|p03273|0
codenet
Compile Error
1,148
v2_s748300232
s748300232
s748300232
p03273
p03273
u719622470
u719622470
1,544,642,164
2018-12-12T19:16:04
Main.java
/* package codechef; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Main { public static void main (String[] args) throws java.lang.Exception { Scanner sc = new Scanner(System.in); int h = sc.nex...
Main.java:22: error: '(' or '[' expected HashSet<Integer> yset = new HashSet<>,xset=new HashSet<>; ^ Main.java:22: error: '(' or '[' expected HashSet<Integer> yset = new HashSet<>,xset=new HashSet<>; ^ Main.java:42: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u719622470|p03273|0
u719622470|p03273|0
codenet
Compile Error
936
v2_s144047584
s144047584
s144047584
p03273
p03273
u719622470
u719622470
1,544,642,246
2018-12-12T19:17:26
Main.java
/* package codechef; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Main { public static void main (String[] args) throws java.lang.Exception { Scanner sc = new Scanner(System.in); int h = sc.nex...
Main.java:42: error: ')' or ',' expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u719622470|p03273|0
u719622470|p03273|0
codenet
Compile Error
940
v2_s453420372
s453420372
s453420372
p03273
p03273
u796228844
u796228844
1,535,293,311
2018-08-26T14:21:51
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.List; import java.util.Scanner; import java.util.ArrayList; /** * Built using CHelper plug-in * Actual solution is at the top * * @author Kenji */ public class Main { public static...
Main.java:26: error: class Main is already defined in package unnamed package static class Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u796228844|p03273|1
u796228844|p03273|1
codenet
Compile Error
2,244
v2_s724063939
s724063939
s724063939
p03273
p03273
u809407598
u809407598
1,551,917,816
2019-03-07T00:16:56
Main.java
s
Main.java:1: error: reached end of file while parsing s ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809407598|p03273|0
u809407598|p03273|0
codenet
Compile Error
1
v2_s680474931
s680474931
s680474931
p03274
p03274
u018679195
u018679195
1,543,511,826
2018-11-29T17:17:06
Main.java
public class Main { public static void main(String[] args) { final Scanner sc = new Scanner(System.in); final int N = sc.nextInt(); final int K = sc.nextInt(); final List<Integer> pointGt = new ArrayList<Integer>(); final List<Integer> pointLt = new ArrayList<Integer>(); ...
Main.java:5: error: cannot find symbol final Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol final Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: clas...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03274|2
u018679195|p03274|1
codenet
Compile Error
2,323
v2_s082291968
s082291968
s082291968
p03274
p03274
u018679195
u018679195
1,543,555,984
2018-11-30T05:33:04
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static Integer listAll(List<Integer> list, Integer[] intArr, int n, Integer minVal) { if (n == 0) { int temMinValue = Math.abs(list.get(0)-0); for(int i = 1; i<list.size(); i...
Main.java:39: error: cannot find symbol Main.jisuan(numbers, M); ^ symbol: method jisuan(Integer[],int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03274|4
u018679195|p03274|2
codenet
Compile Error
1,591
v2_s554377031
s554377031
s554377031
p03274
p03274
u018679195
u018679195
1,543,854,069
2018-12-03T16:21:09
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main{ static int N; static int K; static int[] arry; static int Answer = 99999999; static boolean status = false; public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); N = sc.n...
Main.java:24: error: cannot find symbol Lazhu.cal(arry,K); ^ symbol: variable Lazhu location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03274|11
u018679195|p03274|6
codenet
Compile Error
1,941
v2_s755999994
s755999994
s755999994
p03274
p03274
u049739819
u049739819
1,535,251,192
2018-08-26T02:39:52
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n =sc.nextInt(); int k = sc.nextInt(); int x[] = new int[n]; int negnum=0; int posnum=0; int time1; int time2; /* for (int i=0;i<n;++i){ x[i]=sc.nextInt(); if (x[i]<0...
Main.java:28: error: no suitable method found for min(int) else time1 =Math.min(Math.abs(x[i])+Math.abs(x[i+k-1])); ^ method Math.min(int,int) is not applicable (actual and formal argument lists differ in length) method Math.min(long,long) is not applicable (actual and formal a...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u049739819|p03274|0
u049739819|p03274|0
codenet
Compile Error
678
v2_s571304244
s571304244
s571304244
p03274
p03274
u089230684
u089230684
1,543,853,879
2018-12-03T16:17:59
Main.java
public class Main{ private static int N=(int)Math.pow(10, 5); private static int n,k; private static long[] a; private static long ans=(int)Math.pow(10, 5)*2; public static void main(String args[]) { Scanner sc =new Scanner(System.in); n=sc.nextInt(); k=sc.nextInt(); a=new long[N+5]; for(int i=1;i<...
Main.java:11: error: cannot find symbol Scanner sc =new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:11: 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
u089230684|p03274|10
u089230684|p03274|6
codenet
Compile Error
544
v2_s457289011
s457289011
s457289011
p03274
p03274
u089230684
u089230684
1,543,903,504
2018-12-04T06:05:04
Main.java
import java.io.FileInputStream; import java.util.Scanner; public class Main{ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int K = sc.nextInt(); int[] candles = new int[N]; for(int i = 0; i < N; i++) candles[i] = sc.nextInt(); int temp = 0, time = I...
Main.java:8: error: illegal start of type for(int i = 0; i < N; i++) candles[i] = sc.nextInt(); ^ Main.java:8: error: > or ',' expected for(int i = 0; i < N; i++) candles[i] = sc.nextInt(); ^ Main.java:8: error: <identifier> expected for(int i = 0; i < N; i+...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u089230684|p03274|12
u089230684|p03274|7
codenet
Compile Error
668
v2_s800648544
s800648544
s800648544
p03274
p03274
u183943351
u183943351
1,543,640,566
2018-12-01T05:02:46
Main.java
ct Code import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String nextLine = sc.nextLine(); int N = Integer.valueOf(nextLine.split("\\s+")[0]); int K = Integer.valueOf(nextLine.split("\\s+")[1]); nextLine = sc.nextLine(); System.out...
Main.java:1: error: class, interface, enum, or record expected ct Code ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u183943351|p03274|0
u183943351|p03274|0
codenet
Compile Error
1,174
v2_s113820403
s113820403
s113820403
p03274
p03274
u217010036
u217010036
1,538,164,504
2018-09-28T19:55:04
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { new Main().run(); } public void run() { try(BufferedReader in = new BufferedReader(new InputStreamReader(System.in))) { String[] line...
Main.java:32: error: cannot find symbol int sumF = sumB = sum = 0; ^ symbol: variable sumB location: class Main Main.java:32: error: cannot find symbol int sumF = sumB = sum = 0; ^ symbol: variable sum location: class Main Main.java:35: error: cannot find...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u217010036|p03274|0
u217010036|p03274|0
codenet
Compile Error
1,188
v2_s104072888
s104072888
s104072888
p03274
p03274
u394721319
u394721319
1,559,605,661
2019-06-03T23:47:41
Main.java
N,K = [int(i) for i in input().split()] X = [int(i) for i in input().split()] ans = 10**9 for i in range(N-K+1): l = X[i] r = X[i+K-1] if l < 0 and r <= 0: tmp = -l elif l >= 0 and r > 0: tmp = r else: tmp = min(abs(l),r)*2 + max(abs(l),r) ans = min(ans,tmp) print(ans)
Main.java:1: error: class, interface, enum, or record expected N,K = [int(i) for i in input().split()] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u394721319|p03274|0
u394721319|p03274|0
codenet
Compile Error
319
v2_s681044869
s681044869
s681044869
p03274
p03274
u431954591
u431954591
1,551,653,697
2019-03-03T22:54:57
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); int N = input.nextInt(); int K = input.nextInt(); int[] X = new int[N]; int smallGap = 1000000000; for (int i = 0; i < N; i++) { X[i] =...
Main.java:21: error: '(' expected } if else (max < 0) { ^ Main.java:21: error: illegal start of expression } if else (max < 0) { ^ Main.java:21: error: not a statement } if else (max < 0) { ^ Main.java:21: error: ';' expected ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u431954591|p03274|0
u431954591|p03274|0
codenet
Compile Error
794
v2_s592776654
s592776654
s592776654
p03274
p03274
u474492589
u474492589
1,566,401,386
2019-08-21T15:29:46
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long N = sc.nextLong(); long K = sc.nextLong(); long[] x = new int[N]; for(int i = 0; i < N; i++){ x[i] = sc.nextlong(); } sc.cl...
Main.java:9: error: incompatible types: possible lossy conversion from long to int long[] x = new int[N]; ^ Main.java:9: error: incompatible types: int[] cannot be converted to long[] long[] x = new int[N]; ^ Main.java:11: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u474492589|p03274|0
u474492589|p03274|0
codenet
Compile Error
1,507
v2_s707495085
s707495085
s707495085
p03274
p03274
u474492589
u474492589
1,566,401,447
2019-08-21T15:30:47
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long N = sc.nextLong(); long K = sc.nextLong(); long[] x = new long[N]; for(int i = 0; i < N; i++){ x[i] = sc.nextlong(); } sc.c...
Main.java:9: error: incompatible types: possible lossy conversion from long to int long[] x = new long[N]; ^ Main.java:11: error: cannot find symbol x[i] = sc.nextlong(); ^ symbol: method nextlong() location: variable sc of type Scanner Main.jav...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u474492589|p03274|0
u474492589|p03274|0
codenet
Compile Error
1,509
v2_s147460920
s147460920
s147460920
p03274
p03274
u474492589
u474492589
1,566,402,622
2019-08-21T15:50:22
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 K = sc.nextInt(); int[] x = new Int[N]; for(int i = 0; i < N; i++){ x[i] = sc.nextLong(); } sc.close()...
Main.java:9: error: cannot find symbol int[] x = new Int[N]; ^ symbol: class Int location: class Main Main.java:11: error: incompatible types: possible lossy conversion from long to int x[i] = sc.nextLong(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u474492589|p03274|0
u474492589|p03274|0
codenet
Compile Error
533
v2_s453987771
s453987771
s453987771
p03274
p03274
u474492589
u474492589
1,566,402,651
2019-08-21T15:50:51
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 K = sc.nextInt(); int[] x = new Int[N]; for(int i = 0; i < N; i++){ x[i] = sc.nextInt(); } sc.close();...
Main.java:9: error: cannot find symbol int[] x = new Int[N]; ^ symbol: class Int location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u474492589|p03274|0
u474492589|p03274|0
codenet
Compile Error
532
v2_s244562502
s244562502
s244562502
p03274
p03274
u520067800
u520067800
1,590,353,382
2020-05-24T20:49:42
Main.java
mport java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class Main { public static void main(String[]args) { try(Scanner scan = new Scanner(System.in)){ int N = scan.nextInt(); int K = scan.nextInt(); int[]x = new int[N]; ArrayList<Integer>pra = new ArrayLis...
Main.java:1: error: class, interface, enum, or record expected mport java.util.ArrayList; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.Collections; ^ Main.java:3: error: class, interface, enum, or record expected import java.util.Scanner; ^ Main.java:79: error: reached end of file w...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u520067800|p03274|0
u520067800|p03274|0
codenet
Compile Error
1,619
v2_s385597308
s385597308
s385597308
p03274
p03274
u520067800
u520067800
1,590,353,421
2020-05-24T20:50:21
Main.java
import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class Main { public static void main(String[]args) { try(Scanner scan = new Scanner(System.in)){ int N = scan.nextInt(); int K = scan.nextInt(); int[]x = new int[N]; ArrayList<Integer>pra = new ArrayLi...
Main.java:79: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u520067800|p03274|0
u520067800|p03274|0
codenet
Compile Error
1,620
v2_s873251041
s873251041
s873251041
p03274
p03274
u651496869
u651496869
1,536,296,042
2018-09-07T04:54:02
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 k = sc.nextInt(); int[] box = new int[n]; for (int i = 0; i < n; i++) { box[i] = sc.nextInt(); } int min...
Main.java:1: error: ';' expected import java.util.* ^ Main.java:15: error: ';' expected int diff = Math.abs(box[i] - box[i+k-1]) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u651496869|p03274|0
u651496869|p03274|0
codenet
Compile Error
605
v2_s536985769
s536985769
s536985769
p03274
p03274
u651496869
u651496869
1,536,296,120
2018-09-07T04:55: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 k = sc.nextInt(); int[] box = new int[n]; for (int i = 0; i < n; i++) { box[i] = sc.nextInt(); } int m...
Main.java:16: error: cannot find symbol int tmp = diff + Math.min(Math.abs(x[i]), Math.abs(x[i + k - 1])); ^ symbol: variable x location: class Main Main.java:16: error: cannot find symbol int tmp = diff + Math.min(Math.abs(x[i]), Math.abs(x[i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u651496869|p03274|0
u651496869|p03274|0
codenet
Compile Error
608
v2_s810144952
s810144952
s810144952
p03274
p03274
u704373596
u704373596
1,579,754,985
2020-01-23T04:49:45
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 k = sc.nextInt(); int[] array = new int[n]; for (int i = 0; i < n; i++) { array[i] = sc.nextInt(); } ...
Main.java:29: error: cannot find symbol maxAbs = Math.abs(max); ^ symbol: variable maxAbs location: class Main Main.java:30: error: cannot find symbol minAbs = Math.abs(min); ^ symbol: variable minAbs location: class Main Main.java:32: error: cannot find symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u704373596|p03274|0
u704373596|p03274|0
codenet
Compile Error
961
v2_s100828070
s100828070
s100828070
p03274
p03274
u752146501
u752146501
1,553,124,869
2019-03-20T23:34:29
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.io.Closeable; import java.util.Comparator; import java.util.NoSuchElementException; import java.io.InputStream; /**...
Main.java:54: error: > or ',' expected for (int i = startIndex; i + K < xs.size() && startIndex =< zeroINDEX; i++) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u752146501|p03274|0
u752146501|p03274|0
codenet
Compile Error
4,389
v2_s281123753
s281123753
s281123753
p03274
p03274
u988402778
u988402778
1,535,299,375
2018-08-26T16:02:55
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(), k = sc.nextLong(); List<Long> positive = new ArrayList<>(); List<Long> negative = new ArrayList<>(); for(long i = 0; i < n; i++) { long x = sc.nextLong(); if(x...
Main.java:20: error: incompatible types: possible lossy conversion from long to int ans = Math.min(ans, positive.get(k - i - 2) - 2 * negative.get(i)); ^ Main.java:20: error: incompatible types: possible lossy conversion from long to int ans = Math.min(ans, positive.get(k...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u988402778|p03274|0
u988402778|p03274|0
codenet
Compile Error
1,043
v2_s804123701
s804123701
s804123701
p03274
p03274
u992675902
u992675902
1,535,249,983
2018-08-26T02:19:43
Main.java
import java.io.*; import java.util.Arrays; import java.util.StringTokenizer; public class Main { private void solve(InputReader in, PrintWriter out) { int n = in.nextInt(); int k = in.nextInt(); int[] arr = new int[n]; for (int i = 0; i < n; i++) { arr[i] = in.nextInt()...
Main.java:45: error: cannot find symbol new Solution().run(); ^ symbol: class Solution location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u992675902|p03274|0
u992675902|p03274|0
codenet
Compile Error
2,542
v2_s256105965
s256105965
s256105965
p03275
p03275
u792984973
u792984973
1,574,623,206
2019-11-24T19:20:06
Main.java
#pragma GCC optimize("O3") /****Author: Barish Namazov****/ #include <bits/stdc++.h> using namespace std; /***TEMPLATE***/ #define all(v) (v).begin(),(v).end() #define rall(v) (v).rbegin(),(v).rend() #define F first #define S second #define pb push_back #define endl '\n' const int max4 = 10004; const int maxx = 1...
Main.java:1: error: illegal character: '#' #pragma GCC optimize("O3") ^ Main.java:4: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: unnamed classes are a preview feature and are disabled by default. #pragma GCC optimize("O3") ^ (use --enable-preview to enable unnamed classes) Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792984973|p03275|0
u792984973|p03275|0
codenet
Compile Error
2,986
v2_s853080401
s853080401
s853080401
p03275
p03275
u792984973
u792984973
1,574,624,531
2019-11-24T19:42:11
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException{ BufferedReader f = new BufferedReader(new InputStreamReader(System.in)); PrintWriter out = new PrintWriter(new PrintStream(System.out)); n=Integer.parseInt(f.readLine()); ...
Main.java:10: error: cannot find symbol brr=new int[n]; ^ symbol: variable brr location: class Main Main.java:14: error: cannot find symbol brr[i]=arr[i]; ^ symbol: variable brr location: class Main Main.java:16: error: cannot find symbol Arrays.sort(brr); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792984973|p03275|0
u792984973|p03275|0
codenet
Compile Error
2,130
v2_s749965136
s749965136
s749965136
p03275
p03275
u792984973
u792984973
1,574,625,345
2019-11-24T19:55:45
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException{ BufferedReader f = new BufferedReader(new InputStreamReader(System.in)); PrintWriter out = new PrintWriter(new PrintStream(System.out)); n=Integer.parseInt(f.readLine()); ...
Main.java:21: error: incompatible types: possible lossy conversion from long to int if (doable(brr[mid])) { ^ Main.java:27: error: incompatible types: possible lossy conversion from long to int System.out.print(brr[lo]); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792984973|p03275|0
u792984973|p03275|0
codenet
Compile Error
2,161
v2_s191608225
s191608225
s191608225
p03275
p03275
u803314854
u803314854
1,535,251,229
2018-08-26T02:40:29
Main.java
import java.util.*; public class Main { public static void main(String[] args) { // 自分の得意な言語で // Let's チャレンジ!! Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int num[]=new int[n]; for(int i=0;i<n;i++){ num[i]=sc.nextInt(); } if(n==1)System...
Main.java:18: error: cannot find symbol max=Math.max(num[n/2+1],num[n/2]); ^ symbol: variable max location: class Main Main.java:19: error: cannot find symbol System.out.println(max); ^ symbol: variable max location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p03275|0
u803314854|p03275|0
codenet
Compile Error
549
v2_s897651844
s897651844
s897651844
p03275
p03275
u923606520
u923606520
1,536,119,741
2018-09-05T03:55:41
Main.java
import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; import java.util.*; import java.util.function.IntFunction; import java.util.function.Supplier; import java.util.stream.Collectors; import java.util.stream.IntStream; import java.util.stream.Stream; public class Main { static int ...
Main.java:26: error: incompatible types: int cannot be converted to Long map.put(a[i],map.getOrDefault(a[i],0)+1+2*i); ^ Main.java:28: error: incompatible types: int cannot be converted to Long map.put(a[i],map.getOrDefault(a...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923606520|p03275|0
u923606520|p03275|0
codenet
Compile Error
9,332
v2_s565365915
s565365915
s565365915
p03275
p03275
u923606520
u923606520
1,536,119,774
2018-09-05T03:56:14
Main.java
import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; import java.util.*; import java.util.function.IntFunction; import java.util.function.Supplier; import java.util.stream.Collectors; import java.util.stream.IntStream; import java.util.stream.Stream; public class Main { static int ...
Main.java:26: error: incompatible types: int cannot be converted to Long map.put(a[i],map.getOrDefault(a[i],0l)+1+2*i); ^ Main.java:28: error: incompatible types: int cannot be converted to Long map.put(a[i],map.getOrDefault(a[i],0l)+(n-i)*2); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923606520|p03275|0
u923606520|p03275|0
codenet
Compile Error
9,336
v2_s088650754
s088650754
s088650754
p03275
p03275
u923606520
u923606520
1,536,120,741
2018-09-05T04:12:21
Main.java
import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; import java.util.*; import java.util.function.IntFunction; import java.util.function.Supplier; import java.util.stream.Collectors; import java.util.stream.IntStream; import java.util.stream.Stream; public class Main { static int ...
Main.java:18: error: incompatible types: Long cannot be converted to int long[] a=new long[(int)n]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923606520|p03275|0
u923606520|p03275|0
codenet
Compile Error
9,350
v2_s577393610
s577393610
s577393610
p03276
p03276
u587721314
u587721314
1,564,861,409
2019-08-03T19:43:29
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { c(); } private void c() { FastReader sc = new FastReader(); int n = sc.nextInt(); int k = sc...
Main.java:10: error: non-static method c() cannot be referenced from a static context c(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587721314|p03276|0
u587721314|p03276|0
codenet
Compile Error
1,828
v2_s032054489
s032054489
s032054489
p03276
p03276
u587721314
u587721314
1,564,861,475
2019-08-03T19:44:35
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { c() } private static void c() { FastReader sc = new FastReader(); int n = sc.nextInt(); i...
Main.java:10: error: ';' expected c() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587721314|p03276|0
u587721314|p03276|0
codenet
Compile Error
1,837
v2_s034121904
s034121904
s034121904
p03276
p03276
u587721314
u587721314
1,564,861,548
2019-08-03T19:45:48
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { c(); } private void c() { FastReader sc = new FastReader(); int n = sc.nextInt(); int k = s...
Main.java:10: error: non-static method c() cannot be referenced from a static context c(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587721314|p03276|0
u587721314|p03276|0
codenet
Compile Error
1,829
v2_s155354370
s155354370
s155354370
p03276
p03276
u892539090
u892539090
1,535,250,568
2018-08-26T02:29:28
Main.java
import java.util.*; public class Main { public static void main(String[] args)throws Exception Scanner sc = new Scanner(System.in); int n= sc.nextInt(); int k = sc.nextInt(); int[] candle = new int[n]; for (int i = 0; i < n;i++) candle[i] = sc.nextInt(); ...
Main.java:6: error: ';' expected public static void main(String[] args)throws Exception ^ Main.java:11: error: illegal start of type for (int i = 0; i < n;i++) ^ Main.java:11: error: > or ',' expected for (int i = 0; i < n;i++) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u892539090|p03276|0
u892539090|p03276|0
codenet
Compile Error
1,334
v2_s889178834
s889178834
s889178834
p03276
p03276
u892539090
u892539090
1,535,250,836
2018-08-26T02:33:56
Main.java
import java.util.*; public class Main { public static void main(String[] args)throws Exception{ Scanner sc = new Scanner(System.in); int n= sc.nextInt(); int k = sc.nextInt(); int[] candle = new int[n]; for (int i = 0; i < n;i++) candle[i] = sc.nextInt(); ...
Main.java:19: error: incompatible types: unexpected return value return -candle[n-k]; ^ Main.java:31: error: incompatible types: unexpected return value return min; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u892539090|p03276|0
u892539090|p03276|0
codenet
Compile Error
1,338
v2_s085913512
s085913512
s085913512
p03276
p03276
u892539090
u892539090
1,535,426,192
2018-08-28T03:16:32
Main.java
public class Main { public static void swap(int[] num, int l, int h){ int p = num[l]; num[l] = num[h]; num[h] = p; } public static void main(String[] args)throws Exception{ Scanner sc = new Scanner(System.in); int n= sc.nextInt(); int[] num = new int[n]; ...
Main.java:10: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:10: 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
u892539090|p03276|1
u892539090|p03276|1
codenet
Compile Error
1,519
v2_s511772141
s511772141
s511772141
p03276
p03276
u923606520
u923606520
1,535,819,143
2018-09-01T16:25:43
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.*; import java.util.function.IntFunction; import java.util.function.Supplier; import java.util.stream.IntStream; import java.util.stream.Stream; public class Main { static int x; public static void main(String[] args) { Scanner s...
Main.java:13: error: no suitable constructor found for Scanner(no arguments) Scanner scanner = new Scanner(); ^ constructor Scanner.Scanner(Readable,Pattern) is not applicable (actual and formal argument lists differ in length) constructor Scanner.Scanner(Readable) is not...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923606520|p03276|0
u923606520|p03276|0
codenet
Compile Error
1,602
v2_s981941099
s981941099
s981941099
p03277
p03277
u334624175
u334624175
1,535,250,290
2018-08-26T02:24:50
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); long n = sc.nextInt(); long[] a = new long[n]; long sum = 0; for (long i = 0; i < n; i++) { a[i] = sc.nextInt(); sum += i+1; } sum = sum / 2 + 1; long[...
Main.java:8: error: incompatible types: possible lossy conversion from long to int long[] a = new long[n]; ^ Main.java:12: error: incompatible types: possible lossy conversion from long to int a[i] = sc.nextInt(); ^ Main.java:18: error: incompatible types: possible lossy conver...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334624175|p03277|0
u334624175|p03277|0
codenet
Compile Error
1,093
v2_s056434886
s056434886
s056434886
p03280
p03280
u073606136
u073606136
1,587,909,805
2020-04-26T14:03:25
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System in); int vertical = sc.next(); int side = sc.next(); System.out.println((vertical - 1) * (side - 1)); } }
Main.java:5: error: ')' or ',' expected Scanner sc = new Scanner(System in); ^ Main.java:5: error: not a statement Scanner sc = new Scanner(System in); ^ Main.java:5: error: ';' expected Scanner sc = new Scanner(System in); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p03280|0
u073606136|p03280|0
codenet
Compile Error
242
v2_s417520970
s417520970
s417520970
p03280
p03280
u073606136
u073606136
1,587,909,840
2020-04-26T14:04:00
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int vertical = sc.next(); int side = sc.next(); System.out.println((vertical - 1) * (side - 1)); } }
Main.java:6: error: incompatible types: String cannot be converted to int int vertical = sc.next(); ^ Main.java:7: error: incompatible types: String cannot be converted to int int side = sc.next(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p03280|0
u073606136|p03280|0
codenet
Compile Error
242
v2_s850390050
s850390050
s850390050
p03280
p03280
u238640707
u238640707
1,534,646,577
2018-08-19T02:42:57
Main.java
import java.util.*; import java.io.*; import static java.lang.Math.*; import static java.util.Arrays.*; import static java.util.Collections.*; public class Main{ static final long mod=1000000007; public static void main(String[] args) throws Exception, IOException{ Reader sc = new Reader(Sys...
Main.java:20: error: variable n is already defined in method main(String[]) int n=sc.nextInt(); ^ Main.java:21: error: cannot find symbol n--;m--; ^ symbol: variable m location: class Main Main.java:22: error: cannot find symbol out.println(m*n); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u238640707|p03280|0
u238640707|p03280|0
codenet
Compile Error
1,690
v2_s441251576
s441251576
s441251576
p03280
p03280
u238640707
u238640707
1,534,646,601
2018-08-19T02:43:21
Main.java
import java.util.*; import java.io.*; import static java.lang.Math.*; import static java.util.Arrays.*; import static java.util.Collections.*; public class Main{ static final long mod=1000000007; public static void main(String[] args) throws Exception, IOException{ Reader sc = new Reader(Sys...
Main.java:20: error: variable n is already defined in method main(String[]) int n=sc.nextInt(); ^ Main.java:21: error: cannot find symbol n--;m--; ^ symbol: variable m location: class Main Main.java:22: error: cannot find symbol out.println(m*n); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u238640707|p03280|0
u238640707|p03280|0
codenet
Compile Error
1,690
v2_s202281528
s202281528
s202281528
p03280
p03280
u328696542
u328696542
1,556,136,971
2019-04-24T20:16:11
Main.java
import java.util.scanner; Class test{ public static void main(String args[]) { int A = scanner.nextInt(); int B = scanner.nextInt(); int C = ((A-1)*(B-1)); System.ou.println(C) } }
Main.java:3: error: class, interface, enum, or record expected Class test{ ^ 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:11: error: ';' expected System.ou.prin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u328696542|p03280|0
u328696542|p03280|0
codenet
Compile Error
184
v2_s260732062
s260732062
s260732062
p03280
p03280
u328696542
u328696542
1,556,137,003
2019-04-24T20:16:43
Main.java
import java.util.scanner; Class test{ public static main(String args[]) { int A = scanner.nextInt(); int B = scanner.nextInt(); int C = ((A-1)*(B-1)); System.ou.println(C) } }
Main.java:3: error: class, interface, enum, or record expected Class test{ ^ Main.java:4: error: class, interface, enum, or record expected public static main(String args[]) { ^ Main.java:7: error: unnamed classes are a preview feature and are disabled by default. int B = scanner.nextInt(); ^ (use --ena...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u328696542|p03280|0
u328696542|p03280|0
codenet
Compile Error
179
v2_s576264884
s576264884
s576264884
p03280
p03280
u442877951
u442877951
1,594,247,266
2020-07-08T22:27:46
Main.java
import java.util.*; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int H = sc.nextInt(), W = nextInt(); int ans = (H-1)*(W-1); System.out.println(ans); } }
Main.java:5: error: cannot find symbol int H = sc.nextInt(), W = nextInt(); ^ symbol: method nextInt() location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u442877951|p03280|0
u442877951|p03280|0
codenet
Compile Error
246
v2_s780072588
s780072588
s780072588
p03280
p03280
u448618478
u448618478
1,534,684,274
2018-08-19T13:11:14
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner=new.Scanner(System.in); int a =scanner.nextInt(); int b =scanner.nextInt(); System.out.println((a-1)*(b-1)); } }
Main.java:6: error: <identifier> expected Scanner scanner=new.Scanner(System.in); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u448618478|p03280|0
u448618478|p03280|0
codenet
Compile Error
250
v2_s299120084
s299120084
s299120084
p03280
p03280
u494228200
u494228200
1,592,501,212
2020-06-18T17:26:52
Main.java
import java.util.*; public class Main{ piblic static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println((a-1)*(b-1)); } }
Main.java:5: error: <identifier> expected piblic static void main(String[] args){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u494228200|p03280|0
u494228200|p03280|0
codenet
Compile Error
250
v2_s596533974
s596533974
s596533974
p03280
p03280
u522636435
u522636435
1,598,377,003
2020-08-25T17:36:43
Main.java
mport java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); sc.close(); System.out.println((a - 1) * (b - 1)); } }
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
u522636435|p03280|0
u522636435|p03280|0
codenet
Compile Error
253
v2_s749899115
s749899115
s749899115
p03280
p03280
u523986442
u523986442
1,538,659,674
2018-10-04T13:27:54
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int A = scanner.nextInt(); int B = scanner.nextInt(); System.out.printf("%d\n", (A-1)*(B-1)); scanner.close(); } }
Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u523986442|p03280|1
u523986442|p03280|1
codenet
Compile Error
244
v2_s092006475
s092006475
s092006475
p03280
p03280
u547167033
u547167033
1,561,510,251
2019-06-26T00:50:51
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println((a-1)*(b-1)); sc.close(); } }
Main.java:4: error: cannot find symbol Scanner sc = new scanner(System.in); ^ symbol: class scanner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03280|0
u547167033|p03280|0
codenet
Compile Error
242
v2_s265352503
s265352503
s265352503
p03280
p03280
u599949725
u599949725
1,534,641,396
2018-08-19T01:16:36
Main.java
import java.util.*; class Main { static Scanner scan = new Scanner(System.in); public static void main(String[] args){ int tate = scan.next(); int yoko = scan.next(); tate -= 1; yoko -= 1; return (tate*yoko); } }
Main.java:8: error: incompatible types: String cannot be converted to int int tate = scan.next(); ^ Main.java:9: error: incompatible types: String cannot be converted to int int yoko = scan.next(); ^ Main.java:14: error: incompatible types: unexpected return value...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u599949725|p03280|0
u599949725|p03280|0
codenet
Compile Error
253
v2_s936799063
s936799063
s936799063
p03280
p03280
u606858659
u606858659
1,535,656,843
2018-08-30T19:20:43
Main.java
java.util.scanner; public static void main(String[] args){ public class Main{ int A,B; Scanner push = new Scanner(System.in); A = push.nextInt(); B = push.nextInt(); int gokei; gokei = A * B - ( A + B - 1); System.out.println(sum); } }
Main.java:1: error: class, interface, enum, or record expected java.util.scanner; ^ Main.java:3: 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:4: error: illegal start of expre...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606858659|p03280|1
u606858659|p03280|1
codenet
Compile Error
300
v2_s245941601
s245941601
s245941601
p03280
p03280
u606858659
u606858659
1,535,656,881
2018-08-30T19:21:21
Main.java
java.util.*; public static void main(String[] args){ public class Main{ int A,B; Scanner push = new Scanner(System.in); A = push.nextInt(); B = push.nextInt(); int gokei; gokei = A * B - ( A + B - 1); System.out.println(sum); } }
Main.java:1: error: class, interface, enum, or record expected java.util.*; ^ Main.java:3: 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:4: error: illegal start of expression ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606858659|p03280|1
u606858659|p03280|1
codenet
Compile Error
294
v2_s883602230
s883602230
s883602230
p03280
p03280
u606858659
u606858659
1,535,656,930
2018-08-30T19:22:10
Main.java
java.util.*; public static void main(String[] args){ public class Main{ int A,B; Scanner push = new Scanner(System.in); A = push.nextInt(); B = push.nextInt(); int gokei; gokei = A * B - ( A + B - 1); System.out.println(Sum); } }
Main.java:1: error: class, interface, enum, or record expected java.util.*; ^ Main.java:3: 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:4: error: illegal start of expression ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606858659|p03280|1
u606858659|p03280|1
codenet
Compile Error
294
v2_s592710500
s592710500
s592710500
p03280
p03280
u606858659
u606858659
1,535,656,948
2018-08-30T19:22:28
Main.java
java.util.*; public static void main(String[] args){ public class Main{ int A,B; Scanner push = new Scanner(System.in); A = push.nextInt(); B = push.nextInt(); int gokei; gokei = A * B - ( A + B - 1); System.out.println(gokei); } }
Main.java:1: error: class, interface, enum, or record expected java.util.*; ^ Main.java:3: 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:4: error: illegal start of expression ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606858659|p03280|1
u606858659|p03280|1
codenet
Compile Error
296
v2_s561882338
s561882338
s561882338
p03280
p03280
u633463117
u633463117
1,534,662,740
2018-08-19T07:12:20
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); System.out.println((sc.nextInt()-1)*sc.nextInt()-1)); } }
Main.java:6: error: ';' expected System.out.println((sc.nextInt()-1)*sc.nextInt()-1)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u633463117|p03280|0
u633463117|p03280|0
codenet
Compile Error
186
v2_s851103202
s851103202
s851103202
p03280
p03280
u719622470
u719622470
1,534,640,641
2018-08-19T01:04:01
Main.java
import java.util.*: public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a=sc.nextInt()-1,b=sc.nextInt()-1; System.out.println(a*b); } }
Main.java:1: error: ';' expected import java.util.*: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u719622470|p03280|0
u719622470|p03280|0
codenet
Compile Error
200
v2_s008140019
s008140019
s008140019
p03280
p03280
u753946386
u753946386
1,549,750,231
2019-02-09T22:10:31
TaskA.java
package main; import net.egork.io.InputReader; import net.egork.io.OutputWriter; public class TaskA { public void solve(int testNumber, InputReader in, OutputWriter out) { int A = in.readInt(); int B = in.readInt(); out.print((A - 1) * (B - 1)); } }
TaskA.java:3: error: package net.egork.io does not exist import net.egork.io.InputReader; ^ TaskA.java:4: error: package net.egork.io does not exist import net.egork.io.OutputWriter; ^ TaskA.java:7: error: cannot find symbol public void solve(int testNumber, InputReader in, Out...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753946386|p03280|0
u753946386|p03280|0
codenet
Compile Error
284
v2_s685590988
s685590988
s685590988
p03280
p03280
u809407598
u809407598
1,551,977,313
2019-03-07T16:48:33
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(); System.out.println((A-1)*(B-1)); } }
Main.java:9: error: cannot find symbol System.out.println((A-1)*(B-1)); ^ symbol: variable A location: class Main Main.java:9: error: cannot find symbol System.out.println((A-1)*(B-1)); ^ symbol: variable B location: class Main 2 erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809407598|p03280|0
u809407598|p03280|0
codenet
Compile Error
257
v2_s751007434
s751007434
s751007434
p03280
p03280
u809458301
u809458301
1,534,737,610
2018-08-20T04:00:10
Main.java
/* package codechef; // don't place package name! */ import java.util.*; import java.util.Scanner; import java.lang.*; import java.Math.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Codechef { public static void main (String[] args) throws java.lang.Exception { ...
Main.java:6: error: package java.Math does not exist import java.Math.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809458301|p03280|0
u809458301|p03280|0
codenet
Compile Error
473
v2_s240900196
s240900196
s240900196
p03280
p03280
u811309788
u811309788
1,534,640,457
2018-08-19T01:00:57
Main.java
import java.util.*; import java.util.stream.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(), b = in.next(); System.out.println(a * b - a - b + 1); } }
Main.java:7: error: incompatible types: String cannot be converted to int int a = in.nextInt(), b = in.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u811309788|p03280|0
u811309788|p03280|0
codenet
Compile Error
259
v2_s739459118
s739459118
s739459118
p03280
p03280
u947720271
u947720271
1,534,808,174
2018-08-20T23:36:14
Main.java
import java.util.Scanner; public class Main public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); int A, B, C; A = keyboard.nextInt(); B = keyboard.nextInt(); C = (A-1)(B-1) System.out.print(C); keyboard.close(); }
Main.java:3: error: '{' expected public class Main ^ Main.java:12: error: not a statement C = (A-1)(B-1) ^ Main.java:5: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u947720271|p03280|0
u947720271|p03280|0
codenet
Compile Error
250
v2_s391508290
s391508290
s391508290
p03280
p03280
u947720271
u947720271
1,534,808,379
2018-08-20T23:39:39
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); int A, B, C; A = keyboard.nextInt(); B = keyboard.nextInt(); C = (A-1)*(B-1) System.out.print(C); keyboard.close(); } }
Main.java:12: error: ';' expected C = (A-1)*(B-1) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u947720271|p03280|0
u947720271|p03280|0
codenet
Compile Error
260
v2_s092842588
s092842588
s092842588
p03280
p03280
u947720271
u947720271
1,534,808,416
2018-08-20T23:40:16
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); int A, B, C; A = keyboard.nextInt(); B = keyboard.nextInt(); C = (A-1) * (B-1) System.out.print(C); keyboard.close(); } }
Main.java:12: error: ';' expected C = (A-1) * (B-1) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u947720271|p03280|0
u947720271|p03280|0
codenet
Compile Error
262
v2_s793593959
s793593959
s793593959
p03280
p03280
u971476953
u971476953
1,593,720,506
2020-07-02T20:08:26
Main.java
a,b = map(int,input().split()) print(a * b - a - b + 1)
Main.java:1: error: class, interface, enum, or record expected a,b = map(int,input().split()) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u971476953|p03280|0
u971476953|p03280|0
codenet
Compile Error
55
v2_s797798123
s797798123
s797798123
p03281
p03281
u003018968
u003018968
1,534,807,312
2018-08-20T23:21:52
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int result = 0; for(int j = 1; j <= n; j += 2){ int odd = 3; int j_ = j; while(odd < j){ int count = 2; if(j_ % odd == 0){ ...
Main.java:20: error: cannot find symbol if(count == 8){ ^ symbol: variable count location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u003018968|p03281|0
u003018968|p03281|0
codenet
Compile Error
513
v2_s214909806
s214909806
s214909806
p03281
p03281
u005491552
u005491552
1,583,426,920
2020-03-05T16:48:40
Main.java
#include <iostream> using namespace std; int main(){ int N; cin >> N; int onecount = 0; int totalcount = 0; for(int m = 1; m <= N; m=m+2){ for(int i = 1; i <= m; i++){ if(m%i == 0){ onecount++; } } if(onecount == 8){ totalco...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:5: error: not a statement cin >> N; ^ Main.java:19: error: not a statement cout << totalcount << endl; ^ Main.ja...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u005491552|p03281|0
u005491552|p03281|0
codenet
Compile Error
412
v2_s665869891
s665869891
s665869891
p03281
p03281
u005491552
u005491552
1,583,426,942
2020-03-05T16:49:02
Main.java
#include <iostream> using namespace std; int main(){ int N; cin >> N; int onecount = 0; int totalcount = 0; for(int m = 1; m <= N; m=m+2){ for(int i = 1; i <= m; i++){ if(m%i == 0){ onecount++; } } if(onecount == 8){ totalco...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:5: error: not a statement cin >> N; ^ Main.java:19: error: not a statement cout << totalcount << endl; ^ Main.ja...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u005491552|p03281|0
u005491552|p03281|0
codenet
Compile Error
412
v2_s801721797
s801721797
s801721797
p03281
p03281
u038676814
u038676814
1,535,086,347
2018-08-24T04:52:27
Main.java
public class Main { public static void main(String[] args) { new Main().run(); } void run() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); System.out.println(IntStream.rangeClosed(1,n).filter(i -> i%2 != 0).filter(i -> IntStream.rangeClosed(1,i).f...
Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:11: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u038676814|p03281|0
u038676814|p03281|0
codenet
Compile Error
386
v2_s550175442
s550175442
s550175442
p03281
p03281
u153556810
u153556810
1,591,250,198
2020-06-04T05:56:38
Main.java
import java.io.*; import java.util.*; import java.util.function.*; public class Main { static MyReader sc = new MyReader(); static PrintWriter out = new PrintWriter(System.out); public static void main(String[] args) throws IOException { solve(); out.close(); } static void solve() throws IOException { ...
Main.java:23: error: ';' expected if(cnt==8) ans++ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u153556810|p03281|1
u153556810|p03281|1
codenet
Compile Error
5,714
v2_s621828766
s621828766
s621828766
p03281
p03281
u207845630
u207845630
1,586,138,383
2020-04-06T01:59:43
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int ans = 0; for(int i = 1;i < N;i += 2;){ int count = 0; for(int j = 1;j < i;j ++){ if(i % j == 0){ count++; } } if(count == 8){ ans++; } } System.out.println(a...
Main.java:6: error: ')' expected for(int i = 1;i < N;i += 2;){ ^ Main.java:6: error: illegal start of expression for(int i = 1;i < N;i += 2;){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p03281|0
u207845630|p03281|0
codenet
Compile Error
329
v2_s021968780
s021968780
s021968780
p03281
p03281
u207845630
u207845630
1,586,138,415
2020-04-06T02:00:15
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int ans = 0; int count; for(int i = 1;i < N;i += 2;){ count = 0; for(int j = 1;j < i;j ++){ if(i % j == 0){ count++; } } if(count == 8){ ans++; } } System.out....
Main.java:7: error: ')' expected for(int i = 1;i < N;i += 2;){ ^ Main.java:7: error: illegal start of expression for(int i = 1;i < N;i += 2;){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p03281|0
u207845630|p03281|0
codenet
Compile Error
338
v2_s447188485
s447188485
s447188485
p03281
p03281
u207845630
u207845630
1,586,138,463
2020-04-06T02:01:03
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int ans = 0; for(int i = 1;i < N;i += 2){ int count = 0; for(int j = 1;j < i;j ++){ if(i % j == 0){ count++; } } if(count == 8){ ans++; } } System.out.println(an...
Main.java:6: error: cannot find symbol for(int i = 1;i < N;i += 2){ ^ symbol: variable N location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p03281|0
u207845630|p03281|0
codenet
Compile Error
328
v2_s563188401
s563188401
s563188401
p03281
p03281
u212397344
u212397344
1,584,066,736
2020-03-13T02:32:16
Main.java
import java.util.*; class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int count = 0; for ( i = 1; i <= N; i += 2) { int isYaku = 0; for( j = 1; j <= i; j++ ) { if( i % j == 0 ) { isYaku++; } } ...
Main.java:7: error: cannot find symbol for ( i = 1; i <= N; i += 2) { ^ symbol: variable i location: class Main Main.java:7: error: cannot find symbol for ( i = 1; i <= N; i += 2) { ^ symbol: variable i location: class Main Main.java:7: error: cannot find symbol for ( ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212397344|p03281|0
u212397344|p03281|0
codenet
Compile Error
420
v2_s928814852
s928814852
s928814852
p03281
p03281
u222822036
u222822036
1,598,626,691
2020-08-28T14:58:11
Main.java
import java.util.*; import java.io.*; import java.math.*; public class Main{ //Don't have to see. start------------------------------------------ static class InputIterator{ ArrayList<String> inputLine = new ArrayList<String>(1024); int index = 0; int max; String read; InputIterator(){ BufferedReader br = ne...
Main.java:75: error: cannot find symbol Arraylist<Long> list = getDivisorList(i); ^ symbol: class Arraylist location: class Main 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
u222822036|p03281|0
u222822036|p03281|0
codenet
Compile Error
3,481
v2_s734047420
s734047420
s734047420
p03281
p03281
u332478078
u332478078
1,596,038,498
2020-07-29T16:01:38
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); Main m = new Main(sc); m.show(m.solve()); sc.close(); } //フィールド Scanner sc; int N; //入力 Main8(Scanner sc) { ...
Main.java:16: error: invalid method declaration; return type required Main8(Scanner sc) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u332478078|p03281|0
u332478078|p03281|0
codenet
Compile Error
1,001
v2_s160089936
s160089936
s160089936
p03281
p03281
u334656323
u334656323
1,535,752,126
2018-08-31T21:48:46
Main.java
import java.awt.Point; import java.util.ArrayDeque; import java.util.Scanner; import java.util.*; import java.util.Arrays; import java.util.ArrayList; import java.util.Set; import java.util.HashSet; import java.util.Collection; public class Main{ static final Scanner sc=new Scanner(System.in); ...
Main.java:31: error: ';' expected System.out.println(0): ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334656323|p03281|0
u334656323|p03281|0
codenet
Compile Error
869
v2_s652890557
s652890557
s652890557
p03281
p03281
u434662823
u434662823
1,539,541,713
2018-10-14T18:28:33
Main.java
import java.util.*; class Main { public static void main(String[] atgs) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int cnt = 0; for(int i = 1; i <= N; i+=2){ int tmp = 0; for(int j = 1; j <= i; j+=2){ if(i % j == 0){ tmp++; } if(tmp == ...
Main.java:19: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u434662823|p03281|0
u434662823|p03281|0
codenet
Compile Error
378
v2_s797683974
s797683974
s797683974
p03281
p03281
u448618478
u448618478
1,534,685,400
2018-08-19T13:30:00
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner=new Scanner(System.in); int n =scanner.nextInt; if(n==105){ n=1; }else{ n=0; } System.out.println(n); } }
Main.java:6: error: cannot find symbol int n =scanner.nextInt; ^ symbol: variable nextInt location: variable scanner of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u448618478|p03281|0
u448618478|p03281|0
codenet
Compile Error
238
v2_s235003816
s235003816
s235003816
p03281
p03281
u448618478
u448618478
1,534,686,155
2018-08-19T13:42:35
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner=new Scanner(System.in); int n =scanner.nextInt(); if(n>=105&&n<165){ n=1; }elseif(n>=165){ n=2; }else{ n=0; } System.out.println(n); } }
Main.java:10: error: ';' expected }elseif(n>=165){ ^ Main.java:12: error: 'else' without 'if' }else{ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u448618478|p03281|0
u448618478|p03281|0
codenet
Compile Error
277
v2_s567053624
s567053624
s567053624
p03281
p03281
u448618478
u448618478
1,534,688,875
2018-08-19T14:27:55
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner=new Scanner(System.in); int n =scanner.nextInt(); if(n<105){ n=0; }else if (n<135){ n=1; }else if (n<165){ n=2; }else if (n<189){ n=3; }else if (n<195){ n=4; else{ n=5; } System.ou...
Main.java:18: error: 'else' without 'if' else{ ^ Main.java:24: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u448618478|p03281|0
u448618478|p03281|0
codenet
Compile Error
339
v2_s340129193
s340129193
s340129193
p03281
p03281
u599949725
u599949725
1,534,641,852
2018-08-19T01:24:12
Main.java
import java.util.*; class Main { static Scanner scan = new Scanner(System.in); public static void main(String[] args){ int n = scan.nextInt(); int count = 2; int ans = 0; for(int kisuu = 1; kisuu <= n ;kisuu + 2) { for(int yakusuu = 3 ;yakusuu < n ; yakusuu + 2){ if( kisuu % y...
Main.java:11: error: not a statement for(int kisuu = 1; kisuu <= n ;kisuu + 2) ^ Main.java:13: error: not a statement for(int yakusuu = 3 ;yakusuu < n ; yakusuu + 2){ ^ Main.java:16: error: ')' expected if (count =...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u599949725|p03281|0
u599949725|p03281|0
codenet
Compile Error
432
v2_s865223590
s865223590
s865223590
p03281
p03281
u599949725
u599949725
1,534,641,912
2018-08-19T01:25:12
Main.java
import java.util.*; class Main { static Scanner scan = new Scanner(System.in); public static void main(String[] args){ int n = scan.nextInt(); int count = 2; int ans = 0; for(int kisuu = 1; kisuu <= n ;kisuu += 2) { for(int yakusuu = 3 ;yakusuu < n ; yakusuu += 2){ if( kisuu %...
Main.java:20: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u599949725|p03281|0
u599949725|p03281|0
codenet
Compile Error
435
v2_s022042381
s022042381
s022042381
p03281
p03281
u626353997
u626353997
1,569,481,668
2019-09-26T07:07:48
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int ans = 0; for(int i = 1;i <= num;i++){ for(int j = i;j > 0;j--){ int cnt = 0; if(i % j == 0){...
Main.java:17: error: cannot find symbol if(cnt == 8) ^ symbol: variable cnt location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u626353997|p03281|0
u626353997|p03281|0
codenet
Compile Error
484
v2_s247862822
s247862822
s247862822
p03281
p03281
u659156129
u659156129
1,596,474,160
2020-08-03T17:02:40
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int sum = 0; int count = 0; for(int i=1; i<=n; ++i){ for(int j=1; j<=n; ++j){ if(n%j==0){ sum = sum + 1; } ...
Main.java:20: error: package system does not exist system.out.println(count); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03281|0
u659156129|p03281|0
codenet
Compile Error
472
v2_s849349252
s849349252
s849349252
p03281
p03281
u665650665
u665650665
1,589,063,415
2020-05-09T22:30:15
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int count = 0; if(N < 105){ count = 0; }else if(N ==105){ count = 1; }else if(N > 105){ for(int i=1;i<=N;i++){ int cc = 0; if(N%i==0) cc++; }...
Main.java:17: error: cannot find symbol if(cc==8) count++; ^ symbol: variable cc location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u665650665|p03281|1
u665650665|p03281|0
codenet
Compile Error
382
v2_s911623876
s911623876
s911623876
p03281
p03281
u675269406
u675269406
1,593,703,602
2020-07-02T15:26:42
Main.java
import java.util.Scanner; //import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int count = 0; for(int i=1; i<=n; i++){ if(i & 2 == 1){ int ct = 0; for(int j=i; j<=n; j++){ if(i % j == 0){ct++;} }...
Main.java:9: error: bad operand types for binary operator '&' if(i & 2 == 1){ ^ first type: int second type: boolean 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u675269406|p03281|0
u675269406|p03281|0
codenet
Compile Error
390
v2_s287102383
s287102383
s287102383
p03281
p03281
u726485423
u726485423
1,534,641,088
2018-08-19T01:11:28
Main.java
public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int ans=0; for(int i=1;i<=n;i+=2){ double sq=Math.sqrt(i); int count=0; for(int j=1;j<=sq;j++){ if(i%j==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
u726485423|p03281|0
u726485423|p03281|0
codenet
Compile Error
493
v2_s617991614
s617991614
s617991614
p03281
p03281
u769839099
u769839099
1,555,979,422
2019-04-23T00:30:22
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int ans = 0; for(int i = 1; i <= n; i += 2){ int count = 0; for(int j = i; j >= 1; j--){ if(i % j == 0){ count++; } } if(count == 8...
Main.java:25: error: class, interface, enum, or record expected import java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769839099|p03281|0
u769839099|p03281|0
codenet
Compile Error
754
v2_s341077844
s341077844
s341077844
p03281
p03281
u793144126
u793144126
1,591,221,874
2020-06-03T22:04:34
Main.java
public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int count = 0; for(int num=1;num<n+1;num++){ ArrayList<Long> ff = new ArrayList<Long>(); for (long i = 2; i <= num; i++) { if (num % i == ...
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
u793144126|p03281|0
u793144126|p03281|0
codenet
Compile Error
1,111
v2_s592939204
s592939204
s592939204
p03281
p03281
u793144126
u793144126
1,591,222,276
2020-06-03T22:11:16
Main.java
import java.util.*; import java.util.ArrayList; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int count=0; for (int i=1;i<n+1;i++){ if (searchS2(i)==8&&i%2==1){ count++; ...
Main.java:16: error: illegal character: '\u3000' ?public static long searchS2(long num){ ^ Main.java:46: error: illegal character: '\u3000' ? ^ Main.java:47: error: reached end of file while parsing } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u793144126|p03281|0
u793144126|p03281|0
codenet
Compile Error
1,243
v2_s941066738
s941066738
s941066738
p03281
p03281
u793144126
u793144126
1,591,222,373
2020-06-03T22:12:53
Main.java
import java.util.*; import java.util.ArrayList; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int count=0; for (int i=1;i<n+1;i++){ if (searchS2(i)==8&&i%2==1){ count++; ...
Main.java:15: error: illegal character: '\u3000' ?public static long searchS2(long num){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u793144126|p03281|0
u793144126|p03281|0
codenet
Compile Error
1,231
v2_s610379805
s610379805
s610379805
p03281
p03281
u793144126
u793144126
1,591,222,424
2020-06-03T22:13:44
Main.java
import java.util.*; import java.util.ArrayList; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int count=0; for (int i=1;i<n+1;i++){ if (search(i)==8&&i%2==1){ count++; ...
Main.java:15: error: illegal character: '\u3000' ?public static long search(long num){ ^ Main.java:45: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:46: error: class, interface, enum, or record expected import java.util.ArrayList; ^ Main.java:59: error: illegal character: '\u3000...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u793144126|p03281|0
u793144126|p03281|0
codenet
Compile Error
2,471
v2_s828314404
s828314404
s828314404
p03281
p03281
u793144126
u793144126
1,591,222,503
2020-06-03T22:15:03
Main.java
import java.util.*; import java.util.ArrayList; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int count=0; for (int i=1;i<n+1;i++){ if (search(i)==8&&i%2==1){ count++; ...
Main.java:15: error: illegal character: '\u3000' ?public static long search(long num){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u793144126|p03281|0
u793144126|p03281|0
codenet
Compile Error
1,226