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_s066721888
s066721888
s066721888
p02572
p02572
u846463155
u846463155
1,598,801,514
2020-08-30T15:31:54
Main.java
n = int(input()) a = list(map(int, input().split())) ans = 0 mod = 1000000007 a = [-1] + a pre = [0] for i in range(1, n+1): pre.append((pre[i-1] + a[i]) % mod) pre.append(0) for i in range(1, n+1): now = (pre[n] - pre[i]) * a[i] % mod ans = (ans + now) % mod print(ans)
Main.java:1: error: class, interface, enum, or record expected n = int(input()) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u846463155|p02572|0
u846463155|p02572|0
codenet
Compile Error
287
v2_s458116561
s458116561
s458116561
p02572
p02572
u866410186
u866410186
1,598,730,885
2020-08-29T19:54:45
Main.java
n = int(input()) nums = [int(x) for x in input().split(" ")] res = 0 for i in range(0, len(nums)): for j in range(i + 1, len(nums)): res += (nums[i] * nums[j]) % 1000000007 print(res)
Main.java:1: error: class, interface, enum, or record expected n = int(input()) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u866410186|p02572|0
u866410186|p02572|0
codenet
Compile Error
186
v2_s859381738
s859381738
s859381738
p02572
p02572
u884244819
u884244819
1,598,731,208
2020-08-29T20:00:08
Main.java
import java.util.*; import java.lang.Math; public class Main { public static void main(String args[]) { Scanner s = new Scanner(System.in); int num = Integer.parseInt(s.next()); ArrayList<Integer> lis = new ArrayList<Integer>(); for(int i = 0; i < num; i++){ lis.add(Integer.parseInt(...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u884244819|p02572|0
u884244819|p02572|0
codenet
Compile Error
547
v2_s296868587
s296868587
s296868587
p02572
p02572
u899085704
u899085704
1,598,732,018
2020-08-29T20:13:38
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int numberOfRecords = sc.nextInt(); List<Integer> values = new ArrayList<>(); while (numberOfRecords > 0) { values.add(sc.nextInt()); numberOfRec...
Main.java:13: error: cannot find symbol for (int j = i + 1; j < n; j++) { ^ symbol: variable n location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u899085704|p02572|0
u899085704|p02572|0
codenet
Compile Error
573
v2_s543940152
s543940152
s543940152
p02572
p02572
u919802758
u919802758
1,599,827,961
2020-09-11T12:39:21
Main.java
import java.util.*; import java.io.*; import java.math.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); String[] input = br.readLine().split("...
Main.java:23: error: cannot find symbol long add = arr[i] * dp[i+1]; ^ symbol: variable dp location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u919802758|p02572|1
u919802758|p02572|1
codenet
Compile Error
865
v2_s113328820
s113328820
s113328820
p02572
p02572
u919802758
u919802758
1,599,828,195
2020-09-11T12:43:15
Main.java
import java.util.*; import java.io.*; import java.math.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); String[] input = br.readLine().split("...
Main.java:25: error: ';' expected ans = ans % MOD ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u919802758|p02572|1
u919802758|p02572|1
codenet
Compile Error
864
v2_s674925127
s674925127
s674925127
p02572
p02572
u943714129
u943714129
1,598,733,025
2020-08-29T20:30: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(); // スペース区切りの整数の入力 long m = (long)Math.pow(10,9)+7; long[] a = new long[n]; for(int i=0;i<n;i++){ a[i] = Long.parseLong(sc.next()) m; ...
Main.java:12: error: ';' expected a[i] = Long.parseLong(sc.next()) m; ^ Main.java:12: error: not a statement a[i] = Long.parseLong(sc.next()) m; ^ Main.java:20: error: ';' expected sum += (a[k] * a[j]) m; ^ Main.java:20:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u943714129|p02572|0
u943714129|p02572|0
codenet
Compile Error
681
v2_s136770476
s136770476
s136770476
p02573
p02573
u433687547
u433687547
1,598,731,388
2020-08-29T20:03:08
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int N=sc.next(); int M=sc.next(); Integer[][] data=new Integer[2][M]; List<List<Integer>> friends=new ArrayList<>(); int res1=-1; int res2=-1; for(int i=0;i<M;i++){ Stri...
Main.java:19: error: ';' expected res1=j ^ Main.java:22: error: ';' expected res2=j ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02573|0
u433687547|p02573|0
codenet
Compile Error
1,241
v2_s228258336
s228258336
s228258336
p02573
p02573
u433687547
u433687547
1,598,731,412
2020-08-29T20:03:32
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int N=sc.next(); int M=sc.next(); Integer[][] data=new Integer[2][M]; List<List<Integer>> friends=new ArrayList<>(); int res1=-1; int res2=-1; for(int i=0;i<M;i++){ Stri...
Main.java:6: error: incompatible types: String cannot be converted to int int N=sc.next(); ^ Main.java:7: error: incompatible types: String cannot be converted to int int M=sc.next(); ^ Main.java:33: error: boolean cannot be dereferenced friends.add((new ArrayList<Intege...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02573|0
u433687547|p02573|0
codenet
Compile Error
1,243
v2_s723098592
s723098592
s723098592
p02573
p02573
u433687547
u433687547
1,598,731,438
2020-08-29T20:03:58
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); int M=sc.nextInt(); Integer[][] data=new Integer[2][M]; List<List<Integer>> friends=new ArrayList<>(); int res1=-1; int res2=-1; for(int i=0;i<M;i++){ ...
Main.java:33: error: boolean cannot be dereferenced friends.add((new ArrayList<Integer>()).add(data[0][i]).add(data[1][i])); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02573|0
u433687547|p02573|0
codenet
Compile Error
1,249
v2_s236083225
s236083225
s236083225
p02573
p02573
u433687547
u433687547
1,598,731,555
2020-08-29T20:05:55
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); int M=sc.nextInt(); Integer[][] data=new Integer[2][M]; List<List<Integer>> friends=new ArrayList<>(); int res1=-1; int res2=-1; for(int i=0;i<M;i++){ ...
Main.java:38: error: illegal start of type }); ^ Main.java:40: error: ')' or ',' expected } ^ Main.java:50: error: reached end of file while parsing } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02573|0
u433687547|p02573|0
codenet
Compile Error
1,288
v2_s516990420
s516990420
s516990420
p02573
p02573
u433687547
u433687547
1,598,731,626
2020-08-29T20:07: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(); int M=sc.nextInt(); Integer[][] data=new Integer[2][M]; List<List<Integer>> friends=new ArrayList<>(); int res1=-1; int res2=-1; for(int i=0;i<M;i++){ ...
Main.java:33: error: cannot find symbol List c=new ArratList<Integer>(); ^ symbol: class ArratList location: class Main Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02573|0
u433687547|p02573|0
codenet
Compile Error
1,280
v2_s422159479
s422159479
s422159479
p02573
p02573
u541033696
u541033696
1,598,729,848
2020-08-29T19:37:28
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Scanner; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(String[] args) { InputStream inputStream = Syste...
Main.java:62: error: incompatible types: int[] cannot be converted to int conf = new int[n]; ^ Main.java:66: error: array required, but int found conf[i] = i; ^ Main.java:74: error: array required, but int found while (i != conf[i]) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u541033696|p02573|0
u541033696|p02573|0
codenet
Compile Error
2,561
v2_s766074994
s766074994
s766074994
p02573
p02573
u619179624
u619179624
1,598,750,821
2020-08-30T01:27:01
Main.java
import java.io.BufferedReader; import java.io.PrintWriter; import java.util.HashMap; import java.util.HashSet; import java.util.Set; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(Sy...
Main.java:13: 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
u619179624|p02573|0
u619179624|p02573|0
codenet
Compile Error
1,569
v2_s422994052
s422994052
s422994052
p02573
p02573
u657121555
u657121555
1,599,078,081
2020-09-02T20:21:21
Main.java
import java.util.*; import java.io.*; public class Main { static FastReader in = new FastReader(); public static void main(String[] args) { solve(); } static void solve() { int n = in.nextInt(), m = in.nextInt(); HashSet<Integer>[] edges = new HashSet[n]; for(int i = 0; i < n; i++) edges[i] = new Hash...
Main.java:43: error: illegal start of expression visited[adjnode] ? continue : visited[adjnode] = true; ^ Main.java:43: error: not a statement visited[adjnode] ? continue : visited[adjnode] = true; ^ Main.java:43: error: ';' expected visited[adjnode] ? c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u657121555|p02573|1
u657121555|p02573|1
codenet
Compile Error
1,908
v2_s265281720
s265281720
s265281720
p02573
p02573
u784995518
u784995518
1,598,732,971
2020-08-29T20:29:31
Main.java
import java.util.*; class Main { // A user define class to represent a graph. // A graph is an array of adjacency lists. // Size of array will be V (number of vertices // in graph) int V; LinkedList<Integer>[] adjListArray; // constructor Graph(int V) { this.V = ...
Main.java:11: error: invalid method declaration; return type required Graph(int V) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u784995518|p02573|0
u784995518|p02573|0
codenet
Compile Error
2,594
v2_s962888862
s962888862
s962888862
p02573
p02573
u827599348
u827599348
1,598,730,919
2020-08-29T19:55:19
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args){ int n, m; FastScanner fs = new FastScanner(System.in); n = fs.nextInt(); m = fs.nextInt(); int idx = 0; DSU comp = new DSU(n + 1); while(idx < m){ int u, v; u = fs.nextInt(); ...
Main.java:45: error: class FastScanner is public, should be declared in a file named FastScanner.java public class FastScanner { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u827599348|p02573|0
u827599348|p02573|0
codenet
Compile Error
3,222
v2_s257330784
s257330784
s257330784
p02573
p02573
u839277937
u839277937
1,598,818,551
2020-08-30T20:15:51
Main.java
// Born Sinner // old but im not that old // fuck all you hoes get a grip import java.util.*; import java.lang.*; import java.io.*; public class { static class FastReader{ BufferedReader br; StringTokenizer st; public FastReader(){ br = new BufferedReader(new InputStreamReader(...
Main.java:8: error: <identifier> expected public class ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u839277937|p02573|0
u839277937|p02573|0
codenet
Compile Error
2,985
v2_s428432770
s428432770
s428432770
p02573
p02573
u924807180
u924807180
1,600,539,722
2020-09-19T18:22:02
Main.java
import java.util.Scanner; public class Main { static int MOD = 1000000007; public static void main(String[] args) { exec_1_1(); } public static void exec_1_1() { try(var sc = new Scanner(System.in)) { int N = sc.nextInt(); int M = sc.nextInt(); int[] f = new int[N]; for(int i=0; i<N; i++)...
Main.java:35: error: cannot find symbol int rIdx = rootIdx(f, a); ^ symbol: method rootIdx(int[],int) location: class Main Main.java:36: error: cannot find symbol if(rIdx==rootIdx(f, b)) continue ; ^ symbol: method rootIdx(int[],int) location: class Main Main.java:52: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u924807180|p02573|0
u924807180|p02573|0
codenet
Compile Error
966
v2_s370820121
s370820121
s370820121
p02574
p02574
u009287044
u009287044
1,599,692,882
2020-09-09T23:08:02
Main.java
import java.util.*; import java.io.*; /** * MLASERP */ public class Main { static MyScanner in = new MyScanner(); static int mod = 1000000007; static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out)); static BufferedReader br = new BufferedReader(new InputStreamReader(Syst...
Main.java:48: error: incompatible types: int cannot be converted to boolean return b ? gcd (b, a % b) : a; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u009287044|p02574|0
u009287044|p02574|0
codenet
Compile Error
3,819
v2_s046323046
s046323046
s046323046
p02574
p02574
u009287044
u009287044
1,599,692,903
2020-09-09T23:08:23
Main.java
import java.util.*; import java.io.*; /** * MLASERP */ public class Main { static MyScanner in = new MyScanner(); static int mod = 1000000007; static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out)); static BufferedReader br = new BufferedReader(new InputStreamReader(Syst...
Main.java:48: error: incompatible types: int cannot be converted to boolean return b ? gcd (b, a % b) : a; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u009287044|p02574|0
u009287044|p02574|0
codenet
Compile Error
3,819
v2_s117410175
s117410175
s117410175
p02574
p02574
u222822036
u222822036
1,598,900,503
2020-08-31T19:01:43
Main.java
//Don't have to see. start------------------------------------------ var read = require('readline').createInterface({ input: process.stdin, output: process.stdout }); var obj; var inLine = []; read.on('line', function(input){inLine.push(input);}); read.on('close', function(){ obj = init(inLine); console.error('\n...
Main.java:2: error: unclosed character literal var read = require('readline').createInterface({ ^ Main.java:2: error: unnamed classes are a preview feature and are disabled by default. var read = require('readline').createInterface({ ^ (use --enable-preview to enable unnamed classes) Main.java:2: e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u222822036|p02574|0
u222822036|p02574|0
codenet
Compile Error
3,355
v2_s467470812
s467470812
s467470812
p02574
p02574
u253726906
u253726906
1,598,731,789
2020-08-29T20:09:49
Main.java
import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.NoSuchElementException; public class Main { public static void main(String[] args)throws Exception{ PrintWriter out = new PrintWriter(System.out); int N=nextInt(); boolean V[]=new boolea...
Main.java:16: error: cannot find symbol P[2]=true; ^ symbol: variable P location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u253726906|p02574|0
u253726906|p02574|0
codenet
Compile Error
3,741
v2_s083551883
s083551883
s083551883
p02574
p02574
u433687547
u433687547
1,598,732,919
2020-08-29T20:28:39
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); Integer data=new Integer[N]; boolean pair=true; Set<Integer> setwise=new HashSet<>(); for(int i=0;i<N;i++){ for(int j=i;j<N;j++){ int res=gcd(data[i...
Main.java:40: error: ')' expected if(setwize.contain(1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02574|0
u433687547|p02574|0
codenet
Compile Error
1,124
v2_s647599377
s647599377
s647599377
p02574
p02574
u433687547
u433687547
1,598,732,940
2020-08-29T20:29:00
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); Integer data=new Integer[N]; boolean pair=true; Set<Integer> setwise=new HashSet<>(); for(int i=0;i<N;i++){ for(int j=i;j<N;j++){ int res=gcd(data[i...
Main.java:7: error: incompatible types: Integer[] cannot be converted to Integer Integer data=new Integer[N]; ^ Main.java:12: error: array required, but Integer found int res=gcd(data[i],data[j]); ^ Main.java:12: error: array required, but Integer found int r...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02574|0
u433687547|p02574|0
codenet
Compile Error
1,125
v2_s795975469
s795975469
s795975469
p02574
p02574
u433687547
u433687547
1,598,732,962
2020-08-29T20:29: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(); Integer[] data=new Integer[N]; boolean pair=true; Set<Integer> setwise=new HashSet<>(); for(int i=0;i<N;i++){ for(int j=i;j<N;j++){ int res=gcd(data...
Main.java:12: error: non-static method gcd(int,int) cannot be referenced from a static context int res=gcd(data[i],data[j]); ^ Main.java:22: error: non-static method setGcd(Set<Integer>) cannot be referenced from a static context int result=setGcd(setwise); ^ Main.java:23:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02574|0
u433687547|p02574|0
codenet
Compile Error
1,127
v2_s648536645
s648536645
s648536645
p02574
p02574
u433687547
u433687547
1,598,732,989
2020-08-29T20:29:49
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); Integer[] data=new Integer[N]; boolean pair=true; Set<Integer> setwise=new HashSet<>(); for(int i=0;i<N;i++){ for(int j=i;j<N;j++){ int res=gcd(data...
Main.java:23: error: incompatible types: int cannot be converted to boolean if(result=-1){ ^ Main.java:36: error: cannot find symbol setwize.add(gcd(s.get(i),s.get(j))); ^ symbol: variable setwize location: class Main Main.java:36: error: cannot find symbol setwize.add(gc...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02574|0
u433687547|p02574|0
codenet
Compile Error
1,141
v2_s020518528
s020518528
s020518528
p02574
p02574
u433687547
u433687547
1,598,733,023
2020-08-29T20:30:23
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); Integer[] data=new Integer[N]; boolean pair=true; Set<Integer> setwise=new HashSet<>(); for(int i=0;i<N;i++){ for(int j=i;j<N;j++){ int res=gcd(data...
Main.java:36: error: cannot find symbol setwize.add(gcd(s.get(i),s.get(j))); ^ symbol: variable setwize location: class Main Main.java:36: error: cannot find symbol setwize.add(gcd(s.get(i),s.get(j))); ^ symbol: method get(int) location: variable s of type Set<In...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02574|0
u433687547|p02574|0
codenet
Compile Error
1,142
v2_s064084774
s064084774
s064084774
p02574
p02574
u433687547
u433687547
1,598,733,211
2020-08-29T20:33:31
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); Integer[] data=new Integer[N]; boolean pair=true; Set<Integer> setwise=new HashSet<>(); for(int i=0;i<N;i++){ for(int j=i;j<N;j++){ int res=gcd(data...
Main.java:22: error: incompatible types: Set<Integer> cannot be converted to HashSet<Integer> int result=setGcd(setwise); ^ Main.java:36: error: cannot find symbol setwize.add(gcd(s.get(i),s.get(j))); ^ symbol: variable setwize location: class Main Main.java:36: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02574|0
u433687547|p02574|0
codenet
Compile Error
1,150
v2_s537263133
s537263133
s537263133
p02574
p02574
u433687547
u433687547
1,598,733,252
2020-08-29T20:34:12
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); Integer[] data=new Integer[N]; boolean pair=true; HashSet<Integer> setwise=new HashSet<>(); for(int i=0;i<N;i++){ for(int j=i;j<N;j++){ int res=gcd(...
Main.java:36: error: cannot find symbol setwize.add(gcd(s.get(i),s.get(j))); ^ symbol: variable setwize location: class Main Main.java:36: error: cannot find symbol setwize.add(gcd(s.get(i),s.get(j))); ^ symbol: method get(int) location: variable s of type HashSe...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02574|0
u433687547|p02574|0
codenet
Compile Error
1,154
v2_s164395124
s164395124
s164395124
p02574
p02574
u433687547
u433687547
1,598,733,353
2020-08-29T20:35:53
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); Integer[] data=new Integer[N]; boolean pair=true; HashSet<Integer> setwise=new HashSet<>(); for(int i=0;i<N;i++){ for(int j=i;j<N;j++){ int res=gcd(...
Main.java:36: error: cannot find symbol setwize2.add(gcd(s.get(i),s.get(j))); ^ symbol: variable setwize2 location: class Main Main.java:36: error: cannot find symbol setwize2.add(gcd(s.get(i),s.get(j))); ^ symbol: method get(int) location: variable s of type Ha...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02574|0
u433687547|p02574|0
codenet
Compile Error
1,158
v2_s339427642
s339427642
s339427642
p02574
p02574
u433687547
u433687547
1,598,733,475
2020-08-29T20:37:55
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); Integer[] data=new Integer[N]; boolean pair=true; HashSet<Integer> setwise=new HashSet<>(); for(int i=0;i<N;i++){ for(int j=i;j<N;j++){ int res=gcd(...
Main.java:33: error: illegal start of expression static HashSet<Integer> setwise2=new HashSet<>(); ^ Main.java:34: error: illegal start of type for(int i=0;i<s.size();i++){ ^ Main.java:34: error: > or ',' expected for(int i=0;i<s.size();i++){ ^ Main.java:34: error: <identifier> expected ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02574|0
u433687547|p02574|0
codenet
Compile Error
1,165
v2_s245209980
s245209980
s245209980
p02574
p02574
u433687547
u433687547
1,598,776,813
2020-08-30T08:40: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(); Integer[] data=new Integer[N]; boolean pair=true; HashSet<Integer> setwise=new HashSet<>(); for(int i=0;i<N;i++){ for(int j=i;j<N;j++){ int res=gcd(...
Main.java:37: error: cannot find symbol setwize2.add(gcd(s.get(i),s.get(j))); ^ symbol: variable setwize2 location: class Main Main.java:37: error: cannot find symbol setwize2.add(gcd(s.get(i),s.get(j))); ^ symbol: method get(int) location: variable s of type Ha...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02574|1
u433687547|p02574|1
codenet
Compile Error
1,183
v2_s016951443
s016951443
s016951443
p02574
p02574
u433687547
u433687547
1,598,776,984
2020-08-30T08:43:04
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); Integer[] data=new Integer[N]; boolean pair=true; HashSet<Integer> setwise=new HashSet<>(); for(int i=0;i<N;i++){ for(int j=i;j<N;j++){ int res=gcd(...
Main.java:37: error: cannot find symbol setwise2.add(gcd(s.get(i),s.get(j))); ^ symbol: method get(int) location: variable s of type HashSet<Integer> Main.java:37: error: cannot find symbol setwise2.add(gcd(s.get(i),s.get(j))); ^ symbol: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02574|1
u433687547|p02574|1
codenet
Compile Error
1,184
v2_s791942480
s791942480
s791942480
p02574
p02574
u433687547
u433687547
1,598,777,147
2020-08-30T08:45:47
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); Integer[] data=new Integer[N]; boolean pair=true; HashSet<Integer> setwise=new HashSet<>(); for(int i=0;i<N;i++){ for(int j=i;j<N;j++){ int res=gcd(...
Main.java:38: error: incompatible types: Object cannot be converted to Integer setList.add(it.next()); ^ Main.java:46: error: cannot find symbol if(setwise2.contain(1)){ ^ symbol: method contain(int) location: variable setwise2 of type HashSet<Integer> Note: S...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02574|1
u433687547|p02574|1
codenet
Compile Error
1,352
v2_s895879764
s895879764
s895879764
p02574
p02574
u433687547
u433687547
1,598,777,182
2020-08-30T08:46: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(); Integer[] data=new Integer[N]; boolean pair=true; HashSet<Integer> setwise=new HashSet<>(); for(int i=0;i<N;i++){ for(int j=i;j<N;j++){ int res=gcd(...
Main.java:35: error: illegal start of expression Iterator<Integer> it = setwise2.iterator<>(); ^ Main.java:35: error: -> expected Iterator<Integer> it = setwise2.iterator<>(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02574|1
u433687547|p02574|1
codenet
Compile Error
1,363
v2_s342399696
s342399696
s342399696
p02574
p02574
u433687547
u433687547
1,598,777,205
2020-08-30T08:46: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(); Integer[] data=new Integer[N]; boolean pair=true; HashSet<Integer> setwise=new HashSet<>(); for(int i=0;i<N;i++){ for(int j=i;j<N;j++){ int res=gcd(...
Main.java:46: error: cannot find symbol if(setwise2.contain(1)){ ^ symbol: method contain(int) location: variable setwise2 of type HashSet<Integer> 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433687547|p02574|1
u433687547|p02574|1
codenet
Compile Error
1,361
v2_s416742629
s416742629
s416742629
p02574
p02574
u547671064
u547671064
1,598,732,568
2020-08-29T20:22:48
Main.java
import java.util.*; public class Main{ public static int gcd (int a, int b) { int temp; while((temp = a%b)!=0) { a = b; b = temp; } return b; } public static void main(String[] args){ Scanner sc =new Scanner(System.in); int N =sc.nextInt(); int A[] =new int [N]; int B[] =new int [N]; f...
Main.java:28: error: <identifier> expected if(t!=1){System.out.("setwise coprime");break;} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p02574|0
u547671064|p02574|0
codenet
Compile Error
756
v2_s731755657
s731755657
s731755657
p02574
p02574
u601667097
u601667097
1,599,865,755
2020-09-11T23:09:15
Main.java
Copy Copy import java.util.*; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long[] arr = new long[n]; long setGCD = 0; for(int i= 0; i<n; i++){ arr[i] = sc.nextLong(); setGCD = gcd(se...
Main.java:1: error: class, interface, enum, or record expected Copy ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u601667097|p02574|0
u601667097|p02574|0
codenet
Compile Error
1,050
v2_s783570203
s783570203
s783570203
p02574
p02574
u708615801
u708615801
1,598,813,661
2020-08-30T18:54:21
Main.java
import java.io.*; import java.util.*; public class Main { static class Pair { int num; int cut; Pair(int num, int cut) { this.num = num; this.cut = cut; } } static int gcd(int a, int b) { if (b == 0) return a; if (b == 1) return 1; String key = a + "?" + b; // if (me...
Main.java:79: error: incompatible types: possible lossy conversion from long to int cur = gcd(cur, nums[i]); ^ 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
u708615801|p02574|1
u708615801|p02574|1
codenet
Compile Error
5,956
v2_s174862599
s174862599
s174862599
p02574
p02574
u708615801
u708615801
1,598,817,052
2020-08-30T19:50:52
Main.java
import java.io.*; import java.util.*; public class Main { static class Pair { int num; int cut; Pair(int num, int cut) { this.num = num; this.cut = cut; } } int gcd(int a, int b) { while (b != 0) { int temp = a % b; a = b; b = temp; } return a; } /...
Main.java:59: error: non-static method gcd(int,int) cannot be referenced from a static context cur = gcd(cur, nums[i]); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u708615801|p02574|1
u708615801|p02574|1
codenet
Compile Error
5,368
v2_s334871541
s334871541
s334871541
p02574
p02574
u981269105
u981269105
1,598,733,556
2020-08-29T20:39:16
Main.java
import java.io.*; import java.util.*; // i want to become the best class Main{ public static HashMap<Long,Integer> hmprod = new HashMap<>(); public static HashMap<Long,Integer> hmlcm = new HashMap<>(); public static long[] list = new public static void main(String[] args) throws Exception{ BufferedReader reader ...
Main.java:7: error: <identifier> expected public static long[] list = new ^ Main.java:8: error: '(' or '[' expected public static void main(String[] args) throws Exception{ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981269105|p02574|0
u981269105|p02574|0
codenet
Compile Error
2,022
v2_s920608676
s920608676
s920608676
p02574
p02574
u981269105
u981269105
1,598,733,613
2020-08-29T20:40:13
Main.java
import java.io.*; import java.util.*; // i want to become the best class Main{ public static HashMap<Long,Integer> hmprod = new HashMap<>(); public static HashMap<Long,Integer> hmlcm = new HashMap<>(); //public static long[] list = new public static void main(String[] args) throws Exception{ BufferedReader reade...
Main.java:44: error: incompatible types: int cannot be converted to Long hmprod.put(2,j+hmprod.getOrDefault(2,0)); ^ Main.java:45: error: incompatible types: int cannot be converted to Long hmlcm.put(2,Math.max(j,hmlcm.getOrDefault(2,0))); ^ Note: Some messages have been simplified; rec...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981269105|p02574|0
u981269105|p02574|0
codenet
Compile Error
2,024
v2_s466671561
s466671561
s466671561
p02575
p02575
u596758817
u596758817
1,598,820,991
2020-08-30T20:56:31
Main.java
https://atcoder.jp/contests/abc177/tasks/abc177_f#import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.*; public class Main { static final long MOD=1000000007;//998244353; public static void main(String[] args) { PrintWriter out = new PrintWriter(System.out); Input...
Main.java:1: error: class, interface, enum, or record expected https://atcoder.jp/contests/abc177/tasks/abc177_f#import java.io.IOException; ^ Main.java:3: error: class, interface, enum, or record expected import java.io.PrintWriter; ^ Main.java:4: error: class, interface, enum, or record expected import java.util.*; ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u596758817|p02575|0
u596758817|p02575|0
codenet
Compile Error
5,361
v2_s752508177
s752508177
s752508177
p02576
p02576
u038389073
u038389073
1,598,745,418
2020-08-29T23:56:58
Main.java
class Solution { public static void main(String[] args) { try(Scanner sc = new Scanner(System.in)) { int n,x,t; n = sc.nextInt(); x = sc.nextInt(); t = sc.nextInt(); if(n%x == 0) { System.out.println(n*t/x); } else { System.out.println(n*t/x + t); } }...
Main.java:4: error: cannot find symbol try(Scanner sc = new Scanner(System.in)) { ^ symbol: class Scanner location: class Solution Main.java:4: error: cannot find symbol try(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
u038389073|p02576|0
u038389073|p02576|0
codenet
Compile Error
326
v2_s868260197
s868260197
s868260197
p02576
p02576
u049638283
u049638283
1,598,123,781
2020-08-22T19:16:21
Main.java
import java.util.*; Class Takoyaki{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int X = sc.nextInt(); int T = sc.nextInt(); sc.close(); int res = Math.ceil(N/X) * T; System.out.println(res); } }
Main.java:3: error: class, interface, enum, or record expected Class Takoyaki{ ^ 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:14: error: class, interface, enum...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u049638283|p02576|0
u049638283|p02576|0
codenet
Compile Error
309
v2_s013333518
s013333518
s013333518
p02576
p02576
u049638283
u049638283
1,598,123,865
2020-08-22T19:17:45
Main.java
import java.util.*; class Takoyaki{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int X = sc.nextInt(); int T = sc.nextInt(); sc.close(); int res = Math.ceil(N/X) * T; System.out.println(res); } }
Main.java:11: error: incompatible types: possible lossy conversion from double to int int res = Math.ceil(N/X) * T; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u049638283|p02576|0
u049638283|p02576|0
codenet
Compile Error
310
v2_s771925480
s771925480
s771925480
p02576
p02576
u052700513
u052700513
1,598,136,167
2020-08-22T22:42:47
Main.java
import java.util.*; class Main{ static long findTime(int N,int X,int T){ if(N<=X) return T; int count=Math.ceil(N/X); return count*T; } public static void main(String args[]) { Scanner sc=new Scanner(System.in); int N=sc.nextInt(); int X=sc.nextInt();...
Main.java:7: error: incompatible types: possible lossy conversion from double to int int count=Math.ceil(N/X); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u052700513|p02576|0
u052700513|p02576|0
codenet
Compile Error
402
v2_s609172583
s609172583
s609172583
p02576
p02576
u052700513
u052700513
1,598,137,069
2020-08-22T22:57:49
Main.java
class Main { static long findTime(int N,int X,int T){ if(N<=X) return T; long count=(long)Math.ceil((double)N/X); //System.out.println(count); return count*T; } public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc=new Scanner(System...
Main.java:12: error: cannot find symbol Scanner sc=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:12: 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
u052700513|p02576|0
u052700513|p02576|0
codenet
Compile Error
457
v2_s744578033
s744578033
s744578033
p02576
p02576
u142032032
u142032032
1,598,122,908
2020-08-22T19:01:48
Main.java
#include<iostream> #include<vector> #include<algorithm> #include<string> using namespace std; int main() { int N,X,T; cin >> N>>X>>T; if (N%X == 0) { cout << (N / X * T); } else { cout << ((N / X+1) * T); } return 0; }
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include<vector> ^ Main.java:3: error: illegal character: '#' #include<algorithm> ^ Main.java:4: error: illegal character: '#' #include<string> ^ Main.java:10: error: not a statement cin >> N>>X>>T; ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u142032032|p02576|0
u142032032|p02576|0
codenet
Compile Error
231
v2_s516333517
s516333517
s516333517
p02576
p02576
u144147599
u144147599
1,598,277,317
2020-08-24T13:55:17
Main.java
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(); System.out.println((a + b - 1) / b * c); } }
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
u144147599|p02576|1
u144147599|p02576|1
codenet
Compile Error
220
v2_s707889741
s707889741
s707889741
p02576
p02576
u144147599
u144147599
1,598,277,357
2020-08-24T13:55:57
Main.java
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(); System.out.println((a + b - 1) / b * c); } }
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
u144147599|p02576|1
u144147599|p02576|1
codenet
Compile Error
234
v2_s421030223
s421030223
s421030223
p02576
p02576
u186052266
u186052266
1,598,123,132
2020-08-22T19:05:32
Main.java
import java.util.Map.Entry; import java.util.*; //import org.w3c.dom.css.Counter; public class Main { //public class App { public static void main(final String[] args){ //スキャン final Scanner s = new Scanner(System.in); int N = Integer.parseInt(s.next()); int X = Integer.parseInt(s.next())...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u186052266|p02576|0
u186052266|p02576|0
codenet
Compile Error
460
v2_s999590908
s999590908
s999590908
p02576
p02576
u190849297
u190849297
1,599,950,550
2020-09-12T22:42:30
Main.java
mport java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); double n = stdIn.nextInt(); double x = stdIn.nextInt(); double t = stdIn.nextInt(); double y = Math.ceil(n/x); System.out.print(Math.ceil(t * y)); } }
Main.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u190849297|p02576|0
u190849297|p02576|0
codenet
Compile Error
294
v2_s533724709
s533724709
s533724709
p02576
p02576
u190849297
u190849297
1,599,950,989
2020-09-12T22:49:49
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); int n = stdIn.nextInt(); int x = stdIn.nextInt(); int t = stdIn.nextInt(); if(n%x == 0){System.out.println(t*(n/x);} else {System.out.println(t*(n/x + 1));} } }
Main.java:10: error: ')' or ',' expected if(n%x == 0){System.out.println(t*(n/x);} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u190849297|p02576|0
u190849297|p02576|0
codenet
Compile Error
308
v2_s636126417
s636126417
s636126417
p02576
p02576
u223247368
u223247368
1,598,218,602
2020-08-23T21:36:42
Task.java
import java.io.*; import java.util.*; import javafx.scene.control.ToggleButton; public class Task { static final StdIn in = new StdIn(); static final PrintWriter out = new PrintWriter(System.out); public static void main(String[] args) { double N = in.nextDouble(); double X = in.nextDouble(); ...
Task.java:4: error: package javafx.scene.control does not exist import javafx.scene.control.ToggleButton; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u223247368|p02576|0
u223247368|p02576|0
codenet
Compile Error
3,667
v2_s719099189
s719099189
s719099189
p02576
p02576
u282414252
u282414252
1,598,151,575
2020-08-23T02:59:35
test.java
import java.util.*; public class test{ public static void main(String[] args){ Scanner sc= new Scanner(System.in); int n = sc.nextInt(); int x = sc.nextInt(); int t = sc.nextInt(); int time = 0; while(n>0){ n = n-x; time += t; ...
test.java:13: error: incompatible types: unexpected return value return time; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u282414252|p02576|0
u282414252|p02576|0
codenet
Compile Error
353
v2_s665367138
s665367138
s665367138
p02576
p02576
u313111801
u313111801
1,599,096,584
2020-09-03T01:29:44
Main.java
#include <iostream> using namespace std; main() { int n,x,t; cin>>n>>x>>t; cout<<(n+x-1)/x*t<<endl; }
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:4: error: class, interface, enum, or record expected main() { ^ Main.java:6: error: class, interface, enum, or record expected cin>>n>>x>>t; ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u313111801|p02576|0
u313111801|p02576|0
codenet
Compile Error
118
v2_s372662611
s372662611
s372662611
p02576
p02576
u330907398
u330907398
1,598,126,892
2020-08-22T20:08:12
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 X = sc.nextInt(); int T = sc.nextInt(); if (N % X == 0) { System.out.println(N / X * T); } else { int min = (int)(N / X) + 1; System...
Main.java:1: error: ';' expected import java.util*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330907398|p02576|0
u330907398|p02576|0
codenet
Compile Error
354
v2_s151213424
s151213424
s151213424
p02576
p02576
u336643723
u336643723
1,598,123,276
2020-08-22T19:07:56
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = sc.nextInt(); int t = sc.nextInt(); int result = Math.ceil(n/x) * t; System.out.println(result); } }
Main.java:10: error: incompatible types: possible lossy conversion from double to int int result = Math.ceil(n/x) * t; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u336643723|p02576|0
u336643723|p02576|0
codenet
Compile Error
316
v2_s765961640
s765961640
s765961640
p02576
p02576
u336643723
u336643723
1,598,123,614
2020-08-22T19:13:34
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 x = sc.nextInt(); int t = sc.nextInt(); int result = Math.ceil(n/x); System.out.println(result*t); } }
Main.java:10: error: incompatible types: possible lossy conversion from double to int int result = Math.ceil(n/x); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u336643723|p02576|0
u336643723|p02576|0
codenet
Compile Error
313
v2_s362643415
s362643415
s362643415
p02576
p02576
u367060939
u367060939
1,598,871,474
2020-08-31T10:57:54
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int make = sc.nextInt(); int max = sc.nextInt(); int time = sc.nextInt(); int count = (int)(make / max); System.out.println(time * count); }
Main.java:13: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367060939|p02576|0
u367060939|p02576|0
codenet
Compile Error
308
v2_s507074373
s507074373
s507074373
p02576
p02576
u367060939
u367060939
1,598,871,876
2020-08-31T11:04:36
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int make = sc.nextInt(); int max = sc.nextInt(); int time = sc.nextInt(); int ans = (max / make) + (max % make == 0 ? 0 : 1) * time; System.out.println(ans);...
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367060939|p02576|0
u367060939|p02576|0
codenet
Compile Error
334
v2_s020695070
s020695070
s020695070
p02576
p02576
u381670110
u381670110
1,598,126,419
2020-08-22T20:00:19
Main.java
public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int n = s.nextInt(); int x = s.nextInt(); int k = s.nextInt(); int c=0; while (n > 0){ n = n - x; c+=1; } ...
Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u381670110|p02576|0
u381670110|p02576|0
codenet
Compile Error
368
v2_s555795525
s555795525
s555795525
p02576
p02576
u381670110
u381670110
1,598,126,533
2020-08-22T20:02:13
Main.java
public static void main(String[] args) { Scanner s = new Scanner(System.in); int n = s.nextInt(); int x = s.nextInt(); int k = s.nextInt(); int c=0; while (n > 0){ n = n - x; c+=1; } System.out.pr...
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
u381670110|p02576|0
u381670110|p02576|0
codenet
Compile Error
342
v2_s038545614
s038545614
s038545614
p02576
p02576
u397604928
u397604928
1,598,123,621
2020-08-22T19:13:41
Main.java
public class Main { public static void main(String[] args) throws FileNotFoundException { // File file = new File("src/in.txt"); // Scanner sc = new Scanner(file); Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int X = sc.nextInt(); int T = sc.nextInt(); if(N%X==0) { System.ou...
Main.java:3: error: cannot find symbol public static void main(String[] args) throws FileNotFoundException { ^ symbol: class FileNotFoundException location: class Main Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: clas...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u397604928|p02576|0
u397604928|p02576|0
codenet
Compile Error
394
v2_s410804610
s410804610
s410804610
p02576
p02576
u429029863
u429029863
1,598,125,447
2020-08-22T19:44:07
Main.java
import java.util.*; class Takoyaki { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n,x,t,a,b; a=n%x; b=n/x; if(a!=0) t=t*b; else t=t+t*b; System.out.println(t); } }
Main.java:8: error: variable n might not have been initialized a=n%x; ^ Main.java:8: error: variable x might not have been initialized a=n%x; ^ Main.java:11: error: variable t might not have been initialized t=t*b; ^ Main.java:13: error: variable t might not have been initialized t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u429029863|p02576|0
u429029863|p02576|0
codenet
Compile Error
242
v2_s046307567
s046307567
s046307567
p02576
p02576
u488641047
u488641047
1,598,124,545
2020-08-22T19:29:05
Main.java
public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = sc.nextInt(); int k = sc.nextInt(); int t = k; int b = x; while(x < n){ x += b; k += t; } S...
Main.java:17: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u488641047|p02576|0
u488641047|p02576|0
codenet
Compile Error
344
v2_s959589967
s959589967
s959589967
p02576
p02576
u488641047
u488641047
1,598,124,591
2020-08-22T19:29:51
Main.java
class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = sc.nextInt(); int k = sc.nextInt(); int t = k; int b = x; while(x < n){ x += b; k += t; } System.o...
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
u488641047|p02576|0
u488641047|p02576|0
codenet
Compile Error
342
v2_s086144204
s086144204
s086144204
p02576
p02576
u488641047
u488641047
1,598,124,613
2020-08-22T19:30:13
Main.java
public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = sc.nextInt(); int k = sc.nextInt(); int t = k; int b = x; while(x < n){ x += b; k += t; } S...
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
u488641047|p02576|0
u488641047|p02576|0
codenet
Compile Error
349
v2_s911619015
s911619015
s911619015
p02576
p02576
u488641047
u488641047
1,598,124,672
2020-08-22T19:31:12
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 x = sc.nextInt(); int k = sc.nextInt(); int t = k; int b = x; while(x < n){ x += b; k += t...
Main.java:17: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u488641047|p02576|0
u488641047|p02576|0
codenet
Compile Error
365
v2_s783517307
s783517307
s783517307
p02576
p02576
u527378230
u527378230
1,600,375,179
2020-09-17T20:39:39
Main.java
import java.util.scanner(); public class Main{ public static void main(String args[]){ Scanner scanner = new Scanner(System.in); double n = scanner nextInt(); double x = scanner nextInt(); double t = scanner nextInt(); int kaisu = n/x; System.out.println(n/x); } }
Main.java:1: error: ';' expected import java.util.scanner(); ^ Main.java:6: error: ';' expected double n = scanner nextInt(); ^ Main.java:7: error: ';' expected double x = scanner nextInt(); ^ Main.java:8: error: ';' expected double t = sca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u527378230|p02576|0
u527378230|p02576|0
codenet
Compile Error
300
v2_s373953397
s373953397
s373953397
p02576
p02576
u528423585
u528423585
1,598,183,150
2020-08-23T11:45:50
Main.java
import java.util.*; pulic class Main{ public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c =scanner.nextInt(); if(a%b==0) { System.out.println((a/b)*c); }else ...
Main.java:2: error: class, interface, enum, or record expected pulic class Main{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u528423585|p02576|0
u528423585|p02576|0
codenet
Compile Error
393
v2_s888110443
s888110443
s888110443
p02576
p02576
u528423585
u528423585
1,598,183,177
2020-08-23T11:46:17
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c =scanner.nextInt(); if(a%b==0) { System.out.println((a/b)*c); }else...
Main.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u528423585|p02576|0
u528423585|p02576|0
codenet
Compile Error
392
v2_s824938283
s824938283
s824938283
p02576
p02576
u547671064
u547671064
1,598,129,830
2020-08-22T20:57: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(); int X =sc.nextInt(); int T =sc.nextInt(); if(X==1){System.out.println(N*T);} else{ int w =(N+1)/X; System.out.println(w*T);} } }
Main.java:4: error: cannot find symbol Scanner sc =new Scanner(system.in); ^ symbol: variable system location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p02576|0
u547671064|p02576|0
codenet
Compile Error
304
v2_s100946613
s100946613
s100946613
p02576
p02576
u600133550
u600133550
1,598,218,280
2020-08-23T21:31:20
Main.java
class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int x=sc.nextInt(); int t=sc.nextInt(); int u=0;t1=0; while(u<=n){ t1=t1+t; u=u+x; } System.out.println(t1); }}
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 Main.java:7: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600133550|p02576|0
u600133550|p02576|0
codenet
Compile Error
266
v2_s094243109
s094243109
s094243109
p02576
p02576
u600133550
u600133550
1,598,218,386
2020-08-23T21:33:06
Main.java
class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int x=sc.nextInt(); int t=sc.nextInt(); int u=0,t1=0; while(u<=n){ t1=t1+t; u=u+x; } System.out.println(t1); }}
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
u600133550|p02576|0
u600133550|p02576|0
codenet
Compile Error
266
v2_s050611916
s050611916
s050611916
p02576
p02576
u600133550
u600133550
1,598,218,430
2020-08-23T21:33:50
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int x=sc.nextInt(); int t=sc.nextInt(); int u=0;t1=0; while(u<=n){ t1=t1+t; u=u+x; } System.out.println(t1); }}
Main.java:8: error: cannot find symbol int u=0;t1=0; ^ symbol: variable t1 location: class Main Main.java:10: error: cannot find symbol t1=t1+t; ^ symbol: variable t1 location: class Main Main.java:10: error: cannot find symbol t1=t1+t; ^ symbol: variable t1 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u600133550|p02576|0
u600133550|p02576|0
codenet
Compile Error
286
v2_s057595538
s057595538
s057595538
p02576
p02576
u655347112
u655347112
1,598,122,924
2020-08-22T19:02:04
Main.java
""" Satwik_Tiwari ;) . 21st AUGUST , 2020 - FRIDAY """ #=============================================================================================== #importing some useful libraries. from __future__ import division, print_function from fractions import Fraction import sys import os from io import BytesIO,...
Main.java:1: error: class, interface, enum, or record expected """ ^ Main.java:6: error: illegal character: '#' #=============================================================================================== ^ Main.java:7: error: illegal character: '#' #importing some useful libraries. ^ Main.java:21: error: illegal c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655347112|p02576|0
u655347112|p02576|0
codenet
Compile Error
5,831
v2_s730614939
s730614939
s730614939
p02576
p02576
u664028243
u664028243
1,598,123,500
2020-08-22T19:11:40
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 X = scanner.nextInt(); int T = scanner.nextInt(); int amari = N % X; if(amari != 0) { int sho = N / X + ...
Main.java:19: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u664028243|p02576|0
u664028243|p02576|0
codenet
Compile Error
440
v2_s583995577
s583995577
s583995577
p02576
p02576
u722000554
u722000554
1,598,465,224
2020-08-26T18:07:04
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; public class Main.extension { public static void main(String[]args) { Scanner sc=new Scanner (System.in); int n=sc.nextInt(); int x=sc.nextInt(); int t=sc.nextInt(); System.out.println((...
Main.java:5: error: '{' expected public class Main.extension ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u722000554|p02576|0
u722000554|p02576|0
codenet
Compile Error
335
v2_s181435696
s181435696
s181435696
p02576
p02576
u726480685
u726480685
1,598,123,164
2020-08-22T19:06:04
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws Exception { FastReader fs = new FastReader(); out = new PrintWriter(new BufferedOutputStream(System.out)); int n = fs.nextInt() ; int x = fs.nextInt() ; int t = fs.nextInt...
Main.java:16: error: cannot find symbol out.println((int)Math.ciel(n/x)*t); ^ symbol: method ciel(int) location: class Math 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u726480685|p02576|0
u726480685|p02576|0
codenet
Compile Error
1,666
v2_s889198746
s889198746
s889198746
p02576
p02576
u731638048
u731638048
1,598,123,376
2020-08-22T19:09:36
Main.java
Scanner in = new Scanner(System.in); int n = in.nextInt(); int x = in.nextInt(); int t = in.nextInt(); System.out.println((int)Math.ceil((double)n / (double)x) * t); in.close();
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Scanner in = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:5: error: class, interface, enum, or record expected System.out.println((int)Math.ceil((double)n / (double)x) * t); ^ Main.java:6...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u731638048|p02576|0
u731638048|p02576|0
codenet
Compile Error
187
v2_s616864856
s616864856
s616864856
p02576
p02576
u731638048
u731638048
1,598,123,400
2020-08-22T19:10:00
Main.java
public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int x = in.nextInt(); int t = in.nextInt(); System.out.println((int)Math.ceil((double)n / (double)x) * t); in.close(); }
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
u731638048|p02576|0
u731638048|p02576|0
codenet
Compile Error
233
v2_s341767015
s341767015
s341767015
p02576
p02576
u750429254
u750429254
1,598,263,502
2020-08-24T10:05:02
Main.java
java.util.* public static void main(Strinf args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = sc.nextInt(); int t = sc.nextInt(); System.out.println(((n / x) + 1 )* t) ; }
Main.java:1: error: class, interface, enum, or record expected java.util.* ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(Strinf args[]){ ^ (use --enable-preview to enable unnamed classes) 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u750429254|p02576|0
u750429254|p02576|0
codenet
Compile Error
218
v2_s084070239
s084070239
s084070239
p02576
p02576
u750429254
u750429254
1,598,263,624
2020-08-24T10:07:04
Main.java
import java.util.*; class Main { public static void main(Strinf args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = sc.nextInt(); int t = sc.nextInt(); System.out.println(((n / x) + 1 )* t) ; } }
Main.java:3: error: cannot find symbol public static void main(Strinf args[]){ ^ symbol: class Strinf location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u750429254|p02576|0
u750429254|p02576|0
codenet
Compile Error
243
v2_s143926819
s143926819
s143926819
p02576
p02576
u750429254
u750429254
1,598,263,965
2020-08-24T10:12:45
Main.java
import java.util.*; class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = sc.nextInt(); int t = sc.nextInt(); int a = 0; if(n%x > 0) int a = 1; System.out.println(((n / x) + a )* t) ; sc.clo...
Main.java:10: error: variable declaration not allowed here if(n%x > 0) int a = 1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u750429254|p02576|0
u750429254|p02576|0
codenet
Compile Error
341
v2_s165689330
s165689330
s165689330
p02576
p02576
u750429254
u750429254
1,598,264,029
2020-08-24T10:13:49
Main.java
import java.util.*; class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = sc.nextInt(); int t = sc.nextInt(); int a = 0; if(n%x > 0) int a = 1; System.out.println(((n / x) + a )* t) ; sc.clo...
Main.java:10: error: variable declaration not allowed here if(n%x > 0) int a = 1; ^ Main.java:17: error: class, interface, enum, or record expected import java.util.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u750429254|p02576|0
u750429254|p02576|0
codenet
Compile Error
679
v2_s237495331
s237495331
s237495331
p02576
p02576
u779000366
u779000366
1,598,387,682
2020-08-25T20:34: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(); // スペース区切りの整数の入力 int x = sc.nextInt(); int t = sc.nextInt(); num a = x / n; double aa = a; System.out.println(a*aa ); ...
Main.java:14: error: illegal character: '\u3000' System.out.println(a*aa?); ^ Main.java:17: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u779000366|p02576|0
u779000366|p02576|0
codenet
Compile Error
369
v2_s153189259
s153189259
s153189259
p02576
p02576
u826217158
u826217158
1,598,129,873
2020-08-22T20:57:53
Main.java
import java.io.*; import java.math.*; import java.util.*; public class Main { FastScanner sc; PrintWriter p; void solve() { int N = sc.nextInt(); int X = sc.nextInt(); int T = sc.nextInt(); if(N % X == 0) p.println((N / X) * T); else p.printl...
Main.java:131: error: cannot find symbol new Takoyaki().runIO(); ^ symbol: class Takoyaki location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u826217158|p02576|0
u826217158|p02576|0
codenet
Compile Error
3,137
v2_s636074277
s636074277
s636074277
p02576
p02576
u888939948
u888939948
1,598,122,886
2020-08-22T19:01:26
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; 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 ...
Main.java:27: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u888939948|p02576|0
u888939948|p02576|0
codenet
Compile Error
823
v2_s072874913
s072874913
s072874913
p02576
p02576
u904692901
u904692901
1,598,136,163
2020-08-22T22:42:43
Main.java
import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { private static final String I...
Main.java:24: error: invalid method declaration; return type required private A(InputReader in, PrintWriter out) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u904692901|p02576|0
u904692901|p02576|0
codenet
Compile Error
1,942
v2_s993797539
s993797539
s993797539
p02576
p02576
u904692901
u904692901
1,598,136,326
2020-08-22T22:45:26
Main.java
import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { private static final String I...
Main.java:24: error: invalid method declaration; return type required private A(InputReader in, PrintWriter out) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u904692901|p02576|0
u904692901|p02576|0
codenet
Compile Error
1,945
v2_s340329626
s340329626
s340329626
p02576
p02576
u907818419
u907818419
1,598,123,478
2020-08-22T19:11:18
Main.java
import java.util.*; pubic class Main { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(),x=sc.nextInt(),t=sc.nextInt(); int a=(int)Math.floor(n/x); System.out.println(a*t); } }
Main.java:2: error: class, interface, enum, or record expected pubic class Main ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907818419|p02576|0
u907818419|p02576|0
codenet
Compile Error
244
v2_s283003899
s283003899
s283003899
p02576
p02576
u924482820
u924482820
1,598,123,184
2020-08-22T19:06:24
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); int N = in.nextInt(), X = in.nextInt(), T = in.nextInt(); if(N % X !=0){ System.out.println((N / X + 1) * T); }else{ System.out.println(N / X * T); } }
Main.java:12: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u924482820|p02576|0
u924482820|p02576|0
codenet
Compile Error
300
v2_s651785549
s651785549
s651785549
p02576
p02576
u928475683
u928475683
1,598,123,488
2020-08-22T19:11:28
Main.java
import java.util.*; import java.lang.*; import java.io.*; class GFG { public static void main (String[] args) { //code Scanner in=new Scanner(System.in); int n,x,t; n=in.nextInt(); x=in.nextInt(); t=in.nextInt(); int ans=Math.ceil(n/x)*t; System.out.println(ans); } }
Main.java:13: error: incompatible types: possible lossy conversion from double to int int ans=Math.ceil(n/x)*t; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u928475683|p02576|0
u928475683|p02576|0
codenet
Compile Error
311
v2_s400487001
s400487001
s400487001
p02576
p02576
u935368823
u935368823
1,598,123,440
2020-08-22T19:10:40
Main.java
class main { public static void main(String[] args) { int ans=0; Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int x = Integer.parseInt(sc.next()); int t = Integer.parseInt(sc.next()); for (; n>0; ) { n -= x; ans+=t; } System.out.print(ans); sc.close(); } }
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
u935368823|p02576|0
u935368823|p02576|0
codenet
Compile Error
318
v2_s525894165
s525894165
s525894165
p02576
p02576
u935368823
u935368823
1,598,123,489
2020-08-22T19:11:29
main.java
public class main { public static void main(String[] args) { int ans=0; Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int x = Integer.parseInt(sc.next()); int t = Integer.parseInt(sc.next()); for (; n>0; ) { n -= x; ans+=t; } System.out.print(ans); sc.close(); ...
main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class main main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u935368823|p02576|0
u935368823|p02576|0
codenet
Compile Error
324
v2_s958752749
s958752749
s958752749
p02576
p02576
u935368823
u935368823
1,598,123,528
2020-08-22T19:12:08
agc176.java
public class agc176 { public static void main(String[] args) { int ans=0; Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int x = Integer.parseInt(sc.next()); int t = Integer.parseInt(sc.next()); for (; n>0; ) { n -= x; ans+=t; } System.out.print(ans); sc.close(); ...
agc176.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class agc176 agc176.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class agc176 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u935368823|p02576|0
u935368823|p02576|0
codenet
Compile Error
325
v2_s009994423
s009994423
s009994423
p02576
p02576
u935368823
u935368823
1,598,123,589
2020-08-22T19:13:09
Main.java
public class Main { public static void main(String[] args) { int ans=0; Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int x = Integer.parseInt(sc.next()); int t = Integer.parseInt(sc.next()); for (; n>0; ) { n -= x; ans+=t; } System.out.print(ans); sc.close(); } ...
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
u935368823|p02576|0
u935368823|p02576|0
codenet
Compile Error
321