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_s425799115
s425799115
s425799115
p02600
p02600
u675269406
u675269406
1,595,725,403
2020-07-26T01:03:23
Main.java
import java.util.*; //import java.util.stream.Collectors; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int r = 0; if(n < 600){ r = 8; }else if(n < 800){ r = 7; }else if(n < 1000){ r = 6; }else if(n<1200){...
Main.java:25: error: ';' expected r = 1 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u675269406|p02600|0
u675269406|p02600|0
codenet
Compile Error
477
v2_s427755709
s427755709
s427755709
p02600
p02600
u835335967
u835335967
1,595,725,749
2020-07-26T01:09:09
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner kbd = new Scanner(System.in); int a=kbd.nextInt(); int b=kbd.nextInt(); if(400<=a&&a<=599){ b=8; } if(600<=a&&a<=799){ b=7; } if(800<=a&&a<=999){ b=6; } if(1000<=a&&a<=1199){ ...
Main.java:31: error: cannot find symbol System.out.pritnln(b); ^ symbol: method pritnln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u835335967|p02600|0
u835335967|p02600|0
codenet
Compile Error
543
v2_s598392747
s598392747
s598392747
p02600
p02600
u909729293
u909729293
1,595,726,370
2020-07-26T01:19:30
Main.java
import java.util.*; public class Main { public int process(int k) { if(k >= 400 && k < 600) { return 8; } else if(k >= 600 && k < 800) { return 7; } else if(k >= 800 && k < 1000) { return 6; } else if(k >= 1000 && k < 1200) { return 5; } else if(k >= 1200 && k < 1400) { return 4; } ...
Main.java:34: error: non-static method process(int) cannot be referenced from a static context System.out.println(process(t)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u909729293|p02600|0
u909729293|p02600|0
codenet
Compile Error
637
v2_s835993224
s835993224
s835993224
p02600
p02600
u943714129
u943714129
1,595,725,564
2020-07-26T01:06:04
Main.java
public class Main{ if(args[0] <= 1999 && args[0] >= 1800){ out.println("1"); }if else(args[0] >= 1600){ out.println("2"); }if else(args[0] >= 1400){ out.println("3"); }if else(args[0] >= 1200){ out.println("4"); }if else(args[0] >= 1000){ out.println("5"); }if else(args[0] >= 800){ o...
Main.java:2: error: illegal start of type if(args[0] <= 1999 && args[0] >= 1800){ ^ Main.java:2: error: ']' expected if(args[0] <= 1999 && args[0] >= 1800){ ^ Main.java:2: error: ']' expected if(args[0] <= 1999 && args[0] >= 1800){ ^ Main.java:4: error: illegal start of ty...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u943714129|p02600|0
u943714129|p02600|0
codenet
Compile Error
442
v2_s998177886
s998177886
s998177886
p02600
p02600
u943714129
u943714129
1,595,725,793
2020-07-26T01:09:53
Main.java
public class Main{ if(args[0] <= 1999 && args[0] >= 1800){ out.println("1"); }else if(args[0] >= 1600){ out.println("2"); }else if(args[0] >= 1400){ out.println("3"); }else if(args[0] >= 1200){ out.println("4"); }else if(args[0] >= 1000){ out.println("5"); }else if(args[0] >= 800){ o...
Main.java:2: error: illegal start of type if(args[0] <= 1999 && args[0] >= 1800){ ^ Main.java:2: error: ']' expected if(args[0] <= 1999 && args[0] >= 1800){ ^ Main.java:2: error: ']' expected if(args[0] <= 1999 && args[0] >= 1800){ ^ Main.java:4: error: illegal start of ty...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u943714129|p02600|0
u943714129|p02600|0
codenet
Compile Error
442
v2_s195810903
s195810903
s195810903
p02600
p02600
u943714129
u943714129
1,595,725,881
2020-07-26T01:11:21
Main.java
public static void main(String[] args){ if(args[0] <= 1999 && args[0] >= 1800){ out.println("1"); }else if(args[0] >= 1600){ out.println("2"); }else if(args[0] >= 1400){ out.println("3"); }else if(args[0] >= 1200){ out.println("4"); }else if(args[0] >= 1000){ out.println("5"); }else if(a...
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
u943714129|p02600|0
u943714129|p02600|0
codenet
Compile Error
463
v2_s329963346
s329963346
s329963346
p02600
p02600
u943714129
u943714129
1,595,726,104
2020-07-26T01:15:04
Main.java
public class Main{ public static void main(String[] args){ if(args[0] <= 1999 && args[0] >= 1800){ System.out.println("1"); }else if(args[0] >= 1600){ System.out.println("2"); }else if(args[0] >= 1400){ System.out.println("3"); }else if(args[0] >= 1200){ System.out.println("4"); }else if(args[...
Main.java:3: error: bad operand types for binary operator '<=' if(args[0] <= 1999 && args[0] >= 1800){ ^ first type: String second type: int Main.java:3: error: bad operand types for binary operator '>=' if(args[0] <= 1999 && args[0] >= 1800){ ^ first type: Strin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u943714129|p02600|0
u943714129|p02600|0
codenet
Compile Error
540
v2_s156145539
s156145539
s156145539
p02600
p02600
u976124764
u976124764
1,595,727,735
2020-07-26T01:42:15
Main.java
public class Main { public static void main(String[] args) { try(Scanner X = new Scanner(System.in)){ int oak = X.nextInt(); System.out.println(calc(oak)); } } public static int calc(int oak) { if(oak >= 400 && oak <= 599) { return 8; }else if(oak >= 600 && oak <= 799) { return 7; }else if...
Main.java:3: error: cannot find symbol try(Scanner X = new Scanner(System.in)){ ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol try(Scanner X = new Scanner(System.in)){ ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u976124764|p02600|0
u976124764|p02600|0
codenet
Compile Error
653
v2_s093961792
s093961792
s093961792
p02600
p02600
u983798928
u983798928
1,595,726,003
2020-07-26T01:13:23
Main.java
import java.util.Scanner; int calc(int num) { if (400 =< num =< 599) { System.out.println(8); } else if (600 =< num =< 799) { System.out.println(7); } else if (800 =< num =< 999) { System.out.println(6); } else if (1000 =< num =< 1199) { System.out.println(5); } else if (1200 =< num =< 1399)...
Main.java:4: error: not a statement if (400 =< num =< 599) { ^ 1 error printing javac parameters to: /w/javac.20261019_235608.args
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u983798928|p02600|0
u983798928|p02600|0
codenet
Compile Error
685
v2_s071680108
s071680108
s071680108
p02600
p02600
u983798928
u983798928
1,595,726,114
2020-07-26T01:15:14
Main.java
import java.util.Scanner; static int calc(int num) { if (400 =< num =< 599) { System.out.println(8); } else if (600 =< num =< 799) { System.out.println(7); } else if (800 =< num =< 999) { System.out.println(6); } else if (1000 =< num =< 1199) { System.out.println(5); } else if (1200 =< num ...
Main.java:4: error: not a statement if (400 =< num =< 599) { ^ 1 error printing javac parameters to: /w/javac.20261019_235238.args
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u983798928|p02600|0
u983798928|p02600|0
codenet
Compile Error
693
v2_s282203081
s282203081
s282203081
p02601
p02601
u133356919
u133356919
1,595,725,862
2020-07-26T01:11:02
Main.java
#include <bits/stdc++.h> using namespace std; #define li long #define ll long long #define ull unsigned long long #define ff first #define ss second #define pii pair<int,int> #define pli pair<li,li> #define pll pair<ll,ll> #define pb push_back...
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:3: error: illegal character: '#' #define li long ^ Main.java:3: error: class, interface, enum, or record expected #define li ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u133356919|p02601|0
u133356919|p02601|0
codenet
Compile Error
6,227
v2_s062935421
s062935421
s062935421
p02601
p02601
u141764165
u141764165
1,595,729,148
2020-07-26T02:05:48
Main.java
import java.util.Scanner; Class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); int a=0,b=0,c=0; a=sc.nextInt(); b=sc.nextInt(); c=sc.nextInt(); int k=sc.nextInt(); if(a>b&&b>c) System.out.println("Yes"); else System.out.println("No"); } }
Main.java:2: error: class, interface, enum, or record expected Class Main{ ^ 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:15: error: class, interface, enum, o...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u141764165|p02601|0
u141764165|p02601|0
codenet
Compile Error
319
v2_s461219246
s461219246
s461219246
p02601
p02601
u285734280
u285734280
1,595,967,216
2020-07-28T20:13:36
Main.java
import java.util*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int red = sc.nextInt(); int green = sc.nextInt(); int blue = sc.nextInt(); int K = sc.nextInt(); for(int i = 0;i < K;i++) { if(red > green) { ...
Main.java:1: error: ';' expected import java.util*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u285734280|p02601|0
u285734280|p02601|0
codenet
Compile Error
575
v2_s546115220
s546115220
s546115220
p02601
p02601
u403519522
u403519522
1,595,731,194
2020-07-26T02:39:54
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int K = sc.nextInt(); int a = 0; int b = 0; int c = 0; for...
Main.java:22: error: cannot find symbol for(int j = 1; i < K + 1; i ++){ ^ symbol: variable i location: class Main Main.java:22: error: cannot find symbol for(int j = 1; i < K + 1; i ++){ ^ symbol: variable i location: class Main Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u403519522|p02601|0
u403519522|p02601|0
codenet
Compile Error
1,078
v2_s582050359
s582050359
s582050359
p02601
p02601
u461416922
u461416922
1,595,726,681
2020-07-26T01:24:41
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int[] magic = {a,b,c}; int k = sc.nextInt(); Random r = new Random() for(int i = 0;i < k;i++){ int ...
Main.java:12: error: ';' expected Random r = new Random() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u461416922|p02601|0
u461416922|p02601|0
codenet
Compile Error
523
v2_s934336104
s934336104
s934336104
p02601
p02601
u489126017
u489126017
1,596,146,864
2020-07-30T22:07:44
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int A = sc.next(); int B = sc.next(); int C= sc.nextLine(); int K = sc.nextInt(); if(A < B){ for(int i=0; i<K; i++){ B = B*2; ...
Main.java:14: error: illegal start of expression if()(B < C){ ^ Main.java:14: error: not a statement if()(B < C){ ^ Main.java:14: error: ';' expected if()(B < C){ ^ Main.java:16: error: ';' expected C = C*2 ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u489126017|p02601|0
u489126017|p02601|0
codenet
Compile Error
450
v2_s334103461
s334103461
s334103461
p02601
p02601
u544822413
u544822413
1,595,728,008
2020-07-26T01:46:48
Main.java
import java.util.*; public class Main { public static void main(String args[]) { public static void main(String args[]) { Scanner s = new Scanner(System.in); int r = s.nextInt(); int g = s.nextInt(); int b = s.nextInt(); int k = s.nextInt(); while(k-- >0){ ...
Main.java:6: error: illegal start of expression public static void main(String args[]) { ^ Main.java:31: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u544822413|p02601|0
u544822413|p02601|0
codenet
Compile Error
597
v2_s874454077
s874454077
s874454077
p02601
p02601
u569898420
u569898420
1,595,728,771
2020-07-26T01:59:31
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 //int n = Integer.parseInt(sc.nextLine()); String str[] = new String[3]; //for(int i = 0; i < 3 ; i++){ // str[i] = sc.next();...
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
u569898420|p02601|0
u569898420|p02601|0
codenet
Compile Error
1,811
v2_s818909898
s818909898
s818909898
p02601
p02601
u597558557
u597558557
1,595,734,943
2020-07-26T03:42:23
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner in=new Scanner(System.in); int a=in.nextInt(); int b=in.nextInt(): int c=in.nextInt(): int k=in.nextInt(); while(k!=0) { if(a>=b) { b*=2; } else if(b>=c) { ...
Main.java:8: error: ';' expected int b=in.nextInt(): ^ Main.java:9: error: ';' expected int c=in.nextInt(): ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u597558557|p02601|0
u597558557|p02601|0
codenet
Compile Error
492
v2_s434463935
s434463935
s434463935
p02601
p02601
u634658089
u634658089
1,595,968,879
2020-07-28T20:41:19
Main.java
import java.io.*; import java.util.*; class Main{ InputReader in; final long mod=1000000007; StringBuilder sb; public static void main(String[] args) throws java.lang.Exception{ new sol().run(); } void run() throws Exception { in=new InputReader(System.in); sb = new Stri...
Main.java:8: error: cannot find symbol new sol().run(); ^ symbol: class sol location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u634658089|p02601|0
u634658089|p02601|0
codenet
Compile Error
4,904
v2_s643313895
s643313895
s643313895
p02601
p02601
u815784554
u815784554
1,595,775,741
2020-07-26T15:02:21
Main.java
import java.util.*; import java.lang.*; import java.io.*; public final class Main { public static void main (String[] args) throws java.lang.Exception { Scanner in = new Scanner(System.in); int a= in.nextInt(); int b= in.nextInt(); int c= in.nextInt(); int k= in.nextInt(); ...
Main.java:24: error: ';' expected System.out.println("YES") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u815784554|p02601|0
u815784554|p02601|0
codenet
Compile Error
573
v2_s330906318
s330906318
s330906318
p02601
p02601
u866594486
u866594486
1,596,069,727
2020-07-30T00:42:07
Main.java
import 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(); //緑 ...
Main.java:14: error: illegal character: '\u3000' if (B < A){??????// ? ^ Main.java:14: error: illegal character: '\u3000' if (B < A){??????// ? ^ Main.java:14: error: illegal character: '\u3000' if (B < A){??????// ? ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u866594486|p02601|1
u866594486|p02601|1
codenet
Compile Error
1,043
v2_s211969695
s211969695
s211969695
p02601
p02601
u897853321
u897853321
1,595,732,356
2020-07-26T02:59:16
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int K = sc.nextInt(); boolean jud = false; //ここまではたぶんあってる for (int i = 0; i <= K; i++) { for (int j = 0; j <= K; j++...
Main.java:16: error: incompatible types: possible lossy conversion from double to int int x = a * Math.pow(2, i); ^ Main.java:17: error: incompatible types: possible lossy conversion from double to int int y = b * Math.pow(2, j); ^ Main.java:18: error: incompatible types: possibl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u897853321|p02601|0
u897853321|p02601|0
codenet
Compile Error
794
v2_s435847538
s435847538
s435847538
p02601
p02601
u897853321
u897853321
1,595,732,413
2020-07-26T03:00:13
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int K = sc.nextInt(); boolean jud = false; //ここまではたぶんあってる for (int i = 0; i < K; i++) { for (int j = 0; j < K; j++) ...
Main.java:16: error: incompatible types: possible lossy conversion from double to int int x = a * Math.pow(2, i); ^ Main.java:17: error: incompatible types: possible lossy conversion from double to int int y = b * Math.pow(2, j); ^ Main.java:18: error: incompatible types: possibl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u897853321|p02601|0
u897853321|p02601|0
codenet
Compile Error
791
v2_s757074636
s757074636
s757074636
p02601
p02601
u897853321
u897853321
1,595,732,500
2020-07-26T03:01:40
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int K = sc.nextInt(); boolean jud = false; //ここまではたぶんあってる for (int i = 0; i < K; i++) { for (int j = 0; j < K; j++) ...
Main.java:19: error: incompatible types: possible lossy conversion from double to int if (judge(x,y,z)) jud = true; ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u897853321|p02601|0
u897853321|p02601|0
codenet
Compile Error
800
v2_s044171166
s044171166
s044171166
p02601
p02601
u897853321
u897853321
1,595,732,895
2020-07-26T03:08:15
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int K = sc.nextInt(); boolean jud = false; //ここまではたぶんあってる for (int i = 0; i <= K; i++) { for (int j = 0; j <= K; j++...
Main.java:19: error: ')' expected if ((i + j + k <= K && x < y && y < z) jud = true; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u897853321|p02601|0
u897853321|p02601|0
codenet
Compile Error
788
v2_s408511898
s408511898
s408511898
p02601
p02601
u943714129
u943714129
1,595,728,740
2020-07-26T01:59:00
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int k = sc.nextInt(); int i = 0; while(i<=k){ if(b < a){ b*=2; i++; ...
Main.java:23: error: illegal start of type if(b > a &&c > b && i<=k){ ^ Main.java:23: error: <identifier> expected if(b > a &&c > b && i<=k){ ^ Main.java:23: error: <identifier> expected if(b > a &&c > b && i<=k){ ^ Main.java:23: error: <identifier> expected if(b > a &&c > b && i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u943714129|p02601|0
u943714129|p02601|0
codenet
Compile Error
508
v2_s766643896
s766643896
s766643896
p02602
p02602
u123550701
u123550701
1,595,729,745
2020-07-26T02:15:45
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); //学期(総合) int n = sc.nextInt(); //学期(評定を始める基準) int k = sc.nextInt(); //点数 int[] score = new int[n]; for(int i = 0; i < n;i++){ score[i] = sc.nextInt(); } ...
Main.java:28: error: ';' expected st = ans ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u123550701|p02602|0
u123550701|p02602|0
codenet
Compile Error
770
v2_s880767717
s880767717
s880767717
p02602
p02602
u123550701
u123550701
1,595,730,128
2020-07-26T02:22:08
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); //学期(総合) long n = sc.nextLong(); //学期(評定を始める基準) long k = sc.nextLong(); //点数 long[] score = new long[n]; for(int i = 0; i < n;i++){ score[i] = sc.nextInt(); ...
Main.java:11: error: incompatible types: possible lossy conversion from long to int long[] score = new long[n]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u123550701|p02602|0
u123550701|p02602|0
codenet
Compile Error
778
v2_s654334263
s654334263
s654334263
p02602
p02602
u572483595
u572483595
1,595,726,545
2020-07-26T01:22:25
Main.java
import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import java.util.PriorityQueue; import java.util.Scanner; class Main { st...
Main.java:25: error: cannot find symbol SegmentTree st = new SegmentTree(N); ^ symbol: class SegmentTree location: class Main Main.java:25: error: cannot find symbol SegmentTree st = new SegmentTree(N); ^ symbol: class SegmentTree location: class Main 2 e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u572483595|p02602|0
u572483595|p02602|0
codenet
Compile Error
3,073
v2_s511578565
s511578565
s511578565
p02602
p02602
u572483595
u572483595
1,595,726,595
2020-07-26T01:23:15
Main.java
import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import java.util.PriorityQueue; import java.util.Scanner; class Main { st...
Main.java:25: error: cannot find symbol SegmentTree st = new SegmentTree(N); ^ symbol: class SegmentTree location: class Main Main.java:25: error: cannot find symbol SegmentTree st = new SegmentTree(N); ^ symbol: class SegmentTree location: class Main 2 e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u572483595|p02602|0
u572483595|p02602|0
codenet
Compile Error
1,172
v2_s428094050
s428094050
s428094050
p02602
p02602
u596403663
u596403663
1,595,798,699
2020-07-26T21:24:59
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[] array = new int[n]; for(int i=0;i<n;i++){ array[i] = sc.nextInt(); } boolean flag=true;int plu...
Main.java:27: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u596403663|p02602|0
u596403663|p02602|0
codenet
Compile Error
868
v2_s577786377
s577786377
s577786377
p02602
p02602
u596403663
u596403663
1,595,798,950
2020-07-26T21:29:10
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[] array = new int[n]; for(int i=0;i<n;i++){ array[i] = sc.nextInt(); } boolean flag=true;int plu...
Main.java:29: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u596403663|p02602|0
u596403663|p02602|0
codenet
Compile Error
900
v2_s433417630
s433417630
s433417630
p02602
p02602
u596403663
u596403663
1,595,811,472
2020-07-27T00:57:52
Main.java
import java.io.*; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(System.in); long n = sc.nextInt(); long k = sc.nextInt(); long[] array = new int[n]; for (int i = 0; i < n; i++) { arr...
Main.java:8: error: incompatible types: possible lossy conversion from long to int long[] array = new int[n]; ^ Main.java:8: error: incompatible types: int[] cannot be converted to long[] long[] array = new int[n]; ^ Main.java:43: error: cannot find ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u596403663|p02602|1
u596403663|p02602|0
codenet
Compile Error
1,288
v2_s736614435
s736614435
s736614435
p02602
p02602
u704454535
u704454535
1,595,729,763
2020-07-26T02:16:03
Main.java
import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); int K = Integer.parseInt(sc.next()); List<Intege...
Main.java:42: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u704454535|p02602|0
u704454535|p02602|0
codenet
Compile Error
1,075
v2_s041216465
s041216465
s041216465
p02602
p02602
u886450127
u886450127
1,595,727,110
2020-07-26T01:31:50
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ int n = Integer.parseInt(sc.next()); int k = Integer.parseInt(sc.next()); int[] list = new int[n]; long first = 0L; long save = 0L; for(int cnt = 0;cnt < n;cnt++){ list[cnt] = Integer.parseI...
Main.java:5: error: cannot find symbol int n = Integer.parseInt(sc.next()); ^ symbol: variable sc location: class Main Main.java:6: error: cannot find symbol int k = Integer.parseInt(sc.next()); ^ symbol: variable sc location: class M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u886450127|p02602|0
u886450127|p02602|0
codenet
Compile Error
762
v2_s254630212
s254630212
s254630212
p02602
p02602
u886450127
u886450127
1,595,728,722
2020-07-26T01:58:42
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int k = Integer.parseInt(sc.next()); int[] list = new int[n]; int[] flag = new int[n - k]; for(int cnt = 0;cnt < n;cnt++){ ...
Main.java:21: error: cannot find symbol PrintWriter out = new PrintWriter(System.out); ^ symbol: class PrintWriter location: class Main Main.java:21: error: cannot find symbol PrintWriter out = new PrintWriter(System.out); ^ symbol: class PrintWriter locatio...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u886450127|p02602|0
u886450127|p02602|0
codenet
Compile Error
986
v2_s304255446
s304255446
s304255446
p02602
p02602
u886450127
u886450127
1,595,873,507
2020-07-27T18:11:47
Main.java
import java.util.*; import java.io.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int k = Integer.parseInt(sc.next()); PrintWriter out = new PrintWriter(System.in); ArrayList<Integer> list = new ...
Main.java:9: error: no suitable constructor found for PrintWriter(InputStream) PrintWriter out = new PrintWriter(System.in); ^ constructor PrintWriter.PrintWriter(Writer) is not applicable (argument mismatch; InputStream cannot be converted to Writer) constructor PrintWrite...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u886450127|p02602|1
u886450127|p02602|1
codenet
Compile Error
666
v2_s377217222
s377217222
s377217222
p02602
p02602
u886450127
u886450127
1,595,873,704
2020-07-27T18:15:04
Main.java
import java.util.*; import java.io.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int k = Integer.parseInt(sc.next()); PrintWriter out = new PrintWriter(System.out); ArrayList<Integer> list = new...
Main.java:15: error: cannot find symbol if(list.get(i - k) < list.get(cnt)){ ^ symbol: variable i location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u886450127|p02602|1
u886450127|p02602|1
codenet
Compile Error
653
v2_s714375160
s714375160
s714375160
p02602
p02602
u888939948
u888939948
1,595,725,814
2020-07-26T01:10:14
Main.java
import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { new Main().solve(); } private void solve() throws IOException { BufferedReader f = new BufferedReader(new InputStreamReader(System.in)); P...
Main.java:38: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u888939948|p02602|0
u888939948|p02602|0
codenet
Compile Error
1,161
v2_s066392323
s066392323
s066392323
p02603
p02603
u187841092
u187841092
1,595,732,349
2020-07-26T02:59:09
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long cash = 1000; long stocks = 0; int[] future = new int[n]; for (int i = 0; i < n; i++) { future[i] = sc.nextInt(); } ...
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
u187841092|p02603|0
u187841092|p02603|0
codenet
Compile Error
1,664
v2_s965003832
s965003832
s965003832
p02603
p02603
u418991820
u418991820
1,595,728,990
2020-07-26T02:03:10
Main.java
import javafx.util.Pair; import java.util.HashMap; import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int a[]=new int[n]; for(int i=0;i<n;++i) { a[i]=sc.nextInt(); } // ...
Main.java:1: error: package javafx.util does not exist import javafx.util.Pair; ^ Main.java:21: error: cannot find symbol public static int maxM(int lmoney, int i, int a[], int stock, HashMap<Integer,HashMap<Pair<Integer,Integer>,Integer>> dp) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u418991820|p02603|0
u418991820|p02603|0
codenet
Compile Error
1,362
v2_s975185877
s975185877
s975185877
p02603
p02603
u820070387
u820070387
1,595,875,612
2020-07-27T18:46:52
Main.java
import java.util.*; class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] b = new int[n]; int a = 0; b[0] = 10000; boolean trig = true; int j = 0; long money = 1000; int kabu = 0; for (int i=0; i<n; i++){ ...
Main.java:37: error: incompatible types: possible lossy conversion from long to int kabu = money / b[i]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u820070387|p02603|0
u820070387|p02603|0
codenet
Compile Error
875
v2_s262504347
s262504347
s262504347
p02603
p02603
u857413854
u857413854
1,595,904,984
2020-07-28T02:56:24
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String args[]) throws Exception { BufferedReader bu = new BufferedReader(new InputStreamReader(System.in)); int t = 1; StringBuilder sb = new StringBuilder(); while (t-- > 0) { int n = Inte...
Main.java:29: error: incompatible types: possible lossy conversion from long to int stocks = money/arr[valley]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u857413854|p02603|0
u857413854|p02603|0
codenet
Compile Error
1,250
v2_s702103436
s702103436
s702103436
p02603
p02603
u868975661
u868975661
1,596,045,093
2020-07-29T17:51:33
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new int[n]; for (int i = 0; i < n; i++) { a[i] = sc.nextInt(); } int curr = a[0]; int index = 1; int profit =...
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
u868975661|p02603|0
u868975661|p02603|0
codenet
Compile Error
783
v2_s840926212
s840926212
s840926212
p02604
p02604
u133356919
u133356919
1,595,791,968
2020-07-26T19:32:48
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.StringTokenizer; /* 2*3^n precomp for cost of each mask/person pair n - brute force number of railroads 2^n - who walks ho...
Main.java:23: error: cannot find symbol static PrintWriter out = new PrintWriter(System.out); ^ symbol: class PrintWriter location: class Main Main.java:23: error: cannot find symbol static PrintWriter out = new PrintWriter(System.out); ^ symbol: class PrintWriter loc...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u133356919|p02604|0
u133356919|p02604|0
codenet
Compile Error
5,144
v2_s035013672
s035013672
s035013672
p02605
p02605
u080990916
u080990916
1,595,842,122
2020-07-27T09:28:42
Main.java
mport java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); ArrayList<Airplane> airplanes = new ArrayList<>(); for (int i = 0; i < n; i++) { int x = sc...
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; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u080990916|p02605|1
u080990916|p02605|0
codenet
Compile Error
4,143
v2_s384761318
s384761318
s384761318
p02605
p02605
u137087473
u137087473
1,596,347,097
2020-08-02T05:44:57
Main.java
import java.util.*; import java.io.*; import java.math.*; public class Main implements Runnable { static boolean DEBUG; public static void main(String[] args) { DEBUG = args.length > 0 && args[0].equals("-DEBUG"); Thread.setDefaultUncaughtExceptionHandler((t, e) -> { e.printStackTrace(); System.exit(1); }); new...
Main.java:1716: error: no suitable method found for shuffleArray(List<Solver.Tuple3<Long,Long,Character>>) shuffleArray(a); ^ method Solver.shuffleArray(int[]) is not applicable (argument mismatch; List<Solver.Tuple3<Long,Long,Character>> cannot be converted to int[]) method Solver.shuffleArray(long[]...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u137087473|p02605|1
u137087473|p02605|1
codenet
Compile Error
61,878
v2_s092828227
s092828227
s092828227
p02605
p02605
u981808900
u981808900
1,595,733,498
2020-07-26T03:18:18
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.*; import java.util.function.IntUnaryOperator; import java.util.function.LongUnaryOperator; public class Main { static In in = new In(); static Out out = new Out(); stat...
Main.java:33: error: variable i is already defined in method solve() for (int i = 0; i < n; i++) { ^ Main.java:72: error: variable i is already defined in method solve() for (int i = 0; i < n; i++) { ^ Main.java:99: error: variable i is a...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p02605|0
u981808900|p02605|0
codenet
Compile Error
10,119
v2_s191885296
s191885296
s191885296
p02606
p02606
u015030158
u015030158
1,595,534,883
2020-07-23T20:08:03
Solution.java
import java.util.*; public class Solution { public static void main(String []args) { Scanner sc = new Scanner(System.in) int l = sc.nextInt(); int r = sc.nextInt(); int d = sc.nextInt(); System.out.println(r/d - (l-1)/d); } }
Solution.java:7: error: ';' expected Scanner sc = new Scanner(System.in) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u015030158|p02606|0
u015030158|p02606|0
codenet
Compile Error
263
v2_s165273141
s165273141
s165273141
p02606
p02606
u072472435
u072472435
1,594,515,750
2020-07-12T01:02:30
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int L = sc.nextInt(); int R = sc.nextInt(); int d = sc.nextInt(); System.out.println((R / d - L / d); } }
Main.java:9: error: ')' or ',' expected System.out.println((R / d - L / d); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u072472435|p02606|0
u072472435|p02606|0
codenet
Compile Error
266
v2_s682421026
s682421026
s682421026
p02606
p02606
u131042623
u131042623
1,595,006,219
2020-07-17T17:16:59
Main.java
import java.io.*; import java.util.*; class Main { public static void main (String [] args) throws IOException { BufferedReader f = new BufferedReader(System.in); PrintWriter out = new PrintWriter(System.out); //--------------------------START WRITING HERE----------------------------- ...
Main.java:6: error: incompatible types: InputStream cannot be converted to Reader BufferedReader f = new BufferedReader(System.in); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u131042623|p02606|0
u131042623|p02606|0
codenet
Compile Error
706
v2_s948400995
s948400995
s948400995
p02606
p02606
u132094168
u132094168
1,594,516,146
2020-07-12T01:09:06
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); int L=sc.nextInt(); int R=sc.nextInt(); int d=sc.nextInt(); int a=(L-1)/d; int b=R/d; int c=b-a System.out.println(c); } }
Main.java:12: error: ';' expected int c=b-a ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u132094168|p02606|0
u132094168|p02606|0
codenet
Compile Error
306
v2_s083320793
s083320793
s083320793
p02606
p02606
u278796509
u278796509
1,594,521,803
2020-07-12T02:43:23
Main.java
jhjghg
Main.java:1: error: reached end of file while parsing jhjghg ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u278796509|p02606|0
u278796509|p02606|0
codenet
Compile Error
6
v2_s148824376
s148824376
s148824376
p02606
p02606
u290461783
u290461783
1,594,576,630
2020-07-12T17:57:10
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner in=new Scanner(System.in); int r=in.nextInt(); int l=in.nextInt(); int D=in.nextInt(); d=r%d; if(r+d>l) { System.out.println("0"); } else { int c=0; r=r+d; int a=d...
Main.java:27: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u290461783|p02606|0
u290461783|p02606|0
codenet
Compile Error
421
v2_s787005286
s787005286
s787005286
p02606
p02606
u290461783
u290461783
1,594,576,685
2020-07-12T17:58:05
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner in=new Scanner(System.in); int r=in.nextInt(); int l=in.nextInt(); int D=in.nextInt(); d=r%d; if(r+d>l) { System.out.println("0"); } else { int c=0; r=r+d; int a=d...
Main.java:10: error: cannot find symbol d=r%d; ^ symbol: variable d location: class Main Main.java:10: error: cannot find symbol d=r%d; ^ symbol: variable d location: class Main Main.java:11: error: cannot find symbol if(r+d>l) ^ symbol: variable d location: class Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u290461783|p02606|0
u290461783|p02606|0
codenet
Compile Error
423
v2_s773097564
s773097564
s773097564
p02606
p02606
u312351318
u312351318
1,594,559,258
2020-07-12T13:07:38
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int L = sc.nextInt(); int R = sc.nextInt(); int d = sc.nextInt(); ini count = 0; for(int i = L / d; i < R ; i++) { if(i * d % R) { c...
Main.java:12: error: cannot find symbol ini count = 0; ^ symbol: class ini location: class Main Main.java:16: error: incompatible types: int cannot be converted to boolean if(i * d % R) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u312351318|p02606|0
u312351318|p02606|0
codenet
Compile Error
393
v2_s443360599
s443360599
s443360599
p02606
p02606
u461416922
u461416922
1,594,516,070
2020-07-12T01:07:50
test.java
import java.util.* public class test{ public void main(String[] args){ Scanner sc = new Scanner(); int num1 = sc.nextInt(); int num2 = sc.nextInt(); int num3 = sc.nextInt(); int n = 0; for(int i = num1;i <= num2;i++){ if(i % num3 == 0){ ...
test.java:1: error: ';' expected import java.util.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u461416922|p02606|0
u461416922|p02606|0
codenet
Compile Error
385
v2_s599175783
s599175783
s599175783
p02606
p02606
u461416922
u461416922
1,594,516,116
2020-07-12T01:08:36
test.java
import java.util.*; public class test{ public void main(String[] args){ Scanner sc = new Scanner(); int num1 = sc.nextInt(); int num2 = sc.nextInt(); int num3 = sc.nextInt(); int n = 0; for(int i = num1;i <= num2;i++){ if(i % num3 == 0){ ...
test.java:5: error: no suitable constructor found for Scanner(no arguments) Scanner sc = new Scanner(); ^ constructor Scanner.Scanner(Readable,Pattern) is not applicable (actual and formal argument lists differ in length) constructor Scanner.Scanner(Readable) is not applicable (actu...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u461416922|p02606|0
u461416922|p02606|0
codenet
Compile Error
387
v2_s757441650
s757441650
s757441650
p02606
p02606
u461416922
u461416922
1,594,516,180
2020-07-12T01:09:40
Main.java
import java.util.*; public Class test{ public void main(String[] args){ Scanner sc = new Scanner(System.in); int num1 = sc.nextInt(); int num2 = sc.nextInt(); int num3 = sc.nextInt(); int n = 0; for(int i = num1;i <= num2;i++){ if(i % num3 == 0){ ...
Main.java:3: error: class, interface, enum, or record expected public Class test{ ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. public void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) Main.java:19: error: class, interface, enum, or...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u461416922|p02606|0
u461416922|p02606|0
codenet
Compile Error
396
v2_s412026402
s412026402
s412026402
p02606
p02606
u461416922
u461416922
1,594,516,280
2020-07-12T01:11:20
Main.java
import java.util.*; public Class test{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num1 = sc.nextInt(); int num2 = sc.nextInt(); int num3 = sc.nextInt(); int n = 0; for(int i = num1;i <= num2;i++){ if(i % num3 =...
Main.java:3: error: class, interface, enum, or record expected public 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:19: error: class, inter...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u461416922|p02606|0
u461416922|p02606|0
codenet
Compile Error
403
v2_s997877056
s997877056
s997877056
p02606
p02606
u469277091
u469277091
1,594,516,518
2020-07-12T01:15:18
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ BufferredReader br=new BufferedReader(new INputStreamReader(System.in)); int l,r,d,n; int count=0; String str1=br.readLine(); l=Integer.parseInt(str1); String str2=br.readLine(); ...
Main.java:5: error: cannot find symbol BufferredReader br=new BufferedReader(new INputStreamReader(System.in)); ^ symbol: class BufferredReader location: class Main Main.java:5: error: cannot find symbol BufferredReader br=new BufferedReader(new INputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u469277091|p02606|0
u469277091|p02606|0
codenet
Compile Error
555
v2_s269507345
s269507345
s269507345
p02606
p02606
u469277091
u469277091
1,594,516,568
2020-07-12T01:16:08
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new INputStreamReader(System.in)); int l,r,d,n; int count=0; String str1=br.readLine(); l=Integer.parseInt(str1); String str2=br.readLine(); ...
Main.java:5: error: cannot find symbol BufferedReader br=new BufferedReader(new INputStreamReader(System.in)); ^ symbol: class INputStreamReader location: class Main Main.java:18: error: bad operand types for binary operator '<' if(l<n<r&&n%d==0)Sys...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u469277091|p02606|0
u469277091|p02606|0
codenet
Compile Error
555
v2_s471597151
s471597151
s471597151
p02606
p02606
u469277091
u469277091
1,594,516,637
2020-07-12T01:17:17
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int l,r,d; int count=0; String str1=br.readLine(); l=Integer.parseInt(str1); String str2=br.readLine(); ...
Main.java:18: error: bad operand types for binary operator '<' if(l<i<r&&n%d==0)System.out.println(count); ^ first type: boolean second type: int Main.java:18: error: cannot find symbol if(l<i<r&&n%d==0)System.out.println(count); ^ symbol: variable n location: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u469277091|p02606|0
u469277091|p02606|0
codenet
Compile Error
549
v2_s575102075
s575102075
s575102075
p02606
p02606
u469277091
u469277091
1,594,516,774
2020-07-12T01:19:34
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new INputStreamReader(System.in)); int l,r,d; int count=0; String str1=br.readLine(); l=Integer.parseInt(str1); String str2=br.readLine(); ...
Main.java:21: error: illegal start of statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u469277091|p02606|0
u469277091|p02606|0
codenet
Compile Error
556
v2_s397068621
s397068621
s397068621
p02606
p02606
u469277091
u469277091
1,594,516,850
2020-07-12T01:20:50
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new INputStreamReader(System.in)); int l,r,d; int count=0; String str1=br.readLine(); l=Integer.parseInt(str1); String str2=br.readLine(); ...
Main.java:21: error: illegal start of statement } ^ Main.java:20: error: 'else' without 'if' else ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u469277091|p02606|0
u469277091|p02606|0
codenet
Compile Error
554
v2_s693751807
s693751807
s693751807
p02606
p02606
u469277091
u469277091
1,594,516,904
2020-07-12T01:21:44
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new INputStreamReader(System.in)); int l,r,d; int count=0; String str1=br.readLine(); l=Integer.parseInt(str1); String str2=br.readLine(); ...
Main.java:5: error: cannot find symbol BufferedReader br=new BufferedReader(new INputStreamReader(System.in)); ^ symbol: class INputStreamReader location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u469277091|p02606|0
u469277091|p02606|0
codenet
Compile Error
550
v2_s007258194
s007258194
s007258194
p02606
p02606
u469277091
u469277091
1,594,516,951
2020-07-12T01:22:31
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int l,r,d; int count=0; String str1=br.readLine(); l=Integer.parseInt(str1); String str2=br.readLine(); ...
Main.java:9: error: unreported exception IOException; must be caught or declared to be thrown String str1=br.readLine(); ^ Main.java:11: error: unreported exception IOException; must be caught or declared to be thrown String str2=br.readLine(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u469277091|p02606|0
u469277091|p02606|0
codenet
Compile Error
550
v2_s083437388
s083437388
s083437388
p02606
p02606
u563673753
u563673753
1,594,515,780
2020-07-12T01:03:00
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int l = sc.nextInt(); int r = sc.nextInt(); int d = sc.nextInt(); int ans = 0; for(int i = l ; i <= r ; ++i){ if(j%d == 0){ ans++; } } Sys...
Main.java:12: error: cannot find symbol if(j%d == 0){ ^ symbol: variable j location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u563673753|p02606|0
u563673753|p02606|0
codenet
Compile Error
352
v2_s796447888
s796447888
s796447888
p02606
p02606
u584924463
u584924463
1,594,515,941
2020-07-12T01:05:41
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int L = scanner.nextInt(); int R = scanner.nextInt(); int d = scanner.nextInt(); int ans = 0; for (int i = L; i < R; i++) { ...
Main.java:22: error: class, interface, enum, or record expected import java.util.Scanner; ^ Main.java:43: error: class, interface, enum, or record expected ???? ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u584924463|p02606|0
u584924463|p02606|0
codenet
Compile Error
819
v2_s377860934
s377860934
s377860934
p02606
p02606
u594462334
u594462334
1,595,620,417
2020-07-24T19:53:37
experiments.java
package Java; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; import tree.BinaryOperation; public class experiments { public static void main(String args[]) throws IOException { FastScanner fs = new FastScan...
experiments.java:9: error: package tree does not exist import tree.BinaryOperation; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u594462334|p02606|0
u594462334|p02606|0
codenet
Compile Error
1,189
v2_s680131702
s680131702
s680131702
p02606
p02606
u594462334
u594462334
1,595,620,444
2020-07-24T19:54:04
experiments.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; import tree.BinaryOperation; public class experiments { public static void main(String args[]) throws IOException { FastScanner fs = new FastScanner(); ...
experiments.java:9: error: package tree does not exist import tree.BinaryOperation; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u594462334|p02606|0
u594462334|p02606|0
codenet
Compile Error
1,176
v2_s683860739
s683860739
s683860739
p02606
p02606
u664527705
u664527705
1,594,516,072
2020-07-12T01:07:52
Main.java
import java.util.*; public class Main { public static void main(String args[]) n { Scanner scan = new Scanner(System.in); int l = scan.nextInt(); int r = scan.nextInt(); int d = scan.nextInt(); int a = l / d; int b = r / d; System.out.println(b ...
Main.java:5: error: ';' expected public static void main(String args[]) n { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u664527705|p02606|0
u664527705|p02606|0
codenet
Compile Error
335
v2_s834657582
s834657582
s834657582
p02606
p02606
u680966822
u680966822
1,594,516,403
2020-07-12T01:13:23
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int l = sc.nextInt(); int r = sc.nextInt(); int d = sc.nextInt(); int ans = 0; if(l%d==0) { ans++; } for(int i = l; i < r; i += d ) { ans++; } System.out.println(ans); sc.close(); } }
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
u680966822|p02606|0
u680966822|p02606|0
codenet
Compile Error
311
v2_s072358772
s072358772
s072358772
p02606
p02606
u688601504
u688601504
1,595,391,341
2020-07-22T04:15:41
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int l=sc.nextInt(); int r=sc.nextInt(); int d=sc.nextInt(); int count=0; for(int i=l;i<=r;i++) { if(i%d==0) { ...
Main.java:20: error: not a statement System.out.println(count);5 ^ Main.java:20: error: ';' expected System.out.println(count);5 ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u688601504|p02606|0
u688601504|p02606|0
codenet
Compile Error
404
v2_s045481700
s045481700
s045481700
p02606
p02606
u794250528
u794250528
1,594,756,974
2020-07-14T20:02:54
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.io.UncheckedIOException; import java.lang.reflect.Array; import java.util.ArrayDeque; import java.util.Arrays; import java.util.Deque; import java.util.Objects; import java.util.regex.Pat...
Main.java:124: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u794250528|p02606|0
u794250528|p02606|0
codenet
Compile Error
3,581
v2_s521275051
s521275051
s521275051
p02606
p02606
u902482201
u902482201
1,594,515,724
2020-07-12T01:02:04
Main.java
import java.util.Scanner; import java.util.List; import java.util.ArrayList; import java.util.Comparator; import java.util.Arrays; import java.util.Collections; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int L = scan.nextInt(); int R = sc...
Main.java:21: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902482201|p02606|0
u902482201|p02606|0
codenet
Compile Error
466
v2_s249931959
s249931959
s249931959
p02606
p02606
u924711195
u924711195
1,595,381,167
2020-07-22T01:26:07
Main.java
java.util.*; class Main{ public static void main(String[] a){ Scanner s=new Scanner(System.in); int l=s.nextInt(); int r=s.nextInt(); int d=s.nextInt(); System.out.println(Math.floor(l/d)-Math.floor(r/d)); } }
Main.java:1: error: class, interface, enum, or record expected java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u924711195|p02606|0
u924711195|p02606|0
codenet
Compile Error
209
v2_s310186895
s310186895
s310186895
p02607
p02607
u132094168
u132094168
1,594,517,365
2020-07-12T01:29:25
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); int N=sc.nextInt(); int a[]; for (int i=0;i<N;i++){ a[i]=sc.nextInt(); } int step=0; int m=(N+1)/2; for (int i=0;i<N;i++){ if...
Main.java:9: error: variable a might not have been initialized a[i]=sc.nextInt(); ^ Main.java:15: error: variable a might not have been initialized if(a[i]%2==1){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u132094168|p02607|0
u132094168|p02607|0
codenet
Compile Error
413
v2_s820911854
s820911854
s820911854
p02607
p02607
u132094168
u132094168
1,594,517,534
2020-07-12T01:32:14
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); int N=sc.nextInt(); int a[]=0; for (int i=0;i<N;i++){ a[i]=sc.nextInt(); } int step=0; int m=(N+1)/2; for (int i=0;i<N;i++){ ...
Main.java:7: error: incompatible types: int cannot be converted to int[] int a[]=0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u132094168|p02607|0
u132094168|p02607|0
codenet
Compile Error
415
v2_s955563266
s955563266
s955563266
p02607
p02607
u132094168
u132094168
1,594,517,918
2020-07-12T01:38:38
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); int N=sc.nextInt(); int a[]; a=new int[100]; for (int i=0;i<N;i++){ a[i]=sc.nextInt(); } int step=0; int m=(N+1)/2; for (int i=...
Main.java:16: error: ']' expected if(a[2i-1]%2==1){ ^ Main.java:16: error: not a statement if(a[2i-1]%2==1){ ^ Main.java:16: error: ';' expected if(a[2i-1]%2==1){ ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u132094168|p02607|0
u132094168|p02607|0
codenet
Compile Error
438
v2_s365926989
s365926989
s365926989
p02607
p02607
u164655750
u164655750
1,597,785,253
2020-08-18T21:14:13
Main.java
import java.util.* 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(); int a[]=new int[n]; int p=0; for(int i=0;i<n;i++) { int a[i]=sc.nextInt(); } for(int i=0;i<n;i++) { if(a[i]...
Main.java:1: error: ';' expected import java.util.* ^ Main.java:15: error: ']' expected int a[i]=sc.nextInt(); ^ Main.java:15: error: ';' expected int a[i]=sc.nextInt(); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u164655750|p02607|0
u164655750|p02607|0
codenet
Compile Error
399
v2_s396412385
s396412385
s396412385
p02607
p02607
u164655750
u164655750
1,597,786,296
2020-08-18T21:31:36
odd.java
import java.util.*; public class odd { public static void main (String[] args) { Scanner sc=new Scanner(System.in); int t=sc.nextInt(); while(t!=0) { int n=sc.nextInt(); int a[]=new int[n]; int p=0; for(int i=0;i<n;i++) { int a[i]=sc.nextInt(); } for(int i=0;i<n;i++) { if(a[i]...
odd.java:15: error: ']' expected int a[i]=sc.nextInt(); ^ odd.java:15: error: ';' expected int a[i]=sc.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u164655750|p02607|0
u164655750|p02607|0
codenet
Compile Error
399
v2_s756053109
s756053109
s756053109
p02607
p02607
u207845630
u207845630
1,594,515,890
2020-07-12T01:04:50
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] a = new int[N]; int ans = 0; for(int i = 0;i < N;i++){ a[i] = sc.nextInt(); if(i % 2 == 1 && a[i] % 2 b == 1){ ans++; } } System.out.println(ans); ...
Main.java:10: error: ')' expected if(i % 2 == 1 && a[i] % 2 b == 1){ ^ Main.java:10: error: not a statement if(i % 2 == 1 && a[i] % 2 b == 1){ ^ Main.java:10: error: ';' expected if(i % 2 == 1 && a[i] % 2 b == 1){ ^ 3...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p02607|0
u207845630|p02607|0
codenet
Compile Error
323
v2_s954679696
s954679696
s954679696
p02607
p02607
u312351318
u312351318
1,594,561,341
2020-07-12T13:42:21
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(); int N = sc.nextInt(); List<Integer> list = ArrayList<Integer>(); for(int i = 0; i < N; i++) { if(i % 2 == 1) { list.add(sc.nextInt()); } } ...
Main.java:11: error: -> expected List<Integer> list = ArrayList<Integer>(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u312351318|p02607|0
u312351318|p02607|0
codenet
Compile Error
420
v2_s542782131
s542782131
s542782131
p02607
p02607
u461416922
u461416922
1,594,516,874
2020-07-12T01:21:14
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] a = new int[N]; for(int i = 0; i < N; i++){ int a[i] = sc.nextInt(); } int n = 0; for(int j = 0; j < N; j++){ ...
Main.java:9: error: ']' expected int a[i] = sc.nextInt(); ^ Main.java:9: error: ';' expected int a[i] = sc.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u461416922|p02607|0
u461416922|p02607|0
codenet
Compile Error
423
v2_s129636787
s129636787
s129636787
p02607
p02607
u461416922
u461416922
1,594,516,935
2020-07-12T01:22:15
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] a = new int[N]; for(int i = 0; i < N; i++){ a[i] = sc.nextInt(); } int n = 0; for(int j = 0; j < N; j++){ if...
Main.java:18: error: package system does not exist system.out.println(n); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u461416922|p02607|0
u461416922|p02607|0
codenet
Compile Error
420
v2_s708628833
s708628833
s708628833
p02607
p02607
u709747126
u709747126
1,594,517,478
2020-07-12T01:31:18
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! int N = 0; int[] a_i; int mas=0; Scanner scan = new Scanner(System.in); N = scan.nextInt(); if(!(1<=N))System.out.println("Nを1以上の数にしてね"; ...
Main.java:11: error: ')' or ',' expected if(!(1<=N))System.out.println("N?1????????"; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u709747126|p02607|0
u709747126|p02607|0
codenet
Compile Error
691
v2_s928885307
s928885307
s928885307
p02607
p02607
u820070387
u820070387
1,594,925,285
2020-07-16T18:48:05
Main.java
import java.util.*; class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in)); int n = Integer.parseInt(sc.next()); int[] a = new int[n]; for (int i=0; i<n; i++) { a[i] = Integer.parseInt(sc.next()); } int count=0; for (int i=0; 1+(i*2)<n; i++)...
Main.java:5: error: ';' expected Scanner sc = new Scanner(System.in)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u820070387|p02607|0
u820070387|p02607|0
codenet
Compile Error
397
v2_s233358207
s233358207
s233358207
p02607
p02607
u938155118
u938155118
1,594,519,337
2020-07-12T02:02:17
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 a[] = new int[N+1]; int cnt = 0; for(int i=1; i<=N; i++) { a[i] = sc.nextInt(); // System.out.println(a[i] % 2); // System.out.println(i % 2); if...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u938155118|p02607|0
u938155118|p02607|0
codenet
Compile Error
425
v2_s986462086
s986462086
s986462086
p02608
p02608
u016958027
u016958027
1,594,518,306
2020-07-12T01:45:06
Main.java
import java.io.*; import java.util.*; import java.math.*; import java.net.StandardSocketOptions; class Main { static long sx = 0, sy = 0, mod = (long) (998244353); static ArrayList<Integer>[] a; // static ArrayList<Long> p; static HashMap<ArrayList<Integer>, Long> hm = new HashMap<>(); static Double[][] dp; ...
Main.java:147: error: method pow in class Main cannot be applied to given types; return ((pow(a, b - 1, mod) % mod) * a % mod) % mod; ^ required: long,long found: long,long,long reason: actual and formal argument lists differ in length 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u016958027|p02608|0
u016958027|p02608|0
codenet
Compile Error
6,509
v2_s132890437
s132890437
s132890437
p02608
p02608
u027519288
u027519288
1,594,518,513
2020-07-12T01:48:33
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] cnt = new int[100000]; for(int i = 0; i < 10010; i++) { cnt[i] = 0; } //System.out.println(Math.pow((double)n, 1.0/2.0)); for(int i = 1; i < Math.pow((double)n, 1.0/2.0); 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
u027519288|p02608|0
u027519288|p02608|0
codenet
Compile Error
995
v2_s130647336
s130647336
s130647336
p02608
p02608
u042160896
u042160896
1,594,520,015
2020-07-12T02:13: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(); //条件を満たす組み合わせをカウント int countflag = 0; //1~N回ループ for(int i = 1; i <= n; i++) { //カウントの初期化 c...
Main.java:29: error: <identifier> expected scanner.close(); ^ Main.java:32: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u042160896|p02608|0
u042160896|p02608|0
codenet
Compile Error
1,018
v2_s055335789
s055335789
s055335789
p02608
p02608
u143461602
u143461602
1,596,587,301
2020-08-05T00:28:21
Main.java
public static void main(String[] args) { int ans=0; Scanner sc = new Scanner(System.in); int n = sc.nextInt(); //int hako[]=new int[n]; /*for(int i=1;i<=n;i++) { hako[i]=sc.nextInt(); }*/ for(int i=1;i<=n;i++) { s:for(int x=1;x<=i;x++) { for(int y=1;y<=i;y++) { for(int z=1;z<=i;z++) { ...
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
u143461602|p02608|0
u143461602|p02608|0
codenet
Compile Error
794
v2_s040047822
s040047822
s040047822
p02608
p02608
u218740431
u218740431
1,594,517,037
2020-07-12T01:23:57
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long [] in = new long [n]; for(int i=1;i<=Math.sqrt(n)/6;i++){for(int j=1;j<=Math.sqrt(n)/6;j++){ for(int k=1;k<=Math.sqrt(n)/6;k++){in[i*i+j*j+k*k...
Main.java:13: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02608|0
u218740431|p02608|0
codenet
Compile Error
771
v2_s528458789
s528458789
s528458789
p02608
p02608
u419428873
u419428873
1,594,519,218
2020-07-12T02:00:18
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[] as = {0, 0 ,0 ,0 ,0 ,0 ,1 ,0 ,0 ,0 ,0 ,3 ,0 ,0 ,0 ,0 ,0 ,3 ,3 ,0 ,0 ,0 ,0 ,0 ,1 ,6 ,0 ,3 ,0 ,0 ,0 ,0 ,0 ,3 ,3 ,6 ,0 ,...
Main.java:4: error: code too large public static void main(String[] args){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u419428873|p02608|0
u419428873|p02608|0
codenet
Compile Error
38,496
v2_s009650855
s009650855
s009650855
p02608
p02608
u420622981
u420622981
1,594,516,970
2020-07-12T01:22:50
Main.java
import java.util.*; import java.util.function.*; import java.math.*; public class Main { public static void main(String[] args){ Scanner s = new Scanner(System.in); int N = Integer.valueOf(s.next()); int[] ret = new int[N+1]; for(int x = 1; x < 24; x++) { for(int y = 1; y < 24; y++) { for(int z = 1;...
Main.java:13: error: cannot find symbol int cur = calc(x, y, z); ^ symbol: method calc(int,int,int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420622981|p02608|0
u420622981|p02608|0
codenet
Compile Error
529
v2_s279578042
s279578042
s279578042
p02608
p02608
u461416922
u461416922
1,594,517,856
2020-07-12T01:37:36
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int count = 0; for(int i = 1: i <= N;i++){ for(int x = 1; x <= N;x++){ for(int y =1; y <= N; y++){ for(int z = 1; z <=...
Main.java:9: error: ';' expected for(int i = 1: i <= N;i++){ ^ Main.java:9: error: not a statement for(int i = 1: i <= N;i++){ ^ Main.java:9: error: ';' expected for(int i = 1: i <= N;i++){ ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u461416922|p02608|0
u461416922|p02608|0
codenet
Compile Error
538
v2_s623760675
s623760675
s623760675
p02608
p02608
u461416922
u461416922
1,594,520,169
2020-07-12T02:16:09
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); for(int i = 1; i <= N;i++){ int count = 0; for(int x = 1; x < i-1;x++){ for(int y =1 < i-x; y++){ for(int z = 1; z <...
Main.java:11: error: ';' expected for(int y =1 < i-x; y++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u461416922|p02608|0
u461416922|p02608|0
codenet
Compile Error
515
v2_s887118121
s887118121
s887118121
p02608
p02608
u461416922
u461416922
1,594,520,202
2020-07-12T02:16:42
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); for(int i = 1; i <= N;i++){ int count = 0; for(int x = 1; x < i-1;x++){ for(int y =1; < i-x; y++){ for(int z = 1; z ...
Main.java:11: error: > or ',' expected for(int y =1; < i-x; y++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u461416922|p02608|0
u461416922|p02608|0
codenet
Compile Error
516