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_s068200658 | s068200658 | s068200658 | p02584 | p02584 | u903775883 | u903775883 | 1,598,121,161 | 2020-08-22T18:32:41 | Main.java | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long X = Math.abs(sc.nextLong());
long K = sc.nextLong();
long D = sc.nextLong();
long minX;
long maxX;
long minK = X / D;
if(X % D > Math.abs((X % D) - D)) {
minX = Math.abs... | Main.java:26: error: variable minX might not have been initialized
System.out.println(minX);
^
Main.java:28: error: variable maxX might not have been initialized
System.out.println(maxX);
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u903775883|p02584|1 | u903775883|p02584|1 | codenet | Compile Error | 549 | |
v2_s468784967 | s468784967 | s468784967 | p02584 | p02584 | u934782869 | u934782869 | 1,597,527,554 | 2020-08-15T21:39:14 | Main.java | public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = Math.abs(sc.nextLong());
long k = sc.nextLong();
long d = sc.nextLong();
if(x >= k * d) {
System.out.println(x - k * d);
return;
}
... | 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 | u934782869|p02584|0 | u934782869|p02584|0 | codenet | Compile Error | 515 | |
v2_s269204258 | s269204258 | s269204258 | p02585 | p02585 | u013186063 | u013186063 | 1,597,545,412 | 2020-08-16T02:36:52 | Main.java | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
int n, k; cin >> n >> k;
vector<int> p(n + 1), c(n + 1);
for (int i = 1; i <= n; ++i) cin >> p[i];
for (int i = 1; i <= n; ++i) cin >> c[i];
ll res = 0;
vector<ll> sc(n+1);
for (int i = 1; i <= n; ++i) {
int next = p[i], step ... | 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 ll long long
^
Main.java:8: error: not a statement
int n, k; cin >> n >> k;
^
M... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u013186063|p02585|0 | u013186063|p02585|0 | codenet | Compile Error | 557 | |
v2_s750037419 | s750037419 | s750037419 | p02585 | p02585 | u266007445 | u266007445 | 1,597,948,265 | 2020-08-20T18:31:05 | Main.java | import java.util.*;
import java.io.*;
import java.math.*;
class Main
{
public static void main(String[] args) throws IOException{
PrintWriter out = new PrintWriter(System.out);
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenize... | Main.java:27: error: cannot find symbol
ans = Math.max(curSum, C[i]);
^
symbol: variable curSum
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u266007445|p02585|0 | u266007445|p02585|0 | codenet | Compile Error | 1,722 | |
v2_s147030080 | s147030080 | s147030080 | p02585 | p02585 | u371993312 | u371993312 | 1,597,545,597 | 2020-08-16T02:39:57 | Main.java | import java.util.*;
import java.io.*;
public class Main{
static BufferedReader s1;
static BufferedWriter out;
static String read() throws IOException{String line="";while(line.length()==0){line=s1.readLine();continue;}return line;}
static int int_v (String s1){
StringBuilder sb=new StringBuilder();
for(int i=... | Main.java:67: error: cannot find symbol
for(int xx:c){res=Math.max(res,cc);}
^
symbol: variable cc
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u371993312|p02585|0 | u371993312|p02585|0 | codenet | Compile Error | 3,082 | |
v2_s958622137 | s958622137 | s958622137 | p02585 | p02585 | u564512860 | u564512860 | 1,597,545,560 | 2020-08-16T02:39:20 | Main.java | import java.util.*;
import java.io.*;
class Main {
Scanner in;
InputStream is;
PrintWriter out;
String INPUT = "";
//----------------------------------------------------------------------------------------------------//
int INF=Integer.MAX_VALUE;
int mod=(int)(1e9)+7;
long max;
in... | Main.java:31: error: cannot find symbol
long pre[]=new long[2*l+1];
^
symbol: variable l
location: class Main
Main.java:32: error: cannot find symbol
for (int j = 1; j <=2*l; j++) {
^
symbol: variable l
location: class Main
Main.jav... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u564512860|p02585|0 | u564512860|p02585|0 | codenet | Compile Error | 5,405 | |
v2_s165815490 | s165815490 | s165815490 | p02585 | p02585 | u655325849 | u655325849 | 1,597,621,133 | 2020-08-16T23:38:53 | Main.java |
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// write your code here
Scanner scan = new Scanner(System.in);
int N = scan.nextInt();
long K = scan.nextLong();
int P[]=new int[N];
long C[]=new long[N];
... | Main.java:54: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u655325849|p02585|1 | u655325849|p02585|0 | codenet | Compile Error | 1,500 | |
v2_s333491573 | s333491573 | s333491573 | p02585 | p02585 | u888939948 | u888939948 | 1,597,543,662 | 2020-08-16T02:07:42 | Main.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.StringTokenizer;
public class Main {
int[] goesTo;
int[] value;
boolean[] onStack;
public static void Main(... | Main.java:15: error: cannot find symbol
new Task4().solve();
^
symbol: class Task4
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u888939948|p02585|0 | u888939948|p02585|0 | codenet | Compile Error | 2,432 | |
v2_s973051050 | s973051050 | s973051050 | p02586 | p02586 | u082512804 | u082512804 | 1,599,221,864 | 2020-09-04T12:17:44 | Main.java | aaaaa | Main.java:1: error: reached end of file while parsing
aaaaa
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u082512804|p02586|0 | u082512804|p02586|0 | codenet | Compile Error | 5 | |
v2_s292798692 | s292798692 | s292798692 | p02586 | p02586 | u082512804 | u082512804 | 1,599,362,388 | 2020-09-06T03:19:48 | Main.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.math.BigInteger;
import java.util.*;
public class Main {
void solve() throws IOException {
int R = ni();
int C = ni();
int K = ni();
int[][] item =... | Main.java:21: error: incompatible types: int[][][] cannot be converted to long[][][]
long[][][] dp = new int[R][C][4];
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u082512804|p02586|1 | u082512804|p02586|1 | codenet | Compile Error | 4,769 | |
v2_s572382129 | s572382129 | s572382129 | p02586 | p02586 | u194267514 | u194267514 | 1,597,553,091 | 2020-08-16T04:44:51 | Main.java | // package beginner00175;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.InputMismatchException;
import java.util.PriorityQueue;
public class Main {
private static PrintWriter out;
public static void... | Main.java:80: error: invalid method declaration; return type required
static best(int r, int c, long[][][] dp, long[] v) {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u194267514|p02586|0 | u194267514|p02586|0 | codenet | Compile Error | 6,781 | |
v2_s405374348 | s405374348 | s405374348 | p02586 | p02586 | u218740431 | u218740431 | 1,597,615,731 | 2020-08-16T22:08:51 | Main.java | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int r = sc.nextInt();
int c = sc.nextInt();
int k = sc.nextInt();
long [][] item = new long [r+1][c+1];
long [][][] ans = new long [r+1][c+1][4];
String [] str = ne... | Main.java:10: error: cannot find symbol
String [] str = new String [a];
^
symbol: variable a
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u218740431|p02586|0 | u218740431|p02586|0 | codenet | Compile Error | 1,642 | |
v2_s991570253 | s991570253 | s991570253 | p02586 | p02586 | u218740431 | u218740431 | 1,597,699,914 | 2020-08-17T21:31:54 | Main.java | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int r = sc.nextInt();
int c = sc.nextInt();
int k = sc.nextInt();
long [][] item = new long [r+1][c+1];
long [][][] ans = new long [r+1][c+1][4];
for(int i=0;i<k;i+... | Main.java:22: error: ')' or ',' expected
for(int k=1;k<=3;k++){ans[i][j][k]=Math.max(ans[i][j-1][k],ans[i][j-1][k-1]+item[i][j];}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u218740431|p02586|1 | u218740431|p02586|1 | codenet | Compile Error | 1,395 | |
v2_s655381837 | s655381837 | s655381837 | p02586 | p02586 | u218740431 | u218740431 | 1,597,699,949 | 2020-08-17T21:32:29 | Main.java | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int r = sc.nextInt();
int c = sc.nextInt();
int k = sc.nextInt();
long [][] item = new long [r+1][c+1];
long [][][] ans = new long [r+1][c+1][4];
for(int i=0;i<k;i+... | Main.java:22: error: ')' or ',' expected
for(int k=1;k<=3;k++){ans[i][j][k]=Math.max(ans[i][j-1][k],ans[i][j-1][k-1]+item[i][j];)}
^
Main.java:22: error: illegal start of expression
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u218740431|p02586|1 | u218740431|p02586|1 | codenet | Compile Error | 1,396 | |
v2_s260672907 | s260672907 | s260672907 | p02586 | p02586 | u218740431 | u218740431 | 1,597,699,975 | 2020-08-17T21:32:55 | Main.java | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int r = sc.nextInt();
int c = sc.nextInt();
int k = sc.nextInt();
long [][] item = new long [r+1][c+1];
long [][][] ans = new long [r+1][c+1][4];
for(int i=0;i<k;i+... | Main.java:19: error: variable k is already defined in method main(String[])
for(int k=1;k<=3;k++){ans[i][j][k]=ans[i][j-1][k];}
^
Main.java:22: error: variable k is already defined in method main(String[])
for(int k=1;k<=3;k++){ans[i][j][k]=Math.max(ans[i][j-1][k],ans[i][j-... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u218740431|p02586|1 | u218740431|p02586|1 | codenet | Compile Error | 1,397 | |
v2_s409217531 | s409217531 | s409217531 | p02586 | p02586 | u540491484 | u540491484 | 1,597,545,603 | 2020-08-16T02:40:03 | Main.java | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vvvi = vector<vector<vector<int>>>;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
using vvvl = vector<vector<vector<ll>>>;
using vs = vector<string>;
usin... | Main.java:1: error: illegal character: '#'
#include <bits/stdc++.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include <bits/stdc++.h>
^
Main.java:4: error: unnamed classes are a preview feature and are disabled by default.
using ll = long long;
^
(use --enable-preview to enable unname... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u540491484|p02586|0 | u540491484|p02586|0 | codenet | Compile Error | 2,425 | |
v2_s130367806 | s130367806 | s130367806 | p02586 | p02586 | u541055501 | u541055501 | 1,597,548,252 | 2020-08-16T03:24:12 | E.java | import java.io.InputStream;
import java.io.OutputStream;
import java.lang.reflect.Field;
import lib.io.ExtendedScanner;
import lib.io.Out;
import lib.util.Longs;
public class E {
public static void main(String[] args) throws Exception {
Field f = System.out.getClass().getDeclaredField("autoFlush");
... | E.java:5: error: package lib.io does not exist
import lib.io.ExtendedScanner;
^
E.java:6: error: package lib.io does not exist
import lib.io.Out;
^
E.java:7: error: package lib.util does not exist
import lib.util.Longs;
^
E.java:25: error: cannot find symbol
public static vo... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u541055501|p02586|0 | u541055501|p02586|0 | codenet | Compile Error | 1,504 | |
v2_s677601027 | s677601027 | s677601027 | p02586 | p02586 | u729186675 | u729186675 | 1,597,601,908 | 2020-08-16T18:18:28 | Main.java | import java.util.Arrays;
import java.util.Scanner;
import java.util.stream.IntStream;
/**
* 解説通りに実装したソースコード
*/
public class Main {
public static void main(String[] args) {
try (Scanner scanner = new Scanner(System.in)) {
int r = scanner.nextInt(), c = scanner.nextInt(), k = scanner.nextInt();
long[][] v ... | Main.java:58: error: class, interface, enum, or record expected
import java.util.Arrays;
^
Main.java:59: error: class, interface, enum, or record expected
import java.util.Scanner;
^
Main.java:60: error: class, interface, enum, or record expected
import java.util.stream.IntStream;
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u729186675|p02586|1 | u729186675|p02586|1 | codenet | Compile Error | 3,552 | |
v2_s503953341 | s503953341 | s503953341 | p02586 | p02586 | u768031280 | u768031280 | 1,598,290,285 | 2020-08-24T17:31:25 | Main.java | import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main {
public static... | Main.java:146: error: cannot find symbol
public OutputWriter(Writer writer) {
^
symbol: class Writer
location: class OutputWriter
Main.java:25: error: cannot find symbol
FastReader in = new FastReader(inputStream);
^
symbol: class FastReader
locati... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u768031280|p02586|0 | u768031280|p02586|0 | codenet | Compile Error | 4,872 | |
v2_s542208555 | s542208555 | s542208555 | p02586 | p02586 | u768031280 | u768031280 | 1,598,290,384 | 2020-08-24T17:33:04 | Main.java | import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main {
public static... | Main.java:146: error: cannot find symbol
public OutputWriter(Writer writer) {
^
symbol: class Writer
location: class OutputWriter
Main.java:26: error: reference to OutputWriter is ambiguous
OutputWriter out = new OutputWriter(outputStream);
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u768031280|p02586|0 | u768031280|p02586|0 | codenet | Compile Error | 4,876 | |
v2_s034744464 | s034744464 | s034744464 | p02586 | p02586 | u951706666 | u951706666 | 1,597,545,671 | 2020-08-16T02:41:11 | Main.java | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int R = sc.nextInt();
int C = sc.nextInt();
int K = sc.nextInt();
int[][] field = new int[R + 1][C + 1];
for(int i = 0; i < K; i++){
fiel... | Main.java:42: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u951706666|p02586|0 | u951706666|p02586|0 | codenet | Compile Error | 1,500 | |
v2_s050352578 | s050352578 | s050352578 | p02587 | p02587 | u254886300 | u254886300 | 1,597,595,905 | 2020-08-16T16:38:25 | Main.java | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define endl '\n'
#define all(x) (x).begin(),(x).end()
const int INF=1e9+5;
const ll oo=1e18+5;
const int N=2e5+5;
const int mod=1e9+7;
vector<vector<string>> s;
vector<int> cost;
ll dp[55][35][2];
int n;
bool isGud(const string& s,int l,int r){
for... | 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: class, interface, enum, or record expected
typedef long long ll;
^
Main.java:4: error: illegal character: '#'
#define endl '\n'
^
M... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u254886300|p02587|0 | u254886300|p02587|0 | codenet | Compile Error | 1,309 | |
v2_s132114817 | s132114817 | s132114817 | p02588 | p02588 | u034090196 | u034090196 | 1,597,874,072 | 2020-08-19T21:54:32 | Main.java | import java.lang.Math;
import java.util.ArrayList;
import java.util.Scanner;
public class Main {
static Scanner sc= new Scanner(System.in);
void run(String args[]){
Integer limit= sc.nextInt();
Integer i=0;
Integer j=0;
ArrayList<Double>ipair=new ArrayList<>();
ArrayList... | Main.java:18: error: cannot find symbol
limit=Integer.valueOf(a);
^
symbol: variable a
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u034090196|p02588|0 | u034090196|p02588|0 | codenet | Compile Error | 922 | |
v2_s186770972 | s186770972 | s186770972 | p02588 | p02588 | u153350126 | u153350126 | 1,597,036,661 | 2020-08-10T05:17:41 | Main.java | import java.util.*;
class Text{
public static void main(String args[]){
try{
Scanner in=new Scanner(System.in);
int t=in.nextInt();
int i;
double a[]=new double[];
for(i=0;i<t;i++)
a[i]=in.nextDouble();
int j;
int count=0;
for(i=0;i<t;i++){
for(j==0;j<t... | Main.java:9: error: array dimension missing
double a[]=new double[];
^
Main.java:15: error: not a statement
for(j==0;j<t;j++){
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u153350126|p02588|0 | u153350126|p02588|0 | codenet | Compile Error | 586 | |
v2_s446045538 | s446045538 | s446045538 | p02588 | p02588 | u282011939 | u282011939 | 1,597,025,244 | 2020-08-10T02:07:24 | Main.java | public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int j = 0;
double[] s = new double[n];
int count = 0;
for(int i = 0;i < n;i++) {
s[i] = sc.nextDouble();
}
for(int i = 0;i < n; i++){
for(j = i + 1;j < n;j++) {
... | 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 | u282011939|p02588|0 | u282011939|p02588|0 | codenet | Compile Error | 466 | |
v2_s024091894 | s024091894 | s024091894 | p02588 | p02588 | u408671311 | u408671311 | 1,597,024,657 | 2020-08-10T01:57:37 | Main.java | import java.util.*;
public class Main {
public static void main(String[] args) {
List<double> list = new ArrayList<double>();
List<int> counter = new ArrayList<int>();
double integerNumber = 0;
int k = 0;
try(Scanner sc = new Scanner(System.in)) {
while(integerNumber.hasNext()) {
... | Main.java:18: error: ';' expected
double num = list.get(i) * list.get(j)
^
Main.java:21: error: ';' expected
k++
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 841 | |
v2_s546668389 | s546668389 | s546668389 | p02588 | p02588 | u408671311 | u408671311 | 1,597,025,513 | 2020-08-10T02:11:53 | Main.java | import java.util.*;
public class Main{
public static void main(String[] args){
List<double> list = new ArrayList<double>;
List<int> counter = new ArrayList<int>;
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
num = Double.parseDouble(sc);
list.add(num.n... | Main.java:5: error: '(' or '[' expected
List<double> list = new ArrayList<double>;
^
Main.java:6: error: '(' or '[' expected
List<int> counter = new ArrayList<int>;
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 636 | |
v2_s942497086 | s942497086 | s942497086 | p02588 | p02588 | u408671311 | u408671311 | 1,597,025,685 | 2020-08-10T02:14:45 | Main.java | import java.io.*;
public class Main{
public static void main(String[] args){
List<double> list = new ArrayList<double>;
List<int> counter = new ArrayList<int>;
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
num = Double.parseDouble(sc);
list.add(num.nex... | Main.java:5: error: '(' or '[' expected
List<double> list = new ArrayList<double>;
^
Main.java:6: error: '(' or '[' expected
List<int> counter = new ArrayList<int>;
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 634 | |
v2_s597464736 | s597464736 | s597464736 | p02588 | p02588 | u408671311 | u408671311 | 1,597,025,943 | 2020-08-10T02:19:03 | Main.java | import java.util.*;
public class Main{
public static void main(String[] args){
List<double> list = new ArrayList<double>;
List<int> counter = new ArrayList<int>;
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
num = Double.parseDouble(sc.nextLine());
lis... | Main.java:5: error: '(' or '[' expected
List<double> list = new ArrayList<double>;
^
Main.java:6: error: '(' or '[' expected
List<int> counter = new ArrayList<int>;
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 636 | |
v2_s380358082 | s380358082 | s380358082 | p02588 | p02588 | u408671311 | u408671311 | 1,597,025,994 | 2020-08-10T02:19:54 | Main.java | import java.util.*;
public class Main{
public static void main(String[] args){
List<double> list = new ArrayList<double>;
List<int> counter = new ArrayList<int>;
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
num = Double.parseDouble(sc.nextLine());
lis... | Main.java:5: error: '(' or '[' expected
List<double> list = new ArrayList<double>;
^
Main.java:6: error: '(' or '[' expected
List<int> counter = new ArrayList<int>;
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 647 | |
v2_s425931568 | s425931568 | s425931568 | p02588 | p02588 | u408671311 | u408671311 | 1,597,026,231 | 2020-08-10T02:23:51 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
import java.util.List;
public class Main{
public static void main(String[] args){
List<double> list = new ArrayList<double>();
List<int> counter = new ArrayList<int>();
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) ... | Main.java:7: error: unexpected type
List<double> list = new ArrayList<double>();
^
required: reference
found: double
Main.java:7: error: unexpected type
List<double> list = new ArrayList<double>();
^
required: reference
found: double
Main.java:8: erro... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 708 | |
v2_s580385395 | s580385395 | s580385395 | p02588 | p02588 | u408671311 | u408671311 | 1,597,026,414 | 2020-08-10T02:26:54 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
import java.util.List;
public class Main{
public static void main(String[] args){
List<double> list = new ArrayList<double>();
List<int> counter = new ArrayList<int>();
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) ... | Main.java:14: error: illegal character: '\u3000'
?for (int i = 0; i < list.size - 1; i++) {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 722 | |
v2_s759402182 | s759402182 | s759402182 | p02588 | p02588 | u408671311 | u408671311 | 1,597,026,529 | 2020-08-10T02:28:49 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
import java.util.List;
public class Main{
public static void main(String[] args){
List<double> list = new ArrayList<double>();
List<int> counter = new ArrayList<int>();
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) ... | Main.java:7: error: unexpected type
List<double> list = new ArrayList<double>();
^
required: reference
found: double
Main.java:7: error: unexpected type
List<double> list = new ArrayList<double>();
^
required: reference
found: double
Main.java:8: erro... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 703 | |
v2_s612851593 | s612851593 | s612851593 | p02588 | p02588 | u408671311 | u408671311 | 1,597,026,823 | 2020-08-10T02:33:43 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
import java.util.List;
public class Main{
public static void main(String[] args){
List<Double> list = new ArrayList<Double>();
List<Integer> counter = new ArrayList<Integer>();
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.has... | Main.java:14: error: cannot find symbol
for (int i = 0; i < list.size - 1; i++) {
^
symbol: variable size
location: variable list of type List<Double>
Main.java:15: error: cannot find symbol
for (int j = i + 1; j < list.size; j++) {
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 727 | |
v2_s603898535 | s603898535 | s603898535 | p02588 | p02588 | u408671311 | u408671311 | 1,597,026,974 | 2020-08-10T02:36:14 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
import java.util.List;
public class Main{
public static void main(String[] args){
List<Double> list = Arrays.asList();
List<Integer> counter = Arrays.asList();
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
... | Main.java:7: error: cannot find symbol
List<Double> list = Arrays.asList();
^
symbol: variable Arrays
location: class Main
Main.java:8: error: cannot find symbol
List<Integer> counter = Arrays.asList();
^
symbol: variable Arrays
location: class Mai... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 692 | |
v2_s123264559 | s123264559 | s123264559 | p02588 | p02588 | u408671311 | u408671311 | 1,597,027,119 | 2020-08-10T02:38:39 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
import java.util.List;
import java.util.Arrays;
public class Main{
public static void main(String[] args){
List<Double> list = Arrays.asList();
List<Integer> counter = Arrays.asList();
double num = 0;
Scanner sc = new Scanner(System.in);
while... | Main.java:15: error: cannot find symbol
for (int i = 0; i < list.size - 1; i++) {
^
symbol: variable size
location: variable list of type List<Double>
Main.java:16: error: cannot find symbol
for (int j = i + 1; j < list.size; j++) {
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 717 | |
v2_s584585906 | s584585906 | s584585906 | p02588 | p02588 | u408671311 | u408671311 | 1,597,027,263 | 2020-08-10T02:41:03 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
import java.util.List;
import java.util.Arrays;
public class Main{
public static void main(String[] args){
List<Double> list = new ArrayList<Double>();
List<Integer> counter = new ArrayList<Integer>();
double num = 0;
Scanner sc = new Scanner(Syst... | Main.java:15: error: cannot find symbol
for (int i = 0; i < list.size - 1; i++) {
^
symbol: variable size
location: variable list of type List<Double>
Main.java:16: error: cannot find symbol
for (int j = i + 1; j < list.size; j++) {
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 734 | |
v2_s275892037 | s275892037 | s275892037 | p02588 | p02588 | u408671311 | u408671311 | 1,597,027,712 | 2020-08-10T02:48:32 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
import java.util.List;
import java.util.Arrays;
public class Main{
public static void main(String[] args){
List<Double> list = new ArrayList<Double>();
List<Integer> counter = new ArrayList<Integer>();
double num = 0;
Scanner sc = new Scanner(Syst... | Main.java:18: error: '.class' expected
if(int(x) == x) {
^
Main.java:18: error: not a statement
if(int(x) == x) {
^
Main.java:18: error: ';' expected
if(int(x) == x) {
^
Main.java:20: error: 'else' without 'if'
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 734 | |
v2_s632574079 | s632574079 | s632574079 | p02588 | p02588 | u408671311 | u408671311 | 1,597,027,934 | 2020-08-10T02:52:14 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
public class Main{
public static void main(String[] args){
List<double> list = new ArrayList<double>();
List<Int> counter = new ArrayList<Int>();
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
num = Double.p... | Main.java:16: error: '.class' expected
if(int(x) == x) {
^
Main.java:16: error: not a statement
if(int(x) == x) {
^
Main.java:16: error: ';' expected
if(int(x) == x) {
^
Main.java:18: error: 'else' without 'if'
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 678 | |
v2_s854318393 | s854318393 | s854318393 | p02588 | p02588 | u408671311 | u408671311 | 1,597,028,090 | 2020-08-10T02:54:50 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
public class Main{
public static void main(String[] args){
List<double> list = new ArrayList<double>();
List<Int> counter = new ArrayList<Int>();
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
num = Double.p... | Main.java:16: error: <identifier> expected
if((x == Math.int(x)) && !Double.isInfinite(x)) {
^
Main.java:16: error: ';' expected
if((x == Math.int(x)) && !Double.isInfinite(x)) {
^
Main.java:16: error: not a statement
if((x ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 699 | |
v2_s236217571 | s236217571 | s236217571 | p02588 | p02588 | u408671311 | u408671311 | 1,597,028,266 | 2020-08-10T02:57:46 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
public class Main{
public static void main(String[] args){
List<double> list = new ArrayList<double>();
List<Int> counter = new ArrayList<Int>();
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
num = Double.p... | Main.java:6: error: cannot find symbol
List<double> list = new ArrayList<double>();
^
symbol: class List
location: class Main
Main.java:6: error: unexpected type
List<double> list = new ArrayList<double>();
^
required: reference
found: double
Main.java:6: error: unexpected type
Lis... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 701 | |
v2_s366737194 | s366737194 | s366737194 | p02588 | p02588 | u408671311 | u408671311 | 1,597,028,315 | 2020-08-10T02:58:35 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
public class Main{
public static void main(String[] args){
List<Double> list = new ArrayList<Double>();
List<Integer> counter = new ArrayList<Integer>();
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
num = ... | Main.java:6: error: cannot find symbol
List<Double> list = new ArrayList<Double>();
^
symbol: class List
location: class Main
Main.java:7: error: cannot find symbol
List<Integer> counter = new ArrayList<Integer>();
^
symbol: class List
location: class Main
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 709 | |
v2_s944430097 | s944430097 | s944430097 | p02588 | p02588 | u408671311 | u408671311 | 1,597,028,388 | 2020-08-10T02:59:48 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
import java.util.List;
public class Main{
public static void main(String[] args){
List<Double> list = new ArrayList<Double>();
List<Integer> counter = new ArrayList<Integer>();
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.has... | Main.java:14: error: cannot find symbol
for (int i = 0; i < list.size - 1; i++) {
^
symbol: variable size
location: variable list of type List<Double>
Main.java:15: error: cannot find symbol
for (int j = i + 1; j < list.size; j++) {
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 732 | |
v2_s675666298 | s675666298 | s675666298 | p02588 | p02588 | u408671311 | u408671311 | 1,597,028,432 | 2020-08-10T03:00:32 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
import java.util.List;
public class Main{
public static void main(String[] args){
List<Double> list = new ArrayList<Double>();
List<Integer> counter = new ArrayList<Integer>();
double num = 0;
Scanner sc = new Scanner(System.in);
while (sc.has... | Main.java:18: error: incompatible types: double cannot be converted to Integer
counter.add(x);
^
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 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 736 | |
v2_s747296487 | s747296487 | s747296487 | p02588 | p02588 | u408671311 | u408671311 | 1,597,029,503 | 2020-08-10T03:18:23 | Main.java | import java.util.Scanner;
import java.util.ArrayList;
import java.util.List;
public class Main{
public static void main(String[] args){
List<Double> list = new ArrayList<Double>();
List<Double> counter = new ArrayList<Double>();
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
doubl... | Main.java:23: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408671311|p02588|0 | u408671311|p02588|0 | codenet | Compile Error | 673 | |
v2_s618179238 | s618179238 | s618179238 | p02588 | p02588 | u461416922 | u461416922 | 1,597,022,552 | 2020-08-10T01:22:32 | Main.java | import java.util.*;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
double a[] = new double[];
for(int i = 0;i < n;i++){
a[i] = sc.nextDouble();
}
int count = 0;
for(int j=0;j<n;j++){
for(int k=0;k<... | Main.java:8: error: array dimension missing
double a[] = new double[];
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u461416922|p02588|0 | u461416922|p02588|0 | codenet | Compile Error | 480 | |
v2_s099182252 | s099182252 | s099182252 | p02588 | p02588 | u461416922 | u461416922 | 1,597,022,586 | 2020-08-10T01:23:06 | Main.java | import java.util.*;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
double a[] = new double();
for(int i = 0;i < n;i++){
a[i] = sc.nextDouble();
}
int count = 0;
for(int j=0;j<n;j++){
for(int k=0;k... | Main.java:8: error: '[' expected
double a[] = new double();
^
Main.java:8: error: -> expected
double a[] = new double();
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u461416922|p02588|0 | u461416922|p02588|0 | codenet | Compile Error | 481 | |
v2_s258343775 | s258343775 | s258343775 | p02588 | p02588 | u461416922 | u461416922 | 1,597,022,713 | 2020-08-10T01:25:13 | Main.java | import java.util.*;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
double a[];
for(int i = 0;i < n;i++){
a[i] = sc.nextDouble();
}
int count = 0;
for(int j=0;j<n;j++){
for(int k=0;k<n;k++){
... | Main.java:17: error: incompatible types: possible lossy conversion from double to int
int B = a[j]*a[k];
^
Main.java:18: error: unexpected type
if(A - B = 0){
^
required: variable
found: value
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u461416922|p02588|0 | u461416922|p02588|0 | codenet | Compile Error | 466 | |
v2_s168262342 | s168262342 | s168262342 | p02588 | p02588 | u461416922 | u461416922 | 1,597,023,038 | 2020-08-10T01:30: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();
double a[];
for(int i = 0;i < n;i++){
a[i] = sc.nextDouble();
}
int count = 0;
for(int j=0;j<n;j++){
for(int k=0;k<n;k++){
... | Main.java:25: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u461416922|p02588|0 | u461416922|p02588|0 | codenet | Compile Error | 591 | |
v2_s529764536 | s529764536 | s529764536 | p02588 | p02588 | u461416922 | u461416922 | 1,597,023,073 | 2020-08-10T01:31:13 | Main.java | import java.util.*;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
double a[];
for(int i = 0;i < n;i++){
a[i] = sc.nextDouble();
}
int count = 0;
for(int j=0;j<n;j++){
for(int k=0;k<n;k++){
... | Main.java:17: error: cannot find symbol
BigDecimal b = new BigDecimal(String.valueOf(A));
^
symbol: class BigDecimal
location: class Main
Main.java:17: error: cannot find symbol
BigDecimal b = new BigDecimal(String.valueOf(A));
^
symbol: class BigDecimal
locati... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u461416922|p02588|0 | u461416922|p02588|0 | codenet | Compile Error | 593 | |
v2_s330752714 | s330752714 | s330752714 | p02588 | p02588 | u461416922 | u461416922 | 1,597,023,190 | 2020-08-10T01:33:10 | Main.java | import java.util.*;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
double a[];
for(int i = 0;i < n;i++){
a[i] = sc.nextDouble();
}
int count = 0;
for(int j=0;j<n;j++){
for(int k=0;k<n;k++){
... | Main.java:17: error: cannot find symbol
bigDecimal b = new bigDecimal(String.valueOf(A));
^
symbol: class bigDecimal
location: class Main
Main.java:17: error: cannot find symbol
bigDecimal b = new bigDecimal(String.valueOf(A));
^
symbol: class bigDecimal
locati... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u461416922|p02588|0 | u461416922|p02588|0 | codenet | Compile Error | 593 | |
v2_s042695673 | s042695673 | s042695673 | p02588 | p02588 | u572959727 | u572959727 | 1,597,029,422 | 2020-08-10T03:17:02 | Main.java | import java.io.*;
import java.util.*;
class Solution
{
public static void main(String[] args)
{
double res=0;
int count=0;
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
double arr[]=new arr[n];
for(int i=0;i<n;i++)
{
arr[i]=sc.nextDouble();
}
for(int i=0;i<n;i++)
... | Main.java:11: error: cannot find symbol
double arr[]=new arr[n];
^
symbol: class arr
location: class Solution
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u572959727|p02588|0 | u572959727|p02588|0 | codenet | Compile Error | 509 | |
v2_s200876305 | s200876305 | s200876305 | p02588 | p02588 | u754804426 | u754804426 | 1,597,970,230 | 2020-08-21T00:37:10 | Main.java | public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
long ans = 0;
int n = scanner.nextInt();
int[][] f = new int[20][20];
for (int i = 0; i < n; i++) {
double v = scanner.nextDouble();
long vv = (long... | 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 ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u754804426|p02588|0 | u754804426|p02588|0 | codenet | Compile Error | 815 | |
v2_s954534249 | s954534249 | s954534249 | p02588 | p02588 | u766012065 | u766012065 | 1,597,026,354 | 2020-08-10T02:25: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();
double[] b = new double[a];
for(int i = 0; i < a; i++){
b[i] = sc.nextDouble();
}
int c = 0;
for(int i = 0;i < a;i++){
for(int j = i + 1;j < a;j++){... | Main.java:28: error: class, interface, enum, or record expected
import java.util.*;
^
Main.java:54: error: reached end of file while parsing
????
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u766012065|p02588|0 | u766012065|p02588|0 | codenet | Compile Error | 1,437 | |
v2_s215337819 | s215337819 | s215337819 | p02588 | p02588 | u881359256 | u881359256 | 1,597,033,772 | 2020-08-10T04:29:32 | Main.java | public class Main {
static void solve() {
int n = ni();
//double[] a = new double[n];
List<String> ls = new ArrayList<>();
for(int i=0;i<n;i++) {
String x = ns();
int dot = x.indexOf(".");
if(dot == -1) ls.add(x);
else {
boolean ok = true;
int cnt = 0;
for(int j=dot;j<x.length();j++) {
... | Main.java:111: error: cannot find symbol
static List<Integer>[] makeTree(List<Integer>[] graph, int vertexNum, int edgeNum) {
^
symbol: class List
location: class Main
Main.java:111: error: cannot find symbol
static List<Integer>[] makeTree(List<Integer>[] graph, int vertexNum, ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u881359256|p02588|0 | u881359256|p02588|0 | codenet | Compile Error | 18,597 | |
v2_s085788487 | s085788487 | s085788487 | p02588 | p02588 | u988881618 | u988881618 | 1,597,022,234 | 2020-08-10T01:17:14 | Main.java | import java.io.*;
import java.util.*;
public class Main {
static class InputReader {
public BufferedReader reader;
public StringTokenizer tok;
public InputReader(InputStream inputStream) {
reader = new BufferedReader(new InputStreamReader(inputStream));
tok = null;... | Main.java:85: error: class, interface, enum, or record expected
}import java.io.*;
^
Main.java:86: error: class, interface, enum, or record expected
import java.util.*;
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u988881618|p02588|0 | u988881618|p02588|0 | codenet | Compile Error | 4,657 | |
v2_s471242542 | s471242542 | s471242542 | p02588 | p02588 | u993750708 | u993750708 | 1,597,022,994 | 2020-08-10T01:29:54 | topcoder1.java | import java.util.Arrays;
import java.util.Scanner;
public class topcoder1 {
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
static final int MOD = 1000000007;
int n=sc.nextInt();
double[] arr=new double[n];
for(int i=0;i<n;i++)
{
arr[i]=sc.nextDouble();
}
Array... | topcoder1.java:8: error: illegal start of expression
static final int MOD = 1000000007;
^
topcoder1.java:11: error: illegal start of type
for(int i=0;i<n;i++)
^
topcoder1.java:11: error: > or ',' expected
for(int i=0;i<n;i++)
^
topcoder1.java:11: error: <identifier> expected
for(... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u993750708|p02588|0 | u993750708|p02588|0 | codenet | Compile Error | 552 | |
v2_s359715673 | s359715673 | s359715673 | p02589 | p02589 | u592387631 | u592387631 | 1,597,061,707 | 2020-08-10T12:15:07 | Main.java | import codejam.y2019.round1a.C;
import javax.swing.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main {
static PrintWriter out;
public static void main(String[] args) throws IOException {
... | Main.java:1: error: package codejam.y2019.round1a does not exist
import codejam.y2019.round1a.C;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u592387631|p02589|0 | u592387631|p02589|0 | codenet | Compile Error | 2,611 | |
v2_s446507765 | s446507765 | s446507765 | p02590 | p02590 | u321783329 | u321783329 | 1,598,722,421 | 2020-08-29T17:33:41 | Main.java | import java.util.*;
class Solution{
public static int P= 200003;
public static void main(String[] args){
Scanner sc= new Scanner(System.in);
int N=sc.nextInt();
int[] arr= new int[N];
for(int i=0;i<N;i++){
arr[i]= sc.nextInt();
}
int product=0;
for(int j=0;j<N;j++){
product+... | Main.java:14: error: int cannot be dereferenced
product+=(arr[0].arr[i+1])%P;
^
Main.java:14: error: cannot find symbol
product+=(arr[0].arr[i+1])%P;
^
symbol: variable i
location: class Solution
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u321783329|p02590|0 | u321783329|p02590|0 | codenet | Compile Error | 394 | |
v2_s840739004 | s840739004 | s840739004 | p02590 | p02590 | u321783329 | u321783329 | 1,598,722,474 | 2020-08-29T17:34:34 | Main.java | import java.util.*;
class Solution{
public static int P= 200003;
public static void main(String[] args){
Scanner sc= new Scanner(System.in);
int N=sc.nextInt();
int[] arr= new int[N];
for(int i=0;i<N;i++){
arr[i]= sc.nextInt();
}
int product=0;
for(int j=0;j<N-1;j++){
produc... | Main.java:14: error: int cannot be dereferenced
product+=(arr[0].arr[j+1])%P;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u321783329|p02590|0 | u321783329|p02590|0 | codenet | Compile Error | 397 | |
v2_s363985858 | s363985858 | s363985858 | p02590 | p02590 | u462108447 | u462108447 | 1,597,024,744 | 2020-08-10T01:59:04 | 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 total = 0;
int[] kazu = new int[N];
for (int i=0; i<N; i++) {
int kazu[i]=sc.nextInt();
}
for (int i=0; i<N; i++){
int j=i+1;
... | Main.java:10: error: ']' expected
int kazu[i]=sc.nextInt();
^
Main.java:10: error: ';' expected
int kazu[i]=sc.nextInt();
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u462108447|p02590|0 | u462108447|p02590|0 | codenet | Compile Error | 521 | |
v2_s427197099 | s427197099 | s427197099 | p02590 | p02590 | u697532629 | u697532629 | 1,598,591,859 | 2020-08-28T05:17:39 | Main.java | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
long P=200003;
int n=sc.nextInt();
ArrayList<Long> a=new ArrayList<Long>();
for(int i=0;i<n;i++){
long check=sc.nextLong();
if(check%P!=0)a.add(check%P);
}
long[] al=a.toA... | Main.java:12: error: '.class' expected
long[] al=a.toArray(long[] a);
^
Main.java:12: error: ';' expected
long[] al=a.toArray(long[] a);
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u697532629|p02590|0 | u697532629|p02590|0 | codenet | Compile Error | 502 | |
v2_s969086621 | s969086621 | s969086621 | p02590 | p02590 | u697532629 | u697532629 | 1,598,591,915 | 2020-08-28T05:18:35 | Main.java | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
long P=200003;
int n=sc.nextInt();
ArrayList<Long> a=new ArrayList<Long>();
for(int i=0;i<n;i++){
long check=sc.nextLong();
if(check%P!=0)a.add(check%P);
}
a.toArray(long[... | Main.java:12: error: '.class' expected
a.toArray(long[] al);
^
Main.java:12: error: ';' expected
a.toArray(long[] al);
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u697532629|p02590|0 | u697532629|p02590|0 | codenet | Compile Error | 493 | |
v2_s438823779 | s438823779 | s438823779 | p02590 | p02590 | u697532629 | u697532629 | 1,598,592,033 | 2020-08-28T05:20:33 | Main.java | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
long P=200003;
int n=sc.nextInt();
ArrayList<Long> a=new ArrayList<Long>();
for(int i=0;i<n;i++){
long check=sc.nextLong();
if(check%P!=0)a.add(check%P);
}
long[] al=new l... | Main.java:13: error: no suitable method found for toArray(long[])
a.toArray(al);
^
method Collection.<T#1>toArray(IntFunction<T#1[]>) is not applicable
(cannot infer type-variable(s) T#1
(argument mismatch; long[] cannot be converted to IntFunction<T#1[]>))
method ArrayList.<T#2>toArray(T... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u697532629|p02590|0 | u697532629|p02590|0 | codenet | Compile Error | 520 | |
v2_s388676306 | s388676306 | s388676306 | p02590 | p02590 | u697532629 | u697532629 | 1,598,592,217 | 2020-08-28T05:23:37 | Main.java | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
long P=200003;
int n=sc.nextInt();
ArrayList<Long> a=new ArrayList<Long>();
for(int i=0;i<n;i++){
long check=sc.nextLong();
if(check%P!=0)a.add(check%P);
}
Long[] al=new l... | Main.java:13: error: '.class' expected
a.toArray(Long[] al);
^
Main.java:13: error: ';' expected
a.toArray(Long[] al);
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u697532629|p02590|0 | u697532629|p02590|0 | codenet | Compile Error | 527 | |
v2_s877163579 | s877163579 | s877163579 | p02590 | p02590 | u749950784 | u749950784 | 1,597,023,617 | 2020-08-10T01:40:17 | Main.java | import java.util.*;
class Main() {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
ArrayList<Integer> list = new ArrayList<Integer>();
int P = 200003;
String sN = scan.nextLine();
int N = Integer.valueOf(sN);
for (int i = 0;i < N;i ++) {
int val... | Main.java:3: error: '{' expected
class Main() {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u749950784|p02590|0 | u749950784|p02590|0 | codenet | Compile Error | 668 | |
v2_s074893443 | s074893443 | s074893443 | p02590 | p02590 | u749950784 | u749950784 | 1,597,023,716 | 2020-08-10T01:41:56 | Main.java | import java.util.*;
class Main() {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
ArrayList<Integer> list = new ArrayList<Integer>();
int P = 200003;
String sN = scan.nextLine();
int N = Integer.valueOf(sN);
for (int i = 0;i < N;i ++) {
int val... | Main.java:3: error: '{' expected
class Main() {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u749950784|p02590|0 | u749950784|p02590|0 | codenet | Compile Error | 669 | |
v2_s035360821 | s035360821 | s035360821 | p02590 | p02590 | u811631955 | u811631955 | 1,597,026,195 | 2020-08-10T02:23:15 | Main.java | import java.util.*;
import java.io.*;
public class Main{
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
int P = 200003;
int n = scan.nextInt();
int[] array = new int[n];
for(int i = 0; i < n; i++){
array[i] = Integer.ParseInt(scan.next()) % P;
}
... | Main.java:11: error: cannot find symbol
array[i] = Integer.ParseInt(scan.next()) % P;
^
symbol: method ParseInt(String)
location: class Integer
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u811631955|p02590|0 | u811631955|p02590|0 | codenet | Compile Error | 523 | |
v2_s707950941 | s707950941 | s707950941 | p02592 | p02592 | u025795907 | u025795907 | 1,597,027,811 | 2020-08-10T02:50:11 | Main.java | #include <iostream>
using namespace std;
int x[200000];
int main(){
int a,b;
cout << "+" << " " << 3 << " " << 0 << " " << 0;
a = x[3]/2;
cout << "+" << " " << 3 << " " << 1 << " " << 1;
b = x[3]/2;
for(int i=0;i<b;i++){
cout << "+" << " " << 2 << " " << 0 << " " << 2;
}
}
| Main.java:1: error: illegal character: '#'
#include <iostream>
^
Main.java:1: error: class, interface, enum, or record expected
#include <iostream>
^
Main.java:7: error: class, interface, enum, or record expected
int x[200000];
^
Main.java:10: error: not a statement
cout << "+" << " " << 3 << " " << 0 << "... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u025795907|p02592|0 | u025795907|p02592|0 | codenet | Compile Error | 315 | |
v2_s609487948 | s609487948 | s609487948 | p02593 | p02593 | u144802153 | u144802153 | 1,597,006,432 | 2020-08-09T20:53:52 | Main.java |
<!DOCTYPE html>
<html>
<head>
<title>F - Rooks</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="format-detection" content="telephone=no">
<meta na... | Main.java:10: error: class, interface, enum, or record expected
<!DOCTYPE html>
^
Main.java:48: error: unnamed classes are a preview feature and are disabled by default.
var userScreenName = "wycywf";
^
(use --enable-preview to enable unnamed classes)
Main.java:50: error: illegal start of expression
</script>
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u144802153|p02593|0 | u144802153|p02593|0 | codenet | Compile Error | 29,073 | |
v2_s646083768 | s646083768 | s646083768 | p02594 | p02594 | u005039821 | u005039821 | 1,596,422,925 | 2020-08-03T02:48:45 | Main.java | #pragma GCC optimize(2)
#include "bits/stdc++.h"
using namespace std;
#define all(a) begin(a), end(a)
#define MOD 1000000007
#define PII pair<int, int>
#define REP(x, l, u) for (ll x = l; x < u; x++)
#define RED(x, l, u) for (ll x = l; x >= u; x--)
#define complete_unique(a) a.erase(unique(begin(a), end(a)), end(a))... | Main.java:1: error: illegal character: '#'
#pragma GCC optimize(2)
^
Main.java:3: error: illegal character: '#'
#include "bits/stdc++.h"
^
Main.java:7: error: illegal character: '#'
#define all(a) begin(a), end(a)
^
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
#pragma GCC optim... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u005039821|p02594|0 | u005039821|p02594|0 | codenet | Compile Error | 1,557 | |
v2_s612756082 | s612756082 | s612756082 | p02594 | p02594 | u007805459 | u007805459 | 1,596,416,491 | 2020-08-03T01:01:31 | Main.java | import java.io.BufferedReader;
import java.io.*;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.StringTokenizer;
import java.util.*;
import java.math.*;
public class Main
{
static class FastReader
{
BufferedReader br;
StringTokenizer st;
public ... | Main.java:76: error: ';' expected
else pw.println("Yes")
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u007805459|p02594|0 | u007805459|p02594|0 | codenet | Compile Error | 1,831 | |
v2_s395803726 | s395803726 | s395803726 | p02594 | p02594 | u008688016 | u008688016 | 1,596,427,596 | 2020-08-03T04:06:36 | Main.java | public class Main{
public static void main(String[] Args){
Scanner sc=new Scanner(System.in);
int x=sc.nextInt();
if(x>29)
System.out.println("Yes");
else{
System.out.println("No");}
}
} | 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 | u008688016|p02594|0 | u008688016|p02594|0 | codenet | Compile Error | 203 | |
v2_s037289645 | s037289645 | s037289645 | p02594 | p02594 | u016768375 | u016768375 | 1,596,430,160 | 2020-08-03T04:49:20 | Main.java | import java.util.*;
import java.io.*;
import java.math.*;
public class Main{
static long mod = (long)(1e9+7);
public static PrintWriter out = new PrintWriter (new BufferedOutputStream(System.out));
public static void main(String sp[])throws IOException{
Scanner sc = new Scanner(System.in);
//FastReader sc = new ... | Main.java:13: error: cannot find symbol
else System.out.printn("No");
^
symbol: method printn(String)
location: variable out of type PrintStream
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u016768375|p02594|0 | u016768375|p02594|0 | codenet | Compile Error | 4,637 | |
v2_s668453176 | s668453176 | s668453176 | p02594 | p02594 | u018477089 | u018477089 | 1,596,416,527 | 2020-08-03T01:02:07 | Solution.java | public class Solution {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
if(x >= 30) {
System.out.println("Yes");
}
else {
System.out.println("No");
}
}
} | Solution.java:3: error: cannot find symbol
Scanner sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Solution
Solution.java:3: error: cannot find symbol
Scanner sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Solution
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u018477089|p02594|0 | u018477089|p02594|0 | codenet | Compile Error | 242 | |
v2_s265766067 | s265766067 | s265766067 | p02594 | p02594 | u052647293 | u052647293 | 1,596,427,793 | 2020-08-03T04:09:53 | Air.java | import java.util.Scanner;
public class Air Conditioner {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
if (x >= 30) {
System.out.println("Yes");
}
else
{
System.out.println("No");
... | Air.java:3: error: '{' expected
public class Air Conditioner {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u052647293|p02594|0 | u052647293|p02594|0 | codenet | Compile Error | 330 | |
v2_s296449181 | s296449181 | s296449181 | p02594 | p02594 | u078088174 | u078088174 | 1,596,416,502 | 2020-08-03T01:01:42 | Main.java | import java.io.*;
class Main {
public static void main(String args[]){
BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
int a = Integer.parseInt(br.readLine());
if(a>=30){
System.out.println("Yes");
}
else{
System.out.println... | Main.java:5: error: unreported exception IOException; must be caught or declared to be thrown
int a = Integer.parseInt(br.readLine());
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u078088174|p02594|0 | u078088174|p02594|0 | codenet | Compile Error | 345 | |
v2_s246479713 | s246479713 | s246479713 | p02594 | p02594 | u078088174 | u078088174 | 1,596,416,593 | 2020-08-03T01:03:13 | Main.java | import java.io.*;
public class Main {
public static void main(String args[]){
BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
int a = Integer.parseInt(br.readLine());
if(a>=30){
System.out.println("Yes");
}
else{
System.out.... | Main.java:5: error: unreported exception IOException; must be caught or declared to be thrown
int a = Integer.parseInt(br.readLine());
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u078088174|p02594|0 | u078088174|p02594|0 | codenet | Compile Error | 352 | |
v2_s051529533 | s051529533 | s051529533 | p02594 | p02594 | u091743953 | u091743953 | 1,596,572,213 | 2020-08-04T20:16:53 | Main.java | public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int n = in.nextInt();
if(n>=30) System.out.println("yes");
else System.out.println("no");
in.close();
}
} | Main.java:3: error: cannot find symbol
Scanner in = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:3: error: cannot find symbol
Scanner in = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u091743953|p02594|0 | u091743953|p02594|0 | codenet | Compile Error | 251 | |
v2_s406388539 | s406388539 | s406388539 | p02594 | p02594 | u124212130 | u124212130 | 1,596,416,469 | 2020-08-03T01:01:09 | Main.java | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args){
// input N
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
if (N >= 30){
System.out.println("Yes")
}
else{
System.out.println("No")
... | Main.java:10: error: ';' expected
System.out.println("Yes")
^
Main.java:13: error: ';' expected
System.out.println("No")
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u124212130|p02594|0 | u124212130|p02594|0 | codenet | Compile Error | 335 | |
v2_s000425425 | s000425425 | s000425425 | p02594 | p02594 | u129611040 | u129611040 | 1,596,418,001 | 2020-08-03T01:26:41 | Main.java | import java.util.*;
class Main{
public static void main()
{
Scanner sc = new Scanner(System.in);
if (x >=30) {
System.out.println("YES");
} else {
System.out.println("NO");
}
}
}
| Main.java:7: error: cannot find symbol
if (x >=30) {
^
symbol: variable x
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u129611040|p02594|0 | u129611040|p02594|0 | codenet | Compile Error | 184 | |
v2_s089702473 | s089702473 | s089702473 | p02594 | p02594 | u132094168 | u132094168 | 1,596,416,582 | 2020-08-03T01:03:02 | Main.java | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// 整数の入力
int a = sc.nextInt();
if (a>=30) {
System.out.println("Yes");
} else {
System.out.println("No");
}
} | Main.java:12: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u132094168|p02594|0 | u132094168|p02594|0 | codenet | Compile Error | 267 | |
v2_s096705103 | s096705103 | s096705103 | p02594 | p02594 | u132094168 | u132094168 | 1,596,417,575 | 2020-08-03T01:19:35 | 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 D = sc.nextInt();
int X[];
X = new int[N+1];
int Y[];
Y = new int[N+1];
for (int i = 0; i < N; i++){
X[i] = ... | Main.java:20: error: cannot find symbol
for (int i = 0; i < n; i++){
^
symbol: variable n
location: class Main
Main.java:21: error: cannot find symbol
L=((X[j])^2+(Y[j])^2)^(1/2);
^
symbol: variable j
location: class Main
Main.java:21: error: cannot ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u132094168|p02594|0 | u132094168|p02594|0 | codenet | Compile Error | 641 | |
v2_s726216234 | s726216234 | s726216234 | p02594 | p02594 | u132094168 | u132094168 | 1,596,417,622 | 2020-08-03T01:20: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 D = sc.nextInt();
int X[];
X = new int[N+1];
int Y[];
Y = new int[N+1];
for (int i = 0; i < N; i++){
X[i] = ... | Main.java:21: error: cannot find symbol
L=((X[j])^2+(Y[j])^2)^(1/2);
^
symbol: variable j
location: class Main
Main.java:21: error: cannot find symbol
L=((X[j])^2+(Y[j])^2)^(1/2);
^
symbol: variable j
location: class Main
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u132094168|p02594|0 | u132094168|p02594|0 | codenet | Compile Error | 641 | |
v2_s950700434 | s950700434 | s950700434 | p02594 | p02594 | u132094168 | u132094168 | 1,596,417,657 | 2020-08-03T01:20: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();
// スペース区切りの整数の入力
int D = sc.nextInt();
int X[];
X = new int[N+1];
int Y[];
Y = new int[N+1];
for (int i = 0; i < N; i++){
X[i] = ... | Main.java:20: error: cannot find symbol
for (int j = 0; i < N; j++){
^
symbol: variable i
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u132094168|p02594|0 | u132094168|p02594|0 | codenet | Compile Error | 641 | |
v2_s820450037 | s820450037 | s820450037 | p02594 | p02594 | u132094168 | u132094168 | 1,596,419,385 | 2020-08-03T01: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 D = sc.nextInt();
int X[];
X = new int[N];
int Y[];
Y = new int[N];
for (int i = 0; i < N; i++){
X[i] = sc.n... | Main.java:18: error: incompatible types: int[] cannot be converted to double[]
L=new int[N];
^
Main.java:22: error: bad operand types for binary operator '^'
L[j]=((X[j])^2+(Y[j])^2)^(0.5);
^
first type: int
second type: double
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u132094168|p02594|0 | u132094168|p02594|0 | codenet | Compile Error | 675 | |
v2_s448788019 | s448788019 | s448788019 | p02594 | p02594 | u132094168 | u132094168 | 1,596,421,433 | 2020-08-03T02:23:53 | Main.java | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// 整数の入力
int K = sc.nextInt();
int A[];
A=new int[100];
double B[];
B=new double[100];
B[0]=7;
for(int i=1;i<100;i++){
B[i]=B[i-1]+7.0*(10.0)^(double)i... | Main.java:13: error: bad operand types for binary operator '^'
B[i]=B[i-1]+7.0*(10.0)^(double)i;
^
first type: double
second type: double
Main.java:22: error: incompatible types: int cannot be converted to boolean
if (C[i]=0){
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u132094168|p02594|0 | u132094168|p02594|0 | codenet | Compile Error | 675 | |
v2_s862609449 | s862609449 | s862609449 | p02594 | p02594 | u132094168 | u132094168 | 1,596,421,835 | 2020-08-03T02:30:35 | Main.java | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// 整数の入力
int K = sc.nextInt();
int A[];
A=new int[100];
double B[];
B=new double[100];
B[0]=7;
double d;
for(int i=1;i<100;i++){
for(int j=0... | Main.java:15: error: variable d might not have been initialized
d=d*10;
^
Main.java:17: error: variable d might not have been initialized
B[i]=B[i-1]+7.0*d;
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u132094168|p02594|0 | u132094168|p02594|0 | codenet | Compile Error | 749 | |
v2_s390575750 | s390575750 | s390575750 | p02594 | p02594 | u135363744 | u135363744 | 1,596,416,707 | 2020-08-03T01:05:07 | Main.java | import java.util.*;
class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int N = sc.nextIt();
String R;
if(N>=30){
R = "Yes";
}else{
R = "No";
}
System.out.println(R);
}
} | Main.java:5: error: cannot find symbol
int N = sc.nextIt();
^
symbol: method nextIt()
location: variable sc of type Scanner
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u135363744|p02594|0 | u135363744|p02594|0 | codenet | Compile Error | 273 | |
v2_s802430849 | s802430849 | s802430849 | p02594 | p02594 | u138251862 | u138251862 | 1,597,460,883 | 2020-08-15T03:08:03 | Main.java | public class Main{
public static void main(String[] args){
int n = new java.util.Scanner(System.in).nextLine();
if(n>=30)System.out.println("Yes");
else System.out.println("No");
}
} | Main.java:3: error: incompatible types: String cannot be converted to int
int n = new java.util.Scanner(System.in).nextLine();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u138251862|p02594|0 | u138251862|p02594|0 | codenet | Compile Error | 198 | |
v2_s433924399 | s433924399 | s433924399 | p02594 | p02594 | u143461602 | u143461602 | 1,596,501,816 | 2020-08-04T00:43:36 | Main.java | import java.util.Scanner;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int ans = sc.nextInt();
if(ans>=30){
System.out.println("Yes");
}
else{
System.out.println("No");
}
} | 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)
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u143461602|p02594|0 | u143461602|p02594|0 | codenet | Compile Error | 226 | |
v2_s828164117 | s828164117 | s828164117 | p02594 | p02594 | u153350126 | u153350126 | 1,596,419,626 | 2020-08-03T01:53:46 | Main.java | import java.util.*;
class Ac{
public static void main(String args[]){
Scanner sr=new Scanner(System.in);
int t=sr.nextInt();
if(n<30)
System.out.println("NO");
else
System.out.println("YES");
}
} | Main.java:6: error: cannot find symbol
if(n<30)
^
symbol: variable n
location: class Ac
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u153350126|p02594|0 | u153350126|p02594|0 | codenet | Compile Error | 195 | |
v2_s550316440 | s550316440 | s550316440 | p02594 | p02594 | u217504179 | u217504179 | 1,597,021,053 | 2020-08-10T00:57:33 | Main.java | import java.util.*;
class Charan
{
public stataic void main(Strings args[])
{
Scanner sc=new Scanner(System.in);
int x=sc.nextInt();
System.out.println(x>=30?"Yes":"No");
}
} | Main.java:4: error: <identifier> expected
public stataic void main(Strings args[])
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u217504179|p02594|0 | u217504179|p02594|0 | codenet | Compile Error | 195 | |
v2_s867586073 | s867586073 | s867586073 | p02594 | p02594 | u217504179 | u217504179 | 1,597,021,084 | 2020-08-10T00:58:04 | Main.java | import java.util.*;
class Charan
{
public static void main(Strings args[])
{
Scanner sc=new Scanner(System.in);
int x=sc.nextInt();
System.out.println(x>=30?"Yes":"No");
}
} | Main.java:4: error: cannot find symbol
public static void main(Strings args[])
^
symbol: class Strings
location: class Charan
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u217504179|p02594|0 | u217504179|p02594|0 | codenet | Compile Error | 194 | |
v2_s575693586 | s575693586 | s575693586 | p02594 | p02594 | u217504179 | u217504179 | 1,597,021,185 | 2020-08-10T00:59:45 | Main.java | import java.util.*;
class Main
{
public static void main(Strings args[])
{
Scanner sc=new Scanner(System.in);
int x=sc.nextInt();
System.out.println(x>=30?"Yes":"No");
}
} | Main.java:4: error: cannot find symbol
public static void main(Strings args[])
^
symbol: class Strings
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u217504179|p02594|0 | u217504179|p02594|0 | codenet | Compile Error | 192 | |
v2_s041059615 | s041059615 | s041059615 | p02594 | p02594 | u232563135 | u232563135 | 1,597,211,701 | 2020-08-12T05:55:01 | Main.java | public String turnOn(int x){
if (x>= 30){
return 'Yes';
retrun 'No';
} | Main.java:3: error: unclosed character literal
return 'Yes';
^
Main.java:3: error: unclosed character literal
return 'Yes';
^
Main.java:3: error: not a statement
return 'Yes';
^
Main.java:4: error: unclosed character literal
retrun 'No';
^
Main.java:4: error... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u232563135|p02594|0 | u232563135|p02594|0 | codenet | Compile Error | 78 | |
v2_s379569922 | s379569922 | s379569922 | p02594 | p02594 | u241752770 | u241752770 | 1,596,509,025 | 2020-08-04T02:43:45 | Main.java | import java.util.*;
public class Main{
public static void main(String[] args){
if(Atcoder.getValue() >= 30)
System.out.println("yes");
else
System.out.print("no");
}
}
public class Atcoder {
public static int getValue(){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt... | Main.java:10: error: class Atcoder is public, should be declared in a file named Atcoder.java
public class Atcoder {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u241752770|p02594|0 | u241752770|p02594|0 | codenet | Compile Error | 613 | |
v2_s810735205 | s810735205 | s810735205 | p02594 | p02594 | u314018838 | u314018838 | 1,596,416,472 | 2020-08-03T01:01:12 | Main.java | #include<bits/stdc++.h>
using namespace std;
#define int long long
#define mod 1000000007
signed main()
{
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int x;
cin>>x;
if(x>=30)
cout<<"YES"<<endl;
else
cout<<"NO"<<endl;
return 0;
}
| Main.java:1: error: illegal character: '#'
#include<bits/stdc++.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include<bits/stdc++.h>
^
Main.java:3: error: illegal character: '#'
#define int long long
^
Main.java:3: error: class, interface, enum, or record expected
#define int long long
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u314018838|p02594|0 | u314018838|p02594|0 | codenet | Compile Error | 273 | |
v2_s517923597 | s517923597 | s517923597 | p02594 | p02594 | u321168919 | u321168919 | 1,596,417,765 | 2020-08-03T01:22: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();
if(n>=30)
System.out.println("Yes");
else
System.out.println("No");
}
// System.out.println("Hello World");
}
}
| Main.java:14: error: class, interface, enum, or record expected
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u321168919|p02594|0 | u321168919|p02594|0 | codenet | Compile Error | 295 | |
v2_s945490425 | s945490425 | s945490425 | p02594 | p02594 | u321783329 | u321783329 | 1,596,492,991 | 2020-08-03T22:16:31 | Main.java | import java.util.*;
class Solution{
public static void main(String[], args){
Scanner sc= new Scanner(System.in);
int T= sc.nextInt();
if(T<30){
System.out.println("No");}
else{System.out.println("Yes");}
}
}
| Main.java:3: error: <identifier> expected
public static void main(String[], args){
^
Main.java:3: error: <identifier> expected
public static void main(String[], args){
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u321783329|p02594|0 | u321783329|p02594|0 | codenet | Compile Error | 210 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.