node_ids
listlengths 4
1.4k
| edge_index
listlengths 1
2.22k
| text
listlengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
2,
13,
13,
17,
30,
0,
13,
2,
2,
13,
13,
13,
14,
2,
2,
13,
13,
17,
30,
0,
13,
2,
2,
2,
13,
13,
17,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
30,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\t\n\t\tScanner sc = new Scanner (System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint min =0;\n\n\t\tif(n%x==0) {\n\t\t\tmin = (n/x)*t;\n\t\t}else if(n%x != 0) {\n\t\t\tmin = (n/x+1)*t;\n\t\t}\n\t\t\n\t\tSystem.out.println(min);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\t\n\t\tScanner sc = new Scanner (System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint min =0;\n\n\t\tif(n%x==0) {\n\t\t\tmin = (n/x)*t;\n\t\t}else if(n%x != 0) {\n\t\t\tmin = (n/x+1)*t;\n\t\t}\n\t\t\n\t\tSystem.out.println(min);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\t\n\t\tScanner sc = new Scanner (System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint min =0;\n\n\t\tif(n%x==0) {\n\t\t\tmin = (n/x)*t;\n\t\t}else if(n%x != 0) {\n\t\t\tmin = (n/x+1)*t;\n\t\t}\n\t\t\n\t\tSystem.out.println(min);\n\n\t}",
"main",
"{\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\t\n\t\tScanner sc = new Scanner (System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint min =0;\n\n\t\tif(n%x==0) {\n\t\t\tmin = (n/x)*t;\n\t\t}else if(n%x != 0) {\n\t\t\tmin = (n/x+1)*t;\n\t\t}\n\t\t\n\t\tSystem.out.println(min);\n\n\t}",
"Scanner sc = new Scanner (System.in);",
"sc",
"new Scanner (System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int min =0;",
"min",
"0",
"if(n%x==0) {\n\t\t\tmin = (n/x)*t;\n\t\t}else if(n%x != 0) {\n\t\t\tmin = (n/x+1)*t;\n\t\t}",
"n%x==0",
"n%x",
"n",
"x",
"0",
"{\n\t\t\tmin = (n/x)*t;\n\t\t}",
"min = (n/x)*t",
"min",
"(n/x)*t",
"(n/x)",
"n",
"x",
"t",
"if(n%x != 0) {\n\t\t\tmin = (n/x+1)*t;\n\t\t}",
"n%x != 0",
"n%x",
"n",
"x",
"0",
"{\n\t\t\tmin = (n/x+1)*t;\n\t\t}",
"min = (n/x+1)*t",
"min",
"(n/x+1)*t",
"(n/x+1)",
"n/x",
"n",
"x",
"1",
"t",
"System.out.println(min)",
"System.out.println",
"System.out",
"System",
"System.out",
"min",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\t\n\t\tScanner sc = new Scanner (System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint min =0;\n\n\t\tif(n%x==0) {\n\t\t\tmin = (n/x)*t;\n\t\t}else if(n%x != 0) {\n\t\t\tmin = (n/x+1)*t;\n\t\t}\n\t\t\n\t\tSystem.out.println(min);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\t\n\t\tScanner sc = new Scanner (System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint min =0;\n\n\t\tif(n%x==0) {\n\t\t\tmin = (n/x)*t;\n\t\t}else if(n%x != 0) {\n\t\t\tmin = (n/x+1)*t;\n\t\t}\n\t\t\n\t\tSystem.out.println(min);\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ
Scanner sc = new Scanner (System.in);
int n = sc.nextInt();
int x = sc.nextInt();
int t = sc.nextInt();
int min =0;
if(n%x==0) {
min = (n/x)*t;
}else if(n%x != 0) {
min = (n/x+1)*t;
}
System.out.println(min);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
67,
14
],
[
67,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
17,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
36,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
57,
63
],
[
15,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"import java.lang.reflect.Array;\nimport java.util.*;\nimport java.io.*;\nimport java.lang.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n if (n%x == 0)\n System.out.println((n/x)*t);\n else\n System.out.println(((n/x)+1)*t);\n }\n}",
"import java.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n if (n%x == 0)\n System.out.println((n/x)*t);\n else\n System.out.println(((n/x)+1)*t);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n if (n%x == 0)\n System.out.println((n/x)*t);\n else\n System.out.println(((n/x)+1)*t);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n if (n%x == 0)\n System.out.println((n/x)*t);\n else\n System.out.println(((n/x)+1)*t);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (n%x == 0)\n System.out.println((n/x)*t);\n else\n System.out.println(((n/x)+1)*t);",
"n%x == 0",
"n%x",
"n",
"x",
"0",
"System.out.println((n/x)*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"(n/x)*t",
"(n/x)",
"n",
"x",
"t",
"System.out.println(((n/x)+1)*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"((n/x)+1)*t",
"((n/x)+1)",
"(n/x)",
"n",
"x",
"1",
"t",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n if (n%x == 0)\n System.out.println((n/x)*t);\n else\n System.out.println(((n/x)+1)*t);\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n if (n%x == 0)\n System.out.println((n/x)*t);\n else\n System.out.println(((n/x)+1)*t);\n }\n}",
"Main"
]
| import java.lang.reflect.Array;
import java.util.*;
import java.io.*;
import java.lang.*;
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
System.out.println(((n/x)+1)*t);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
14,
2,
13,
17,
30,
0,
13,
2,
13,
13,
30,
0,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint X = sc.nextInt();\n\t\tint T = sc.nextInt();\n\t\t\n\t\tint q = N / X;\n\t\tint r = N % X;\n\t\tint s;\n\t\tif(r == 0) {\n\t\t\ts = q * T;\n\t\t}\n\t\telse {\n\t\t\ts = (q + 1) * T;\n\t\t}\n\t\tSystem.out.println(s);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint X = sc.nextInt();\n\t\tint T = sc.nextInt();\n\t\t\n\t\tint q = N / X;\n\t\tint r = N % X;\n\t\tint s;\n\t\tif(r == 0) {\n\t\t\ts = q * T;\n\t\t}\n\t\telse {\n\t\t\ts = (q + 1) * T;\n\t\t}\n\t\tSystem.out.println(s);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint X = sc.nextInt();\n\t\tint T = sc.nextInt();\n\t\t\n\t\tint q = N / X;\n\t\tint r = N % X;\n\t\tint s;\n\t\tif(r == 0) {\n\t\t\ts = q * T;\n\t\t}\n\t\telse {\n\t\t\ts = (q + 1) * T;\n\t\t}\n\t\tSystem.out.println(s);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint X = sc.nextInt();\n\t\tint T = sc.nextInt();\n\t\t\n\t\tint q = N / X;\n\t\tint r = N % X;\n\t\tint s;\n\t\tif(r == 0) {\n\t\t\ts = q * T;\n\t\t}\n\t\telse {\n\t\t\ts = (q + 1) * T;\n\t\t}\n\t\tSystem.out.println(s);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int T = sc.nextInt();",
"T",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int q = N / X;",
"q",
"N / X",
"N",
"X",
"int r = N % X;",
"r",
"N % X",
"N",
"X",
"int s;",
"s",
"if(r == 0) {\n\t\t\ts = q * T;\n\t\t}\n\t\telse {\n\t\t\ts = (q + 1) * T;\n\t\t}",
"r == 0",
"r",
"0",
"{\n\t\t\ts = q * T;\n\t\t}",
"s = q * T",
"s",
"q * T",
"q",
"T",
"{\n\t\t\ts = (q + 1) * T;\n\t\t}",
"s = (q + 1) * T",
"s",
"(q + 1) * T",
"(q + 1)",
"q",
"1",
"T",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint X = sc.nextInt();\n\t\tint T = sc.nextInt();\n\t\t\n\t\tint q = N / X;\n\t\tint r = N % X;\n\t\tint s;\n\t\tif(r == 0) {\n\t\t\ts = q * T;\n\t\t}\n\t\telse {\n\t\t\ts = (q + 1) * T;\n\t\t}\n\t\tSystem.out.println(s);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint X = sc.nextInt();\n\t\tint T = sc.nextInt();\n\t\t\n\t\tint q = N / X;\n\t\tint r = N % X;\n\t\tint s;\n\t\tif(r == 0) {\n\t\t\ts = q * T;\n\t\t}\n\t\telse {\n\t\t\ts = (q + 1) * T;\n\t\t}\n\t\tSystem.out.println(s);\n\t}\n}",
"Main"
]
| 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 q = N / X;
int r = N % X;
int s;
if(r == 0) {
s = q * T;
}
else {
s = (q + 1) * T;
}
System.out.println(s);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
8,
2,
13,
17,
2,
13,
13,
2,
2,
13,
13,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
77,
5
],
[
77,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
8,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.util.*;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n // ๅ
ฅๅๅคใๅๅฒใใ\n String input[] = sc.nextLine().split(\" \");\n\n // ไฝใๅๆฐ\n int make = Integer.parseInt(input[0]);\n // ไฝใใๅๆฐ\n int cook = Integer.parseInt(input[1]);\n // 1ๅใซใใใๆ้\n int time = Integer.parseInt(input[2]);\n\n int amari = make % cook;\n int kaisuu = amari == 0 ? make/cook : make/cook + 1;\n // ใใใๆ้\n int result = kaisuu * time;\n System.out.println(result);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n // ๅ
ฅๅๅคใๅๅฒใใ\n String input[] = sc.nextLine().split(\" \");\n\n // ไฝใๅๆฐ\n int make = Integer.parseInt(input[0]);\n // ไฝใใๅๆฐ\n int cook = Integer.parseInt(input[1]);\n // 1ๅใซใใใๆ้\n int time = Integer.parseInt(input[2]);\n\n int amari = make % cook;\n int kaisuu = amari == 0 ? make/cook : make/cook + 1;\n // ใใใๆ้\n int result = kaisuu * time;\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n // ๅ
ฅๅๅคใๅๅฒใใ\n String input[] = sc.nextLine().split(\" \");\n\n // ไฝใๅๆฐ\n int make = Integer.parseInt(input[0]);\n // ไฝใใๅๆฐ\n int cook = Integer.parseInt(input[1]);\n // 1ๅใซใใใๆ้\n int time = Integer.parseInt(input[2]);\n\n int amari = make % cook;\n int kaisuu = amari == 0 ? make/cook : make/cook + 1;\n // ใใใๆ้\n int result = kaisuu * time;\n System.out.println(result);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n // ๅ
ฅๅๅคใๅๅฒใใ\n String input[] = sc.nextLine().split(\" \");\n\n // ไฝใๅๆฐ\n int make = Integer.parseInt(input[0]);\n // ไฝใใๅๆฐ\n int cook = Integer.parseInt(input[1]);\n // 1ๅใซใใใๆ้\n int time = Integer.parseInt(input[2]);\n\n int amari = make % cook;\n int kaisuu = amari == 0 ? make/cook : make/cook + 1;\n // ใใใๆ้\n int result = kaisuu * time;\n System.out.println(result);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String input[] = sc.nextLine().split(\" \");",
"input",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int make = Integer.parseInt(input[0]);",
"make",
"Integer.parseInt(input[0])",
"Integer.parseInt",
"Integer",
"input[0]",
"input",
"0",
"int cook = Integer.parseInt(input[1]);",
"cook",
"Integer.parseInt(input[1])",
"Integer.parseInt",
"Integer",
"input[1]",
"input",
"1",
"int time = Integer.parseInt(input[2]);",
"time",
"Integer.parseInt(input[2])",
"Integer.parseInt",
"Integer",
"input[2]",
"input",
"2",
"int amari = make % cook;",
"amari",
"make % cook",
"make",
"cook",
"int kaisuu = amari == 0 ? make/cook : make/cook + 1;",
"kaisuu",
"amari == 0 ? make/cook : make/cook + 1",
"amari == 0",
"amari",
"0",
"make/cook",
"make",
"cook",
"make/cook + 1",
"make/cook",
"make",
"cook",
"1",
"int result = kaisuu * time;",
"result",
"kaisuu * time",
"kaisuu",
"time",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n // ๅ
ฅๅๅคใๅๅฒใใ\n String input[] = sc.nextLine().split(\" \");\n\n // ไฝใๅๆฐ\n int make = Integer.parseInt(input[0]);\n // ไฝใใๅๆฐ\n int cook = Integer.parseInt(input[1]);\n // 1ๅใซใใใๆ้\n int time = Integer.parseInt(input[2]);\n\n int amari = make % cook;\n int kaisuu = amari == 0 ? make/cook : make/cook + 1;\n // ใใใๆ้\n int result = kaisuu * time;\n System.out.println(result);\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n // ๅ
ฅๅๅคใๅๅฒใใ\n String input[] = sc.nextLine().split(\" \");\n\n // ไฝใๅๆฐ\n int make = Integer.parseInt(input[0]);\n // ไฝใใๅๆฐ\n int cook = Integer.parseInt(input[1]);\n // 1ๅใซใใใๆ้\n int time = Integer.parseInt(input[2]);\n\n int amari = make % cook;\n int kaisuu = amari == 0 ? make/cook : make/cook + 1;\n // ใใใๆ้\n int result = kaisuu * time;\n System.out.println(result);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// ๅ
ฅๅๅคใๅๅฒใใ
String input[] = sc.nextLine().split(" ");
// ไฝใๅๆฐ
int make = Integer.parseInt(input[0]);
// ไฝใใๅๆฐ
int cook = Integer.parseInt(input[1]);
// 1ๅใซใใใๆ้
int time = Integer.parseInt(input[2]);
int amari = make % cook;
int kaisuu = amari == 0 ? make/cook : make/cook + 1;
// ใใใๆ้
int result = kaisuu * time;
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
68,
23
],
[
68,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
26,
45
],
[
45,
46
],
[
45,
47
],
[
26,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
26,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
24,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"import java.io.*;\nimport java.math.*;\nimport java.security.*;\nimport java.text.*;\nimport java.util.*;\nimport java.util.concurrent.*;\nimport java.util.regex.*;\n\npublic class Main {\n\n\n public static void main(String[] args) throws IOException {\n \n \tScanner scan = new Scanner(System.in);\n \t\n \t\n \tint n = scan.nextInt();\n \tint x = scan.nextInt();\n \tint t = scan.nextInt();\n \t\n \t\n \tint time = 0;\n \t\n \twhile (n > 0) {\n \t\tn -= x;\n \t\ttime += t;\n \t}\n \n \tSystem.out.println(time);\n \t\n \t\n \t\n \t\n \t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.security.*;",
"security.*",
"java",
"import java.text.*;",
"text.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.concurrent.*;",
"concurrent.*",
"java.util",
"import java.util.regex.*;",
"regex.*",
"java.util",
"public class Main {\n\n\n public static void main(String[] args) throws IOException {\n \n \tScanner scan = new Scanner(System.in);\n \t\n \t\n \tint n = scan.nextInt();\n \tint x = scan.nextInt();\n \tint t = scan.nextInt();\n \t\n \t\n \tint time = 0;\n \t\n \twhile (n > 0) {\n \t\tn -= x;\n \t\ttime += t;\n \t}\n \n \tSystem.out.println(time);\n \t\n \t\n \t\n \t\n \t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n \n \tScanner scan = new Scanner(System.in);\n \t\n \t\n \tint n = scan.nextInt();\n \tint x = scan.nextInt();\n \tint t = scan.nextInt();\n \t\n \t\n \tint time = 0;\n \t\n \twhile (n > 0) {\n \t\tn -= x;\n \t\ttime += t;\n \t}\n \n \tSystem.out.println(time);\n \t\n \t\n \t\n \t\n \t}",
"main",
"{\n \n \tScanner scan = new Scanner(System.in);\n \t\n \t\n \tint n = scan.nextInt();\n \tint x = scan.nextInt();\n \tint t = scan.nextInt();\n \t\n \t\n \tint time = 0;\n \t\n \twhile (n > 0) {\n \t\tn -= x;\n \t\ttime += t;\n \t}\n \n \tSystem.out.println(time);\n \t\n \t\n \t\n \t\n \t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int t = scan.nextInt();",
"t",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int time = 0;",
"time",
"0",
"while (n > 0) {\n \t\tn -= x;\n \t\ttime += t;\n \t}",
"n > 0",
"n",
"0",
"{\n \t\tn -= x;\n \t\ttime += t;\n \t}",
"n -= x",
"n",
"x",
"time += t",
"time",
"t",
"System.out.println(time)",
"System.out.println",
"System.out",
"System",
"System.out",
"time",
"String[] args",
"args",
"public class Main {\n\n\n public static void main(String[] args) throws IOException {\n \n \tScanner scan = new Scanner(System.in);\n \t\n \t\n \tint n = scan.nextInt();\n \tint x = scan.nextInt();\n \tint t = scan.nextInt();\n \t\n \t\n \tint time = 0;\n \t\n \twhile (n > 0) {\n \t\tn -= x;\n \t\ttime += t;\n \t}\n \n \tSystem.out.println(time);\n \t\n \t\n \t\n \t\n \t}\n}",
"public class Main {\n\n\n public static void main(String[] args) throws IOException {\n \n \tScanner scan = new Scanner(System.in);\n \t\n \t\n \tint n = scan.nextInt();\n \tint x = scan.nextInt();\n \tint t = scan.nextInt();\n \t\n \t\n \tint time = 0;\n \t\n \twhile (n > 0) {\n \t\tn -= x;\n \t\ttime += t;\n \t}\n \n \tSystem.out.println(time);\n \t\n \t\n \t\n \t\n \t}\n}",
"Main"
]
| import java.io.*;
import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.regex.*;
public class Main {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int x = scan.nextInt();
int t = scan.nextInt();
int time = 0;
while (n > 0) {
n -= x;
time += t;
}
System.out.println(time);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
13,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
27,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
6,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\npublic static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n int n = stdIn.nextInt();\n int x = stdIn.nextInt();\n int t = stdIn.nextInt();\n \n if(n%x == 0){System.out.println(t*(n/x));}\n else {System.out.println(t*(n/x + 1));}\n \n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\npublic static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n int n = stdIn.nextInt();\n int x = stdIn.nextInt();\n int t = stdIn.nextInt();\n \n if(n%x == 0){System.out.println(t*(n/x));}\n else {System.out.println(t*(n/x + 1));}\n \n}\n}",
"Main",
"public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n int n = stdIn.nextInt();\n int x = stdIn.nextInt();\n int t = stdIn.nextInt();\n \n if(n%x == 0){System.out.println(t*(n/x));}\n else {System.out.println(t*(n/x + 1));}\n \n}",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n int n = stdIn.nextInt();\n int x = stdIn.nextInt();\n int t = stdIn.nextInt();\n \n if(n%x == 0){System.out.println(t*(n/x));}\n else {System.out.println(t*(n/x + 1));}\n \n}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int n = stdIn.nextInt();",
"n",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int x = stdIn.nextInt();",
"x",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int t = stdIn.nextInt();",
"t",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if(n%x == 0){System.out.println(t*(n/x));}\n else {System.out.println(t*(n/x + 1));}",
"n%x == 0",
"n%x",
"n",
"x",
"0",
"{System.out.println(t*(n/x));}",
"System.out.println(t*(n/x))",
"System.out.println",
"System.out",
"System",
"System.out",
"t*(n/x)",
"t",
"(n/x)",
"n",
"x",
"{System.out.println(t*(n/x + 1));}",
"System.out.println(t*(n/x + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"t*(n/x + 1)",
"t",
"(n/x + 1)",
"n/x",
"n",
"x",
"1",
"String[] args",
"args",
"public class Main{\npublic static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n int n = stdIn.nextInt();\n int x = stdIn.nextInt();\n int t = stdIn.nextInt();\n \n if(n%x == 0){System.out.println(t*(n/x));}\n else {System.out.println(t*(n/x + 1));}\n \n}\n}",
"public class Main{\npublic static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n int n = stdIn.nextInt();\n int x = stdIn.nextInt();\n int t = stdIn.nextInt();\n \n if(n%x == 0){System.out.println(t*(n/x));}\n else {System.out.println(t*(n/x + 1));}\n \n}\n}",
"Main"
]
| 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));}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
13,
0,
13,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
80,
14
],
[
80,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
17,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
17,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
17,
51
],
[
51,
52
],
[
51,
53
],
[
17,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
58,
64
],
[
64,
65
],
[
64,
66
],
[
17,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
17,
71
],
[
71,
72
],
[
72,
73
],
[
17,
74
],
[
74,
75
],
[
75,
76
],
[
15,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n int N = Integer.parseInt(st.nextToken());\n int X = Integer.parseInt(st.nextToken());\n int T = Integer.parseInt(st.nextToken());\n\n int result = 0;\n\n while(N > 0) {\n N = N - X;\n result += T;\n\n }\n\n pw.println(result);\n br.close();\n pw.close();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n int N = Integer.parseInt(st.nextToken());\n int X = Integer.parseInt(st.nextToken());\n int T = Integer.parseInt(st.nextToken());\n\n int result = 0;\n\n while(N > 0) {\n N = N - X;\n result += T;\n\n }\n\n pw.println(result);\n br.close();\n pw.close();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n int N = Integer.parseInt(st.nextToken());\n int X = Integer.parseInt(st.nextToken());\n int T = Integer.parseInt(st.nextToken());\n\n int result = 0;\n\n while(N > 0) {\n N = N - X;\n result += T;\n\n }\n\n pw.println(result);\n br.close();\n pw.close();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n int N = Integer.parseInt(st.nextToken());\n int X = Integer.parseInt(st.nextToken());\n int T = Integer.parseInt(st.nextToken());\n\n int result = 0;\n\n while(N > 0) {\n N = N - X;\n result += T;\n\n }\n\n pw.println(result);\n br.close();\n pw.close();\n }",
"BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));",
"br",
"new BufferedReader(new java.io.InputStreamReader(System.in))",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"StringTokenizer st = new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int N = Integer.parseInt(st.nextToken());",
"N",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int X = Integer.parseInt(st.nextToken());",
"X",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int T = Integer.parseInt(st.nextToken());",
"T",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int result = 0;",
"result",
"0",
"while(N > 0) {\n N = N - X;\n result += T;\n\n }",
"N > 0",
"N",
"0",
"{\n N = N - X;\n result += T;\n\n }",
"N = N - X",
"N",
"N - X",
"N",
"X",
"result += T",
"result",
"T",
"pw.println(result)",
"pw.println",
"pw",
"result",
"br.close()",
"br.close",
"br",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n int N = Integer.parseInt(st.nextToken());\n int X = Integer.parseInt(st.nextToken());\n int T = Integer.parseInt(st.nextToken());\n\n int result = 0;\n\n while(N > 0) {\n N = N - X;\n result += T;\n\n }\n\n pw.println(result);\n br.close();\n pw.close();\n }\n}",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n int N = Integer.parseInt(st.nextToken());\n int X = Integer.parseInt(st.nextToken());\n int T = Integer.parseInt(st.nextToken());\n\n int result = 0;\n\n while(N > 0) {\n N = N - X;\n result += T;\n\n }\n\n pw.println(result);\n br.close();\n pw.close();\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));
PrintWriter pw = new PrintWriter(System.out);
StringTokenizer st = new StringTokenizer(br.readLine());
int N = Integer.parseInt(st.nextToken());
int X = Integer.parseInt(st.nextToken());
int T = Integer.parseInt(st.nextToken());
int result = 0;
while(N > 0) {
N = N - X;
result += T;
}
pw.println(result);
br.close();
pw.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
13,
41,
13,
13,
42,
2,
13,
13,
30,
0,
13,
2,
13,
13,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
6,
57
],
[
57,
58
]
]
| [
"import java.util.Scanner;\nclass Main {\n\n\tpublic static void main(String[] args)\n {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\tint time=t;\n\t\tint x1=x;\n\t\twhile(x<n)\n\t\t{\n\t\t\tt=t+time;\n\t\t\tx=x+x1;\n\t\t}\n\t\tSystem.out.println(t);\n\t\t\n\t\tsc.close();\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args)\n {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\tint time=t;\n\t\tint x1=x;\n\t\twhile(x<n)\n\t\t{\n\t\t\tt=t+time;\n\t\t\tx=x+x1;\n\t\t}\n\t\tSystem.out.println(t);\n\t\t\n\t\tsc.close();\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args)\n {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\tint time=t;\n\t\tint x1=x;\n\t\twhile(x<n)\n\t\t{\n\t\t\tt=t+time;\n\t\t\tx=x+x1;\n\t\t}\n\t\tSystem.out.println(t);\n\t\t\n\t\tsc.close();\t\t\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\tint time=t;\n\t\tint x1=x;\n\t\twhile(x<n)\n\t\t{\n\t\t\tt=t+time;\n\t\t\tx=x+x1;\n\t\t}\n\t\tSystem.out.println(t);\n\t\t\n\t\tsc.close();\t\t\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t=sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int time=t;",
"time",
"t",
"int x1=x;",
"x1",
"x",
"while(x<n)\n\t\t{\n\t\t\tt=t+time;\n\t\t\tx=x+x1;\n\t\t}",
"x<n",
"x",
"n",
"{\n\t\t\tt=t+time;\n\t\t\tx=x+x1;\n\t\t}",
"t=t+time",
"t",
"t+time",
"t",
"time",
"x=x+x1",
"x",
"x+x1",
"x",
"x1",
"System.out.println(t)",
"System.out.println",
"System.out",
"System",
"System.out",
"t",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args"
]
| import java.util.Scanner;
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 time=t;
int x1=x;
while(x<n)
{
t=t+time;
x=x+x1;
}
System.out.println(t);
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
2,
13,
13,
17,
30,
0,
13,
2,
13,
13,
0,
13,
17,
30,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
146,
20
],
[
146,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
23,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
23,
42
],
[
42,
43
],
[
42,
44
],
[
23,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
45,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
23,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
21,
74
],
[
74,
75
],
[
146,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
87,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
92,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
86,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
76,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
114,
115
],
[
76,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
123,
128
],
[
128,
129
],
[
128,
130
],
[
123,
131
],
[
131,
132
],
[
132,
133
],
[
123,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
139,
140
],
[
118,
141
],
[
141,
142
],
[
116,
143
],
[
143,
144
],
[
0,
145
],
[
145,
146
],
[
145,
147
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\nimport java.util.Arrays;\nimport java.lang.Math;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int N = fs.nextInt(); int X = fs.nextInt(); int T = fs.nextInt();\n\n int times = 0;\n if (N%X != 0) {\n times+= N/X;\n times+= 1;\n } else {\n times+=N/X;\n }\n System.out.println(times*T);\n\n }\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }\n\n}\n",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int N = fs.nextInt(); int X = fs.nextInt(); int T = fs.nextInt();\n\n int times = 0;\n if (N%X != 0) {\n times+= N/X;\n times+= 1;\n } else {\n times+=N/X;\n }\n System.out.println(times*T);\n\n }\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int N = fs.nextInt(); int X = fs.nextInt(); int T = fs.nextInt();\n\n int times = 0;\n if (N%X != 0) {\n times+= N/X;\n times+= 1;\n } else {\n times+=N/X;\n }\n System.out.println(times*T);\n\n }",
"main",
"{\n FastScanner fs = new FastScanner();\n int N = fs.nextInt(); int X = fs.nextInt(); int T = fs.nextInt();\n\n int times = 0;\n if (N%X != 0) {\n times+= N/X;\n times+= 1;\n } else {\n times+=N/X;\n }\n System.out.println(times*T);\n\n }",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"int N = fs.nextInt();",
"N",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int X = fs.nextInt();",
"X",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int T = fs.nextInt();",
"T",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int times = 0;",
"times",
"0",
"if (N%X != 0) {\n times+= N/X;\n times+= 1;\n } else {\n times+=N/X;\n }",
"N%X != 0",
"N%X",
"N",
"X",
"0",
"{\n times+= N/X;\n times+= 1;\n }",
"times+= N/X",
"times",
"N/X",
"N",
"X",
"times+= 1",
"times",
"1",
"{\n times+=N/X;\n }",
"times+=N/X",
"times",
"N/X",
"N",
"X",
"System.out.println(times*T)",
"System.out.println",
"System.out",
"System",
"System.out",
"times*T",
"times",
"T",
"String[] args",
"args",
"static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"next",
"{\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st=new StringTokenizer(br.readLine());\n }",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }",
"readArray",
"{\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int N = fs.nextInt(); int X = fs.nextInt(); int T = fs.nextInt();\n\n int times = 0;\n if (N%X != 0) {\n times+= N/X;\n times+= 1;\n } else {\n times+=N/X;\n }\n System.out.println(times*T);\n\n }\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int N = fs.nextInt(); int X = fs.nextInt(); int T = fs.nextInt();\n\n int times = 0;\n if (N%X != 0) {\n times+= N/X;\n times+= 1;\n } else {\n times+=N/X;\n }\n System.out.println(times*T);\n\n }\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }\n\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
import java.util.Arrays;
import java.lang.Math;
public class Main {
public static void main(String[] args) {
FastScanner fs = new FastScanner();
int N = fs.nextInt(); int X = fs.nextInt(); int T = fs.nextInt();
int times = 0;
if (N%X != 0) {
times+= N/X;
times+= 1;
} else {
times+=N/X;
}
System.out.println(times*T);
}
static class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
public String next() {
while (!st.hasMoreElements())
try {
st=new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a=new int[n];
for (int i=0; i<n; i++) a[i]=nextInt();
return a;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
]
| [
"import java.util.*;\n public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextInt();\n double b = sc.nextInt();\n int c = sc.nextInt();\n double d = Math.ceil(a/b);\n System.out.println((int)d * c);\n }\n }",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextInt();\n double b = sc.nextInt();\n int c = sc.nextInt();\n double d = Math.ceil(a/b);\n System.out.println((int)d * c);\n }\n }",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextInt();\n double b = sc.nextInt();\n int c = sc.nextInt();\n double d = Math.ceil(a/b);\n System.out.println((int)d * c);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n double a = sc.nextInt();\n double b = sc.nextInt();\n int c = sc.nextInt();\n double d = Math.ceil(a/b);\n System.out.println((int)d * c);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"double b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"double d = Math.ceil(a/b);",
"d",
"Math.ceil(a/b)",
"Math.ceil",
"Math",
"a/b",
"a",
"b",
"System.out.println((int)d * c)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)d * c",
"(int)d",
"c",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextInt();\n double b = sc.nextInt();\n int c = sc.nextInt();\n double d = Math.ceil(a/b);\n System.out.println((int)d * c);\n }\n }",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextInt();\n double b = sc.nextInt();\n int c = sc.nextInt();\n double d = Math.ceil(a/b);\n System.out.println((int)d * c);\n }\n }",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double a = sc.nextInt();
double b = sc.nextInt();
int c = sc.nextInt();
double d = Math.ceil(a/b);
System.out.println((int)d * c);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
14,
2,
2,
13,
13,
17,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
2,
13,
13,
17,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
83,
11
],
[
83,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
14,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
14,
50
],
[
50,
51
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
52,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
52,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
67,
73
],
[
14,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
12,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] tokens = in.readLine().split(\" \");\n\t\tint n = Integer.parseInt(tokens[0]);\n\t\tint x = Integer.parseInt(tokens[1]);\n\t\tint t = Integer.parseInt(tokens[2]);\n\t\tint ans;\n\t\tif (n%x == 0)\n\t\t\tans = n/x*t;\n\t\telse\n\t\t\tans = (n/x+1)*t;\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] tokens = in.readLine().split(\" \");\n\t\tint n = Integer.parseInt(tokens[0]);\n\t\tint x = Integer.parseInt(tokens[1]);\n\t\tint t = Integer.parseInt(tokens[2]);\n\t\tint ans;\n\t\tif (n%x == 0)\n\t\t\tans = n/x*t;\n\t\telse\n\t\t\tans = (n/x+1)*t;\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] tokens = in.readLine().split(\" \");\n\t\tint n = Integer.parseInt(tokens[0]);\n\t\tint x = Integer.parseInt(tokens[1]);\n\t\tint t = Integer.parseInt(tokens[2]);\n\t\tint ans;\n\t\tif (n%x == 0)\n\t\t\tans = n/x*t;\n\t\telse\n\t\t\tans = (n/x+1)*t;\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] tokens = in.readLine().split(\" \");\n\t\tint n = Integer.parseInt(tokens[0]);\n\t\tint x = Integer.parseInt(tokens[1]);\n\t\tint t = Integer.parseInt(tokens[2]);\n\t\tint ans;\n\t\tif (n%x == 0)\n\t\t\tans = n/x*t;\n\t\telse\n\t\t\tans = (n/x+1)*t;\n\t\tSystem.out.println(ans);\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] tokens = in.readLine().split(\" \");",
"tokens",
"in.readLine().split(\" \")",
"in.readLine().split",
"in.readLine()",
"in.readLine",
"in",
"\" \"",
"int n = Integer.parseInt(tokens[0]);",
"n",
"Integer.parseInt(tokens[0])",
"Integer.parseInt",
"Integer",
"tokens[0]",
"tokens",
"0",
"int x = Integer.parseInt(tokens[1]);",
"x",
"Integer.parseInt(tokens[1])",
"Integer.parseInt",
"Integer",
"tokens[1]",
"tokens",
"1",
"int t = Integer.parseInt(tokens[2]);",
"t",
"Integer.parseInt(tokens[2])",
"Integer.parseInt",
"Integer",
"tokens[2]",
"tokens",
"2",
"int ans;",
"ans",
"if (n%x == 0)\n\t\t\tans = n/x*t;\n\t\telse\n\t\t\tans = (n/x+1)*t;",
"n%x == 0",
"n%x",
"n",
"x",
"0",
"ans = n/x*t",
"ans",
"n/x*t",
"n/x",
"n",
"x",
"t",
"ans = (n/x+1)*t",
"ans",
"(n/x+1)*t",
"(n/x+1)",
"n/x",
"n",
"x",
"1",
"t",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] tokens = in.readLine().split(\" \");\n\t\tint n = Integer.parseInt(tokens[0]);\n\t\tint x = Integer.parseInt(tokens[1]);\n\t\tint t = Integer.parseInt(tokens[2]);\n\t\tint ans;\n\t\tif (n%x == 0)\n\t\t\tans = n/x*t;\n\t\telse\n\t\t\tans = (n/x+1)*t;\n\t\tSystem.out.println(ans);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] tokens = in.readLine().split(\" \");\n\t\tint n = Integer.parseInt(tokens[0]);\n\t\tint x = Integer.parseInt(tokens[1]);\n\t\tint t = Integer.parseInt(tokens[2]);\n\t\tint ans;\n\t\tif (n%x == 0)\n\t\t\tans = n/x*t;\n\t\telse\n\t\t\tans = (n/x+1)*t;\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String[] tokens = in.readLine().split(" ");
int n = Integer.parseInt(tokens[0]);
int x = Integer.parseInt(tokens[1]);
int t = Integer.parseInt(tokens[2]);
int ans;
if (n%x == 0)
ans = n/x*t;
else
ans = (n/x+1)*t;
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
0,
13,
2,
4,
18,
13,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
46,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] tmp = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(tmp[0]);\n\t\tdouble x = Integer.parseInt(tmp[1]);\n\t\tint t = Integer.parseInt(tmp[2]);\n\n\t\tn = (int)(Math.ceil(n / x)) * t;\n\t\tSystem.out.println(n);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] tmp = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(tmp[0]);\n\t\tdouble x = Integer.parseInt(tmp[1]);\n\t\tint t = Integer.parseInt(tmp[2]);\n\n\t\tn = (int)(Math.ceil(n / x)) * t;\n\t\tSystem.out.println(n);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] tmp = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(tmp[0]);\n\t\tdouble x = Integer.parseInt(tmp[1]);\n\t\tint t = Integer.parseInt(tmp[2]);\n\n\t\tn = (int)(Math.ceil(n / x)) * t;\n\t\tSystem.out.println(n);\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] tmp = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(tmp[0]);\n\t\tdouble x = Integer.parseInt(tmp[1]);\n\t\tint t = Integer.parseInt(tmp[2]);\n\n\t\tn = (int)(Math.ceil(n / x)) * t;\n\t\tSystem.out.println(n);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] tmp = sc.nextLine().split(\" \");",
"tmp",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int n = Integer.parseInt(tmp[0]);",
"n",
"Integer.parseInt(tmp[0])",
"Integer.parseInt",
"Integer",
"tmp[0]",
"tmp",
"0",
"double x = Integer.parseInt(tmp[1]);",
"x",
"Integer.parseInt(tmp[1])",
"Integer.parseInt",
"Integer",
"tmp[1]",
"tmp",
"1",
"int t = Integer.parseInt(tmp[2]);",
"t",
"Integer.parseInt(tmp[2])",
"Integer.parseInt",
"Integer",
"tmp[2]",
"tmp",
"2",
"n = (int)(Math.ceil(n / x)) * t",
"n",
"(int)(Math.ceil(n / x)) * t",
"(int)(Math.ceil(n / x))",
"Math.ceil",
"Math",
"n / x",
"n",
"x",
"t",
"System.out.println(n)",
"System.out.println",
"System.out",
"System",
"System.out",
"n",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] tmp = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(tmp[0]);\n\t\tdouble x = Integer.parseInt(tmp[1]);\n\t\tint t = Integer.parseInt(tmp[2]);\n\n\t\tn = (int)(Math.ceil(n / x)) * t;\n\t\tSystem.out.println(n);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] tmp = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(tmp[0]);\n\t\tdouble x = Integer.parseInt(tmp[1]);\n\t\tint t = Integer.parseInt(tmp[2]);\n\n\t\tn = (int)(Math.ceil(n / x)) * t;\n\t\tSystem.out.println(n);\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] tmp = sc.nextLine().split(" ");
int n = Integer.parseInt(tmp[0]);
double x = Integer.parseInt(tmp[1]);
int t = Integer.parseInt(tmp[2]);
n = (int)(Math.ceil(n / x)) * t;
System.out.println(n);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
4,
18,
13,
13,
13,
17,
30,
40,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
34,
38
],
[
33,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\t\n\t\t\tint N = sc.nextInt();\n\t\t\tint X = sc.nextInt();\n\t\t\tint T = sc.nextInt();\n\t\t\tint cnt = N/X;\n\t\t\t\n\t\t\tif(Math.floorMod(N,X)!=0) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(T*cnt);\n\t}\t\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\t\n\t\t\tint N = sc.nextInt();\n\t\t\tint X = sc.nextInt();\n\t\t\tint T = sc.nextInt();\n\t\t\tint cnt = N/X;\n\t\t\t\n\t\t\tif(Math.floorMod(N,X)!=0) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(T*cnt);\n\t}\t\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\t\n\t\t\tint N = sc.nextInt();\n\t\t\tint X = sc.nextInt();\n\t\t\tint T = sc.nextInt();\n\t\t\tint cnt = N/X;\n\t\t\t\n\t\t\tif(Math.floorMod(N,X)!=0) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(T*cnt);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\t\n\t\t\tint N = sc.nextInt();\n\t\t\tint X = sc.nextInt();\n\t\t\tint T = sc.nextInt();\n\t\t\tint cnt = N/X;\n\t\t\t\n\t\t\tif(Math.floorMod(N,X)!=0) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(T*cnt);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int T = sc.nextInt();",
"T",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int cnt = N/X;",
"cnt",
"N/X",
"N",
"X",
"if(Math.floorMod(N,X)!=0) {\n\t\t\t\tcnt++;\n\t\t\t}",
"Math.floorMod(N,X)!=0",
"Math.floorMod(N,X)",
"Math.floorMod",
"Math",
"N",
"X",
"0",
"{\n\t\t\t\tcnt++;\n\t\t\t}",
"cnt++",
"cnt",
"System.out.println(T*cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"T*cnt",
"T",
"cnt",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\t\n\t\t\tint N = sc.nextInt();\n\t\t\tint X = sc.nextInt();\n\t\t\tint T = sc.nextInt();\n\t\t\tint cnt = N/X;\n\t\t\t\n\t\t\tif(Math.floorMod(N,X)!=0) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(T*cnt);\n\t}\t\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\t\n\t\t\tint N = sc.nextInt();\n\t\t\tint X = sc.nextInt();\n\t\t\tint T = sc.nextInt();\n\t\t\tint cnt = N/X;\n\t\t\t\n\t\t\tif(Math.floorMod(N,X)!=0) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(T*cnt);\n\t}\t\n}",
"Main"
]
| import java.util.Scanner;
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 cnt = N/X;
if(Math.floorMod(N,X)!=0) {
cnt++;
}
System.out.println(T*cnt);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
]
| [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint N = ob.nextInt();\n\t\tint X = ob.nextInt();\n\t\tint T = ob.nextInt();\n\t\tint result = 0;\n\t\t\n\t\twhile(N > 0) {\n\t\t\tN -= X;\n\t\t\tresult += T;\n\t\t}\n\t\tSystem.out.println(result);\n\t\tob.close();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint N = ob.nextInt();\n\t\tint X = ob.nextInt();\n\t\tint T = ob.nextInt();\n\t\tint result = 0;\n\t\t\n\t\twhile(N > 0) {\n\t\t\tN -= X;\n\t\t\tresult += T;\n\t\t}\n\t\tSystem.out.println(result);\n\t\tob.close();\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint N = ob.nextInt();\n\t\tint X = ob.nextInt();\n\t\tint T = ob.nextInt();\n\t\tint result = 0;\n\t\t\n\t\twhile(N > 0) {\n\t\t\tN -= X;\n\t\t\tresult += T;\n\t\t}\n\t\tSystem.out.println(result);\n\t\tob.close();\n\t}",
"main",
"{\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint N = ob.nextInt();\n\t\tint X = ob.nextInt();\n\t\tint T = ob.nextInt();\n\t\tint result = 0;\n\t\t\n\t\twhile(N > 0) {\n\t\t\tN -= X;\n\t\t\tresult += T;\n\t\t}\n\t\tSystem.out.println(result);\n\t\tob.close();\n\t}",
"Scanner ob = new Scanner(System.in);",
"ob",
"new Scanner(System.in)",
"int N = ob.nextInt();",
"N",
"ob.nextInt()",
"ob.nextInt",
"ob",
"int X = ob.nextInt();",
"X",
"ob.nextInt()",
"ob.nextInt",
"ob",
"int T = ob.nextInt();",
"T",
"ob.nextInt()",
"ob.nextInt",
"ob",
"int result = 0;",
"result",
"0",
"while(N > 0) {\n\t\t\tN -= X;\n\t\t\tresult += T;\n\t\t}",
"N > 0",
"N",
"0",
"{\n\t\t\tN -= X;\n\t\t\tresult += T;\n\t\t}",
"N -= X",
"N",
"X",
"result += T",
"result",
"T",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"ob.close()",
"ob.close",
"ob",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint N = ob.nextInt();\n\t\tint X = ob.nextInt();\n\t\tint T = ob.nextInt();\n\t\tint result = 0;\n\t\t\n\t\twhile(N > 0) {\n\t\t\tN -= X;\n\t\t\tresult += T;\n\t\t}\n\t\tSystem.out.println(result);\n\t\tob.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint N = ob.nextInt();\n\t\tint X = ob.nextInt();\n\t\tint T = ob.nextInt();\n\t\tint result = 0;\n\t\t\n\t\twhile(N > 0) {\n\t\t\tN -= X;\n\t\t\tresult += T;\n\t\t}\n\t\tSystem.out.println(result);\n\t\tob.close();\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner ob = new Scanner(System.in);
int N = ob.nextInt();
int X = ob.nextInt();
int T = ob.nextInt();
int result = 0;
while(N > 0) {
N -= X;
result += T;
}
System.out.println(result);
ob.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
4,
18,
18,
13,
17,
41,
13,
4,
18,
13,
4,
18,
18,
13,
17,
41,
13,
4,
18,
13,
4,
18,
18,
13,
17,
41,
13,
4,
18,
13,
2,
13,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
78,
11
],
[
78,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
14,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
14,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
14,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
14,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
14,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
12,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n// int n=Integer.parseInt(br.readLine().trim());\n String[] s=br.readLine().split(\" \");\n int n=Integer.parseInt(s[0].trim());\n int x=Integer.parseInt(s[1].trim());\n int t=Integer.parseInt(s[2].trim());\n int ceil=(int)Math.ceil((float)n/x);\n// System.out.println(ceil);\n int res=ceil*t;\n// if(x==1){\n// res=n*t;\n// }\n System.out.println(res);\n\n\n\n\n\n// long[] a=new long[n];\n// long res=0;\n// for(int i=0;i<n;i++){\n// a[i]=Long.parseLong(s[i].trim());\n// }\n//\n// long last=a[0];\n// for(int i=1;i<n;i++){\n// if(a[i]<last){\n// res+=(last-a[i]);\n// }\n// last=Math.max(last,a[i]);\n// }\n// System.out.println(res);\n\n\n\n\n\n }\n\n\n\n\n\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n// int n=Integer.parseInt(br.readLine().trim());\n String[] s=br.readLine().split(\" \");\n int n=Integer.parseInt(s[0].trim());\n int x=Integer.parseInt(s[1].trim());\n int t=Integer.parseInt(s[2].trim());\n int ceil=(int)Math.ceil((float)n/x);\n// System.out.println(ceil);\n int res=ceil*t;\n// if(x==1){\n// res=n*t;\n// }\n System.out.println(res);\n\n\n\n\n\n// long[] a=new long[n];\n// long res=0;\n// for(int i=0;i<n;i++){\n// a[i]=Long.parseLong(s[i].trim());\n// }\n//\n// long last=a[0];\n// for(int i=1;i<n;i++){\n// if(a[i]<last){\n// res+=(last-a[i]);\n// }\n// last=Math.max(last,a[i]);\n// }\n// System.out.println(res);\n\n\n\n\n\n }\n\n\n\n\n\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n// int n=Integer.parseInt(br.readLine().trim());\n String[] s=br.readLine().split(\" \");\n int n=Integer.parseInt(s[0].trim());\n int x=Integer.parseInt(s[1].trim());\n int t=Integer.parseInt(s[2].trim());\n int ceil=(int)Math.ceil((float)n/x);\n// System.out.println(ceil);\n int res=ceil*t;\n// if(x==1){\n// res=n*t;\n// }\n System.out.println(res);\n\n\n\n\n\n// long[] a=new long[n];\n// long res=0;\n// for(int i=0;i<n;i++){\n// a[i]=Long.parseLong(s[i].trim());\n// }\n//\n// long last=a[0];\n// for(int i=1;i<n;i++){\n// if(a[i]<last){\n// res+=(last-a[i]);\n// }\n// last=Math.max(last,a[i]);\n// }\n// System.out.println(res);\n\n\n\n\n\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n// int n=Integer.parseInt(br.readLine().trim());\n String[] s=br.readLine().split(\" \");\n int n=Integer.parseInt(s[0].trim());\n int x=Integer.parseInt(s[1].trim());\n int t=Integer.parseInt(s[2].trim());\n int ceil=(int)Math.ceil((float)n/x);\n// System.out.println(ceil);\n int res=ceil*t;\n// if(x==1){\n// res=n*t;\n// }\n System.out.println(res);\n\n\n\n\n\n// long[] a=new long[n];\n// long res=0;\n// for(int i=0;i<n;i++){\n// a[i]=Long.parseLong(s[i].trim());\n// }\n//\n// long last=a[0];\n// for(int i=1;i<n;i++){\n// if(a[i]<last){\n// res+=(last-a[i]);\n// }\n// last=Math.max(last,a[i]);\n// }\n// System.out.println(res);\n\n\n\n\n\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] s=br.readLine().split(\" \");",
"s",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int n=Integer.parseInt(s[0].trim());",
"n",
"Integer.parseInt(s[0].trim())",
"Integer.parseInt",
"Integer",
"s[0].trim()",
"s[0].trim",
"s[0]",
"s",
"0",
"int x=Integer.parseInt(s[1].trim());",
"x",
"Integer.parseInt(s[1].trim())",
"Integer.parseInt",
"Integer",
"s[1].trim()",
"s[1].trim",
"s[1]",
"s",
"1",
"int t=Integer.parseInt(s[2].trim());",
"t",
"Integer.parseInt(s[2].trim())",
"Integer.parseInt",
"Integer",
"s[2].trim()",
"s[2].trim",
"s[2]",
"s",
"2",
"int ceil=(int)Math.ceil((float)n/x);",
"ceil",
"(int)Math.ceil((float)n/x)",
"Math.ceil",
"Math",
"(float)n/x",
"(float)n",
"x",
"int res=ceil*t;",
"res",
"ceil*t",
"ceil",
"t",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"public class Main {\n\n\n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n// int n=Integer.parseInt(br.readLine().trim());\n String[] s=br.readLine().split(\" \");\n int n=Integer.parseInt(s[0].trim());\n int x=Integer.parseInt(s[1].trim());\n int t=Integer.parseInt(s[2].trim());\n int ceil=(int)Math.ceil((float)n/x);\n// System.out.println(ceil);\n int res=ceil*t;\n// if(x==1){\n// res=n*t;\n// }\n System.out.println(res);\n\n\n\n\n\n// long[] a=new long[n];\n// long res=0;\n// for(int i=0;i<n;i++){\n// a[i]=Long.parseLong(s[i].trim());\n// }\n//\n// long last=a[0];\n// for(int i=1;i<n;i++){\n// if(a[i]<last){\n// res+=(last-a[i]);\n// }\n// last=Math.max(last,a[i]);\n// }\n// System.out.println(res);\n\n\n\n\n\n }\n\n\n\n\n\n\n}",
"public class Main {\n\n\n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n// int n=Integer.parseInt(br.readLine().trim());\n String[] s=br.readLine().split(\" \");\n int n=Integer.parseInt(s[0].trim());\n int x=Integer.parseInt(s[1].trim());\n int t=Integer.parseInt(s[2].trim());\n int ceil=(int)Math.ceil((float)n/x);\n// System.out.println(ceil);\n int res=ceil*t;\n// if(x==1){\n// res=n*t;\n// }\n System.out.println(res);\n\n\n\n\n\n// long[] a=new long[n];\n// long res=0;\n// for(int i=0;i<n;i++){\n// a[i]=Long.parseLong(s[i].trim());\n// }\n//\n// long last=a[0];\n// for(int i=1;i<n;i++){\n// if(a[i]<last){\n// res+=(last-a[i]);\n// }\n// last=Math.max(last,a[i]);\n// }\n// System.out.println(res);\n\n\n\n\n\n }\n\n\n\n\n\n\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
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().trim());
String[] s=br.readLine().split(" ");
int n=Integer.parseInt(s[0].trim());
int x=Integer.parseInt(s[1].trim());
int t=Integer.parseInt(s[2].trim());
int ceil=(int)Math.ceil((float)n/x);
// System.out.println(ceil);
int res=ceil*t;
// if(x==1){
// res=n*t;
// }
System.out.println(res);
// long[] a=new long[n];
// long res=0;
// for(int i=0;i<n;i++){
// a[i]=Long.parseLong(s[i].trim());
// }
//
// long last=a[0];
// for(int i=1;i<n;i++){
// if(a[i]<last){
// res+=(last-a[i]);
// }
// last=Math.max(last,a[i]);
// }
// System.out.println(res);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
4,
18,
13,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
72,
14
],
[
72,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
26,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
17,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
17,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
17,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
65,
67
],
[
61,
68
],
[
15,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.nio.charset.StandardCharsets;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n BufferedReader in = new BufferedReader(reader);\n String[] str = in.readLine().split(\" \");\n double n = Double.parseDouble(str[0]);\n double x = Double.parseDouble(str[1]);\n int t = Integer.parseInt(str[2]);\n System.out.println((int)Math.ceil(n/x)*t);\n\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.nio.charset.StandardCharsets;",
"StandardCharsets",
"java.nio.charset",
"public class Main {\n public static void main(String[] args) throws IOException {\n InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n BufferedReader in = new BufferedReader(reader);\n String[] str = in.readLine().split(\" \");\n double n = Double.parseDouble(str[0]);\n double x = Double.parseDouble(str[1]);\n int t = Integer.parseInt(str[2]);\n System.out.println((int)Math.ceil(n/x)*t);\n\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n BufferedReader in = new BufferedReader(reader);\n String[] str = in.readLine().split(\" \");\n double n = Double.parseDouble(str[0]);\n double x = Double.parseDouble(str[1]);\n int t = Integer.parseInt(str[2]);\n System.out.println((int)Math.ceil(n/x)*t);\n\n }",
"main",
"{\n InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n BufferedReader in = new BufferedReader(reader);\n String[] str = in.readLine().split(\" \");\n double n = Double.parseDouble(str[0]);\n double x = Double.parseDouble(str[1]);\n int t = Integer.parseInt(str[2]);\n System.out.println((int)Math.ceil(n/x)*t);\n\n }",
"InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);",
"reader",
"new InputStreamReader(System.in, StandardCharsets.UTF_8)",
"BufferedReader in = new BufferedReader(reader);",
"in",
"new BufferedReader(reader)",
"String[] str = in.readLine().split(\" \");",
"str",
"in.readLine().split(\" \")",
"in.readLine().split",
"in.readLine()",
"in.readLine",
"in",
"\" \"",
"double n = Double.parseDouble(str[0]);",
"n",
"Double.parseDouble(str[0])",
"Double.parseDouble",
"Double",
"str[0]",
"str",
"0",
"double x = Double.parseDouble(str[1]);",
"x",
"Double.parseDouble(str[1])",
"Double.parseDouble",
"Double",
"str[1]",
"str",
"1",
"int t = Integer.parseInt(str[2]);",
"t",
"Integer.parseInt(str[2])",
"Integer.parseInt",
"Integer",
"str[2]",
"str",
"2",
"System.out.println((int)Math.ceil(n/x)*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.ceil(n/x)*t",
"(int)Math.ceil(n/x)",
"Math.ceil",
"Math",
"n/x",
"n",
"x",
"t",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n BufferedReader in = new BufferedReader(reader);\n String[] str = in.readLine().split(\" \");\n double n = Double.parseDouble(str[0]);\n double x = Double.parseDouble(str[1]);\n int t = Integer.parseInt(str[2]);\n System.out.println((int)Math.ceil(n/x)*t);\n\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n BufferedReader in = new BufferedReader(reader);\n String[] str = in.readLine().split(\" \");\n double n = Double.parseDouble(str[0]);\n double x = Double.parseDouble(str[1]);\n int t = Integer.parseInt(str[2]);\n System.out.println((int)Math.ceil(n/x)*t);\n\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
public class Main {
public static void main(String[] args) throws IOException {
InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
BufferedReader in = new BufferedReader(reader);
String[] str = in.readLine().split(" ");
double n = Double.parseDouble(str[0]);
double x = Double.parseDouble(str[1]);
int t = Integer.parseInt(str[2]);
System.out.println((int)Math.ceil(n/x)*t);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
2,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
32,
39
],
[
6,
40
],
[
40,
41
]
]
| [
"import java.util.*;\n\nclass Main{\n\n public static void main(String args[]){\n\n Scanner s=new Scanner(System.in);\n double N=s.nextInt();\n double X=s.nextInt();\n int T=s.nextInt();\n System.out.println((int)(Math.ceil(N/X)*T));\n \n } \n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\n public static void main(String args[]){\n\n Scanner s=new Scanner(System.in);\n double N=s.nextInt();\n double X=s.nextInt();\n int T=s.nextInt();\n System.out.println((int)(Math.ceil(N/X)*T));\n \n } \n}",
"Main",
"public static void main(String args[]){\n\n Scanner s=new Scanner(System.in);\n double N=s.nextInt();\n double X=s.nextInt();\n int T=s.nextInt();\n System.out.println((int)(Math.ceil(N/X)*T));\n \n }",
"main",
"{\n\n Scanner s=new Scanner(System.in);\n double N=s.nextInt();\n double X=s.nextInt();\n int T=s.nextInt();\n System.out.println((int)(Math.ceil(N/X)*T));\n \n }",
"Scanner s=new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"double N=s.nextInt();",
"N",
"s.nextInt()",
"s.nextInt",
"s",
"double X=s.nextInt();",
"X",
"s.nextInt()",
"s.nextInt",
"s",
"int T=s.nextInt();",
"T",
"s.nextInt()",
"s.nextInt",
"s",
"System.out.println((int)(Math.ceil(N/X)*T))",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)(Math.ceil(N/X)*T)",
"Math.ceil(N/X)",
"Math.ceil",
"Math",
"N/X",
"N",
"X",
"T",
"String args[]",
"args"
]
| import java.util.*;
class Main{
public static void main(String args[]){
Scanner s=new Scanner(System.in);
double N=s.nextInt();
double X=s.nextInt();
int T=s.nextInt();
System.out.println((int)(Math.ceil(N/X)*T));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
13,
2,
4,
18,
13,
2,
13,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
70,
8
],
[
70,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
11,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
11,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
53,
60
],
[
11,
61
],
[
61,
62
],
[
62,
63
],
[
11,
64
],
[
64,
65
],
[
65,
66
],
[
9,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n int n=Integer.parseInt(str[0]);\n int x=Integer.parseInt(str[1]);\n int t=Integer.parseInt(str[2]);\n pw.println((int)Math.ceil((double)n/x)*t);\n pw.flush();\n pw.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n int n=Integer.parseInt(str[0]);\n int x=Integer.parseInt(str[1]);\n int t=Integer.parseInt(str[2]);\n pw.println((int)Math.ceil((double)n/x)*t);\n pw.flush();\n pw.close();\n }\n}",
"Main",
"public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n int n=Integer.parseInt(str[0]);\n int x=Integer.parseInt(str[1]);\n int t=Integer.parseInt(str[2]);\n pw.println((int)Math.ceil((double)n/x)*t);\n pw.flush();\n pw.close();\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n int n=Integer.parseInt(str[0]);\n int x=Integer.parseInt(str[1]);\n int t=Integer.parseInt(str[2]);\n pw.println((int)Math.ceil((double)n/x)*t);\n pw.flush();\n pw.close();\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter pw=new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"String str[]=br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int n=Integer.parseInt(str[0]);",
"n",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int x=Integer.parseInt(str[1]);",
"x",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"int t=Integer.parseInt(str[2]);",
"t",
"Integer.parseInt(str[2])",
"Integer.parseInt",
"Integer",
"str[2]",
"str",
"2",
"pw.println((int)Math.ceil((double)n/x)*t)",
"pw.println",
"pw",
"(int)Math.ceil((double)n/x)*t",
"(int)Math.ceil((double)n/x)",
"Math.ceil",
"Math",
"(double)n/x",
"(double)n",
"x",
"t",
"pw.flush()",
"pw.flush",
"pw",
"pw.close()",
"pw.close",
"pw",
"String args[]",
"args",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n int n=Integer.parseInt(str[0]);\n int x=Integer.parseInt(str[1]);\n int t=Integer.parseInt(str[2]);\n pw.println((int)Math.ceil((double)n/x)*t);\n pw.flush();\n pw.close();\n }\n}",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n int n=Integer.parseInt(str[0]);\n int x=Integer.parseInt(str[1]);\n int t=Integer.parseInt(str[2]);\n pw.println((int)Math.ceil((double)n/x)*t);\n pw.flush();\n pw.close();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main
{
public static void main(String args[])throws Exception
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
PrintWriter pw=new PrintWriter(System.out);
String str[]=br.readLine().split(" ");
int n=Integer.parseInt(str[0]);
int x=Integer.parseInt(str[1]);
int t=Integer.parseInt(str[2]);
pw.println((int)Math.ceil((double)n/x)*t);
pw.flush();
pw.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
0,
13,
13,
14,
2,
2,
13,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
14,
2,
4,
18,
13,
17,
17,
30,
0,
13,
17,
40,
13,
11,
1,
41,
13,
13,
2,
13,
4,
18,
13,
1,
40,
13,
30,
14,
2,
4,
18,
13,
13,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
20,
0,
13,
17,
30,
4,
18,
13,
4,
18,
13,
13,
14,
13,
0,
13,
17,
0,
13,
2,
4,
18,
13,
4,
18,
13,
13,
29,
2,
13,
8,
13,
40,
17,
17,
12,
13,
30,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
235,
17
],
[
235,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
20,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
20,
44
],
[
44,
45
],
[
44,
46
],
[
20,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
47,
53
],
[
53,
54
],
[
53,
55
],
[
20,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
18,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
64,
68
],
[
68,
69
],
[
64,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
70,
76
],
[
76,
77
],
[
64,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
81,
90
],
[
90,
91
],
[
90,
92
],
[
80,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
64,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
64,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
113,
114
],
[
64,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
64,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
124,
129
],
[
129,
130
],
[
129,
131
],
[
124,
132
],
[
132,
133
],
[
132,
134
],
[
124,
135
],
[
135,
136
],
[
135,
137
],
[
124,
138
],
[
138,
139
],
[
138,
140
],
[
124,
141
],
[
141,
142
],
[
141,
143
],
[
124,
144
],
[
144,
145
],
[
144,
146
],
[
124,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
148,
153
],
[
147,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
158,
159
],
[
124,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
160,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
160,
170
],
[
170,
171
],
[
171,
172
],
[
160,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
176,
179
],
[
175,
180
],
[
174,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
184,
187
],
[
187,
188
],
[
188,
189
],
[
181,
190
],
[
190,
191
],
[
190,
192
],
[
181,
193
],
[
193,
194
],
[
193,
195
],
[
174,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
197,
200
],
[
200,
201
],
[
201,
202
],
[
200,
203
],
[
196,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
206,
208
],
[
124,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
212,
215
],
[
215,
216
],
[
216,
217
],
[
211,
218
],
[
124,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
222,
226
],
[
64,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
0,
234
],
[
234,
235
],
[
234,
236
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.*;\n \npublic class Main {\n \n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n int n=s.nextInt(),x=s.nextInt(),t=s.nextInt();\n long sum = n/x;\n sum *= t;\n if(n%x!=0)sum+=t;\n System.out.println(sum);\n \n }\n \n}\n \n \n \n \nclass Scanner\n{\n StringTokenizer st;\n BufferedReader br;\n \n public Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n \n public String next() throws IOException\n {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n \n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n \n public String nextLine() throws IOException {return br.readLine();}\n \n public double nextDouble() throws IOException\n {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }\n \n public boolean ready() throws IOException {return br.ready();}\n \n \n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n int n=s.nextInt(),x=s.nextInt(),t=s.nextInt();\n long sum = n/x;\n sum *= t;\n if(n%x!=0)sum+=t;\n System.out.println(sum);\n \n }\n \n}",
"Main",
"public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n int n=s.nextInt(),x=s.nextInt(),t=s.nextInt();\n long sum = n/x;\n sum *= t;\n if(n%x!=0)sum+=t;\n System.out.println(sum);\n \n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n int n=s.nextInt(),x=s.nextInt(),t=s.nextInt();\n long sum = n/x;\n sum *= t;\n if(n%x!=0)sum+=t;\n System.out.println(sum);\n \n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int n=s.nextInt()",
"n",
"s.nextInt()",
"s.nextInt",
"s",
"x=s.nextInt()",
"x",
"s.nextInt()",
"s.nextInt",
"s",
"t=s.nextInt();",
"t",
"s.nextInt()",
"s.nextInt",
"s",
"long sum = n/x;",
"sum",
"n/x",
"n",
"x",
"sum *= t",
"sum",
"t",
"if(n%x!=0)sum+=t;",
"n%x!=0",
"n%x",
"n",
"x",
"0",
"sum+=t",
"sum",
"t",
"System.out.println(sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum",
"String[] args",
"args",
"class Scanner\n{\n StringTokenizer st;\n BufferedReader br;\n \n public Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n \n public String next() throws IOException\n {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n \n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n \n public String nextLine() throws IOException {return br.readLine();}\n \n public double nextDouble() throws IOException\n {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }\n \n public boolean ready() throws IOException {return br.ready();}\n \n \n}",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}",
"Scanner",
"{\tbr = new BufferedReader(new InputStreamReader(s));}",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public String next() throws IOException\n {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() throws IOException {return Integer.parseInt(next());}",
"nextInt",
"{return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException {return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public String nextLine() throws IOException {return br.readLine();}",
"nextLine",
"{return br.readLine();}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public double nextDouble() throws IOException\n {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }",
"nextDouble",
"{\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }",
"String x = next();",
"x",
"next()",
"next",
"StringBuilder sb = new StringBuilder(\"0\");",
"sb",
"new StringBuilder(\"0\")",
"double res = 0",
"res",
"0",
"f = 1;",
"f",
"1",
"boolean dec = false",
"dec",
"false",
"neg = false;",
"neg",
"false",
"int start = 0;",
"start",
"0",
"if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }",
"x.charAt(0) == '-'",
"x.charAt(0)",
"x.charAt",
"x",
"0",
"'-'",
"{\n neg = true;\n start++;\n }",
"neg = true",
"neg",
"true",
"start++",
"start",
"for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }",
"int i = start;",
"int i = start;",
"i",
"start",
"i < x.length()",
"i",
"x.length()",
"x.length",
"x",
"i++",
"i++",
"i",
"if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }",
"if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }",
"x.charAt(i) == '.'",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"'.'",
"{\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }",
"res = Long.parseLong(sb.toString())",
"res",
"Long.parseLong(sb.toString())",
"Long.parseLong",
"Long",
"sb.toString()",
"sb.toString",
"sb",
"sb = new StringBuilder(\"0\")",
"sb",
"new StringBuilder(\"0\")",
"dec = true",
"dec",
"true",
"{\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }",
"sb.append(x.charAt(i))",
"sb.append",
"sb",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"if(dec)\n f *= 10;",
"dec",
"f *= 10",
"f",
"10",
"res += Long.parseLong(sb.toString()) / f",
"res",
"Long.parseLong(sb.toString()) / f",
"Long.parseLong(sb.toString())",
"Long.parseLong",
"Long",
"sb.toString()",
"sb.toString",
"sb",
"f",
"return res * (neg?-1:1);",
"res * (neg?-1:1)",
"res",
"(neg?-1:1)",
"neg",
"-1",
"1",
"1",
"public boolean ready() throws IOException {return br.ready();}",
"ready",
"{return br.ready();}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n int n=s.nextInt(),x=s.nextInt(),t=s.nextInt();\n long sum = n/x;\n sum *= t;\n if(n%x!=0)sum+=t;\n System.out.println(sum);\n \n }\n \n}",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n int n=s.nextInt(),x=s.nextInt(),t=s.nextInt();\n long sum = n/x;\n sum *= t;\n if(n%x!=0)sum+=t;\n System.out.println(sum);\n \n }\n \n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
Scanner s = new Scanner(System.in);
int n=s.nextInt(),x=s.nextInt(),t=s.nextInt();
long sum = n/x;
sum *= t;
if(n%x!=0)sum+=t;
System.out.println(sum);
}
}
class Scanner
{
StringTokenizer st;
BufferedReader br;
public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}
public String next() throws IOException
{
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine());
return st.nextToken();
}
public int nextInt() throws IOException {return Integer.parseInt(next());}
public long nextLong() throws IOException {return Long.parseLong(next());}
public String nextLine() throws IOException {return br.readLine();}
public double nextDouble() throws IOException
{
String x = next();
StringBuilder sb = new StringBuilder("0");
double res = 0, f = 1;
boolean dec = false, neg = false;
int start = 0;
if(x.charAt(0) == '-')
{
neg = true;
start++;
}
for(int i = start; i < x.length(); i++)
if(x.charAt(i) == '.')
{
res = Long.parseLong(sb.toString());
sb = new StringBuilder("0");
dec = true;
}
else
{
sb.append(x.charAt(i));
if(dec)
f *= 10;
}
res += Long.parseLong(sb.toString()) / f;
return res * (neg?-1:1);
}
public boolean ready() throws IOException {return br.ready();}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
40,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint x = scan.nextInt();\n\t\tint t = scan.nextInt();\n\t\t\n\t\tint ans = 0;\n\t\tint a = n/x;\n\t\tint b = n%x;\n\t\t\n\t\t\n\t\tif(b == 0) {\n\t\t\tSystem.out.println(a*t);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(a*t+t);\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint x = scan.nextInt();\n\t\tint t = scan.nextInt();\n\t\t\n\t\tint ans = 0;\n\t\tint a = n/x;\n\t\tint b = n%x;\n\t\t\n\t\t\n\t\tif(b == 0) {\n\t\t\tSystem.out.println(a*t);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(a*t+t);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint x = scan.nextInt();\n\t\tint t = scan.nextInt();\n\t\t\n\t\tint ans = 0;\n\t\tint a = n/x;\n\t\tint b = n%x;\n\t\t\n\t\t\n\t\tif(b == 0) {\n\t\t\tSystem.out.println(a*t);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(a*t+t);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint x = scan.nextInt();\n\t\tint t = scan.nextInt();\n\t\t\n\t\tint ans = 0;\n\t\tint a = n/x;\n\t\tint b = n%x;\n\t\t\n\t\t\n\t\tif(b == 0) {\n\t\t\tSystem.out.println(a*t);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(a*t+t);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int t = scan.nextInt();",
"t",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int ans = 0;",
"ans",
"0",
"int a = n/x;",
"a",
"n/x",
"n",
"x",
"int b = n%x;",
"b",
"n%x",
"n",
"x",
"if(b == 0) {\n\t\t\tSystem.out.println(a*t);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(a*t+t);\n\t\t}",
"b == 0",
"b",
"0",
"{\n\t\t\tSystem.out.println(a*t);\n\t\t}",
"System.out.println(a*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*t",
"a",
"t",
"{\n\t\t\tSystem.out.println(a*t+t);\n\t\t}",
"System.out.println(a*t+t)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*t+t",
"a*t",
"a",
"t",
"t",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint x = scan.nextInt();\n\t\tint t = scan.nextInt();\n\t\t\n\t\tint ans = 0;\n\t\tint a = n/x;\n\t\tint b = n%x;\n\t\t\n\t\t\n\t\tif(b == 0) {\n\t\t\tSystem.out.println(a*t);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(a*t+t);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint x = scan.nextInt();\n\t\tint t = scan.nextInt();\n\t\t\n\t\tint ans = 0;\n\t\tint a = n/x;\n\t\tint b = n%x;\n\t\t\n\t\t\n\t\tif(b == 0) {\n\t\t\tSystem.out.println(a*t);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(a*t+t);\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int x = scan.nextInt();
int t = scan.nextInt();
int ans = 0;
int a = n/x;
int b = n%x;
if(b == 0) {
System.out.println(a*t);
}
else {
System.out.println(a*t+t);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
2,
2,
13,
13,
13,
14,
2,
2,
13,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
11,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
9,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
]
| [
"import java.util.*;\n\npublic class Main{\n static Scanner s = new Scanner(System.in);\n\n public static void main(String[] args){\n int n = s.nextInt(), x = s.nextInt(), t = s.nextInt();\n int count = 0;\n count = n / x * t;\n if (n % x > 0)\n count += t;\n\n System.out.println(count);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n static Scanner s = new Scanner(System.in);\n\n public static void main(String[] args){\n int n = s.nextInt(), x = s.nextInt(), t = s.nextInt();\n int count = 0;\n count = n / x * t;\n if (n % x > 0)\n count += t;\n\n System.out.println(count);\n }\n}",
"Main",
"static Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"public static void main(String[] args){\n int n = s.nextInt(), x = s.nextInt(), t = s.nextInt();\n int count = 0;\n count = n / x * t;\n if (n % x > 0)\n count += t;\n\n System.out.println(count);\n }",
"main",
"{\n int n = s.nextInt(), x = s.nextInt(), t = s.nextInt();\n int count = 0;\n count = n / x * t;\n if (n % x > 0)\n count += t;\n\n System.out.println(count);\n }",
"int n = s.nextInt()",
"n",
"s.nextInt()",
"s.nextInt",
"s",
"x = s.nextInt()",
"x",
"s.nextInt()",
"s.nextInt",
"s",
"t = s.nextInt();",
"t",
"s.nextInt()",
"s.nextInt",
"s",
"int count = 0;",
"count",
"0",
"count = n / x * t",
"count",
"n / x * t",
"n / x",
"n",
"x",
"t",
"if (n % x > 0)\n count += t;",
"n % x > 0",
"n % x",
"n",
"x",
"0",
"count += t",
"count",
"t",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main{\n static Scanner s = new Scanner(System.in);\n\n public static void main(String[] args){\n int n = s.nextInt(), x = s.nextInt(), t = s.nextInt();\n int count = 0;\n count = n / x * t;\n if (n % x > 0)\n count += t;\n\n System.out.println(count);\n }\n}",
"public class Main{\n static Scanner s = new Scanner(System.in);\n\n public static void main(String[] args){\n int n = s.nextInt(), x = s.nextInt(), t = s.nextInt();\n int count = 0;\n count = n / x * t;\n if (n % x > 0)\n count += t;\n\n System.out.println(count);\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
static Scanner s = new Scanner(System.in);
public static void main(String[] args){
int n = s.nextInt(), x = s.nextInt(), t = s.nextInt();
int count = 0;
count = n / x * t;
if (n % x > 0)
count += t;
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
13,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
2,
13,
17,
4,
18,
13,
13,
17,
0,
18,
13,
17,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
11,
1,
41,
13,
2,
13,
13,
2,
13,
18,
13,
13,
1,
0,
13,
13,
30,
30,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
13,
13,
40,
13,
30,
0,
13,
2,
13,
13,
0,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
498,
8
],
[
498,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
498,
14
],
[
14,
15
],
[
14,
16
],
[
498,
17
],
[
17,
18
],
[
17,
19
],
[
498,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
22,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
22,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
22,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
41,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
64,
70
],
[
20,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
84,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
89,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
83,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
73,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
110,
112
],
[
113,
114
],
[
113,
115
],
[
106,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
116,
120
],
[
106,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
106,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
130,
140
],
[
140,
141
],
[
141,
142
],
[
130,
143
],
[
144,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
145,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
156,
158
],
[
152,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
161,
163
],
[
152,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
152,
168
],
[
169,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
106,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
175,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
182,
184
],
[
175,
185
],
[
185,
186
],
[
186,
187
],
[
175,
188
],
[
189,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
191,
195
],
[
190,
196
],
[
196,
197
],
[
197,
198
],
[
196,
199
],
[
106,
200
],
[
200,
201
],
[
104,
202
],
[
202,
203
],
[
73,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
206,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
210,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
215,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
224,
226
],
[
221,
227
],
[
227,
228
],
[
215,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
232,
234
],
[
229,
235
],
[
235,
236
],
[
235,
237
],
[
206,
238
],
[
238,
239
],
[
204,
240
],
[
240,
241
],
[
204,
242
],
[
242,
243
],
[
73,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
247,
251
],
[
251,
252
],
[
252,
253
],
[
246,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
255,
258
],
[
258,
259
],
[
258,
260
],
[
244,
261
],
[
261,
262
],
[
244,
263
],
[
263,
264
],
[
73,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
268,
272
],
[
272,
273
],
[
273,
274
],
[
267,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
276,
279
],
[
279,
280
],
[
279,
281
],
[
265,
282
],
[
282,
283
],
[
265,
284
],
[
284,
285
],
[
73,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
288,
292
],
[
292,
293
],
[
292,
294
],
[
292,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
296,
299
],
[
288,
300
],
[
300,
301
],
[
301,
302
],
[
300,
303
],
[
288,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
304,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
311,
313
],
[
304,
314
],
[
314,
315
],
[
315,
316
],
[
304,
317
],
[
318,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
319,
323
],
[
323,
324
],
[
324,
325
],
[
323,
326
],
[
288,
327
],
[
327,
328
],
[
286,
329
],
[
329,
330
],
[
73,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
334,
335
],
[
334,
336
],
[
333,
337
],
[
337,
338
],
[
337,
339
],
[
337,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
341,
344
],
[
333,
345
],
[
345,
346
],
[
346,
347
],
[
345,
348
],
[
333,
349
],
[
349,
350
],
[
350,
351
],
[
351,
352
],
[
351,
353
],
[
349,
354
],
[
354,
355
],
[
354,
356
],
[
356,
357
],
[
357,
358
],
[
349,
359
],
[
359,
360
],
[
360,
361
],
[
349,
362
],
[
363,
363
],
[
363,
364
],
[
364,
365
],
[
365,
366
],
[
365,
367
],
[
364,
368
],
[
368,
369
],
[
369,
370
],
[
368,
371
],
[
333,
372
],
[
372,
373
],
[
331,
374
],
[
374,
375
],
[
73,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
378,
382
],
[
382,
383
],
[
382,
384
],
[
382,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
386,
389
],
[
378,
390
],
[
390,
391
],
[
391,
392
],
[
390,
393
],
[
378,
394
],
[
394,
395
],
[
395,
396
],
[
396,
397
],
[
396,
398
],
[
394,
399
],
[
399,
400
],
[
399,
401
],
[
401,
402
],
[
401,
403
],
[
394,
404
],
[
404,
405
],
[
405,
406
],
[
394,
407
],
[
408,
408
],
[
408,
409
],
[
409,
410
],
[
410,
411
],
[
410,
412
],
[
409,
413
],
[
413,
414
],
[
414,
415
],
[
413,
416
],
[
378,
417
],
[
417,
418
],
[
376,
419
],
[
419,
420
],
[
73,
421
],
[
421,
422
],
[
421,
423
],
[
423,
424
],
[
424,
425
],
[
425,
426
],
[
426,
427
],
[
425,
428
],
[
428,
429
],
[
73,
430
],
[
430,
431
],
[
430,
432
],
[
432,
433
],
[
433,
434
],
[
433,
435
],
[
432,
437
],
[
437,
438
],
[
438,
439
],
[
439,
440
],
[
439,
441
],
[
437,
442
],
[
442,
443
],
[
442,
444
],
[
437,
445
],
[
445,
446
],
[
446,
447
],
[
437,
448
],
[
448,
449
],
[
449,
450
],
[
450,
451
],
[
450,
452
],
[
449,
453
],
[
453,
454
],
[
432,
455
],
[
455,
456
],
[
430,
457
],
[
457,
458
],
[
73,
459
],
[
459,
460
],
[
459,
461
],
[
461,
462
],
[
462,
463
],
[
463,
464
],
[
464,
465
],
[
463,
466
],
[
466,
467
],
[
73,
468
],
[
468,
469
],
[
468,
470
],
[
470,
471
],
[
471,
472
],
[
471,
473
],
[
470,
475
],
[
475,
476
],
[
476,
477
],
[
477,
478
],
[
477,
479
],
[
475,
480
],
[
480,
481
],
[
480,
482
],
[
475,
483
],
[
483,
484
],
[
484,
485
],
[
475,
486
],
[
486,
487
],
[
487,
488
],
[
488,
489
],
[
488,
490
],
[
487,
491
],
[
491,
492
],
[
470,
493
],
[
493,
494
],
[
468,
495
],
[
495,
496
],
[
0,
497
],
[
497,
498
],
[
497,
499
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint n=fs.nextInt();\n\t\tint x=fs.nextInt();\n\t\tint t=fs.nextInt();\n\t\tif(n%x==0)\n\t\t{\n\t\t\tSystem.out.println((n/x)*t);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(((n/x)+1)*t);\n\t\t}\n\t\t\n\t}\n}\nclass FastScanner \n{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\t\tpublic String next() \n\t\t{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t\t\n\t\t}\n\t\tArrayList<Integer> sieve(int n)\n\t\t{\n\t\t\tArrayList<Integer> primes = new ArrayList<Integer>();\n\t\t\tboolean arr[]=new boolean[n+1];\n\t\t\tArrays.fill(arr,true);\n\t\t\tarr[0]=arr[1]=false;\n\t\t\tfor(int i=2;i*i<=n;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)primes.add(i);\n\t\t\t}\n\t\t\treturn primes;\n\t\t}\n\t\tlong pow(long x,long n)\n\t\t{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}\n\t\tint gcd(int a,int b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}\n\t\tlong longgcd(long a,long b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}\n\t\tint[] sort(int arr[])\n\t\t{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tchar[] charsort(char arr[])\n\t {\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }\n\t\tlong[] longsort(long arr[])\n\t\t{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tpublic int nextInt() \n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic int[] readArray(int n)\n\t\t{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}\t\n\t\tpublic long nextLong()\n\t\t{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic long[] longreadArray(int n) \n\t\t{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint n=fs.nextInt();\n\t\tint x=fs.nextInt();\n\t\tint t=fs.nextInt();\n\t\tif(n%x==0)\n\t\t{\n\t\t\tSystem.out.println((n/x)*t);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(((n/x)+1)*t);\n\t\t}\n\t\t\n\t}\n}",
"Main",
"static final int mod=(int)1e9+7;",
"mod",
"(int)1e9+7",
"(int)1e9",
"7",
"static final int inf=(int)1e9;",
"inf",
"(int)1e9",
"static final long INF=(long)1e18;",
"INF",
"(long)1e18",
"public static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint n=fs.nextInt();\n\t\tint x=fs.nextInt();\n\t\tint t=fs.nextInt();\n\t\tif(n%x==0)\n\t\t{\n\t\t\tSystem.out.println((n/x)*t);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(((n/x)+1)*t);\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tFastScanner fs=new FastScanner();\n\t\tint n=fs.nextInt();\n\t\tint x=fs.nextInt();\n\t\tint t=fs.nextInt();\n\t\tif(n%x==0)\n\t\t{\n\t\t\tSystem.out.println((n/x)*t);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(((n/x)+1)*t);\n\t\t}\n\t\t\n\t}",
"FastScanner fs=new FastScanner();",
"fs",
"new FastScanner()",
"int n=fs.nextInt();",
"n",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int x=fs.nextInt();",
"x",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int t=fs.nextInt();",
"t",
"fs.nextInt()",
"fs.nextInt",
"fs",
"if(n%x==0)\n\t\t{\n\t\t\tSystem.out.println((n/x)*t);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(((n/x)+1)*t);\n\t\t}",
"n%x==0",
"n%x",
"n",
"x",
"0",
"{\n\t\t\tSystem.out.println((n/x)*t);\n\t\t}",
"System.out.println((n/x)*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"(n/x)*t",
"(n/x)",
"n",
"x",
"t",
"{\n\t\t\tSystem.out.println(((n/x)+1)*t);\n\t\t}",
"System.out.println(((n/x)+1)*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"((n/x)+1)*t",
"((n/x)+1)",
"(n/x)",
"n",
"x",
"1",
"t",
"String[] args",
"args",
"class FastScanner \n{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\t\tpublic String next() \n\t\t{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t\t\n\t\t}\n\t\tArrayList<Integer> sieve(int n)\n\t\t{\n\t\t\tArrayList<Integer> primes = new ArrayList<Integer>();\n\t\t\tboolean arr[]=new boolean[n+1];\n\t\t\tArrays.fill(arr,true);\n\t\t\tarr[0]=arr[1]=false;\n\t\t\tfor(int i=2;i*i<=n;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)primes.add(i);\n\t\t\t}\n\t\t\treturn primes;\n\t\t}\n\t\tlong pow(long x,long n)\n\t\t{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}\n\t\tint gcd(int a,int b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}\n\t\tlong longgcd(long a,long b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}\n\t\tint[] sort(int arr[])\n\t\t{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tchar[] charsort(char arr[])\n\t {\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }\n\t\tlong[] longsort(long arr[])\n\t\t{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tpublic int nextInt() \n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic int[] readArray(int n)\n\t\t{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}\t\n\t\tpublic long nextLong()\n\t\t{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic long[] longreadArray(int n) \n\t\t{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n}",
"FastScanner",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"public String next() \n\t\t{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t\t\n\t\t}",
"next",
"{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t\t\n\t\t}",
"while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"ArrayList<Integer> sieve(int n)\n\t\t{\n\t\t\tArrayList<Integer> primes = new ArrayList<Integer>();\n\t\t\tboolean arr[]=new boolean[n+1];\n\t\t\tArrays.fill(arr,true);\n\t\t\tarr[0]=arr[1]=false;\n\t\t\tfor(int i=2;i*i<=n;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)primes.add(i);\n\t\t\t}\n\t\t\treturn primes;\n\t\t}",
"sieve",
"{\n\t\t\tArrayList<Integer> primes = new ArrayList<Integer>();\n\t\t\tboolean arr[]=new boolean[n+1];\n\t\t\tArrays.fill(arr,true);\n\t\t\tarr[0]=arr[1]=false;\n\t\t\tfor(int i=2;i*i<=n;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)primes.add(i);\n\t\t\t}\n\t\t\treturn primes;\n\t\t}",
"ArrayList<Integer> primes = new ArrayList<Integer>();",
"primes",
"new ArrayList<Integer>()",
"boolean arr[]=new boolean[n+1];",
"arr",
"new boolean[n+1]",
"n+1",
"n",
"1",
"Arrays.fill(arr,true)",
"Arrays.fill",
"Arrays",
"arr",
"true",
"arr[0]=arr[1]=false",
"arr[0]",
"arr",
"0",
"arr[1]=false",
"arr[1]",
"arr",
"1",
"false",
"for(int i=2;i*i<=n;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"int i=2;",
"int i=2;",
"i",
"2",
"i*i<=n",
"i*i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"if(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}",
"arr[i]==true",
"arr[i]",
"arr",
"i",
"true",
"{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}",
"for(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}",
"int j=i*i;",
"int j=i*i;",
"j",
"i*i",
"i",
"i",
"j<arr.length",
"j",
"arr.length",
"arr",
"arr.length",
"j+=i",
"j+=i",
"j",
"i",
"{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}",
"arr[j]=false",
"arr[j]",
"arr",
"j",
"false",
"for(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)primes.add(i);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(arr[i]==true)primes.add(i);\n\t\t\t}",
"{\n\t\t\t\tif(arr[i]==true)primes.add(i);\n\t\t\t}",
"if(arr[i]==true)primes.add(i);",
"arr[i]==true",
"arr[i]",
"arr",
"i",
"true",
"primes.add(i)",
"primes.add",
"primes",
"i",
"return primes;",
"primes",
"int n",
"n",
"long pow(long x,long n)\n\t\t{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}",
"pow",
"{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}",
"long res=1;",
"res",
"1",
"while(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}",
"n>0",
"n",
"0",
"{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}",
"if(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}",
"n%2!=0",
"n%2",
"n",
"2",
"0",
"{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}",
"res=(res*x)",
"res",
"(res*x)",
"res",
"x",
"n--",
"n",
"{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}",
"x=(x*x)",
"x",
"(x*x)",
"x",
"x",
"n/=2",
"n",
"2",
"return res;",
"res",
"long x",
"x",
"long n",
"n",
"int gcd(int a,int b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}",
"gcd",
"{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}",
"if(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}",
"b==0",
"b",
"0",
"{\n\t\t\t\treturn a;\n\t\t\t}",
"return a;",
"a",
"return gcd(b,a%b);",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"long longgcd(long a,long b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}",
"longgcd",
"{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}",
"if(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}",
"b==0",
"b",
"0",
"{\n\t\t\t\treturn a;\n\t\t\t}",
"return a;",
"a",
"return longgcd(b,a%b);",
"longgcd(b,a%b)",
"longgcd",
"b",
"a%b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"int[] sort(int arr[])\n\t\t{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"sort",
"{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for(int i:arr)list.add(i);",
"int i",
"arr",
"list.add(i);",
"list.add(i)",
"list.add",
"list",
"i",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"for(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}",
"{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}",
"arr[i]=list.get(i)",
"arr[i]",
"arr",
"i",
"list.get(i)",
"list.get",
"list",
"i",
"return arr;",
"arr",
"int arr[]",
"arr",
"char[] charsort(char arr[])\n\t {\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }",
"charsort",
"{\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }",
"ArrayList<Character> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"for(char c:arr)list.add(c);",
"char c",
"arr",
"list.add(c);",
"list.add(c)",
"list.add",
"list",
"c",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"for(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\t \t\tarr[i]=list.get(i);\n\t \t}",
"{\n\t \t\tarr[i]=list.get(i);\n\t \t}",
"arr[i]=list.get(i)",
"arr[i]",
"arr",
"i",
"list.get(i)",
"list.get",
"list",
"i",
"return arr;",
"arr",
"char arr[]",
"arr",
"long[] longsort(long arr[])\n\t\t{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"longsort",
"{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"ArrayList<Long> list = new ArrayList<Long>();",
"list",
"new ArrayList<Long>()",
"for(long i:arr)list.add(i);",
"long i",
"arr",
"list.add(i);",
"list.add(i)",
"list.add",
"list",
"i",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"for(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}",
"{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}",
"arr[i]=list.get(i)",
"arr[i]",
"arr",
"i",
"list.get(i)",
"list.get",
"list",
"i",
"return arr;",
"arr",
"long arr[]",
"arr",
"public int nextInt() \n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public int[] readArray(int n)\n\t\t{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}",
"readArray",
"{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}",
"int[] arr=new int[n];",
"arr",
"new int[n]",
"n",
"for (int i=0; i<n; i++) arr[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"arr[i]=nextInt();",
"arr[i]=nextInt()",
"arr[i]",
"arr",
"i",
"nextInt()",
"nextInt",
"return arr;",
"arr",
"int n",
"n",
"public long nextLong()\n\t\t{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public long[] longreadArray(int n) \n\t\t{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}",
"longreadArray",
"{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}",
"long[] a=new long[n];",
"a",
"new long[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextLong();",
"a[i]=nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"public class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint n=fs.nextInt();\n\t\tint x=fs.nextInt();\n\t\tint t=fs.nextInt();\n\t\tif(n%x==0)\n\t\t{\n\t\t\tSystem.out.println((n/x)*t);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(((n/x)+1)*t);\n\t\t}\n\t\t\n\t}\n}",
"public class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint n=fs.nextInt();\n\t\tint x=fs.nextInt();\n\t\tint t=fs.nextInt();\n\t\tif(n%x==0)\n\t\t{\n\t\t\tSystem.out.println((n/x)*t);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(((n/x)+1)*t);\n\t\t}\n\t\t\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main
{
static final int mod=(int)1e9+7;
static final int inf=(int)1e9;
static final long INF=(long)1e18;
public static void main(String[] args)
{
FastScanner fs=new FastScanner();
int n=fs.nextInt();
int x=fs.nextInt();
int t=fs.nextInt();
if(n%x==0)
{
System.out.println((n/x)*t);
}
else
{
System.out.println(((n/x)+1)*t);
}
}
}
class FastScanner
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer("");
public String next()
{
while (!st.hasMoreTokens())
try {
st=new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
ArrayList<Integer> sieve(int n)
{
ArrayList<Integer> primes = new ArrayList<Integer>();
boolean arr[]=new boolean[n+1];
Arrays.fill(arr,true);
arr[0]=arr[1]=false;
for(int i=2;i*i<=n;i++)
{
if(arr[i]==true)
{
for(int j=i*i;j<arr.length;j+=i)
{
arr[j]=false;
}
}
}
for(int i=0;i<arr.length;i++)
{
if(arr[i]==true)primes.add(i);
}
return primes;
}
long pow(long x,long n)
{
long res=1;
while(n>0)
{
if(n%2!=0)
{
res=(res*x);n--;
}
else
{
x=(x*x);n/=2;
}
}
return res;
}
int gcd(int a,int b)
{
if(b==0)
{
return a;
}
return gcd(b,a%b);
}
long longgcd(long a,long b)
{
if(b==0)
{
return a;
}
return longgcd(b,a%b);
}
int[] sort(int arr[])
{
ArrayList<Integer> list = new ArrayList<Integer>();
for(int i:arr)list.add(i);
Collections.sort(list);
for(int i=0;i<arr.length;i++)
{
arr[i]=list.get(i);
}
return arr;
}
char[] charsort(char arr[])
{
ArrayList<Character> list = new ArrayList<>();
for(char c:arr)list.add(c);
Collections.sort(list);
for(int i=0;i<list.size();i++)
{
arr[i]=list.get(i);
}
return arr;
}
long[] longsort(long arr[])
{
ArrayList<Long> list = new ArrayList<Long>();
for(long i:arr)list.add(i);
Collections.sort(list);
for(int i=0;i<arr.length;i++)
{
arr[i]=list.get(i);
}
return arr;
}
public int nextInt()
{
return Integer.parseInt(next());
}
public int[] readArray(int n)
{
int[] arr=new int[n];
for (int i=0; i<n; i++) arr[i]=nextInt();
return arr;
}
public long nextLong()
{
return Long.parseLong(next());
}
public long[] longreadArray(int n)
{
long[] a=new long[n];
for (int i=0; i<n; i++) a[i]=nextLong();
return a;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
2,
13,
13,
14,
2,
2,
13,
13,
17,
30,
40,
13,
4,
18,
18,
13,
13,
2,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int ans = 0;\n ans += n / x;\n if (n % x != 0) {\n ans++;\n }\n System.out.println(ans * t);\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int ans = 0;\n ans += n / x;\n if (n % x != 0) {\n ans++;\n }\n System.out.println(ans * t);\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int ans = 0;\n ans += n / x;\n if (n % x != 0) {\n ans++;\n }\n System.out.println(ans * t);\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int ans = 0;\n ans += n / x;\n if (n % x != 0) {\n ans++;\n }\n System.out.println(ans * t);\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = 0;",
"ans",
"0",
"ans += n / x",
"ans",
"n / x",
"n",
"x",
"if (n % x != 0) {\n ans++;\n }",
"n % x != 0",
"n % x",
"n",
"x",
"0",
"{\n ans++;\n }",
"ans++",
"ans",
"System.out.println(ans * t)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans * t",
"ans",
"t",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int ans = 0;\n ans += n / x;\n if (n % x != 0) {\n ans++;\n }\n System.out.println(ans * t);\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int ans = 0;\n ans += n / x;\n if (n % x != 0) {\n ans++;\n }\n System.out.println(ans * t);\n sc.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
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 ans = 0;
ans += n / x;
if (n % x != 0) {
ans++;
}
System.out.println(ans * t);
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
2,
2,
2,
2,
13,
17,
13,
17,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
134,
8
],
[
134,
9
],
[
9,
10
],
[
9,
11
],
[
134,
12
],
[
12,
13
],
[
12,
14
],
[
134,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
17,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
17,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
36,
44
],
[
17,
45
],
[
45,
46
],
[
46,
47
],
[
15,
48
],
[
48,
49
],
[
134,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
50,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
60,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
70,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
59,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
50,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
91,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
87,
104
],
[
104,
105
],
[
50,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
113,
114
],
[
50,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
122,
123
],
[
50,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
131,
132
],
[
0,
133
],
[
133,
134
],
[
133,
135
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n\tstatic FastReader f = new FastReader();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\n\tpublic static void main(String[] args) {\n\t\tlong n = f.nextInt(), x = f.nextInt(), t = f.nextInt();\n\t\tout.println(((n-1)/x+1)*t);\n\t\tout.close();\n\t}\n\t\t\n\n\tstatic class FastReader {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st;\n\n\t\tString next() {\n\t\t\twhile(st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch(IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tstatic FastReader f = new FastReader();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\n\tpublic static void main(String[] args) {\n\t\tlong n = f.nextInt(), x = f.nextInt(), t = f.nextInt();\n\t\tout.println(((n-1)/x+1)*t);\n\t\tout.close();\n\t}\n\t\t\n\n\tstatic class FastReader {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st;\n\n\t\tString next() {\n\t\t\twhile(st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch(IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}",
"Main",
"static FastReader f = new FastReader();",
"f",
"new FastReader()",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"public static void main(String[] args) {\n\t\tlong n = f.nextInt(), x = f.nextInt(), t = f.nextInt();\n\t\tout.println(((n-1)/x+1)*t);\n\t\tout.close();\n\t}",
"main",
"{\n\t\tlong n = f.nextInt(), x = f.nextInt(), t = f.nextInt();\n\t\tout.println(((n-1)/x+1)*t);\n\t\tout.close();\n\t}",
"long n = f.nextInt()",
"n",
"f.nextInt()",
"f.nextInt",
"f",
"x = f.nextInt()",
"x",
"f.nextInt()",
"f.nextInt",
"f",
"t = f.nextInt();",
"t",
"f.nextInt()",
"f.nextInt",
"f",
"out.println(((n-1)/x+1)*t)",
"out.println",
"out",
"((n-1)/x+1)*t",
"((n-1)/x+1)",
"(n-1)/x",
"(n-1)",
"n",
"1",
"x",
"1",
"t",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class FastReader {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st;\n\n\t\tString next() {\n\t\t\twhile(st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch(IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}",
"FastReader",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st;",
"st",
"String next() {\n\t\t\twhile(st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile(st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while(st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"String nextLine() {\n\t\t\tString str = \"\";\n\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch(IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}",
"nextLine",
"{\n\t\t\tString str = \"\";\n\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch(IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}",
"String str = \"\";",
"str",
"\"\"",
"try {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch(IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch(IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\tstr = br.readLine();\n\t\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n\tstatic FastReader f = new FastReader();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\n\tpublic static void main(String[] args) {\n\t\tlong n = f.nextInt(), x = f.nextInt(), t = f.nextInt();\n\t\tout.println(((n-1)/x+1)*t);\n\t\tout.close();\n\t}\n\t\t\n\n\tstatic class FastReader {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st;\n\n\t\tString next() {\n\t\t\twhile(st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch(IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}",
"public class Main {\n\tstatic FastReader f = new FastReader();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\n\tpublic static void main(String[] args) {\n\t\tlong n = f.nextInt(), x = f.nextInt(), t = f.nextInt();\n\t\tout.println(((n-1)/x+1)*t);\n\t\tout.close();\n\t}\n\t\t\n\n\tstatic class FastReader {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st;\n\n\t\tString next() {\n\t\t\twhile(st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch(IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
static FastReader f = new FastReader();
static PrintWriter out = new PrintWriter(System.out);
public static void main(String[] args) {
long n = f.nextInt(), x = f.nextInt(), t = f.nextInt();
out.println(((n-1)/x+1)*t);
out.close();
}
static class FastReader {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st;
String next() {
while(st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch(IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch(IOException e) {
e.printStackTrace();
}
return str;
}
int nextInt() {
return Integer.parseInt(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
long nextLong() {
return Long.parseLong(next());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
2,
13,
13,
17,
30,
0,
13,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int X=sc.nextInt();\n int T=sc.nextInt();\n \n int num1=N/X;\n if(N%X>=1){\n num1+=1;\n }\n \n int ans =num1*T;\n \n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int X=sc.nextInt();\n int T=sc.nextInt();\n \n int num1=N/X;\n if(N%X>=1){\n num1+=1;\n }\n \n int ans =num1*T;\n \n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int X=sc.nextInt();\n int T=sc.nextInt();\n \n int num1=N/X;\n if(N%X>=1){\n num1+=1;\n }\n \n int ans =num1*T;\n \n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int X=sc.nextInt();\n int T=sc.nextInt();\n \n int num1=N/X;\n if(N%X>=1){\n num1+=1;\n }\n \n int ans =num1*T;\n \n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N=sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X=sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int T=sc.nextInt();",
"T",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num1=N/X;",
"num1",
"N/X",
"N",
"X",
"if(N%X>=1){\n num1+=1;\n }",
"N%X>=1",
"N%X",
"N",
"X",
"1",
"{\n num1+=1;\n }",
"num1+=1",
"num1",
"1",
"int ans =num1*T;",
"ans",
"num1*T",
"num1",
"T",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int X=sc.nextInt();\n int T=sc.nextInt();\n \n int num1=N/X;\n if(N%X>=1){\n num1+=1;\n }\n \n int ans =num1*T;\n \n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int X=sc.nextInt();\n int T=sc.nextInt();\n \n int num1=N/X;\n if(N%X>=1){\n num1+=1;\n }\n \n int ans =num1*T;\n \n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int N=sc.nextInt();
int X=sc.nextInt();
int T=sc.nextInt();
int num1=N/X;
if(N%X>=1){
num1+=1;
}
int ans =num1*T;
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
]
| [
"\nimport java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\tint ans=(int)Math.ceil((double)n/x);\n\t\t//System.out.println(ans);\n\t\tSystem.out.println(ans*t);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\tint ans=(int)Math.ceil((double)n/x);\n\t\t//System.out.println(ans);\n\t\tSystem.out.println(ans*t);\n\t}\n}",
"Main",
"public static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\tint ans=(int)Math.ceil((double)n/x);\n\t\t//System.out.println(ans);\n\t\tSystem.out.println(ans*t);\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\tint ans=(int)Math.ceil((double)n/x);\n\t\t//System.out.println(ans);\n\t\tSystem.out.println(ans*t);\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t=sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans=(int)Math.ceil((double)n/x);",
"ans",
"(int)Math.ceil((double)n/x)",
"Math.ceil",
"Math",
"(double)n/x",
"(double)n",
"x",
"System.out.println(ans*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans*t",
"ans",
"t",
"String args[]",
"args",
"public class Main {\n\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\tint ans=(int)Math.ceil((double)n/x);\n\t\t//System.out.println(ans);\n\t\tSystem.out.println(ans*t);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\tint ans=(int)Math.ceil((double)n/x);\n\t\t//System.out.println(ans);\n\t\tSystem.out.println(ans*t);\n\t}\n}",
"Main"
]
|
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 ans=(int)Math.ceil((double)n/x);
//System.out.println(ans);
System.out.println(ans*t);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
81,
14
],
[
81,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
17,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
17,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
60,
66
],
[
50,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
15,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
]
| [
"import java.util.List;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n int n = Integer.parseInt(sn.next());\n int x = Integer.parseInt(sn.next());\n int t = Integer.parseInt(sn.next());\n int c = n % x;\n if (c > 0){\n System.out.println((n / x + 1)* t);\n } else {\n System.out.println((n / x )* t);\n }\n }\n}",
"import java.util.List;",
"List",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n int n = Integer.parseInt(sn.next());\n int x = Integer.parseInt(sn.next());\n int t = Integer.parseInt(sn.next());\n int c = n % x;\n if (c > 0){\n System.out.println((n / x + 1)* t);\n } else {\n System.out.println((n / x )* t);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n int n = Integer.parseInt(sn.next());\n int x = Integer.parseInt(sn.next());\n int t = Integer.parseInt(sn.next());\n int c = n % x;\n if (c > 0){\n System.out.println((n / x + 1)* t);\n } else {\n System.out.println((n / x )* t);\n }\n }",
"main",
"{\n Scanner sn = new Scanner(System.in);\n int n = Integer.parseInt(sn.next());\n int x = Integer.parseInt(sn.next());\n int t = Integer.parseInt(sn.next());\n int c = n % x;\n if (c > 0){\n System.out.println((n / x + 1)* t);\n } else {\n System.out.println((n / x )* t);\n }\n }",
"Scanner sn = new Scanner(System.in);",
"sn",
"new Scanner(System.in)",
"int n = Integer.parseInt(sn.next());",
"n",
"Integer.parseInt(sn.next())",
"Integer.parseInt",
"Integer",
"sn.next()",
"sn.next",
"sn",
"int x = Integer.parseInt(sn.next());",
"x",
"Integer.parseInt(sn.next())",
"Integer.parseInt",
"Integer",
"sn.next()",
"sn.next",
"sn",
"int t = Integer.parseInt(sn.next());",
"t",
"Integer.parseInt(sn.next())",
"Integer.parseInt",
"Integer",
"sn.next()",
"sn.next",
"sn",
"int c = n % x;",
"c",
"n % x",
"n",
"x",
"if (c > 0){\n System.out.println((n / x + 1)* t);\n } else {\n System.out.println((n / x )* t);\n }",
"c > 0",
"c",
"0",
"{\n System.out.println((n / x + 1)* t);\n }",
"System.out.println((n / x + 1)* t)",
"System.out.println",
"System.out",
"System",
"System.out",
"(n / x + 1)* t",
"(n / x + 1)",
"n / x",
"n",
"x",
"1",
"t",
"{\n System.out.println((n / x )* t);\n }",
"System.out.println((n / x )* t)",
"System.out.println",
"System.out",
"System",
"System.out",
"(n / x )* t",
"(n / x )",
"n",
"x",
"t",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n int n = Integer.parseInt(sn.next());\n int x = Integer.parseInt(sn.next());\n int t = Integer.parseInt(sn.next());\n int c = n % x;\n if (c > 0){\n System.out.println((n / x + 1)* t);\n } else {\n System.out.println((n / x )* t);\n }\n }\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n int n = Integer.parseInt(sn.next());\n int x = Integer.parseInt(sn.next());\n int t = Integer.parseInt(sn.next());\n int c = n % x;\n if (c > 0){\n System.out.println((n / x + 1)* t);\n } else {\n System.out.println((n / x )* t);\n }\n }\n}",
"Main"
]
| import java.util.List;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sn = new Scanner(System.in);
int n = Integer.parseInt(sn.next());
int x = Integer.parseInt(sn.next());
int t = Integer.parseInt(sn.next());
int c = n % x;
if (c > 0){
System.out.println((n / x + 1)* t);
} else {
System.out.println((n / x )* t);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
13,
14,
2,
2,
13,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
252,
35
],
[
252,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
38,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
38,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
38,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
38,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
64,
70
],
[
70,
71
],
[
70,
72
],
[
38,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
36,
79
],
[
79,
80
],
[
252,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
87,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
83,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
83,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
99,
109
],
[
109,
110
],
[
110,
111
],
[
99,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
81,
121
],
[
121,
122
],
[
252,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
125,
127
],
[
123,
128
],
[
128,
129
],
[
128,
130
],
[
123,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
134,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
139,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
133,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
123,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
161,
162
],
[
123,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
170,
175
],
[
175,
176
],
[
175,
177
],
[
170,
178
],
[
178,
179
],
[
179,
180
],
[
170,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
186,
187
],
[
165,
188
],
[
188,
189
],
[
163,
190
],
[
190,
191
],
[
123,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
199,
204
],
[
204,
205
],
[
204,
206
],
[
199,
207
],
[
207,
208
],
[
208,
209
],
[
199,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
211,
215
],
[
215,
216
],
[
194,
217
],
[
217,
218
],
[
192,
219
],
[
219,
220
],
[
123,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
225,
228
],
[
228,
229
],
[
123,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
232,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
236,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
232,
249
],
[
249,
250
],
[
0,
251
],
[
251,
252
],
[
251,
253
]
]
| [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.PriorityQueue;\nimport java.util.StringTokenizer;\n\n\n\npublic class Main{\n\t\n\n\n\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\t\n\t\tFastScanner sc=new FastScanner();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt(),t = sc.nextInt();\n\t\tint val = n/x * t;\n\t\tif(n%x != 0)\n\t\t\tval+=t;\n\t\tSystem.out.println(val);\n\t\t\n\t\t\n\t}\n\t\n\t\n\t\n\t\n \n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> l=new ArrayList<>();\n\t\tfor (int i:a) l.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i=0; i<a.length; i++) a[i]=l.get(i);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong[] readArrayLong(int n) {\n \tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n }\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tString nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.PriorityQueue;",
"PriorityQueue",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main{\n\t\n\n\n\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\t\n\t\tFastScanner sc=new FastScanner();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt(),t = sc.nextInt();\n\t\tint val = n/x * t;\n\t\tif(n%x != 0)\n\t\t\tval+=t;\n\t\tSystem.out.println(val);\n\t\t\n\t\t\n\t}\n\t\n\t\n\t\n\t\n \n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> l=new ArrayList<>();\n\t\tfor (int i:a) l.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i=0; i<a.length; i++) a[i]=l.get(i);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong[] readArrayLong(int n) {\n \tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n }\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tString nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t\n\t\t\n\t\tFastScanner sc=new FastScanner();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt(),t = sc.nextInt();\n\t\tint val = n/x * t;\n\t\tif(n%x != 0)\n\t\t\tval+=t;\n\t\tSystem.out.println(val);\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\t\n\t\tFastScanner sc=new FastScanner();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt(),t = sc.nextInt();\n\t\tint val = n/x * t;\n\t\tif(n%x != 0)\n\t\t\tval+=t;\n\t\tSystem.out.println(val);\n\t\t\n\t\t\n\t}",
"FastScanner sc=new FastScanner();",
"sc",
"new FastScanner()",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int val = n/x * t;",
"val",
"n/x * t",
"n/x",
"n",
"x",
"t",
"if(n%x != 0)\n\t\t\tval+=t;",
"n%x != 0",
"n%x",
"n",
"x",
"0",
"val+=t",
"val",
"t",
"System.out.println(val)",
"System.out.println",
"System.out",
"System",
"System.out",
"val",
"String[] args",
"args",
"static void sort(int[] a) {\n\t\tArrayList<Integer> l=new ArrayList<>();\n\t\tfor (int i:a) l.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i=0; i<a.length; i++) a[i]=l.get(i);\n\t}",
"sort",
"{\n\t\tArrayList<Integer> l=new ArrayList<>();\n\t\tfor (int i:a) l.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i=0; i<a.length; i++) a[i]=l.get(i);\n\t}",
"ArrayList<Integer> l=new ArrayList<>();",
"l",
"new ArrayList<>()",
"for (int i:a) l.add(i);",
"int i",
"a",
"l.add(i);",
"l.add(i)",
"l.add",
"l",
"i",
"Collections.sort(l)",
"Collections.sort",
"Collections",
"l",
"for (int i=0; i<a.length; i++) a[i]=l.get(i);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"a[i]=l.get(i);",
"a[i]=l.get(i)",
"a[i]",
"a",
"i",
"l.get(i)",
"l.get",
"l",
"i",
"int[] a",
"a",
"static class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong[] readArrayLong(int n) {\n \tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n }\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tString nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\t}",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"readArray",
"{\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long[] readArrayLong(int n) {\n \tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n }",
"readArrayLong",
"{\n \tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n }",
"long[] a=new long[n];",
"a",
"new long[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main{\n\t\n\n\n\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\t\n\t\tFastScanner sc=new FastScanner();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt(),t = sc.nextInt();\n\t\tint val = n/x * t;\n\t\tif(n%x != 0)\n\t\t\tval+=t;\n\t\tSystem.out.println(val);\n\t\t\n\t\t\n\t}\n\t\n\t\n\t\n\t\n \n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> l=new ArrayList<>();\n\t\tfor (int i:a) l.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i=0; i<a.length; i++) a[i]=l.get(i);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong[] readArrayLong(int n) {\n \tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n }\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tString nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\t}\n}",
"public class Main{\n\t\n\n\n\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\t\n\t\tFastScanner sc=new FastScanner();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt(),t = sc.nextInt();\n\t\tint val = n/x * t;\n\t\tif(n%x != 0)\n\t\t\tval+=t;\n\t\tSystem.out.println(val);\n\t\t\n\t\t\n\t}\n\t\n\t\n\t\n\t\n \n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> l=new ArrayList<>();\n\t\tfor (int i:a) l.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i=0; i<a.length; i++) a[i]=l.get(i);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong[] readArrayLong(int n) {\n \tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n }\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tString nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\t}\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.PriorityQueue;
import java.util.StringTokenizer;
public class Main{
public static void main(String[] args) throws IOException {
FastScanner sc=new FastScanner();
int n = sc.nextInt();
int x = sc.nextInt(),t = sc.nextInt();
int val = n/x * t;
if(n%x != 0)
val+=t;
System.out.println(val);
}
static void sort(int[] a) {
ArrayList<Integer> l=new ArrayList<>();
for (int i:a) l.add(i);
Collections.sort(l);
for (int i=0; i<a.length; i++) a[i]=l.get(i);
}
static class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
try {
st=new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a=new int[n];
for (int i=0; i<n; i++) a[i]=nextInt();
return a;
}
long[] readArrayLong(int n) {
long[] a=new long[n];
for (int i=0; i<n; i++) a[i]=nextInt();
return a;
}
long nextLong() {
return Long.parseLong(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
41,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
2,
2,
2,
2,
13,
13,
17,
13,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
8,
4,
18,
13,
18,
13,
13,
20,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
4,
18,
20,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
20,
0,
18,
36,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
192,
29
],
[
192,
30
],
[
30,
31
],
[
30,
32
],
[
192,
33
],
[
33,
34
],
[
192,
35
],
[
35,
36
],
[
192,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
39,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
59,
65
],
[
58,
66
],
[
192,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
69,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
67,
80
],
[
80,
81
],
[
67,
82
],
[
82,
83
],
[
192,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
89,
93
],
[
93,
94
],
[
93,
95
],
[
89,
96
],
[
86,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
99,
101
],
[
86,
102
],
[
102,
103
],
[
102,
104
],
[
86,
105
],
[
105,
106
],
[
105,
107
],
[
86,
108
],
[
108,
109
],
[
109,
110
],
[
86,
111
],
[
111,
112
],
[
112,
113
],
[
84,
114
],
[
114,
115
],
[
192,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
116,
120
],
[
120,
121
],
[
116,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
124,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
122,
135
],
[
135,
136
],
[
116,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
140,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
150,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
139,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
116,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
171,
172
],
[
116,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
177,
180
],
[
180,
181
],
[
116,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
189,
190
],
[
0,
191
],
[
191,
192
],
[
191,
193
]
]
| [
"\nimport java.io.BufferedReader;\nimport java.io.File;\nimport java.io.FileInputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n private static final String INPUT_FILE_PATH = \"\";\n\n void solve() {\n int n = in.nextInt(), x = in.nextInt(), t = in.nextInt();\n out.println((x + n - 1) / x * t);\n }\n\n private final InputReader in;\n private final PrintWriter out;\n\n private Main(InputReader in, PrintWriter out) {\n this.in = in;\n this.out = out;\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n new Main(inputReader, printWriter).solve();\n\n printWriter.close();\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.File;",
"File",
"java.io",
"import java.io.FileInputStream;",
"FileInputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n private static final String INPUT_FILE_PATH = \"\";\n\n void solve() {\n int n = in.nextInt(), x = in.nextInt(), t = in.nextInt();\n out.println((x + n - 1) / x * t);\n }\n\n private final InputReader in;\n private final PrintWriter out;\n\n private Main(InputReader in, PrintWriter out) {\n this.in = in;\n this.out = out;\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n new Main(inputReader, printWriter).solve();\n\n printWriter.close();\n }\n\n}",
"Main",
"private static final String INPUT_FILE_PATH = \"\";",
"INPUT_FILE_PATH",
"\"\"",
"private final InputReader in;",
"in",
"private final PrintWriter out;",
"out",
"void solve() {\n int n = in.nextInt(), x = in.nextInt(), t = in.nextInt();\n out.println((x + n - 1) / x * t);\n }",
"solve",
"{\n int n = in.nextInt(), x = in.nextInt(), t = in.nextInt();\n out.println((x + n - 1) / x * t);\n }",
"int n = in.nextInt()",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"x = in.nextInt()",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"t = in.nextInt();",
"t",
"in.nextInt()",
"in.nextInt",
"in",
"out.println((x + n - 1) / x * t)",
"out.println",
"out",
"(x + n - 1) / x * t",
"(x + n - 1) / x",
"(x + n - 1)",
"x + n",
"x",
"n",
"1",
"x",
"t",
"private Main(InputReader in, PrintWriter out) {\n this.in = in;\n this.out = out;\n }",
"Main",
"{\n this.in = in;\n this.out = out;\n }",
"this.in = in",
"this.in",
"this",
"this.in",
"in",
"this.out = out",
"this.out",
"this",
"this.out",
"out",
"InputReader in",
"in",
"PrintWriter out",
"out",
"public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n new Main(inputReader, printWriter).solve();\n\n printWriter.close();\n }",
"main",
"{\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n new Main(inputReader, printWriter).solve();\n\n printWriter.close();\n }",
"InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));",
"inputStream",
"INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH))",
"INPUT_FILE_PATH.isEmpty()",
"INPUT_FILE_PATH.isEmpty",
"INPUT_FILE_PATH",
"System.in",
"System",
"System.in",
"new FileInputStream(new File(INPUT_FILE_PATH))",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader inputReader = new InputReader(inputStream);",
"inputReader",
"new InputReader(inputStream)",
"PrintWriter printWriter = new PrintWriter(outputStream);",
"printWriter",
"new PrintWriter(outputStream)",
"new Main(inputReader, printWriter).solve()",
"new Main(inputReader, printWriter).solve",
"new Main(inputReader, printWriter)",
"printWriter.close()",
"printWriter.close",
"printWriter",
"String[] args",
"args",
"private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }",
"InputReader",
"private BufferedReader br;",
"br",
"private StringTokenizer st;",
"st",
"public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }",
"InputReader",
"{\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }",
"this.br = new BufferedReader(new InputStreamReader(inputStream), 32768)",
"this.br",
"this",
"this.br",
"new BufferedReader(new InputStreamReader(inputStream), 32768)",
"this.st = null",
"this.st",
"this",
"this.st",
"null",
"InputStream inputStream",
"inputStream",
"public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"nextToken",
"{\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() {\n return Integer.parseInt(nextToken());\n }",
"nextInt",
"{\n return Integer.parseInt(nextToken());\n }",
"return Integer.parseInt(nextToken());",
"Integer.parseInt(nextToken())",
"Integer.parseInt",
"Integer",
"nextToken()",
"nextToken",
"public long nextLong() {\n return Long.parseLong(nextToken());\n }",
"nextLong",
"{\n return Long.parseLong(nextToken());\n }",
"return Long.parseLong(nextToken());",
"Long.parseLong(nextToken())",
"Long.parseLong",
"Long",
"nextToken()",
"nextToken",
"public double nextDouble() {\n return Double.parseDouble(nextToken());\n }",
"nextDouble",
"{\n return Double.parseDouble(nextToken());\n }",
"return Double.parseDouble(nextToken());",
"Double.parseDouble(nextToken())",
"Double.parseDouble",
"Double",
"nextToken()",
"nextToken",
"public class Main {\n\n private static final String INPUT_FILE_PATH = \"\";\n\n void solve() {\n int n = in.nextInt(), x = in.nextInt(), t = in.nextInt();\n out.println((x + n - 1) / x * t);\n }\n\n private final InputReader in;\n private final PrintWriter out;\n\n private Main(InputReader in, PrintWriter out) {\n this.in = in;\n this.out = out;\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n new Main(inputReader, printWriter).solve();\n\n printWriter.close();\n }\n\n}",
"public class Main {\n\n private static final String INPUT_FILE_PATH = \"\";\n\n void solve() {\n int n = in.nextInt(), x = in.nextInt(), t = in.nextInt();\n out.println((x + n - 1) / x * t);\n }\n\n private final InputReader in;\n private final PrintWriter out;\n\n private Main(InputReader in, PrintWriter out) {\n this.in = in;\n this.out = out;\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n new Main(inputReader, printWriter).solve();\n\n printWriter.close();\n }\n\n}",
"Main"
]
|
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 INPUT_FILE_PATH = "";
void solve() {
int n = in.nextInt(), x = in.nextInt(), t = in.nextInt();
out.println((x + n - 1) / x * t);
}
private final InputReader in;
private final PrintWriter out;
private Main(InputReader in, PrintWriter out) {
this.in = in;
this.out = out;
}
private static class InputReader {
private BufferedReader br;
private StringTokenizer st;
public InputReader(InputStream inputStream) {
this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);
this.st = null;
}
public String nextToken() {
while (st == null || !st.hasMoreTokens()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return st.nextToken();
}
public int nextInt() {
return Integer.parseInt(nextToken());
}
public long nextLong() {
return Long.parseLong(nextToken());
}
public double nextDouble() {
return Double.parseDouble(nextToken());
}
}
public static void main(String[] args) throws Exception {
InputStream inputStream = INPUT_FILE_PATH.isEmpty()
? System.in
: new FileInputStream(new File(INPUT_FILE_PATH));
OutputStream outputStream = System.out;
InputReader inputReader = new InputReader(inputStream);
PrintWriter printWriter = new PrintWriter(outputStream);
new Main(inputReader, printWriter).solve();
printWriter.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
37,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\t\n\t\tint i=n%x;\n\t\tint j=n/x;\n\t\tif(i==0) {\n\t\t\tSystem.out.println(t*j);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(t*j+t);\n\t\t}\n\t\tsc.close();\n\t\t\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\t\n\t\tint i=n%x;\n\t\tint j=n/x;\n\t\tif(i==0) {\n\t\t\tSystem.out.println(t*j);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(t*j+t);\n\t\t}\n\t\tsc.close();\n\t\t\t\t\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\t\n\t\tint i=n%x;\n\t\tint j=n/x;\n\t\tif(i==0) {\n\t\t\tSystem.out.println(t*j);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(t*j+t);\n\t\t}\n\t\tsc.close();\n\t\t\t\t\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\t\n\t\tint i=n%x;\n\t\tint j=n/x;\n\t\tif(i==0) {\n\t\t\tSystem.out.println(t*j);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(t*j+t);\n\t\t}\n\t\tsc.close();\n\t\t\t\t\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t=sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int i=n%x;",
"i",
"n%x",
"n",
"x",
"int j=n/x;",
"j",
"n/x",
"n",
"x",
"if(i==0) {\n\t\t\tSystem.out.println(t*j);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(t*j+t);\n\t\t}",
"i==0",
"i",
"0",
"{\n\t\t\tSystem.out.println(t*j);\n\t\t}",
"System.out.println(t*j)",
"System.out.println",
"System.out",
"System",
"System.out",
"t*j",
"t",
"j",
"{\n\t\t\tSystem.out.println(t*j+t);\n\t\t}",
"System.out.println(t*j+t)",
"System.out.println",
"System.out",
"System",
"System.out",
"t*j+t",
"t*j",
"t",
"j",
"t",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\t\n\t\tint i=n%x;\n\t\tint j=n/x;\n\t\tif(i==0) {\n\t\t\tSystem.out.println(t*j);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(t*j+t);\n\t\t}\n\t\tsc.close();\n\t\t\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\t\n\t\tint i=n%x;\n\t\tint j=n/x;\n\t\tif(i==0) {\n\t\t\tSystem.out.println(t*j);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(t*j+t);\n\t\t}\n\t\tsc.close();\n\t\t\t\t\n\t}\n}",
"Main"
]
| import java.util.Scanner;
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 i=n%x;
int j=n/x;
if(i==0) {
System.out.println(t*j);
}
else {
System.out.println(t*j+t);
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
4,
18,
13,
17,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
32,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint N = stdIn.nextInt();\n\t\tint X = stdIn.nextInt();\n\t\tint T = stdIn.nextInt();\n\t\tSystem.out.println((N / X + Math.min(1, N % X)) * T);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint N = stdIn.nextInt();\n\t\tint X = stdIn.nextInt();\n\t\tint T = stdIn.nextInt();\n\t\tSystem.out.println((N / X + Math.min(1, N % X)) * T);\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint N = stdIn.nextInt();\n\t\tint X = stdIn.nextInt();\n\t\tint T = stdIn.nextInt();\n\t\tSystem.out.println((N / X + Math.min(1, N % X)) * T);\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint N = stdIn.nextInt();\n\t\tint X = stdIn.nextInt();\n\t\tint T = stdIn.nextInt();\n\t\tSystem.out.println((N / X + Math.min(1, N % X)) * T);\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int N = stdIn.nextInt();",
"N",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int X = stdIn.nextInt();",
"X",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int T = stdIn.nextInt();",
"T",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"System.out.println((N / X + Math.min(1, N % X)) * T)",
"System.out.println",
"System.out",
"System",
"System.out",
"(N / X + Math.min(1, N % X)) * T",
"(N / X + Math.min(1, N % X))",
"N / X",
"N",
"X",
"Math.min(1, N % X)",
"Math.min",
"Math",
"1",
"N % X",
"N",
"X",
"T",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint N = stdIn.nextInt();\n\t\tint X = stdIn.nextInt();\n\t\tint T = stdIn.nextInt();\n\t\tSystem.out.println((N / X + Math.min(1, N % X)) * T);\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint N = stdIn.nextInt();\n\t\tint X = stdIn.nextInt();\n\t\tint T = stdIn.nextInt();\n\t\tSystem.out.println((N / X + Math.min(1, N % X)) * T);\n\t}\n}",
"Main"
]
| 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();
System.out.println((N / X + Math.min(1, N % X)) * T);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
2,
13,
13,
17,
30,
40,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
74,
14
],
[
74,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
17,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
17,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
17,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
17,
62
],
[
62,
63
],
[
62,
64
],
[
17,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
15,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
]
| [
"//package Div2_655;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int n=Integer.parseInt(st.nextToken());\n int x=Integer.parseInt(st.nextToken());\n int t=Integer.parseInt(st.nextToken());\n int ans=n/x;\n if(n%x!=0){\n ans++;\n }\n ans*=t;\n System.out.println(ans);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int n=Integer.parseInt(st.nextToken());\n int x=Integer.parseInt(st.nextToken());\n int t=Integer.parseInt(st.nextToken());\n int ans=n/x;\n if(n%x!=0){\n ans++;\n }\n ans*=t;\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int n=Integer.parseInt(st.nextToken());\n int x=Integer.parseInt(st.nextToken());\n int t=Integer.parseInt(st.nextToken());\n int ans=n/x;\n if(n%x!=0){\n ans++;\n }\n ans*=t;\n System.out.println(ans);\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int n=Integer.parseInt(st.nextToken());\n int x=Integer.parseInt(st.nextToken());\n int t=Integer.parseInt(st.nextToken());\n int ans=n/x;\n if(n%x!=0){\n ans++;\n }\n ans*=t;\n System.out.println(ans);\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int n=Integer.parseInt(st.nextToken());",
"n",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int x=Integer.parseInt(st.nextToken());",
"x",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int t=Integer.parseInt(st.nextToken());",
"t",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int ans=n/x;",
"ans",
"n/x",
"n",
"x",
"if(n%x!=0){\n ans++;\n }",
"n%x!=0",
"n%x",
"n",
"x",
"0",
"{\n ans++;\n }",
"ans++",
"ans",
"ans*=t",
"ans",
"t",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int n=Integer.parseInt(st.nextToken());\n int x=Integer.parseInt(st.nextToken());\n int t=Integer.parseInt(st.nextToken());\n int ans=n/x;\n if(n%x!=0){\n ans++;\n }\n ans*=t;\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int n=Integer.parseInt(st.nextToken());\n int x=Integer.parseInt(st.nextToken());\n int t=Integer.parseInt(st.nextToken());\n int ans=n/x;\n if(n%x!=0){\n ans++;\n }\n ans*=t;\n System.out.println(ans);\n }\n}",
"Main"
]
| //package Div2_655;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args)throws IOException {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer(br.readLine());
int n=Integer.parseInt(st.nextToken());
int x=Integer.parseInt(st.nextToken());
int t=Integer.parseInt(st.nextToken());
int ans=n/x;
if(n%x!=0){
ans++;
}
ans*=t;
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
2,
13,
13,
17,
30,
40,
13,
4,
18,
18,
13,
13,
2,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
]
| [
"// ๆๅบๆใซๆถใ\n// package app;\n\nimport java.util.Scanner;\n\n// ๆๅบๆใซMainใซๅคๆดใใ\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int kaisu = n / x;\n if (n % x > 0) {\n kaisu++;\n }\n\n System.out.println(t * kaisu);\n\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int kaisu = n / x;\n if (n % x > 0) {\n kaisu++;\n }\n\n System.out.println(t * kaisu);\n\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int kaisu = n / x;\n if (n % x > 0) {\n kaisu++;\n }\n\n System.out.println(t * kaisu);\n\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int kaisu = n / x;\n if (n % x > 0) {\n kaisu++;\n }\n\n System.out.println(t * kaisu);\n\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int kaisu = n / x;",
"kaisu",
"n / x",
"n",
"x",
"if (n % x > 0) {\n kaisu++;\n }",
"n % x > 0",
"n % x",
"n",
"x",
"0",
"{\n kaisu++;\n }",
"kaisu++",
"kaisu",
"System.out.println(t * kaisu)",
"System.out.println",
"System.out",
"System",
"System.out",
"t * kaisu",
"t",
"kaisu",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int kaisu = n / x;\n if (n % x > 0) {\n kaisu++;\n }\n\n System.out.println(t * kaisu);\n\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int kaisu = n / x;\n if (n % x > 0) {\n kaisu++;\n }\n\n System.out.println(t * kaisu);\n\n sc.close();\n }\n}",
"Main"
]
| // ๆๅบๆใซๆถใ
// package app;
import java.util.Scanner;
// ๆๅบๆใซMainใซๅคๆดใใ
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int x = sc.nextInt();
int t = sc.nextInt();
int kaisu = n / x;
if (n % x > 0) {
kaisu++;
}
System.out.println(t * kaisu);
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
2,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
13,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
86,
26
],
[
86,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
29,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
29,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
29,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
53,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
76,
82
],
[
27,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
]
| [
"import java.io.BufferedReader;\nimport java.io.*;\nimport java.util.*;\nimport java.util.ArrayList;\nimport java.util.Iterator;\nimport java.util.List;\nimport java.util.Collections;\nimport java.util.Arrays;\n\npublic class Main {\n\tpublic static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n //final List<Long> list = new ArrayList<>();\n //final List<Long> list2 = new ArrayList<>();\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int a = n / x ;\n if(n % x == 0){\n System.out.println(n / x * t);\n }else{\n System.out.println((n / x + 1) * t);\n }\n\n \n\n\n\n\n\n}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Iterator;",
"Iterator",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\tpublic static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n //final List<Long> list = new ArrayList<>();\n //final List<Long> list2 = new ArrayList<>();\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int a = n / x ;\n if(n % x == 0){\n System.out.println(n / x * t);\n }else{\n System.out.println((n / x + 1) * t);\n }\n\n \n\n\n\n\n\n}\n}",
"Main",
"public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n //final List<Long> list = new ArrayList<>();\n //final List<Long> list2 = new ArrayList<>();\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int a = n / x ;\n if(n % x == 0){\n System.out.println(n / x * t);\n }else{\n System.out.println((n / x + 1) * t);\n }\n\n \n\n\n\n\n\n}",
"main",
"{\n \n final Scanner sc = new Scanner(System.in);\n //final List<Long> list = new ArrayList<>();\n //final List<Long> list2 = new ArrayList<>();\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int a = n / x ;\n if(n % x == 0){\n System.out.println(n / x * t);\n }else{\n System.out.println((n / x + 1) * t);\n }\n\n \n\n\n\n\n\n}",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int a = n / x ;",
"a",
"n / x",
"n",
"x",
"if(n % x == 0){\n System.out.println(n / x * t);\n }else{\n System.out.println((n / x + 1) * t);\n }",
"n % x == 0",
"n % x",
"n",
"x",
"0",
"{\n System.out.println(n / x * t);\n }",
"System.out.println(n / x * t)",
"System.out.println",
"System.out",
"System",
"System.out",
"n / x * t",
"n / x",
"n",
"x",
"t",
"{\n System.out.println((n / x + 1) * t);\n }",
"System.out.println((n / x + 1) * t)",
"System.out.println",
"System.out",
"System",
"System.out",
"(n / x + 1) * t",
"(n / x + 1)",
"n / x",
"n",
"x",
"1",
"t",
"final String[] args",
"args",
"public class Main {\n\tpublic static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n //final List<Long> list = new ArrayList<>();\n //final List<Long> list2 = new ArrayList<>();\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int a = n / x ;\n if(n % x == 0){\n System.out.println(n / x * t);\n }else{\n System.out.println((n / x + 1) * t);\n }\n\n \n\n\n\n\n\n}\n}",
"public class Main {\n\tpublic static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n //final List<Long> list = new ArrayList<>();\n //final List<Long> list2 = new ArrayList<>();\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int a = n / x ;\n if(n % x == 0){\n System.out.println(n / x * t);\n }else{\n System.out.println((n / x + 1) * t);\n }\n\n \n\n\n\n\n\n}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.*;
import java.util.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Collections;
import java.util.Arrays;
public class Main {
public static void main(final String[] args){
final Scanner sc = new Scanner(System.in);
//final List<Long> list = new ArrayList<>();
//final List<Long> list2 = new ArrayList<>();
int n = sc.nextInt();
int x = sc.nextInt();
int t = sc.nextInt();
int a = n / x ;
if(n % x == 0){
System.out.println(n / x * t);
}else{
System.out.println((n / x + 1) * t);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
13,
41,
13,
13,
42,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
205,
23
],
[
205,
24
],
[
24,
25
],
[
24,
26
],
[
205,
27
],
[
27,
28
],
[
27,
29
],
[
205,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
32,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
32,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
32,
51
],
[
51,
52
],
[
51,
53
],
[
32,
54
],
[
54,
55
],
[
54,
56
],
[
32,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
32,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
30,
74
],
[
74,
75
],
[
205,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
84,
92
],
[
92,
93
],
[
93,
94
],
[
84,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
96,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
105,
107
],
[
96,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
112,
114
],
[
96,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
78,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
76,
124
],
[
124,
125
],
[
205,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
131,
132
],
[
131,
133
],
[
126,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
137,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
142,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
136,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
126,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
164,
165
],
[
126,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
173,
178
],
[
178,
179
],
[
178,
180
],
[
173,
181
],
[
181,
182
],
[
182,
183
],
[
173,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
185,
189
],
[
189,
190
],
[
168,
191
],
[
191,
192
],
[
166,
193
],
[
193,
194
],
[
126,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
199,
202
],
[
202,
203
],
[
0,
204
],
[
204,
205
],
[
204,
206
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Random;\nimport java.util.StringTokenizer;\n\npublic class Main\n{\n\t\n\tpublic static ArrayList<String> AL = new ArrayList<String>();\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint n = fs.nextInt();\n\t\tint x = fs.nextInt();\n\t\tint t = fs.nextInt();\n\t\tint count =t;\n\t\tint c1 = x;\n\t\twhile(n>c1) {\n\t\t\tc1+=x;\n\t\t\tcount+=t;\n\t\t}\n\t\tSystem.out.println(count);\n\t\t\n\t}\n\t\n\tstatic final Random random=new Random();\n\t\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n\t\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Random;",
"Random",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main\n{\n\t\n\tpublic static ArrayList<String> AL = new ArrayList<String>();\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint n = fs.nextInt();\n\t\tint x = fs.nextInt();\n\t\tint t = fs.nextInt();\n\t\tint count =t;\n\t\tint c1 = x;\n\t\twhile(n>c1) {\n\t\t\tc1+=x;\n\t\t\tcount+=t;\n\t\t}\n\t\tSystem.out.println(count);\n\t\t\n\t}\n\t\n\tstatic final Random random=new Random();\n\t\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n\t\n}",
"Main",
"public static ArrayList<String> AL = new ArrayList<String>();",
"AL",
"new ArrayList<String>()",
"static final Random random=new Random();",
"random",
"new Random()",
"public static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint n = fs.nextInt();\n\t\tint x = fs.nextInt();\n\t\tint t = fs.nextInt();\n\t\tint count =t;\n\t\tint c1 = x;\n\t\twhile(n>c1) {\n\t\t\tc1+=x;\n\t\t\tcount+=t;\n\t\t}\n\t\tSystem.out.println(count);\n\t\t\n\t}",
"main",
"{\n\t\tFastScanner fs=new FastScanner();\n\t\tint n = fs.nextInt();\n\t\tint x = fs.nextInt();\n\t\tint t = fs.nextInt();\n\t\tint count =t;\n\t\tint c1 = x;\n\t\twhile(n>c1) {\n\t\t\tc1+=x;\n\t\t\tcount+=t;\n\t\t}\n\t\tSystem.out.println(count);\n\t\t\n\t}",
"FastScanner fs=new FastScanner();",
"fs",
"new FastScanner()",
"int n = fs.nextInt();",
"n",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int x = fs.nextInt();",
"x",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int t = fs.nextInt();",
"t",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int count =t;",
"count",
"t",
"int c1 = x;",
"c1",
"x",
"while(n>c1) {\n\t\t\tc1+=x;\n\t\t\tcount+=t;\n\t\t}",
"n>c1",
"n",
"c1",
"{\n\t\t\tc1+=x;\n\t\t\tcount+=t;\n\t\t}",
"c1+=x",
"c1",
"x",
"count+=t",
"count",
"t",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"static void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}",
"ruffleSort",
"{\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}",
"int n=a.length;",
"n",
"a.length",
"a",
"a.length",
"for (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}",
"{\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}",
"int oi=random.nextInt(n)",
"oi",
"random.nextInt(n)",
"random.nextInt",
"random",
"n",
"temp=a[oi];",
"temp",
"a[oi]",
"a",
"oi",
"a[oi]=a[i]",
"a[oi]",
"a",
"oi",
"a[i]",
"a",
"i",
"a[i]=temp",
"a[i]",
"a",
"i",
"temp",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"int[] a",
"a",
"static class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"readArray",
"{\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main\n{\n\t\n\tpublic static ArrayList<String> AL = new ArrayList<String>();\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint n = fs.nextInt();\n\t\tint x = fs.nextInt();\n\t\tint t = fs.nextInt();\n\t\tint count =t;\n\t\tint c1 = x;\n\t\twhile(n>c1) {\n\t\t\tc1+=x;\n\t\t\tcount+=t;\n\t\t}\n\t\tSystem.out.println(count);\n\t\t\n\t}\n\t\n\tstatic final Random random=new Random();\n\t\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n\t\n}",
"public class Main\n{\n\t\n\tpublic static ArrayList<String> AL = new ArrayList<String>();\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint n = fs.nextInt();\n\t\tint x = fs.nextInt();\n\t\tint t = fs.nextInt();\n\t\tint count =t;\n\t\tint c1 = x;\n\t\twhile(n>c1) {\n\t\t\tc1+=x;\n\t\t\tcount+=t;\n\t\t}\n\t\tSystem.out.println(count);\n\t\t\n\t}\n\t\n\tstatic final Random random=new Random();\n\t\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n\t\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;
import java.util.StringTokenizer;
public class Main
{
public static ArrayList<String> AL = new ArrayList<String>();
public static void main(String[] args) {
FastScanner fs=new FastScanner();
int n = fs.nextInt();
int x = fs.nextInt();
int t = fs.nextInt();
int count =t;
int c1 = x;
while(n>c1) {
c1+=x;
count+=t;
}
System.out.println(count);
}
static final Random random=new Random();
static void ruffleSort(int[] a) {
int n=a.length;//shuffle, then sort
for (int i=0; i<n; i++) {
int oi=random.nextInt(n), temp=a[oi];
a[oi]=a[i]; a[i]=temp;
}
Arrays.sort(a);
}
static class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
try {
st=new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a=new int[n];
for (int i=0; i<n; i++) a[i]=nextInt();
return a;
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
2,
2,
13,
13,
17,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
32,
40
],
[
6,
41
],
[
41,
42
]
]
| [
"import java.util.*;\n\nclass Main{\n public static void main(String[] args){\n Scanner scn = new Scanner(System.in);\n long n = scn.nextLong();\n long x = scn.nextLong();\n long t = scn.nextLong();\n \n \n System.out.println((n+x-1)/x*t);\n }\n \n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner scn = new Scanner(System.in);\n long n = scn.nextLong();\n long x = scn.nextLong();\n long t = scn.nextLong();\n \n \n System.out.println((n+x-1)/x*t);\n }\n \n}",
"Main",
"public static void main(String[] args){\n Scanner scn = new Scanner(System.in);\n long n = scn.nextLong();\n long x = scn.nextLong();\n long t = scn.nextLong();\n \n \n System.out.println((n+x-1)/x*t);\n }",
"main",
"{\n Scanner scn = new Scanner(System.in);\n long n = scn.nextLong();\n long x = scn.nextLong();\n long t = scn.nextLong();\n \n \n System.out.println((n+x-1)/x*t);\n }",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"long n = scn.nextLong();",
"n",
"scn.nextLong()",
"scn.nextLong",
"scn",
"long x = scn.nextLong();",
"x",
"scn.nextLong()",
"scn.nextLong",
"scn",
"long t = scn.nextLong();",
"t",
"scn.nextLong()",
"scn.nextLong",
"scn",
"System.out.println((n+x-1)/x*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"(n+x-1)/x*t",
"(n+x-1)/x",
"(n+x-1)",
"n+x",
"n",
"x",
"1",
"x",
"t",
"String[] args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[] args){
Scanner scn = new Scanner(System.in);
long n = scn.nextLong();
long x = scn.nextLong();
long t = scn.nextLong();
System.out.println((n+x-1)/x*t);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
13,
17,
30,
0,
13,
2,
13,
13,
30,
0,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
50,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
50,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count= 0;\n\n\t\tString L = scan.nextLine();\n\t\tString[] l = L.split(\" \");\n\n\t\tint n = Integer.parseInt(l[0]);\n\t\tint x = Integer.parseInt(l[1]);\n\t\tint t = Integer.parseInt(l[2]);\n\n\t\tif(n % x == 0) {\n\t\t\tcount = n / x;\n\t\t}else {\n\t\t\tcount = n / x +1;\n\t\t}\n\n\t\tSystem.out.println(count * t);\n\n\t\tscan.close();\n\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count= 0;\n\n\t\tString L = scan.nextLine();\n\t\tString[] l = L.split(\" \");\n\n\t\tint n = Integer.parseInt(l[0]);\n\t\tint x = Integer.parseInt(l[1]);\n\t\tint t = Integer.parseInt(l[2]);\n\n\t\tif(n % x == 0) {\n\t\t\tcount = n / x;\n\t\t}else {\n\t\t\tcount = n / x +1;\n\t\t}\n\n\t\tSystem.out.println(count * t);\n\n\t\tscan.close();\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count= 0;\n\n\t\tString L = scan.nextLine();\n\t\tString[] l = L.split(\" \");\n\n\t\tint n = Integer.parseInt(l[0]);\n\t\tint x = Integer.parseInt(l[1]);\n\t\tint t = Integer.parseInt(l[2]);\n\n\t\tif(n % x == 0) {\n\t\t\tcount = n / x;\n\t\t}else {\n\t\t\tcount = n / x +1;\n\t\t}\n\n\t\tSystem.out.println(count * t);\n\n\t\tscan.close();\n\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count= 0;\n\n\t\tString L = scan.nextLine();\n\t\tString[] l = L.split(\" \");\n\n\t\tint n = Integer.parseInt(l[0]);\n\t\tint x = Integer.parseInt(l[1]);\n\t\tint t = Integer.parseInt(l[2]);\n\n\t\tif(n % x == 0) {\n\t\t\tcount = n / x;\n\t\t}else {\n\t\t\tcount = n / x +1;\n\t\t}\n\n\t\tSystem.out.println(count * t);\n\n\t\tscan.close();\n\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int count= 0;",
"count",
"0",
"String L = scan.nextLine();",
"L",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String[] l = L.split(\" \");",
"l",
"L.split(\" \")",
"L.split",
"L",
"\" \"",
"int n = Integer.parseInt(l[0]);",
"n",
"Integer.parseInt(l[0])",
"Integer.parseInt",
"Integer",
"l[0]",
"l",
"0",
"int x = Integer.parseInt(l[1]);",
"x",
"Integer.parseInt(l[1])",
"Integer.parseInt",
"Integer",
"l[1]",
"l",
"1",
"int t = Integer.parseInt(l[2]);",
"t",
"Integer.parseInt(l[2])",
"Integer.parseInt",
"Integer",
"l[2]",
"l",
"2",
"if(n % x == 0) {\n\t\t\tcount = n / x;\n\t\t}else {\n\t\t\tcount = n / x +1;\n\t\t}",
"n % x == 0",
"n % x",
"n",
"x",
"0",
"{\n\t\t\tcount = n / x;\n\t\t}",
"count = n / x",
"count",
"n / x",
"n",
"x",
"{\n\t\t\tcount = n / x +1;\n\t\t}",
"count = n / x +1",
"count",
"n / x +1",
"n / x",
"n",
"x",
"1",
"System.out.println(count * t)",
"System.out.println",
"System.out",
"System",
"System.out",
"count * t",
"count",
"t",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count= 0;\n\n\t\tString L = scan.nextLine();\n\t\tString[] l = L.split(\" \");\n\n\t\tint n = Integer.parseInt(l[0]);\n\t\tint x = Integer.parseInt(l[1]);\n\t\tint t = Integer.parseInt(l[2]);\n\n\t\tif(n % x == 0) {\n\t\t\tcount = n / x;\n\t\t}else {\n\t\t\tcount = n / x +1;\n\t\t}\n\n\t\tSystem.out.println(count * t);\n\n\t\tscan.close();\n\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count= 0;\n\n\t\tString L = scan.nextLine();\n\t\tString[] l = L.split(\" \");\n\n\t\tint n = Integer.parseInt(l[0]);\n\t\tint x = Integer.parseInt(l[1]);\n\t\tint t = Integer.parseInt(l[2]);\n\n\t\tif(n % x == 0) {\n\t\t\tcount = n / x;\n\t\t}else {\n\t\t\tcount = n / x +1;\n\t\t}\n\n\t\tSystem.out.println(count * t);\n\n\t\tscan.close();\n\n\n\t}\n\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int count= 0;
String L = scan.nextLine();
String[] l = L.split(" ");
int n = Integer.parseInt(l[0]);
int x = Integer.parseInt(l[1]);
int t = Integer.parseInt(l[2]);
if(n % x == 0) {
count = n / x;
}else {
count = n / x +1;
}
System.out.println(count * t);
scan.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
17,
30,
41,
13,
2,
13,
13,
14,
2,
13,
13,
30,
3,
40,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
35,
47
],
[
47,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
6,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint x = scan.nextInt();\n\t\tint t = scan.nextInt();\n\t\tscan.close();\n\n\t\tint total = 1;\n\n\n\t\twhile(true) {\n\t\t\tint a = x*total;\n\t\t\tif(n<=a) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ttotal++;\n\t\t}\n\n\t\tSystem.out.println(total*t);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint x = scan.nextInt();\n\t\tint t = scan.nextInt();\n\t\tscan.close();\n\n\t\tint total = 1;\n\n\n\t\twhile(true) {\n\t\t\tint a = x*total;\n\t\t\tif(n<=a) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ttotal++;\n\t\t}\n\n\t\tSystem.out.println(total*t);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint x = scan.nextInt();\n\t\tint t = scan.nextInt();\n\t\tscan.close();\n\n\t\tint total = 1;\n\n\n\t\twhile(true) {\n\t\t\tint a = x*total;\n\t\t\tif(n<=a) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ttotal++;\n\t\t}\n\n\t\tSystem.out.println(total*t);\n\n\t}",
"main",
"{\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint x = scan.nextInt();\n\t\tint t = scan.nextInt();\n\t\tscan.close();\n\n\t\tint total = 1;\n\n\n\t\twhile(true) {\n\t\t\tint a = x*total;\n\t\t\tif(n<=a) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ttotal++;\n\t\t}\n\n\t\tSystem.out.println(total*t);\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int t = scan.nextInt();",
"t",
"scan.nextInt()",
"scan.nextInt",
"scan",
"scan.close()",
"scan.close",
"scan",
"int total = 1;",
"total",
"1",
"while(true) {\n\t\t\tint a = x*total;\n\t\t\tif(n<=a) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ttotal++;\n\t\t}",
"true",
"{\n\t\t\tint a = x*total;\n\t\t\tif(n<=a) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ttotal++;\n\t\t}",
"int a = x*total;",
"a",
"x*total",
"x",
"total",
"if(n<=a) {\n\t\t\t\tbreak;\n\t\t\t}",
"n<=a",
"n",
"a",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"total++",
"total",
"System.out.println(total*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"total*t",
"total",
"t",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint x = scan.nextInt();\n\t\tint t = scan.nextInt();\n\t\tscan.close();\n\n\t\tint total = 1;\n\n\n\t\twhile(true) {\n\t\t\tint a = x*total;\n\t\t\tif(n<=a) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ttotal++;\n\t\t}\n\n\t\tSystem.out.println(total*t);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint x = scan.nextInt();\n\t\tint t = scan.nextInt();\n\t\tscan.close();\n\n\t\tint total = 1;\n\n\n\t\twhile(true) {\n\t\t\tint a = x*total;\n\t\t\tif(n<=a) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ttotal++;\n\t\t}\n\n\t\tSystem.out.println(total*t);\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int x = scan.nextInt();
int t = scan.nextInt();
scan.close();
int total = 1;
while(true) {
int a = x*total;
if(n<=a) {
break;
}
total++;
}
System.out.println(total*t);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
32,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
]
| [
"import java.util.Scanner;\n \npublic class Main {\n \n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//็ฎๆจ\n \tdouble x = sc.nextDouble();//ไธๅใใใ\n \tdouble t = sc.nextDouble();//ๆ้\n \n \tSystem.out.println((int)(Math.ceil(n/x)*t));\n } \n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//็ฎๆจ\n \tdouble x = sc.nextDouble();//ไธๅใใใ\n \tdouble t = sc.nextDouble();//ๆ้\n \n \tSystem.out.println((int)(Math.ceil(n/x)*t));\n } \n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//็ฎๆจ\n \tdouble x = sc.nextDouble();//ไธๅใใใ\n \tdouble t = sc.nextDouble();//ๆ้\n \n \tSystem.out.println((int)(Math.ceil(n/x)*t));\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//็ฎๆจ\n \tdouble x = sc.nextDouble();//ไธๅใใใ\n \tdouble t = sc.nextDouble();//ๆ้\n \n \tSystem.out.println((int)(Math.ceil(n/x)*t));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"double x = sc.nextDouble();",
"x",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double t = sc.nextDouble();",
"t",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"System.out.println((int)(Math.ceil(n/x)*t))",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)(Math.ceil(n/x)*t)",
"Math.ceil(n/x)",
"Math.ceil",
"Math",
"n/x",
"n",
"x",
"t",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//็ฎๆจ\n \tdouble x = sc.nextDouble();//ไธๅใใใ\n \tdouble t = sc.nextDouble();//ๆ้\n \n \tSystem.out.println((int)(Math.ceil(n/x)*t));\n } \n}",
"public class Main {\n \n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//็ฎๆจ\n \tdouble x = sc.nextDouble();//ไธๅใใใ\n \tdouble t = sc.nextDouble();//ๆ้\n \n \tSystem.out.println((int)(Math.ceil(n/x)*t));\n } \n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();//็ฎๆจ
double x = sc.nextDouble();//ไธๅใใใ
double t = sc.nextDouble();//ๆ้
System.out.println((int)(Math.ceil(n/x)*t));
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
2,
13,
13,
8,
2,
2,
13,
13,
17,
17,
17,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
75,
11
],
[
75,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
14,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
14,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
56,
62
],
[
56,
63
],
[
14,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
12,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
]
| [
"\n\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic final class Main {\n\n public static void main(String[] args) {\n final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n String[] line = in.nextLine().split(\" \");\n int n = Integer.parseInt(line[0]);\n int x = Integer.parseInt(line[1]);\n int t = Integer.parseInt(line[2]);\n int full = n / x + (n % x != 0 ? 1 : 0);\n System.out.println(full * t);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public final class Main {\n\n public static void main(String[] args) {\n final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n String[] line = in.nextLine().split(\" \");\n int n = Integer.parseInt(line[0]);\n int x = Integer.parseInt(line[1]);\n int t = Integer.parseInt(line[2]);\n int full = n / x + (n % x != 0 ? 1 : 0);\n System.out.println(full * t);\n }\n}",
"Main",
"public static void main(String[] args) {\n final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n String[] line = in.nextLine().split(\" \");\n int n = Integer.parseInt(line[0]);\n int x = Integer.parseInt(line[1]);\n int t = Integer.parseInt(line[2]);\n int full = n / x + (n % x != 0 ? 1 : 0);\n System.out.println(full * t);\n }",
"main",
"{\n final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n String[] line = in.nextLine().split(\" \");\n int n = Integer.parseInt(line[0]);\n int x = Integer.parseInt(line[1]);\n int t = Integer.parseInt(line[2]);\n int full = n / x + (n % x != 0 ? 1 : 0);\n System.out.println(full * t);\n }",
"final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"in",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"String[] line = in.nextLine().split(\" \");",
"line",
"in.nextLine().split(\" \")",
"in.nextLine().split",
"in.nextLine()",
"in.nextLine",
"in",
"\" \"",
"int n = Integer.parseInt(line[0]);",
"n",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"int x = Integer.parseInt(line[1]);",
"x",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"int t = Integer.parseInt(line[2]);",
"t",
"Integer.parseInt(line[2])",
"Integer.parseInt",
"Integer",
"line[2]",
"line",
"2",
"int full = n / x + (n % x != 0 ? 1 : 0);",
"full",
"n / x + (n % x != 0 ? 1 : 0)",
"n / x",
"n",
"x",
"(n % x != 0 ? 1 : 0)",
"n % x != 0",
"n % x",
"n",
"x",
"0",
"1",
"0",
"System.out.println(full * t)",
"System.out.println",
"System.out",
"System",
"System.out",
"full * t",
"full",
"t",
"String[] args",
"args",
"public final class Main {\n\n public static void main(String[] args) {\n final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n String[] line = in.nextLine().split(\" \");\n int n = Integer.parseInt(line[0]);\n int x = Integer.parseInt(line[1]);\n int t = Integer.parseInt(line[2]);\n int full = n / x + (n % x != 0 ? 1 : 0);\n System.out.println(full * t);\n }\n}",
"public final class Main {\n\n public static void main(String[] args) {\n final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n String[] line = in.nextLine().split(\" \");\n int n = Integer.parseInt(line[0]);\n int x = Integer.parseInt(line[1]);\n int t = Integer.parseInt(line[2]);\n int full = n / x + (n % x != 0 ? 1 : 0);\n System.out.println(full * t);\n }\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
public final class Main {
public static void main(String[] args) {
final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
String[] line = in.nextLine().split(" ");
int n = Integer.parseInt(line[0]);
int x = Integer.parseInt(line[1]);
int t = Integer.parseInt(line[2]);
int full = n / x + (n % x != 0 ? 1 : 0);
System.out.println(full * t);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
87,
11
],
[
87,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
21,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
28,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
28,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
28,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
28,
64
],
[
64,
65
],
[
64,
66
],
[
28,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
28,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
12,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) {\n InputStreamReader in = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(in);\n try {\n\n String input = bufferedReader.readLine();\n String[] inputsArrays = input.split(\" \");\n\n int N = Integer.parseInt(inputsArrays[0]);\n int X = Integer.parseInt(inputsArrays[1]);\n int T = Integer.parseInt(inputsArrays[2]);\n\n int timeTaken = 0;\n while (N>0){\n timeTaken += T;\n N -= X;\n }\n System.out.println(timeTaken);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) {\n InputStreamReader in = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(in);\n try {\n\n String input = bufferedReader.readLine();\n String[] inputsArrays = input.split(\" \");\n\n int N = Integer.parseInt(inputsArrays[0]);\n int X = Integer.parseInt(inputsArrays[1]);\n int T = Integer.parseInt(inputsArrays[2]);\n\n int timeTaken = 0;\n while (N>0){\n timeTaken += T;\n N -= X;\n }\n System.out.println(timeTaken);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStreamReader in = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(in);\n try {\n\n String input = bufferedReader.readLine();\n String[] inputsArrays = input.split(\" \");\n\n int N = Integer.parseInt(inputsArrays[0]);\n int X = Integer.parseInt(inputsArrays[1]);\n int T = Integer.parseInt(inputsArrays[2]);\n\n int timeTaken = 0;\n while (N>0){\n timeTaken += T;\n N -= X;\n }\n System.out.println(timeTaken);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"main",
"{\n InputStreamReader in = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(in);\n try {\n\n String input = bufferedReader.readLine();\n String[] inputsArrays = input.split(\" \");\n\n int N = Integer.parseInt(inputsArrays[0]);\n int X = Integer.parseInt(inputsArrays[1]);\n int T = Integer.parseInt(inputsArrays[2]);\n\n int timeTaken = 0;\n while (N>0){\n timeTaken += T;\n N -= X;\n }\n System.out.println(timeTaken);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"InputStreamReader in = new InputStreamReader(System.in);",
"in",
"new InputStreamReader(System.in)",
"BufferedReader bufferedReader = new BufferedReader(in);",
"bufferedReader",
"new BufferedReader(in)",
"try {\n\n String input = bufferedReader.readLine();\n String[] inputsArrays = input.split(\" \");\n\n int N = Integer.parseInt(inputsArrays[0]);\n int X = Integer.parseInt(inputsArrays[1]);\n int T = Integer.parseInt(inputsArrays[2]);\n\n int timeTaken = 0;\n while (N>0){\n timeTaken += T;\n N -= X;\n }\n System.out.println(timeTaken);\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\n String input = bufferedReader.readLine();\n String[] inputsArrays = input.split(\" \");\n\n int N = Integer.parseInt(inputsArrays[0]);\n int X = Integer.parseInt(inputsArrays[1]);\n int T = Integer.parseInt(inputsArrays[2]);\n\n int timeTaken = 0;\n while (N>0){\n timeTaken += T;\n N -= X;\n }\n System.out.println(timeTaken);\n }",
"String input = bufferedReader.readLine();",
"input",
"bufferedReader.readLine()",
"bufferedReader.readLine",
"bufferedReader",
"String[] inputsArrays = input.split(\" \");",
"inputsArrays",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int N = Integer.parseInt(inputsArrays[0]);",
"N",
"Integer.parseInt(inputsArrays[0])",
"Integer.parseInt",
"Integer",
"inputsArrays[0]",
"inputsArrays",
"0",
"int X = Integer.parseInt(inputsArrays[1]);",
"X",
"Integer.parseInt(inputsArrays[1])",
"Integer.parseInt",
"Integer",
"inputsArrays[1]",
"inputsArrays",
"1",
"int T = Integer.parseInt(inputsArrays[2]);",
"T",
"Integer.parseInt(inputsArrays[2])",
"Integer.parseInt",
"Integer",
"inputsArrays[2]",
"inputsArrays",
"2",
"int timeTaken = 0;",
"timeTaken",
"0",
"while (N>0){\n timeTaken += T;\n N -= X;\n }",
"N>0",
"N",
"0",
"{\n timeTaken += T;\n N -= X;\n }",
"timeTaken += T",
"timeTaken",
"T",
"N -= X",
"N",
"X",
"System.out.println(timeTaken)",
"System.out.println",
"System.out",
"System",
"System.out",
"timeTaken",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n InputStreamReader in = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(in);\n try {\n\n String input = bufferedReader.readLine();\n String[] inputsArrays = input.split(\" \");\n\n int N = Integer.parseInt(inputsArrays[0]);\n int X = Integer.parseInt(inputsArrays[1]);\n int T = Integer.parseInt(inputsArrays[2]);\n\n int timeTaken = 0;\n while (N>0){\n timeTaken += T;\n N -= X;\n }\n System.out.println(timeTaken);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n InputStreamReader in = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(in);\n try {\n\n String input = bufferedReader.readLine();\n String[] inputsArrays = input.split(\" \");\n\n int N = Integer.parseInt(inputsArrays[0]);\n int X = Integer.parseInt(inputsArrays[1]);\n int T = Integer.parseInt(inputsArrays[2]);\n\n int timeTaken = 0;\n while (N>0){\n timeTaken += T;\n N -= X;\n }\n System.out.println(timeTaken);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
InputStreamReader in = new InputStreamReader(System.in);
BufferedReader bufferedReader = new BufferedReader(in);
try {
String input = bufferedReader.readLine();
String[] inputsArrays = input.split(" ");
int N = Integer.parseInt(inputsArrays[0]);
int X = Integer.parseInt(inputsArrays[1]);
int T = Integer.parseInt(inputsArrays[2]);
int timeTaken = 0;
while (N>0){
timeTaken += T;
N -= X;
}
System.out.println(timeTaken);
} catch (IOException e) {
e.printStackTrace();
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
17,
13,
30,
0,
13,
2,
13,
13,
40,
13,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
43,
44
],
[
8,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
8,
56
],
[
56,
57
],
[
57,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint m=0;\n\t\tint ans=0;\n\t\t\n\t\twhile(0<N) {\n\t\t\tN = N - x;\n\t\t\tm++;\n\t\t}\n\t\tans = t*m;\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint m=0;\n\t\tint ans=0;\n\t\t\n\t\twhile(0<N) {\n\t\t\tN = N - x;\n\t\t\tm++;\n\t\t}\n\t\tans = t*m;\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint m=0;\n\t\tint ans=0;\n\t\t\n\t\twhile(0<N) {\n\t\t\tN = N - x;\n\t\t\tm++;\n\t\t}\n\t\tans = t*m;\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint m=0;\n\t\tint ans=0;\n\t\t\n\t\twhile(0<N) {\n\t\t\tN = N - x;\n\t\t\tm++;\n\t\t}\n\t\tans = t*m;\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int m=0;",
"m",
"0",
"int ans=0;",
"ans",
"0",
"while(0<N) {\n\t\t\tN = N - x;\n\t\t\tm++;\n\t\t}",
"0<N",
"0",
"N",
"{\n\t\t\tN = N - x;\n\t\t\tm++;\n\t\t}",
"N = N - x",
"N",
"N - x",
"N",
"x",
"m++",
"m",
"ans = t*m",
"ans",
"t*m",
"t",
"m",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint m=0;\n\t\tint ans=0;\n\t\t\n\t\twhile(0<N) {\n\t\t\tN = N - x;\n\t\t\tm++;\n\t\t}\n\t\tans = t*m;\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint m=0;\n\t\tint ans=0;\n\t\t\n\t\twhile(0<N) {\n\t\t\tN = N - x;\n\t\t\tm++;\n\t\t}\n\t\tans = t*m;\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t\t\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
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 m=0;
int ans=0;
while(0<N) {
N = N - x;
m++;
}
ans = t*m;
System.out.println(ans);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
13,
30,
0,
13,
17,
14,
2,
2,
13,
13,
17,
30,
0,
13,
2,
2,
13,
13,
17,
30,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
41,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.util.Scanner;\n\n// ๆๅบๆใซclass Main ใซๆธใๆใ\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// ๆจๆบๅ
ฅๅใๅใๅใ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt(); // int Nใๅใๅใ\n\t\tint X = sc.nextInt(); // int Xใๅใๅใ\n\t\tint T = sc.nextInt(); // int Tใๅใๅใ\n\t\tsc.close(); // ๆจๆบๅ
ฅๅใ็ตไบ\n\n\t\tint a = 0; // ใฟใณ็ผใๆฉใไฝฟใๅๆฐ\n\t\tif(N <= X) {\n\t\t\ta = 1;\n\t\t} else if(N % X != 0) {\n\t\t\ta = N / X + 1;\n\t\t}else {\n\t\t\ta = N / X;\n\t\t}\n\n\t\tSystem.out.println(a * T);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// ๆจๆบๅ
ฅๅใๅใๅใ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt(); // int Nใๅใๅใ\n\t\tint X = sc.nextInt(); // int Xใๅใๅใ\n\t\tint T = sc.nextInt(); // int Tใๅใๅใ\n\t\tsc.close(); // ๆจๆบๅ
ฅๅใ็ตไบ\n\n\t\tint a = 0; // ใฟใณ็ผใๆฉใไฝฟใๅๆฐ\n\t\tif(N <= X) {\n\t\t\ta = 1;\n\t\t} else if(N % X != 0) {\n\t\t\ta = N / X + 1;\n\t\t}else {\n\t\t\ta = N / X;\n\t\t}\n\n\t\tSystem.out.println(a * T);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// ๆจๆบๅ
ฅๅใๅใๅใ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt(); // int Nใๅใๅใ\n\t\tint X = sc.nextInt(); // int Xใๅใๅใ\n\t\tint T = sc.nextInt(); // int Tใๅใๅใ\n\t\tsc.close(); // ๆจๆบๅ
ฅๅใ็ตไบ\n\n\t\tint a = 0; // ใฟใณ็ผใๆฉใไฝฟใๅๆฐ\n\t\tif(N <= X) {\n\t\t\ta = 1;\n\t\t} else if(N % X != 0) {\n\t\t\ta = N / X + 1;\n\t\t}else {\n\t\t\ta = N / X;\n\t\t}\n\n\t\tSystem.out.println(a * T);\n\t}",
"main",
"{\n\t\t// ๆจๆบๅ
ฅๅใๅใๅใ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt(); // int Nใๅใๅใ\n\t\tint X = sc.nextInt(); // int Xใๅใๅใ\n\t\tint T = sc.nextInt(); // int Tใๅใๅใ\n\t\tsc.close(); // ๆจๆบๅ
ฅๅใ็ตไบ\n\n\t\tint a = 0; // ใฟใณ็ผใๆฉใไฝฟใๅๆฐ\n\t\tif(N <= X) {\n\t\t\ta = 1;\n\t\t} else if(N % X != 0) {\n\t\t\ta = N / X + 1;\n\t\t}else {\n\t\t\ta = N / X;\n\t\t}\n\n\t\tSystem.out.println(a * T);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int T = sc.nextInt();",
"T",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"int a = 0;",
"a",
"0",
"if(N <= X) {\n\t\t\ta = 1;\n\t\t} else if(N % X != 0) {\n\t\t\ta = N / X + 1;\n\t\t}else {\n\t\t\ta = N / X;\n\t\t}",
"N <= X",
"N",
"X",
"{\n\t\t\ta = 1;\n\t\t}",
"a = 1",
"a",
"1",
"if(N % X != 0) {\n\t\t\ta = N / X + 1;\n\t\t}else {\n\t\t\ta = N / X;\n\t\t}",
"N % X != 0",
"N % X",
"N",
"X",
"0",
"{\n\t\t\ta = N / X + 1;\n\t\t}",
"a = N / X + 1",
"a",
"N / X + 1",
"N / X",
"N",
"X",
"1",
"{\n\t\t\ta = N / X;\n\t\t}",
"a = N / X",
"a",
"N / X",
"N",
"X",
"System.out.println(a * T)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * T",
"a",
"T",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// ๆจๆบๅ
ฅๅใๅใๅใ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt(); // int Nใๅใๅใ\n\t\tint X = sc.nextInt(); // int Xใๅใๅใ\n\t\tint T = sc.nextInt(); // int Tใๅใๅใ\n\t\tsc.close(); // ๆจๆบๅ
ฅๅใ็ตไบ\n\n\t\tint a = 0; // ใฟใณ็ผใๆฉใไฝฟใๅๆฐ\n\t\tif(N <= X) {\n\t\t\ta = 1;\n\t\t} else if(N % X != 0) {\n\t\t\ta = N / X + 1;\n\t\t}else {\n\t\t\ta = N / X;\n\t\t}\n\n\t\tSystem.out.println(a * T);\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// ๆจๆบๅ
ฅๅใๅใๅใ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt(); // int Nใๅใๅใ\n\t\tint X = sc.nextInt(); // int Xใๅใๅใ\n\t\tint T = sc.nextInt(); // int Tใๅใๅใ\n\t\tsc.close(); // ๆจๆบๅ
ฅๅใ็ตไบ\n\n\t\tint a = 0; // ใฟใณ็ผใๆฉใไฝฟใๅๆฐ\n\t\tif(N <= X) {\n\t\t\ta = 1;\n\t\t} else if(N % X != 0) {\n\t\t\ta = N / X + 1;\n\t\t}else {\n\t\t\ta = N / X;\n\t\t}\n\n\t\tSystem.out.println(a * T);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
// ๆๅบๆใซclass Main ใซๆธใๆใ
public class Main {
public static void main(String[] args) {
// ๆจๆบๅ
ฅๅใๅใๅใ
Scanner sc = new Scanner(System.in);
int N = sc.nextInt(); // int Nใๅใๅใ
int X = sc.nextInt(); // int Xใๅใๅใ
int T = sc.nextInt(); // int Tใๅใๅใ
sc.close(); // ๆจๆบๅ
ฅๅใ็ตไบ
int a = 0; // ใฟใณ็ผใๆฉใไฝฟใๅๆฐ
if(N <= X) {
a = 1;
} else if(N % X != 0) {
a = N / X + 1;
}else {
a = N / X;
}
System.out.println(a * T);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
8,
2,
2,
13,
13,
17,
17,
17,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
29,
35
],
[
29,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
42,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
]
| [
"\nimport java.util.Scanner;\n\n/**\n * Created by enpingkuang on 2020/9/10 10:54 ไธๅ\n */\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int x = scanner.nextInt();\n int t = scanner.nextInt();\n int flag = n % x == 0?0:1;\n System.out.println((n/x + flag)*t);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int x = scanner.nextInt();\n int t = scanner.nextInt();\n int flag = n % x == 0?0:1;\n System.out.println((n/x + flag)*t);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int x = scanner.nextInt();\n int t = scanner.nextInt();\n int flag = n % x == 0?0:1;\n System.out.println((n/x + flag)*t);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int x = scanner.nextInt();\n int t = scanner.nextInt();\n int flag = n % x == 0?0:1;\n System.out.println((n/x + flag)*t);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int n = scanner.nextInt();",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int x = scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int t = scanner.nextInt();",
"t",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int flag = n % x == 0?0:1;",
"flag",
"n % x == 0?0:1",
"n % x == 0",
"n % x",
"n",
"x",
"0",
"0",
"1",
"System.out.println((n/x + flag)*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"(n/x + flag)*t",
"(n/x + flag)",
"n/x",
"n",
"x",
"flag",
"t",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int x = scanner.nextInt();\n int t = scanner.nextInt();\n int flag = n % x == 0?0:1;\n System.out.println((n/x + flag)*t);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int x = scanner.nextInt();\n int t = scanner.nextInt();\n int flag = n % x == 0?0:1;\n System.out.println((n/x + flag)*t);\n }\n}",
"Main"
]
|
import java.util.Scanner;
/**
* Created by enpingkuang on 2020/9/10 10:54 ไธๅ
*/
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 flag = n % x == 0?0:1;
System.out.println((n/x + flag)*t);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
2,
13,
13,
17,
13,
4,
18,
13,
2,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
4,
18,
13,
13,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
13,
23,
13,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
18,
36,
13,
20,
23,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
345,
35
],
[
345,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
38,
49
],
[
49,
50
],
[
49,
51
],
[
38,
52
],
[
52,
53
],
[
52,
54
],
[
38,
55
],
[
55,
56
],
[
55,
57
],
[
38,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
58,
63
],
[
38,
64
],
[
64,
65
],
[
65,
66
],
[
36,
67
],
[
67,
68
],
[
345,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
82,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
82,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
82,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
100,
106
],
[
82,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
110,
111
],
[
110,
112
],
[
71,
113
],
[
113,
114
],
[
71,
115
],
[
115,
116
],
[
71,
117
],
[
117,
118
],
[
345,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
119,
123
],
[
123,
124
],
[
123,
125
],
[
119,
127
],
[
127,
128
],
[
119,
129
],
[
129,
130
],
[
119,
131
],
[
131,
132
],
[
119,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
133,
141
],
[
141,
142
],
[
119,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
146,
151
],
[
151,
152
],
[
152,
153
],
[
145,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
162,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
171,
174
],
[
158,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
145,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
119,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
190,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
190,
204
],
[
204,
205
],
[
204,
206
],
[
190,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
211,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
190,
220
],
[
220,
221
],
[
220,
222
],
[
190,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
223,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
230,
234
],
[
234,
235
],
[
234,
236
],
[
229,
237
],
[
237,
238
],
[
238,
239
],
[
228,
240
],
[
240,
241
],
[
240,
242
],
[
228,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
245,
247
],
[
228,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
190,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
119,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
259,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
265,
268
],
[
258,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
256,
273
],
[
273,
274
],
[
119,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
278,
279
],
[
282,
280
],
[
292,
281
],
[
289,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
286,
287
],
[
286,
288
],
[
289,
289
],
[
289,
290
],
[
289,
291
],
[
292,
292
],
[
292,
293
],
[
292,
294
],
[
282,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
275,
299
],
[
299,
300
],
[
119,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
345,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
307,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
311,
317
],
[
317,
318
],
[
307,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
322,
326
],
[
319,
327
],
[
327,
328
],
[
307,
329
],
[
329,
330
],
[
329,
331
],
[
331,
332
],
[
332,
333
],
[
333,
334
],
[
307,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
338,
341
],
[
335,
342
],
[
342,
343
],
[
0,
344
],
[
344,
345
],
[
344,
346
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.io.BufferedWriter;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n ATakoyaki solver = new ATakoyaki();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATakoyaki {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int x = in.nextInt();\n int t = in.nextInt();\n int a = (n + x - 1) / x;\n out.println(a * t);\n }\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.io.Writer;",
"Writer",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n ATakoyaki solver = new ATakoyaki();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATakoyaki {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int x = in.nextInt();\n int t = in.nextInt();\n int a = (n + x - 1) / x;\n out.println(a * t);\n }\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n ATakoyaki solver = new ATakoyaki();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n ATakoyaki solver = new ATakoyaki();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"OutputWriter out = new OutputWriter(outputStream);",
"out",
"new OutputWriter(outputStream)",
"ATakoyaki solver = new ATakoyaki();",
"solver",
"new ATakoyaki()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class ATakoyaki {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int x = in.nextInt();\n int t = in.nextInt();\n int a = (n + x - 1) / x;\n out.println(a * t);\n }\n }\n\n }",
"ATakoyaki",
"public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int x = in.nextInt();\n int t = in.nextInt();\n int a = (n + x - 1) / x;\n out.println(a * t);\n }\n }",
"solve",
"{\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int x = in.nextInt();\n int t = in.nextInt();\n int a = (n + x - 1) / x;\n out.println(a * t);\n }\n }",
"int ntc = 1;",
"ntc",
"1",
"while ((ntc--) > 0) {\n int n = in.nextInt();\n int x = in.nextInt();\n int t = in.nextInt();\n int a = (n + x - 1) / x;\n out.println(a * t);\n }",
"(ntc--) > 0",
"(ntc--)",
"ntc",
"0",
"{\n int n = in.nextInt();\n int x = in.nextInt();\n int t = in.nextInt();\n int a = (n + x - 1) / x;\n out.println(a * t);\n }",
"int n = in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"int t = in.nextInt();",
"t",
"in.nextInt()",
"in.nextInt",
"in",
"int a = (n + x - 1) / x;",
"a",
"(n + x - 1) / x",
"(n + x - 1)",
"n + x",
"n",
"x",
"1",
"x",
"out.println(a * t)",
"out.println",
"out",
"a * t",
"a",
"t",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"OutputWriter out",
"out",
"static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private InputReader.SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"if (numChars == -1) {\n throw new InputMismatchException();\n }",
"numChars == -1",
"numChars",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0) {\n return -1;\n }",
"numChars <= 0",
"numChars",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"isSpaceChar",
"{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"if (filter != null) {\n return filter.isSpaceChar(c);\n }",
"filter != null",
"filter",
"null",
"{\n return filter.isSpaceChar(c);\n }",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return isWhitespace(c);",
"isWhitespace(c)",
"isWhitespace",
"c",
"int c",
"c",
"public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isWhitespace",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }",
"OutputWriter",
"private final PrintWriter writer;",
"writer",
"public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"OutputWriter",
"{\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"writer",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"OutputStream outputStream",
"outputStream",
"public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }",
"OutputWriter",
"{\n this.writer = new PrintWriter(writer);\n }",
"this.writer = new PrintWriter(writer)",
"this.writer",
"this",
"this.writer",
"new PrintWriter(writer)",
"Writer writer",
"writer",
"public void close() {\n writer.close();\n }",
"close",
"{\n writer.close();\n }",
"writer.close()",
"writer.close",
"writer",
"public void println(long i) {\n writer.println(i);\n }",
"println",
"{\n writer.println(i);\n }",
"writer.println(i)",
"writer.println",
"writer",
"i",
"long i",
"i",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n ATakoyaki solver = new ATakoyaki();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATakoyaki {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int x = in.nextInt();\n int t = in.nextInt();\n int a = (n + x - 1) / x;\n out.println(a * t);\n }\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n ATakoyaki solver = new ATakoyaki();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATakoyaki {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int x = in.nextInt();\n int t = in.nextInt();\n int a = (n + x - 1) / x;\n out.println(a * t);\n }\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.BufferedWriter;
import java.io.Writer;
import java.io.OutputStreamWriter;
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 void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
OutputWriter out = new OutputWriter(outputStream);
ATakoyaki solver = new ATakoyaki();
solver.solve(1, in, out);
out.close();
}
static class ATakoyaki {
public void solve(int testNumber, InputReader in, OutputWriter out) {
int ntc = 1;
// ntc = in.nextInt();
while ((ntc--) > 0) {
int n = in.nextInt();
int x = in.nextInt();
int t = in.nextInt();
int a = (n + x - 1) / x;
out.println(a * t);
}
}
}
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private InputReader.SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1) {
throw new InputMismatchException();
}
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0) {
return -1;
}
}
return buf[curChar++];
}
public int nextInt() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public boolean isSpaceChar(int c) {
if (filter != null) {
return filter.isSpaceChar(c);
}
return isWhitespace(c);
}
public static boolean isWhitespace(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
static class OutputWriter {
private final PrintWriter writer;
public OutputWriter(OutputStream outputStream) {
writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));
}
public OutputWriter(Writer writer) {
this.writer = new PrintWriter(writer);
}
public void close() {
writer.close();
}
public void println(long i) {
writer.println(i);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
37,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n public static void main(String args[]) {\n\n\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int x = scan.nextInt();\n int t = scan.nextInt();\n\n int a = n / x;\n\n int b = n % x;\n if (b != 0) {\n System.out.println(t * (a + 1));\n \n } else {\n\n System.out.println(t * a);\n \n }\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String args[]) {\n\n\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int x = scan.nextInt();\n int t = scan.nextInt();\n\n int a = n / x;\n\n int b = n % x;\n if (b != 0) {\n System.out.println(t * (a + 1));\n \n } else {\n\n System.out.println(t * a);\n \n }\n \n }\n}",
"Main",
"public static void main(String args[]) {\n\n\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int x = scan.nextInt();\n int t = scan.nextInt();\n\n int a = n / x;\n\n int b = n % x;\n if (b != 0) {\n System.out.println(t * (a + 1));\n \n } else {\n\n System.out.println(t * a);\n \n }\n \n }",
"main",
"{\n\n\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int x = scan.nextInt();\n int t = scan.nextInt();\n\n int a = n / x;\n\n int b = n % x;\n if (b != 0) {\n System.out.println(t * (a + 1));\n \n } else {\n\n System.out.println(t * a);\n \n }\n \n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int t = scan.nextInt();",
"t",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int a = n / x;",
"a",
"n / x",
"n",
"x",
"int b = n % x;",
"b",
"n % x",
"n",
"x",
"if (b != 0) {\n System.out.println(t * (a + 1));\n \n } else {\n\n System.out.println(t * a);\n \n }",
"b != 0",
"b",
"0",
"{\n System.out.println(t * (a + 1));\n \n }",
"System.out.println(t * (a + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"t * (a + 1)",
"t",
"(a + 1)",
"a",
"1",
"{\n\n System.out.println(t * a);\n \n }",
"System.out.println(t * a)",
"System.out.println",
"System.out",
"System",
"System.out",
"t * a",
"t",
"a",
"String args[]",
"args",
"public class Main {\n\n public static void main(String args[]) {\n\n\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int x = scan.nextInt();\n int t = scan.nextInt();\n\n int a = n / x;\n\n int b = n % x;\n if (b != 0) {\n System.out.println(t * (a + 1));\n \n } else {\n\n System.out.println(t * a);\n \n }\n \n }\n}",
"public class Main {\n\n public static void main(String args[]) {\n\n\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int x = scan.nextInt();\n int t = scan.nextInt();\n\n int a = n / x;\n\n int b = n % x;\n if (b != 0) {\n System.out.println(t * (a + 1));\n \n } else {\n\n System.out.println(t * a);\n \n }\n \n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int x = scan.nextInt();
int t = scan.nextInt();
int a = n / x;
int b = n % x;
if (b != 0) {
System.out.println(t * (a + 1));
} else {
System.out.println(t * a);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
17,
30,
0,
13,
2,
13,
2,
13,
13,
30,
0,
13,
2,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
66,
8
],
[
66,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
33,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
11,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
9,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.util.*;\nimport java.lang.*;\n\npublic class Main{\n public static void main(String[]args){\n\tint ans=0;\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int X=sc.nextInt();\n\tint T=sc.nextInt();\n if(N%X==0){\n\t ans=T*(N/X);\n\t}else{\n\t ans=T*(N/X+1);\n\t}\n\tSystem.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main{\n public static void main(String[]args){\n\tint ans=0;\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int X=sc.nextInt();\n\tint T=sc.nextInt();\n if(N%X==0){\n\t ans=T*(N/X);\n\t}else{\n\t ans=T*(N/X+1);\n\t}\n\tSystem.out.println(ans);\n }\n}",
"Main",
"public static void main(String[]args){\n\tint ans=0;\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int X=sc.nextInt();\n\tint T=sc.nextInt();\n if(N%X==0){\n\t ans=T*(N/X);\n\t}else{\n\t ans=T*(N/X+1);\n\t}\n\tSystem.out.println(ans);\n }",
"main",
"{\n\tint ans=0;\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int X=sc.nextInt();\n\tint T=sc.nextInt();\n if(N%X==0){\n\t ans=T*(N/X);\n\t}else{\n\t ans=T*(N/X+1);\n\t}\n\tSystem.out.println(ans);\n }",
"int ans=0;",
"ans",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N=sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X=sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int T=sc.nextInt();",
"T",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(N%X==0){\n\t ans=T*(N/X);\n\t}else{\n\t ans=T*(N/X+1);\n\t}",
"N%X==0",
"N%X",
"N",
"X",
"0",
"{\n\t ans=T*(N/X);\n\t}",
"ans=T*(N/X)",
"ans",
"T*(N/X)",
"T",
"(N/X)",
"N",
"X",
"{\n\t ans=T*(N/X+1);\n\t}",
"ans=T*(N/X+1)",
"ans",
"T*(N/X+1)",
"T",
"(N/X+1)",
"N/X",
"N",
"X",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[]args",
"args",
"public class Main{\n public static void main(String[]args){\n\tint ans=0;\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int X=sc.nextInt();\n\tint T=sc.nextInt();\n if(N%X==0){\n\t ans=T*(N/X);\n\t}else{\n\t ans=T*(N/X+1);\n\t}\n\tSystem.out.println(ans);\n }\n}",
"public class Main{\n public static void main(String[]args){\n\tint ans=0;\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int X=sc.nextInt();\n\tint T=sc.nextInt();\n if(N%X==0){\n\t ans=T*(N/X);\n\t}else{\n\t ans=T*(N/X+1);\n\t}\n\tSystem.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
import java.lang.*;
public class Main{
public static void main(String[]args){
int ans=0;
Scanner sc = new Scanner(System.in);
int N=sc.nextInt();
int X=sc.nextInt();
int T=sc.nextInt();
if(N%X==0){
ans=T*(N/X);
}else{
ans=T*(N/X+1);
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
17,
0,
13,
20,
0,
13,
20,
4,
13,
41,
13,
4,
13,
41,
13,
4,
13,
41,
13,
4,
13,
4,
18,
13,
2,
2,
2,
2,
13,
13,
13,
8,
2,
2,
13,
13,
17,
17,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
114,
11
],
[
114,
12
],
[
12,
13
],
[
114,
14
],
[
14,
15
],
[
114,
16
],
[
16,
17
],
[
114,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
20,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
20,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
20,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
54,
61
],
[
47,
62
],
[
20,
63
],
[
63,
64
],
[
64,
65
],
[
18,
66
],
[
66,
67
],
[
114,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
114,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
82,
83
],
[
114,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
91,
92
],
[
92,
93
],
[
114,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
101,
102
],
[
102,
103
],
[
114,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
0,
113
],
[
113,
114
],
[
113,
115
]
]
| [
"//package atcoder.beginnner_176;\n\nimport java.io.*;\nimport java.util.Arrays;\nimport java.util.StringTokenizer;\n\npublic class Main {\n \n public static void main (String[] args) throws Exception {\n\n String s = \"20 12 6\";\n\n// br = new BufferedReader(new StringReader(s));\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n rl(); int N = nin(), X=nin(), T=nin();\n bw.write(((N/X)*T + (N%X==0?0:T)) + \"\\n\");\n bw.flush();\n }\n\n static BufferedReader br; static BufferedWriter bw; static StringTokenizer st;\n static void rl() throws Exception{ st = new StringTokenizer(br.readLine()); }\n static long nlo(){ return Long.parseLong(st.nextToken()); }\n static int nin(){ return Integer.parseInt(st.nextToken()); }\n /*private static void te(){}*/\n static double ndo(){ return Double.parseDouble(st.nextToken()); }\n static char[] nca(){ return st.nextToken().toCharArray(); }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n \n public static void main (String[] args) throws Exception {\n\n String s = \"20 12 6\";\n\n// br = new BufferedReader(new StringReader(s));\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n rl(); int N = nin(), X=nin(), T=nin();\n bw.write(((N/X)*T + (N%X==0?0:T)) + \"\\n\");\n bw.flush();\n }\n\n static BufferedReader br; static BufferedWriter bw; static StringTokenizer st;\n static void rl() throws Exception{ st = new StringTokenizer(br.readLine()); }\n static long nlo(){ return Long.parseLong(st.nextToken()); }\n static int nin(){ return Integer.parseInt(st.nextToken()); }\n /*private static void te(){}*/\n static double ndo(){ return Double.parseDouble(st.nextToken()); }\n static char[] nca(){ return st.nextToken().toCharArray(); }\n}",
"Main",
"static BufferedReader br;",
"br",
"static BufferedWriter bw;",
"bw",
"static StringTokenizer st;",
"st",
"public static void main (String[] args) throws Exception {\n\n String s = \"20 12 6\";\n\n// br = new BufferedReader(new StringReader(s));\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n rl(); int N = nin(), X=nin(), T=nin();\n bw.write(((N/X)*T + (N%X==0?0:T)) + \"\\n\");\n bw.flush();\n }",
"main",
"{\n\n String s = \"20 12 6\";\n\n// br = new BufferedReader(new StringReader(s));\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n rl(); int N = nin(), X=nin(), T=nin();\n bw.write(((N/X)*T + (N%X==0?0:T)) + \"\\n\");\n bw.flush();\n }",
"String s = \"20 12 6\";",
"s",
"\"20 12 6\"",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"bw = new BufferedWriter(new OutputStreamWriter(System.out))",
"bw",
"new BufferedWriter(new OutputStreamWriter(System.out))",
"rl()",
"rl",
"int N = nin()",
"N",
"nin()",
"nin",
"X=nin()",
"X",
"nin()",
"nin",
"T=nin();",
"T",
"nin()",
"nin",
"bw.write(((N/X)*T + (N%X==0?0:T)) + \"\\n\")",
"bw.write",
"bw",
"((N/X)*T + (N%X==0?0:T)) + \"\\n\"",
"((N/X)*T + (N%X==0?0:T))",
"(N/X)*T",
"(N/X)",
"N",
"X",
"T",
"(N%X==0?0:T)",
"N%X==0",
"N%X",
"N",
"X",
"0",
"0",
"T",
"\"\\n\"",
"bw.flush()",
"bw.flush",
"bw",
"String[] args",
"args",
"static void rl() throws Exception{ st = new StringTokenizer(br.readLine()); }",
"rl",
"{ st = new StringTokenizer(br.readLine()); }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"static long nlo(){ return Long.parseLong(st.nextToken()); }",
"nlo",
"{ return Long.parseLong(st.nextToken()); }",
"return Long.parseLong(st.nextToken());",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"static int nin(){ return Integer.parseInt(st.nextToken()); }",
"nin",
"{ return Integer.parseInt(st.nextToken()); }",
"return Integer.parseInt(st.nextToken());",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"/*private static void te(){}*/\n static double ndo(){ return Double.parseDouble(st.nextToken()); }",
"ndo",
"{ return Double.parseDouble(st.nextToken()); }",
"return Double.parseDouble(st.nextToken());",
"Double.parseDouble(st.nextToken())",
"Double.parseDouble",
"Double",
"st.nextToken()",
"st.nextToken",
"st",
"static char[] nca(){ return st.nextToken().toCharArray(); }",
"nca",
"{ return st.nextToken().toCharArray(); }",
"return st.nextToken().toCharArray();",
"st.nextToken().toCharArray()",
"st.nextToken().toCharArray",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n \n public static void main (String[] args) throws Exception {\n\n String s = \"20 12 6\";\n\n// br = new BufferedReader(new StringReader(s));\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n rl(); int N = nin(), X=nin(), T=nin();\n bw.write(((N/X)*T + (N%X==0?0:T)) + \"\\n\");\n bw.flush();\n }\n\n static BufferedReader br; static BufferedWriter bw; static StringTokenizer st;\n static void rl() throws Exception{ st = new StringTokenizer(br.readLine()); }\n static long nlo(){ return Long.parseLong(st.nextToken()); }\n static int nin(){ return Integer.parseInt(st.nextToken()); }\n /*private static void te(){}*/\n static double ndo(){ return Double.parseDouble(st.nextToken()); }\n static char[] nca(){ return st.nextToken().toCharArray(); }\n}",
"public class Main {\n \n public static void main (String[] args) throws Exception {\n\n String s = \"20 12 6\";\n\n// br = new BufferedReader(new StringReader(s));\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n rl(); int N = nin(), X=nin(), T=nin();\n bw.write(((N/X)*T + (N%X==0?0:T)) + \"\\n\");\n bw.flush();\n }\n\n static BufferedReader br; static BufferedWriter bw; static StringTokenizer st;\n static void rl() throws Exception{ st = new StringTokenizer(br.readLine()); }\n static long nlo(){ return Long.parseLong(st.nextToken()); }\n static int nin(){ return Integer.parseInt(st.nextToken()); }\n /*private static void te(){}*/\n static double ndo(){ return Double.parseDouble(st.nextToken()); }\n static char[] nca(){ return st.nextToken().toCharArray(); }\n}",
"Main"
]
| //package atcoder.beginnner_176;
import java.io.*;
import java.util.Arrays;
import java.util.StringTokenizer;
public class Main {
public static void main (String[] args) throws Exception {
String s = "20 12 6";
// br = new BufferedReader(new StringReader(s));
br = new BufferedReader(new InputStreamReader(System.in));
bw = new BufferedWriter(new OutputStreamWriter(System.out));
rl(); int N = nin(), X=nin(), T=nin();
bw.write(((N/X)*T + (N%X==0?0:T)) + "\n");
bw.flush();
}
static BufferedReader br; static BufferedWriter bw; static StringTokenizer st;
static void rl() throws Exception{ st = new StringTokenizer(br.readLine()); }
static long nlo(){ return Long.parseLong(st.nextToken()); }
static int nin(){ return Integer.parseInt(st.nextToken()); }
/*private static void te(){}*/
static double ndo(){ return Double.parseDouble(st.nextToken()); }
static char[] nca(){ return st.nextToken().toCharArray(); }
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
41,
13,
2,
13,
13,
29,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
2,
13,
13,
17,
40,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
41,
13,
20,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
2,
40,
4,
13,
13,
2,
13,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
29,
2,
13,
4,
18,
13,
17,
4,
13,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
29,
2,
13,
4,
18,
13,
17,
4,
13,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
2,
13,
17,
13,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
13,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
12,
13,
30,
29,
4,
13,
6,
13,
12,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
12,
13,
30,
0,
13,
13,
23,
13,
12,
13,
30,
0,
13,
13,
0,
13,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
673,
11
],
[
673,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
12,
31
],
[
31,
32
],
[
12,
33
],
[
33,
34
],
[
673,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
43,
46
],
[
35,
47
],
[
47,
48
],
[
35,
49
],
[
49,
50
],
[
673,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
53,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
53,
64
],
[
64,
65
],
[
64,
66
],
[
53,
67
],
[
67,
68
],
[
67,
69
],
[
53,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
53,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
53,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
53,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
53,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
90,
96
],
[
96,
97
],
[
53,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
101,
102
],
[
101,
103
],
[
53,
104
],
[
104,
105
],
[
105,
106
],
[
51,
107
],
[
107,
108
],
[
673,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
109,
113
],
[
113,
114
],
[
113,
115
],
[
109,
117
],
[
117,
118
],
[
109,
119
],
[
119,
120
],
[
109,
121
],
[
121,
122
],
[
109,
123
],
[
123,
124
],
[
123,
125
],
[
109,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
126,
134
],
[
134,
135
],
[
109,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
139,
144
],
[
144,
145
],
[
138,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
154,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
150,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
171,
172
],
[
172,
173
],
[
138,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
109,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
185,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
181,
198
],
[
198,
199
],
[
109,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
202,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
202,
215
],
[
215,
216
],
[
215,
217
],
[
202,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
218,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
222,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
202,
231
],
[
231,
232
],
[
231,
233
],
[
202,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
234,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
241,
245
],
[
245,
246
],
[
245,
247
],
[
240,
248
],
[
248,
249
],
[
239,
250
],
[
250,
251
],
[
250,
252
],
[
239,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
255,
257
],
[
239,
258
],
[
258,
259
],
[
258,
260
],
[
260,
261
],
[
202,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
109,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
268,
273
],
[
273,
274
],
[
274,
275
],
[
274,
276
],
[
273,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
268,
281
],
[
281,
282
],
[
281,
283
],
[
268,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
284,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
288,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
268,
297
],
[
297,
298
],
[
297,
299
],
[
268,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
300,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
307,
311
],
[
311,
312
],
[
311,
313
],
[
306,
314
],
[
314,
315
],
[
305,
316
],
[
316,
317
],
[
316,
318
],
[
305,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
321,
323
],
[
305,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
268,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
109,
332
],
[
332,
333
],
[
332,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
334,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
339,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
334,
347
],
[
347,
348
],
[
347,
349
],
[
334,
350
],
[
350,
351
],
[
351,
352
],
[
351,
353
],
[
350,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
354,
359
],
[
359,
360
],
[
359,
361
],
[
361,
362
],
[
334,
363
],
[
363,
364
],
[
363,
365
],
[
334,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
367,
372
],
[
372,
373
],
[
372,
374
],
[
366,
375
],
[
375,
376
],
[
376,
377
],
[
377,
378
],
[
378,
379
],
[
378,
380
],
[
377,
381
],
[
381,
382
],
[
381,
383
],
[
376,
384
],
[
384,
385
],
[
385,
386
],
[
385,
387
],
[
387,
388
],
[
388,
389
],
[
387,
390
],
[
387,
391
],
[
391,
392
],
[
375,
393
],
[
393,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
394,
398
],
[
398,
399
],
[
398,
400
],
[
393,
401
],
[
401,
402
],
[
375,
403
],
[
403,
404
],
[
403,
405
],
[
375,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
408,
410
],
[
375,
411
],
[
411,
412
],
[
411,
413
],
[
413,
414
],
[
334,
415
],
[
415,
416
],
[
416,
417
],
[
416,
418
],
[
415,
419
],
[
419,
420
],
[
420,
421
],
[
420,
422
],
[
422,
423
],
[
419,
424
],
[
424,
425
],
[
424,
426
],
[
419,
427
],
[
427,
428
],
[
428,
429
],
[
429,
430
],
[
429,
431
],
[
427,
432
],
[
432,
433
],
[
433,
434
],
[
434,
435
],
[
435,
436
],
[
435,
437
],
[
434,
438
],
[
438,
439
],
[
438,
440
],
[
433,
441
],
[
441,
442
],
[
442,
443
],
[
442,
444
],
[
444,
445
],
[
445,
446
],
[
444,
447
],
[
444,
448
],
[
448,
449
],
[
432,
450
],
[
450,
451
],
[
451,
452
],
[
452,
453
],
[
452,
454
],
[
451,
455
],
[
455,
456
],
[
455,
457
],
[
450,
458
],
[
458,
459
],
[
432,
460
],
[
460,
461
],
[
460,
462
],
[
432,
463
],
[
463,
464
],
[
463,
465
],
[
465,
466
],
[
466,
467
],
[
466,
468
],
[
465,
469
],
[
432,
470
],
[
470,
471
],
[
470,
472
],
[
472,
473
],
[
334,
474
],
[
474,
475
],
[
475,
476
],
[
475,
477
],
[
109,
478
],
[
478,
479
],
[
478,
480
],
[
480,
481
],
[
481,
482
],
[
481,
483
],
[
483,
484
],
[
480,
485
],
[
485,
486
],
[
486,
487
],
[
486,
488
],
[
485,
489
],
[
489,
490
],
[
489,
491
],
[
491,
492
],
[
480,
493
],
[
493,
494
],
[
493,
495
],
[
480,
496
],
[
496,
497
],
[
497,
498
],
[
498,
499
],
[
498,
500
],
[
496,
501
],
[
501,
502
],
[
502,
503
],
[
503,
504
],
[
502,
505
],
[
501,
506
],
[
506,
507
],
[
506,
508
],
[
508,
509
],
[
480,
510
],
[
510,
511
],
[
511,
512
],
[
512,
513
],
[
109,
514
],
[
514,
515
],
[
514,
516
],
[
516,
517
],
[
517,
518
],
[
518,
519
],
[
518,
520
],
[
517,
521
],
[
521,
522
],
[
522,
523
],
[
523,
524
],
[
522,
525
],
[
516,
526
],
[
526,
527
],
[
530,
528
],
[
540,
529
],
[
537,
530
],
[
530,
531
],
[
531,
532
],
[
531,
533
],
[
530,
534
],
[
534,
535
],
[
534,
536
],
[
537,
537
],
[
537,
538
],
[
537,
539
],
[
540,
540
],
[
540,
541
],
[
540,
542
],
[
530,
543
],
[
543,
544
],
[
543,
545
],
[
545,
546
],
[
514,
547
],
[
547,
548
],
[
109,
549
],
[
549,
550
],
[
549,
551
],
[
551,
552
],
[
552,
553
],
[
553,
554
],
[
109,
555
],
[
555,
556
],
[
555,
557
],
[
557,
558
],
[
557,
559
],
[
559,
560
],
[
673,
561
],
[
561,
562
],
[
561,
563
],
[
563,
564
],
[
561,
565
],
[
565,
566
],
[
561,
567
],
[
567,
568
],
[
567,
569
],
[
561,
570
],
[
570,
571
],
[
570,
572
],
[
572,
573
],
[
573,
574
],
[
574,
575
],
[
574,
576
],
[
573,
577
],
[
570,
578
],
[
578,
579
],
[
561,
580
],
[
580,
581
],
[
580,
582
],
[
582,
583
],
[
583,
584
],
[
584,
585
],
[
584,
586
],
[
583,
587
],
[
582,
588
],
[
588,
589
],
[
589,
590
],
[
589,
591
],
[
588,
592
],
[
580,
593
],
[
593,
594
],
[
580,
595
],
[
595,
596
],
[
673,
597
],
[
597,
598
],
[
597,
599
],
[
599,
600
],
[
597,
601
],
[
601,
602
],
[
597,
603
],
[
603,
604
],
[
597,
605
],
[
605,
606
],
[
605,
607
],
[
597,
608
],
[
608,
609
],
[
608,
610
],
[
610,
611
],
[
611,
612
],
[
612,
613
],
[
612,
614
],
[
611,
615
],
[
608,
616
],
[
616,
617
],
[
597,
618
],
[
618,
619
],
[
618,
620
],
[
620,
621
],
[
621,
622
],
[
622,
623
],
[
622,
624
],
[
621,
625
],
[
620,
626
],
[
626,
627
],
[
627,
628
],
[
627,
629
],
[
626,
630
],
[
620,
631
],
[
631,
632
],
[
632,
633
],
[
632,
634
],
[
631,
635
],
[
618,
636
],
[
636,
637
],
[
618,
638
],
[
638,
639
],
[
618,
640
],
[
640,
641
],
[
673,
642
],
[
642,
643
],
[
642,
644
],
[
644,
645
],
[
642,
646
],
[
646,
647
],
[
642,
648
],
[
648,
649
],
[
648,
650
],
[
642,
651
],
[
651,
652
],
[
651,
653
],
[
653,
654
],
[
654,
655
],
[
654,
656
],
[
651,
657
],
[
657,
658
],
[
642,
659
],
[
659,
660
],
[
659,
661
],
[
661,
662
],
[
662,
663
],
[
662,
664
],
[
661,
665
],
[
665,
666
],
[
665,
667
],
[
659,
668
],
[
668,
669
],
[
659,
670
],
[
670,
671
],
[
0,
672
],
[
672,
673
],
[
672,
674
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n/* Name of the class has to be \"Main\" only if the class is public. */\npublic class Main {\n // Complete the maximumSum function below.\n public static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public double nextDouble() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n\n\n public static long gcd(long a, long b) {\n if (b == 0)\n return a;\n long r = a % b;\n return gcd(b, r);\n }\n\n static long lcm(long a, long b) {\n return (a * b) / gcd(a, b);\n }\n\n\n public class ListNode {\n int val;\n ListNode next;\n\n ListNode() {\n }\n\n ListNode(int val) {\n this.val = val;\n }\n\n ListNode(int val, ListNode next) {\n this.val = val;\n this.next = next;\n }\n }\n\n public class TreeNode {\n int val;\n TreeNode left;\n TreeNode right;\n\n TreeNode() {\n }\n\n TreeNode(int val) {\n this.val = val;\n }\n\n TreeNode(int val, TreeNode left, TreeNode right) {\n this.val = val;\n this.left = left;\n this.right = right;\n }\n }\n\n class Node {\n public int val;\n public List<Node> children;\n\n public Node() {\n }\n\n public Node(int _val) {\n val = _val;\n }\n\n public Node(int _val, List<Node> _children) {\n val = _val;\n children = _children;\n }\n }\n\n\n public static void main(String[] args) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader scanner = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n int n=scanner.nextInt(),x=scanner.nextInt(),t=scanner.nextInt();\n int ans=n/x;\n if(n%x!=0)\n ans++;\n w.println(ans*t);\n w.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n // Complete the maximumSum function below.\n public static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public double nextDouble() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n\n\n public static long gcd(long a, long b) {\n if (b == 0)\n return a;\n long r = a % b;\n return gcd(b, r);\n }\n\n static long lcm(long a, long b) {\n return (a * b) / gcd(a, b);\n }\n\n\n public class ListNode {\n int val;\n ListNode next;\n\n ListNode() {\n }\n\n ListNode(int val) {\n this.val = val;\n }\n\n ListNode(int val, ListNode next) {\n this.val = val;\n this.next = next;\n }\n }\n\n public class TreeNode {\n int val;\n TreeNode left;\n TreeNode right;\n\n TreeNode() {\n }\n\n TreeNode(int val) {\n this.val = val;\n }\n\n TreeNode(int val, TreeNode left, TreeNode right) {\n this.val = val;\n this.left = left;\n this.right = right;\n }\n }\n\n class Node {\n public int val;\n public List<Node> children;\n\n public Node() {\n }\n\n public Node(int _val) {\n val = _val;\n }\n\n public Node(int _val, List<Node> _children) {\n val = _val;\n children = _children;\n }\n }\n\n\n public static void main(String[] args) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader scanner = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n int n=scanner.nextInt(),x=scanner.nextInt(),t=scanner.nextInt();\n int ans=n/x;\n if(n%x!=0)\n ans++;\n w.println(ans*t);\n w.close();\n }\n}",
"Main",
"public static long gcd(long a, long b) {\n if (b == 0)\n return a;\n long r = a % b;\n return gcd(b, r);\n }",
"gcd",
"{\n if (b == 0)\n return a;\n long r = a % b;\n return gcd(b, r);\n }",
"if (b == 0)\n return a;",
"b == 0",
"b",
"0",
"return a;",
"a",
"long r = a % b;",
"r",
"a % b",
"a",
"b",
"return gcd(b, r);",
"gcd(b, r)",
"gcd",
"b",
"r",
"long a",
"a",
"long b",
"b",
"static long lcm(long a, long b) {\n return (a * b) / gcd(a, b);\n }",
"lcm",
"{\n return (a * b) / gcd(a, b);\n }",
"return (a * b) / gcd(a, b);",
"(a * b) / gcd(a, b)",
"(a * b)",
"a",
"b",
"gcd(a, b)",
"gcd",
"a",
"b",
"long a",
"a",
"long b",
"b",
"public static void main(String[] args) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader scanner = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n int n=scanner.nextInt(),x=scanner.nextInt(),t=scanner.nextInt();\n int ans=n/x;\n if(n%x!=0)\n ans++;\n w.println(ans*t);\n w.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader scanner = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n int n=scanner.nextInt(),x=scanner.nextInt(),t=scanner.nextInt();\n int ans=n/x;\n if(n%x!=0)\n ans++;\n w.println(ans*t);\n w.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader scanner = new InputReader(inputStream);",
"scanner",
"new InputReader(inputStream)",
"PrintWriter w = new PrintWriter(outputStream);",
"w",
"new PrintWriter(outputStream)",
"int n=scanner.nextInt()",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"x=scanner.nextInt()",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"t=scanner.nextInt();",
"t",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int ans=n/x;",
"ans",
"n/x",
"n",
"x",
"if(n%x!=0)\n ans++;",
"n%x!=0",
"n%x",
"n",
"x",
"0",
"ans++",
"ans",
"w.println(ans*t)",
"w.println",
"w",
"ans*t",
"ans",
"t",
"w.close()",
"w.close",
"w",
"String[] args",
"args",
"public static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public double nextDouble() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private SpaceCharFilter filter;",
"filter",
"private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (numChars == -1)\n throw new InputMismatchException();",
"numChars == -1",
"numChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0)\n return -1;",
"numChars <= 0",
"numChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"long res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public double nextDouble() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }",
"nextDouble",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"double res = 0;",
"res",
"0",
"while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"!isSpaceChar(c) && c != '.'",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c != '.'",
"c",
"'.'",
"{\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());",
"c == 'e' || c == 'E'",
"c == 'e'",
"c",
"'e'",
"c == 'E'",
"c",
"'E'",
"return res * Math.pow(10, nextInt());",
"res * Math.pow(10, nextInt())",
"res",
"Math.pow(10, nextInt())",
"Math.pow",
"Math",
"10",
"nextInt()",
"nextInt",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }",
"c == '.'",
"c",
"'.'",
"{\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }",
"c = read()",
"c",
"read()",
"read",
"double m = 1;",
"m",
"1",
"while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }",
"if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());",
"c == 'e' || c == 'E'",
"c == 'e'",
"c",
"'e'",
"c == 'E'",
"c",
"'E'",
"return res * Math.pow(10, nextInt());",
"res * Math.pow(10, nextInt())",
"res",
"Math.pow(10, nextInt())",
"Math.pow",
"Math",
"10",
"nextInt()",
"nextInt",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"m /= 10",
"m",
"10",
"res += (c - '0') * m",
"res",
"(c - '0') * m",
"(c - '0')",
"c",
"'0'",
"m",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }",
"readString",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"if (filter != null)\n return filter.isSpaceChar(c);",
"filter != null",
"filter",
"null",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public String next() {\n return readString();\n }",
"next",
"{\n return readString();\n }",
"return readString();",
"readString()",
"readString",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class ListNode {\n int val;\n ListNode next;\n\n ListNode() {\n }\n\n ListNode(int val) {\n this.val = val;\n }\n\n ListNode(int val, ListNode next) {\n this.val = val;\n this.next = next;\n }\n }",
"ListNode",
"int val;",
"val",
"ListNode next;",
"next",
"ListNode() {\n }",
"ListNode",
"{\n }",
"ListNode(int val) {\n this.val = val;\n }",
"ListNode",
"{\n this.val = val;\n }",
"this.val = val",
"this.val",
"this",
"this.val",
"val",
"int val",
"val",
"ListNode(int val, ListNode next) {\n this.val = val;\n this.next = next;\n }",
"ListNode",
"{\n this.val = val;\n this.next = next;\n }",
"this.val = val",
"this.val",
"this",
"this.val",
"val",
"this.next = next",
"this.next",
"this",
"this.next",
"next",
"int val",
"val",
"ListNode next",
"next",
"public class TreeNode {\n int val;\n TreeNode left;\n TreeNode right;\n\n TreeNode() {\n }\n\n TreeNode(int val) {\n this.val = val;\n }\n\n TreeNode(int val, TreeNode left, TreeNode right) {\n this.val = val;\n this.left = left;\n this.right = right;\n }\n }",
"TreeNode",
"int val;",
"val",
"TreeNode left;",
"left",
"TreeNode right;",
"right",
"TreeNode() {\n }",
"TreeNode",
"{\n }",
"TreeNode(int val) {\n this.val = val;\n }",
"TreeNode",
"{\n this.val = val;\n }",
"this.val = val",
"this.val",
"this",
"this.val",
"val",
"int val",
"val",
"TreeNode(int val, TreeNode left, TreeNode right) {\n this.val = val;\n this.left = left;\n this.right = right;\n }",
"TreeNode",
"{\n this.val = val;\n this.left = left;\n this.right = right;\n }",
"this.val = val",
"this.val",
"this",
"this.val",
"val",
"this.left = left",
"this.left",
"this",
"this.left",
"left",
"this.right = right",
"this.right",
"this",
"this.right",
"right",
"int val",
"val",
"TreeNode left",
"left",
"TreeNode right",
"right",
"class Node {\n public int val;\n public List<Node> children;\n\n public Node() {\n }\n\n public Node(int _val) {\n val = _val;\n }\n\n public Node(int _val, List<Node> _children) {\n val = _val;\n children = _children;\n }\n }",
"Node",
"public int val;",
"val",
"public List<Node> children;",
"children",
"public Node() {\n }",
"Node",
"{\n }",
"public Node(int _val) {\n val = _val;\n }",
"Node",
"{\n val = _val;\n }",
"val = _val",
"val",
"_val",
"int _val",
"_val",
"public Node(int _val, List<Node> _children) {\n val = _val;\n children = _children;\n }",
"Node",
"{\n val = _val;\n children = _children;\n }",
"val = _val",
"val",
"_val",
"children = _children",
"children",
"_children",
"int _val",
"_val",
"List<Node> _children",
"_children",
"public class Main {\n // Complete the maximumSum function below.\n public static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public double nextDouble() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n\n\n public static long gcd(long a, long b) {\n if (b == 0)\n return a;\n long r = a % b;\n return gcd(b, r);\n }\n\n static long lcm(long a, long b) {\n return (a * b) / gcd(a, b);\n }\n\n\n public class ListNode {\n int val;\n ListNode next;\n\n ListNode() {\n }\n\n ListNode(int val) {\n this.val = val;\n }\n\n ListNode(int val, ListNode next) {\n this.val = val;\n this.next = next;\n }\n }\n\n public class TreeNode {\n int val;\n TreeNode left;\n TreeNode right;\n\n TreeNode() {\n }\n\n TreeNode(int val) {\n this.val = val;\n }\n\n TreeNode(int val, TreeNode left, TreeNode right) {\n this.val = val;\n this.left = left;\n this.right = right;\n }\n }\n\n class Node {\n public int val;\n public List<Node> children;\n\n public Node() {\n }\n\n public Node(int _val) {\n val = _val;\n }\n\n public Node(int _val, List<Node> _children) {\n val = _val;\n children = _children;\n }\n }\n\n\n public static void main(String[] args) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader scanner = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n int n=scanner.nextInt(),x=scanner.nextInt(),t=scanner.nextInt();\n int ans=n/x;\n if(n%x!=0)\n ans++;\n w.println(ans*t);\n w.close();\n }\n}",
"public class Main {\n // Complete the maximumSum function below.\n public static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public double nextDouble() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n\n\n public static long gcd(long a, long b) {\n if (b == 0)\n return a;\n long r = a % b;\n return gcd(b, r);\n }\n\n static long lcm(long a, long b) {\n return (a * b) / gcd(a, b);\n }\n\n\n public class ListNode {\n int val;\n ListNode next;\n\n ListNode() {\n }\n\n ListNode(int val) {\n this.val = val;\n }\n\n ListNode(int val, ListNode next) {\n this.val = val;\n this.next = next;\n }\n }\n\n public class TreeNode {\n int val;\n TreeNode left;\n TreeNode right;\n\n TreeNode() {\n }\n\n TreeNode(int val) {\n this.val = val;\n }\n\n TreeNode(int val, TreeNode left, TreeNode right) {\n this.val = val;\n this.left = left;\n this.right = right;\n }\n }\n\n class Node {\n public int val;\n public List<Node> children;\n\n public Node() {\n }\n\n public Node(int _val) {\n val = _val;\n }\n\n public Node(int _val, List<Node> _children) {\n val = _val;\n children = _children;\n }\n }\n\n\n public static void main(String[] args) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader scanner = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n int n=scanner.nextInt(),x=scanner.nextInt(),t=scanner.nextInt();\n int ans=n/x;\n if(n%x!=0)\n ans++;\n w.println(ans*t);\n w.close();\n }\n}",
"Main"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
public class Main {
// Complete the maximumSum function below.
public static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private SpaceCharFilter filter;
private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1)
throw new InputMismatchException();
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0)
return -1;
}
return buf[curChar++];
}
public String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
public int nextInt() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
}
while (!isSpaceChar(c));
return res * sgn;
}
public long nextLong() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
}
while (!isSpaceChar(c));
return res * sgn;
}
public double nextDouble() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
double res = 0;
while (!isSpaceChar(c) && c != '.') {
if (c == 'e' || c == 'E')
return res * Math.pow(10, nextInt());
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
}
if (c == '.') {
c = read();
double m = 1;
while (!isSpaceChar(c)) {
if (c == 'e' || c == 'E')
return res * Math.pow(10, nextInt());
if (c < '0' || c > '9')
throw new InputMismatchException();
m /= 10;
res += (c - '0') * m;
c = read();
}
}
return res * sgn;
}
public String readString() {
int c = read();
while (isSpaceChar(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
}
while (!isSpaceChar(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
if (filter != null)
return filter.isSpaceChar(c);
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public String next() {
return readString();
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
public static long gcd(long a, long b) {
if (b == 0)
return a;
long r = a % b;
return gcd(b, r);
}
static long lcm(long a, long b) {
return (a * b) / gcd(a, b);
}
public class ListNode {
int val;
ListNode next;
ListNode() {
}
ListNode(int val) {
this.val = val;
}
ListNode(int val, ListNode next) {
this.val = val;
this.next = next;
}
}
public class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode() {
}
TreeNode(int val) {
this.val = val;
}
TreeNode(int val, TreeNode left, TreeNode right) {
this.val = val;
this.left = left;
this.right = right;
}
}
class Node {
public int val;
public List<Node> children;
public Node() {
}
public Node(int _val) {
val = _val;
}
public Node(int _val, List<Node> _children) {
val = _val;
children = _children;
}
}
public static void main(String[] args) throws IOException {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader scanner = new InputReader(inputStream);
PrintWriter w = new PrintWriter(outputStream);
int n=scanner.nextInt(),x=scanner.nextInt(),t=scanner.nextInt();
int ans=n/x;
if(n%x!=0)
ans++;
w.println(ans*t);
w.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
2,
2,
17,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
152,
8
],
[
152,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
35,
44
],
[
9,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
47,
51
],
[
51,
52
],
[
47,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
53,
62
],
[
62,
63
],
[
47,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
67,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
77,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
66,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
91,
92
],
[
92,
93
],
[
47,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
97,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
107,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
96,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
121,
122
],
[
122,
123
],
[
47,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
127,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
137,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
126,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
0,
151
],
[
151,
152
],
[
151,
153
]
]
| [
"import java.io.*;\nimport java.util.*;\npublic class Main {\n public static void main(String args[]) {\n Scanner in=new Scanner(System.in);\n // int t=in.nextInt();\n // while(--t>=0){\n int n=in.nextInt();\n int x=in.nextInt();\n int t=in.nextInt();\n\n System.out.println((int)Math.ceil(1.0*n/x)*t);\n // }\n }\n}\nclass scan\n{\n public static BufferedReader reader;\n public static StringTokenizer token;\n\n scan(InputStream str)\n {\n reader=new BufferedReader(new InputStreamReader(str));\n token=null;\n }\n\n static int nextInt()\n {\n while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }\n return Integer.parseInt(token.nextToken());\n }\n\n static long nextLong()\n {\n while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }\n return Long.parseLong(token.nextToken());\n }\n\n static String next()\n {\n while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }\n return token.nextToken();\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String args[]) {\n Scanner in=new Scanner(System.in);\n // int t=in.nextInt();\n // while(--t>=0){\n int n=in.nextInt();\n int x=in.nextInt();\n int t=in.nextInt();\n\n System.out.println((int)Math.ceil(1.0*n/x)*t);\n // }\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner in=new Scanner(System.in);\n // int t=in.nextInt();\n // while(--t>=0){\n int n=in.nextInt();\n int x=in.nextInt();\n int t=in.nextInt();\n\n System.out.println((int)Math.ceil(1.0*n/x)*t);\n // }\n }",
"main",
"{\n Scanner in=new Scanner(System.in);\n // int t=in.nextInt();\n // while(--t>=0){\n int n=in.nextInt();\n int x=in.nextInt();\n int t=in.nextInt();\n\n System.out.println((int)Math.ceil(1.0*n/x)*t);\n // }\n }",
"Scanner in=new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int n=in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"int x=in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"int t=in.nextInt();",
"t",
"in.nextInt()",
"in.nextInt",
"in",
"System.out.println((int)Math.ceil(1.0*n/x)*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.ceil(1.0*n/x)*t",
"(int)Math.ceil(1.0*n/x)",
"Math.ceil",
"Math",
"1.0*n/x",
"1.0*n",
"1.0",
"n",
"x",
"t",
"String args[]",
"args",
"class scan\n{\n public static BufferedReader reader;\n public static StringTokenizer token;\n\n scan(InputStream str)\n {\n reader=new BufferedReader(new InputStreamReader(str));\n token=null;\n }\n\n static int nextInt()\n {\n while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }\n return Integer.parseInt(token.nextToken());\n }\n\n static long nextLong()\n {\n while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }\n return Long.parseLong(token.nextToken());\n }\n\n static String next()\n {\n while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }\n return token.nextToken();\n }\n\n}",
"scan",
"public static BufferedReader reader;",
"reader",
"public static StringTokenizer token;",
"token",
"scan(InputStream str)\n {\n reader=new BufferedReader(new InputStreamReader(str));\n token=null;\n }",
"scan",
"{\n reader=new BufferedReader(new InputStreamReader(str));\n token=null;\n }",
"reader=new BufferedReader(new InputStreamReader(str))",
"reader",
"new BufferedReader(new InputStreamReader(str))",
"token=null",
"token",
"null",
"InputStream str",
"str",
"static int nextInt()\n {\n while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }\n return Integer.parseInt(token.nextToken());\n }",
"nextInt",
"{\n while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }\n return Integer.parseInt(token.nextToken());\n }",
"while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }",
"token==null||!token.hasMoreTokens()",
"token==null",
"token",
"null",
"!token.hasMoreTokens()",
"token.hasMoreTokens()",
"token.hasMoreTokens",
"token",
"{\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }",
"try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }",
"catch(IOException e){ throw new RuntimeException(e); }",
"IOException e",
"{ throw new RuntimeException(e); }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{ token=new StringTokenizer(reader.readLine()); }",
"token=new StringTokenizer(reader.readLine())",
"token",
"new StringTokenizer(reader.readLine())",
"return Integer.parseInt(token.nextToken());",
"Integer.parseInt(token.nextToken())",
"Integer.parseInt",
"Integer",
"token.nextToken()",
"token.nextToken",
"token",
"static long nextLong()\n {\n while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }\n return Long.parseLong(token.nextToken());\n }",
"nextLong",
"{\n while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }\n return Long.parseLong(token.nextToken());\n }",
"while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }",
"token==null||!token.hasMoreTokens()",
"token==null",
"token",
"null",
"!token.hasMoreTokens()",
"token.hasMoreTokens()",
"token.hasMoreTokens",
"token",
"{\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }",
"try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }",
"catch(IOException e){ throw new RuntimeException(e); }",
"IOException e",
"{ throw new RuntimeException(e); }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{ token=new StringTokenizer(reader.readLine()); }",
"token=new StringTokenizer(reader.readLine())",
"token",
"new StringTokenizer(reader.readLine())",
"return Long.parseLong(token.nextToken());",
"Long.parseLong(token.nextToken())",
"Long.parseLong",
"Long",
"token.nextToken()",
"token.nextToken",
"token",
"static String next()\n {\n while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }\n return token.nextToken();\n }",
"next",
"{\n while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }\n return token.nextToken();\n }",
"while(token==null||!token.hasMoreTokens())\n {\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }",
"token==null||!token.hasMoreTokens()",
"token==null",
"token",
"null",
"!token.hasMoreTokens()",
"token.hasMoreTokens()",
"token.hasMoreTokens",
"token",
"{\n try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }\n }",
"try { token=new StringTokenizer(reader.readLine()); }\n catch(IOException e){ throw new RuntimeException(e); }",
"catch(IOException e){ throw new RuntimeException(e); }",
"IOException e",
"{ throw new RuntimeException(e); }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{ token=new StringTokenizer(reader.readLine()); }",
"token=new StringTokenizer(reader.readLine())",
"token",
"new StringTokenizer(reader.readLine())",
"return token.nextToken();",
"token.nextToken()",
"token.nextToken",
"token",
"public class Main {\n public static void main(String args[]) {\n Scanner in=new Scanner(System.in);\n // int t=in.nextInt();\n // while(--t>=0){\n int n=in.nextInt();\n int x=in.nextInt();\n int t=in.nextInt();\n\n System.out.println((int)Math.ceil(1.0*n/x)*t);\n // }\n }\n}",
"public class Main {\n public static void main(String args[]) {\n Scanner in=new Scanner(System.in);\n // int t=in.nextInt();\n // while(--t>=0){\n int n=in.nextInt();\n int x=in.nextInt();\n int t=in.nextInt();\n\n System.out.println((int)Math.ceil(1.0*n/x)*t);\n // }\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner in=new Scanner(System.in);
// int t=in.nextInt();
// while(--t>=0){
int n=in.nextInt();
int x=in.nextInt();
int t=in.nextInt();
System.out.println((int)Math.ceil(1.0*n/x)*t);
// }
}
}
class scan
{
public static BufferedReader reader;
public static StringTokenizer token;
scan(InputStream str)
{
reader=new BufferedReader(new InputStreamReader(str));
token=null;
}
static int nextInt()
{
while(token==null||!token.hasMoreTokens())
{
try { token=new StringTokenizer(reader.readLine()); }
catch(IOException e){ throw new RuntimeException(e); }
}
return Integer.parseInt(token.nextToken());
}
static long nextLong()
{
while(token==null||!token.hasMoreTokens())
{
try { token=new StringTokenizer(reader.readLine()); }
catch(IOException e){ throw new RuntimeException(e); }
}
return Long.parseLong(token.nextToken());
}
static String next()
{
while(token==null||!token.hasMoreTokens())
{
try { token=new StringTokenizer(reader.readLine()); }
catch(IOException e){ throw new RuntimeException(e); }
}
return token.nextToken();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
2,
13,
13,
13,
14,
2,
2,
13,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
72,
8
],
[
72,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
11,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
60,
61
],
[
60,
62
],
[
11,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
9,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"//package abc176;\n\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] ip = br.readLine().split(\" \");\n\t\t\n\t\tint N = Integer.parseInt(ip[0]);\n\t\tint X = Integer.parseInt(ip[1]);\n\t\tint T = Integer.parseInt(ip[2]);\n\t\t\n\t\tint ans = N/X*T;\n\t\t\n\t\tif(N%X != 0) ans += T;\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n\t\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] ip = br.readLine().split(\" \");\n\t\t\n\t\tint N = Integer.parseInt(ip[0]);\n\t\tint X = Integer.parseInt(ip[1]);\n\t\tint T = Integer.parseInt(ip[2]);\n\t\t\n\t\tint ans = N/X*T;\n\t\t\n\t\tif(N%X != 0) ans += T;\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n\t\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] ip = br.readLine().split(\" \");\n\t\t\n\t\tint N = Integer.parseInt(ip[0]);\n\t\tint X = Integer.parseInt(ip[1]);\n\t\tint T = Integer.parseInt(ip[2]);\n\t\t\n\t\tint ans = N/X*T;\n\t\t\n\t\tif(N%X != 0) ans += T;\n\t\t\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] ip = br.readLine().split(\" \");\n\t\t\n\t\tint N = Integer.parseInt(ip[0]);\n\t\tint X = Integer.parseInt(ip[1]);\n\t\tint T = Integer.parseInt(ip[2]);\n\t\t\n\t\tint ans = N/X*T;\n\t\t\n\t\tif(N%X != 0) ans += T;\n\t\t\n\t\tSystem.out.println(ans);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] ip = br.readLine().split(\" \");",
"ip",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int N = Integer.parseInt(ip[0]);",
"N",
"Integer.parseInt(ip[0])",
"Integer.parseInt",
"Integer",
"ip[0]",
"ip",
"0",
"int X = Integer.parseInt(ip[1]);",
"X",
"Integer.parseInt(ip[1])",
"Integer.parseInt",
"Integer",
"ip[1]",
"ip",
"1",
"int T = Integer.parseInt(ip[2]);",
"T",
"Integer.parseInt(ip[2])",
"Integer.parseInt",
"Integer",
"ip[2]",
"ip",
"2",
"int ans = N/X*T;",
"ans",
"N/X*T",
"N/X",
"N",
"X",
"T",
"if(N%X != 0) ans += T;",
"N%X != 0",
"N%X",
"N",
"X",
"0",
"ans += T",
"ans",
"T",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] ip = br.readLine().split(\" \");\n\t\t\n\t\tint N = Integer.parseInt(ip[0]);\n\t\tint X = Integer.parseInt(ip[1]);\n\t\tint T = Integer.parseInt(ip[2]);\n\t\t\n\t\tint ans = N/X*T;\n\t\t\n\t\tif(N%X != 0) ans += T;\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n\t\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] ip = br.readLine().split(\" \");\n\t\t\n\t\tint N = Integer.parseInt(ip[0]);\n\t\tint X = Integer.parseInt(ip[1]);\n\t\tint T = Integer.parseInt(ip[2]);\n\t\t\n\t\tint ans = N/X*T;\n\t\t\n\t\tif(N%X != 0) ans += T;\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n\t\n}",
"Main"
]
| //package abc176;
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] ip = br.readLine().split(" ");
int N = Integer.parseInt(ip[0]);
int X = Integer.parseInt(ip[1]);
int T = Integer.parseInt(ip[2]);
int ans = N/X*T;
if(N%X != 0) ans += T;
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
2,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
186,
17
],
[
186,
18
],
[
18,
19
],
[
18,
20
],
[
186,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
23,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
23,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
47,
54
],
[
21,
55
],
[
55,
56
],
[
186,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
65,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
77,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
77,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
93,
95
],
[
77,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
59,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
57,
105
],
[
105,
106
],
[
186,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
112,
113
],
[
112,
114
],
[
107,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
118,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
123,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
117,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
107,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
145,
146
],
[
107,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
154,
159
],
[
159,
160
],
[
159,
161
],
[
154,
162
],
[
162,
163
],
[
163,
164
],
[
154,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
149,
172
],
[
172,
173
],
[
147,
174
],
[
174,
175
],
[
107,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
183,
184
],
[
0,
185
],
[
185,
186
],
[
185,
187
]
]
| [
"//Coded By Visnunathan\n\nimport java.io.*;\nimport java.util.*;\nimport java.text.*;\nimport java.math.*;\nimport java.lang.*;\n\npublic class Main {\n // static int[] arr;\n // static int n,k;\n public static void main(String[] args) {\n FastScanner sc=new FastScanner();\n // int T=sc.nextInt();\n // for (int tt=0; tt<T; tt++) {\n double n = (double)sc.nextInt();\n double x = (double)sc.nextInt();\n double t = (double)sc.nextInt();\n System.out.println((int)((Math.ceil(n/x))*t));\n //arr = sc.readArray(n);\n // }\n }\n\n static final Random random=new Random();\n \n static void ruffleSort(int[] a) {\n int n=a.length;//shuffle, then sort \n for (int i=0; i<n; i++) {\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }\n Arrays.sort(a);\n }\n \n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n \n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.text.*;",
"text.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n // static int[] arr;\n // static int n,k;\n public static void main(String[] args) {\n FastScanner sc=new FastScanner();\n // int T=sc.nextInt();\n // for (int tt=0; tt<T; tt++) {\n double n = (double)sc.nextInt();\n double x = (double)sc.nextInt();\n double t = (double)sc.nextInt();\n System.out.println((int)((Math.ceil(n/x))*t));\n //arr = sc.readArray(n);\n // }\n }\n\n static final Random random=new Random();\n \n static void ruffleSort(int[] a) {\n int n=a.length;//shuffle, then sort \n for (int i=0; i<n; i++) {\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }\n Arrays.sort(a);\n }\n \n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n \n}",
"Main",
"static final Random random=new Random();",
"random",
"new Random()",
"// static int[] arr;\n // static int n,k;\n public static void main(String[] args) {\n FastScanner sc=new FastScanner();\n // int T=sc.nextInt();\n // for (int tt=0; tt<T; tt++) {\n double n = (double)sc.nextInt();\n double x = (double)sc.nextInt();\n double t = (double)sc.nextInt();\n System.out.println((int)((Math.ceil(n/x))*t));\n //arr = sc.readArray(n);\n // }\n }",
"main",
"{\n FastScanner sc=new FastScanner();\n // int T=sc.nextInt();\n // for (int tt=0; tt<T; tt++) {\n double n = (double)sc.nextInt();\n double x = (double)sc.nextInt();\n double t = (double)sc.nextInt();\n System.out.println((int)((Math.ceil(n/x))*t));\n //arr = sc.readArray(n);\n // }\n }",
"FastScanner sc=new FastScanner();",
"sc",
"new FastScanner()",
"double n = (double)sc.nextInt();",
"n",
"(double)sc.nextInt()",
"sc.nextInt",
"sc",
"double x = (double)sc.nextInt();",
"x",
"(double)sc.nextInt()",
"sc.nextInt",
"sc",
"double t = (double)sc.nextInt();",
"t",
"(double)sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println((int)((Math.ceil(n/x))*t))",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)((Math.ceil(n/x))*t)",
"(Math.ceil(n/x))",
"Math.ceil",
"Math",
"n/x",
"n",
"x",
"t",
"String[] args",
"args",
"static void ruffleSort(int[] a) {\n int n=a.length;//shuffle, then sort \n for (int i=0; i<n; i++) {\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }\n Arrays.sort(a);\n }",
"ruffleSort",
"{\n int n=a.length;//shuffle, then sort \n for (int i=0; i<n; i++) {\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }\n Arrays.sort(a);\n }",
"int n=a.length;",
"n",
"a.length",
"a",
"a.length",
"for (int i=0; i<n; i++) {\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }",
"{\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }",
"int oi=random.nextInt(n)",
"oi",
"random.nextInt(n)",
"random.nextInt",
"random",
"n",
"temp=a[oi];",
"temp",
"a[oi]",
"a",
"oi",
"a[oi]=a[i]",
"a[oi]",
"a",
"oi",
"a[i]",
"a",
"i",
"a[i]=temp",
"a[i]",
"a",
"i",
"temp",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"int[] a",
"a",
"static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n }",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"next",
"{\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st=new StringTokenizer(br.readLine());\n }",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }",
"readArray",
"{\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n // static int[] arr;\n // static int n,k;\n public static void main(String[] args) {\n FastScanner sc=new FastScanner();\n // int T=sc.nextInt();\n // for (int tt=0; tt<T; tt++) {\n double n = (double)sc.nextInt();\n double x = (double)sc.nextInt();\n double t = (double)sc.nextInt();\n System.out.println((int)((Math.ceil(n/x))*t));\n //arr = sc.readArray(n);\n // }\n }\n\n static final Random random=new Random();\n \n static void ruffleSort(int[] a) {\n int n=a.length;//shuffle, then sort \n for (int i=0; i<n; i++) {\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }\n Arrays.sort(a);\n }\n \n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n \n}",
"public class Main {\n // static int[] arr;\n // static int n,k;\n public static void main(String[] args) {\n FastScanner sc=new FastScanner();\n // int T=sc.nextInt();\n // for (int tt=0; tt<T; tt++) {\n double n = (double)sc.nextInt();\n double x = (double)sc.nextInt();\n double t = (double)sc.nextInt();\n System.out.println((int)((Math.ceil(n/x))*t));\n //arr = sc.readArray(n);\n // }\n }\n\n static final Random random=new Random();\n \n static void ruffleSort(int[] a) {\n int n=a.length;//shuffle, then sort \n for (int i=0; i<n; i++) {\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }\n Arrays.sort(a);\n }\n \n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n \n}",
"Main"
]
| //Coded By Visnunathan
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.lang.*;
public class Main {
// static int[] arr;
// static int n,k;
public static void main(String[] args) {
FastScanner sc=new FastScanner();
// int T=sc.nextInt();
// for (int tt=0; tt<T; tt++) {
double n = (double)sc.nextInt();
double x = (double)sc.nextInt();
double t = (double)sc.nextInt();
System.out.println((int)((Math.ceil(n/x))*t));
//arr = sc.readArray(n);
// }
}
static final Random random=new Random();
static void ruffleSort(int[] a) {
int n=a.length;//shuffle, then sort
for (int i=0; i<n; i++) {
int oi=random.nextInt(n), temp=a[oi];
a[oi]=a[i]; a[i]=temp;
}
Arrays.sort(a);
}
static class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
try {
st=new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a=new int[n];
for (int i=0; i<n; i++) a[i]=nextInt();
return a;
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
14,
2,
2,
13,
13,
17,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
2,
13,
13,
17,
13,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
4,
13,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
87,
5
],
[
87,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
26,
32
],
[
8,
33
],
[
33,
34
],
[
6,
35
],
[
35,
36
],
[
6,
37
],
[
37,
38
],
[
6,
39
],
[
39,
40
],
[
87,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
43,
49
],
[
49,
50
],
[
43,
51
],
[
51,
52
],
[
43,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
43,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
43,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
43,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
70,
73
],
[
70,
74
],
[
43,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
43,
81
],
[
81,
82
],
[
82,
83
],
[
41,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tstatic int solve(int n, int x, int t) {\n\n\t\tint minute;\n\t\tif (n % x == 0)\n\t\t\tminute = (n / x) * t;\n\t\telse\n\t\t\tminute = (n / x + 1) * t;\n\n\t\treturn minute;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n, x, t;\n\n\t\tn = stdIn.nextInt();\n\t\tx = stdIn.nextInt();\n\t\tt = stdIn.nextInt();\n\n\t\tint result = solve(n, x, t);\n\t\tSystem.out.println(result);\n\n\t\tstdIn.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic int solve(int n, int x, int t) {\n\n\t\tint minute;\n\t\tif (n % x == 0)\n\t\t\tminute = (n / x) * t;\n\t\telse\n\t\t\tminute = (n / x + 1) * t;\n\n\t\treturn minute;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n, x, t;\n\n\t\tn = stdIn.nextInt();\n\t\tx = stdIn.nextInt();\n\t\tt = stdIn.nextInt();\n\n\t\tint result = solve(n, x, t);\n\t\tSystem.out.println(result);\n\n\t\tstdIn.close();\n\t}\n}",
"Main",
"static int solve(int n, int x, int t) {\n\n\t\tint minute;\n\t\tif (n % x == 0)\n\t\t\tminute = (n / x) * t;\n\t\telse\n\t\t\tminute = (n / x + 1) * t;\n\n\t\treturn minute;\n\t}",
"solve",
"{\n\n\t\tint minute;\n\t\tif (n % x == 0)\n\t\t\tminute = (n / x) * t;\n\t\telse\n\t\t\tminute = (n / x + 1) * t;\n\n\t\treturn minute;\n\t}",
"int minute;",
"minute",
"if (n % x == 0)\n\t\t\tminute = (n / x) * t;\n\t\telse\n\t\t\tminute = (n / x + 1) * t;",
"n % x == 0",
"n % x",
"n",
"x",
"0",
"minute = (n / x) * t",
"minute",
"(n / x) * t",
"(n / x)",
"n",
"x",
"t",
"minute = (n / x + 1) * t",
"minute",
"(n / x + 1) * t",
"(n / x + 1)",
"n / x",
"n",
"x",
"1",
"t",
"return minute;",
"minute",
"int n",
"n",
"int x",
"x",
"int t",
"t",
"public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n, x, t;\n\n\t\tn = stdIn.nextInt();\n\t\tx = stdIn.nextInt();\n\t\tt = stdIn.nextInt();\n\n\t\tint result = solve(n, x, t);\n\t\tSystem.out.println(result);\n\n\t\tstdIn.close();\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n, x, t;\n\n\t\tn = stdIn.nextInt();\n\t\tx = stdIn.nextInt();\n\t\tt = stdIn.nextInt();\n\n\t\tint result = solve(n, x, t);\n\t\tSystem.out.println(result);\n\n\t\tstdIn.close();\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int n",
"n",
"x",
"x",
"t;",
"t",
"n = stdIn.nextInt()",
"n",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"x = stdIn.nextInt()",
"x",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"t = stdIn.nextInt()",
"t",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int result = solve(n, x, t);",
"result",
"solve(n, x, t)",
"solve",
"n",
"x",
"t",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"stdIn.close()",
"stdIn.close",
"stdIn",
"String[] args",
"args",
"public class Main {\n\n\tstatic int solve(int n, int x, int t) {\n\n\t\tint minute;\n\t\tif (n % x == 0)\n\t\t\tminute = (n / x) * t;\n\t\telse\n\t\t\tminute = (n / x + 1) * t;\n\n\t\treturn minute;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n, x, t;\n\n\t\tn = stdIn.nextInt();\n\t\tx = stdIn.nextInt();\n\t\tt = stdIn.nextInt();\n\n\t\tint result = solve(n, x, t);\n\t\tSystem.out.println(result);\n\n\t\tstdIn.close();\n\t}\n}",
"public class Main {\n\n\tstatic int solve(int n, int x, int t) {\n\n\t\tint minute;\n\t\tif (n % x == 0)\n\t\t\tminute = (n / x) * t;\n\t\telse\n\t\t\tminute = (n / x + 1) * t;\n\n\t\treturn minute;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n, x, t;\n\n\t\tn = stdIn.nextInt();\n\t\tx = stdIn.nextInt();\n\t\tt = stdIn.nextInt();\n\n\t\tint result = solve(n, x, t);\n\t\tSystem.out.println(result);\n\n\t\tstdIn.close();\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
static int solve(int n, int x, int t) {
int minute;
if (n % x == 0)
minute = (n / x) * t;
else
minute = (n / x + 1) * t;
return minute;
}
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
int n, x, t;
n = stdIn.nextInt();
x = stdIn.nextInt();
t = stdIn.nextInt();
int result = solve(n, x, t);
System.out.println(result);
stdIn.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
8,
2,
2,
13,
13,
17,
17,
17,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
64,
8
],
[
64,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
18,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
23,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
45,
52
],
[
23,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
9,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
]
| [
"import java.io.*;\nimport java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=1;//sc.nextInt();\n\t\twhile(t-->0) {\n\t\t\tint n=sc.nextInt();\n\t\t\tint x=sc.nextInt();\n\t\t\tint T=sc.nextInt();\n\t\t\tint val=n/x+(n%x==0? 0:1);\n\t\t\tSystem.out.println(val*T);\n\t\t}\n\n\t}\n\n}\n/*class Reader{\n\tBufferedReader reader;\n\tReader(){\n\t\treader=new BufferedReader(new InputStreamReader(System.in));\n\t}\n\tint nextInt() throws IOException{\n\t\tString in=reader.readLine().trim();\n\t\treturn Integer.parseInt(in);\n\t}\n\tlong nextLong() throws IOException{\n\t\tString in=reader.readLine().trim();\n\t\treturn Long.parseLong(in);\n\t}\n\tString next() throws IOException{\n\t\treturn reader.readLine().trim();\n\t}\n\tString[] stringArray() throws IOException{\n\t\treturn reader.readLine().trim().split(\"\\\\s+\");\n\t}\n\tint[] intArray() throws IOException{\n\t\tString[] inp=this.stringArray();\n\t\tint[] arr=new int[inp.length];\n\t\tint i=0;\n\t\tfor(String s:inp) {\n\t\t\tarr[i++]=Integer.parseInt(s);\n\t\t}\n\t\treturn arr;\n\t}\n}*/\n\n",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=1;//sc.nextInt();\n\t\twhile(t-->0) {\n\t\t\tint n=sc.nextInt();\n\t\t\tint x=sc.nextInt();\n\t\t\tint T=sc.nextInt();\n\t\t\tint val=n/x+(n%x==0? 0:1);\n\t\t\tSystem.out.println(val*T);\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=1;//sc.nextInt();\n\t\twhile(t-->0) {\n\t\t\tint n=sc.nextInt();\n\t\t\tint x=sc.nextInt();\n\t\t\tint T=sc.nextInt();\n\t\t\tint val=n/x+(n%x==0? 0:1);\n\t\t\tSystem.out.println(val*T);\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=1;//sc.nextInt();\n\t\twhile(t-->0) {\n\t\t\tint n=sc.nextInt();\n\t\t\tint x=sc.nextInt();\n\t\t\tint T=sc.nextInt();\n\t\t\tint val=n/x+(n%x==0? 0:1);\n\t\t\tSystem.out.println(val*T);\n\t\t}\n\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int t=1;",
"t",
"1",
"while(t-->0) {\n\t\t\tint n=sc.nextInt();\n\t\t\tint x=sc.nextInt();\n\t\t\tint T=sc.nextInt();\n\t\t\tint val=n/x+(n%x==0? 0:1);\n\t\t\tSystem.out.println(val*T);\n\t\t}",
"t-->0",
"t--",
"t",
"0",
"{\n\t\t\tint n=sc.nextInt();\n\t\t\tint x=sc.nextInt();\n\t\t\tint T=sc.nextInt();\n\t\t\tint val=n/x+(n%x==0? 0:1);\n\t\t\tSystem.out.println(val*T);\n\t\t}",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int T=sc.nextInt();",
"T",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int val=n/x+(n%x==0? 0:1);",
"val",
"n/x+(n%x==0? 0:1)",
"n/x",
"n",
"x",
"(n%x==0? 0:1)",
"n%x==0",
"n%x",
"n",
"x",
"0",
"0",
"1",
"System.out.println(val*T)",
"System.out.println",
"System.out",
"System",
"System.out",
"val*T",
"val",
"T",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=1;//sc.nextInt();\n\t\twhile(t-->0) {\n\t\t\tint n=sc.nextInt();\n\t\t\tint x=sc.nextInt();\n\t\t\tint T=sc.nextInt();\n\t\t\tint val=n/x+(n%x==0? 0:1);\n\t\t\tSystem.out.println(val*T);\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=1;//sc.nextInt();\n\t\twhile(t-->0) {\n\t\t\tint n=sc.nextInt();\n\t\t\tint x=sc.nextInt();\n\t\t\tint T=sc.nextInt();\n\t\t\tint val=n/x+(n%x==0? 0:1);\n\t\t\tSystem.out.println(val*T);\n\t\t}\n\n\t}\n\n}",
"Main"
]
| import java.io.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int t=1;//sc.nextInt();
while(t-->0) {
int n=sc.nextInt();
int x=sc.nextInt();
int T=sc.nextInt();
int val=n/x+(n%x==0? 0:1);
System.out.println(val*T);
}
}
}
/*class Reader{
BufferedReader reader;
Reader(){
reader=new BufferedReader(new InputStreamReader(System.in));
}
int nextInt() throws IOException{
String in=reader.readLine().trim();
return Integer.parseInt(in);
}
long nextLong() throws IOException{
String in=reader.readLine().trim();
return Long.parseLong(in);
}
String next() throws IOException{
return reader.readLine().trim();
}
String[] stringArray() throws IOException{
return reader.readLine().trim().split("\\s+");
}
int[] intArray() throws IOException{
String[] inp=this.stringArray();
int[] arr=new int[inp.length];
int i=0;
for(String s:inp) {
arr[i++]=Integer.parseInt(s);
}
return arr;
}
}*/
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
2,
13,
13,
17,
40,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
6,
48
],
[
48,
49
]
]
| [
"import java.util.Scanner;\nclass Main{\n public static void main(String args[]){\n Scanner stdin = new Scanner(System.in);\n int N = stdin.nextInt();\n int X = stdin.nextInt();\n int T = stdin.nextInt();\n int try_num = N / X;\n if (N % X != 0) try_num++;\n System.out.println(try_num * T);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String args[]){\n Scanner stdin = new Scanner(System.in);\n int N = stdin.nextInt();\n int X = stdin.nextInt();\n int T = stdin.nextInt();\n int try_num = N / X;\n if (N % X != 0) try_num++;\n System.out.println(try_num * T);\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner stdin = new Scanner(System.in);\n int N = stdin.nextInt();\n int X = stdin.nextInt();\n int T = stdin.nextInt();\n int try_num = N / X;\n if (N % X != 0) try_num++;\n System.out.println(try_num * T);\n }",
"main",
"{\n Scanner stdin = new Scanner(System.in);\n int N = stdin.nextInt();\n int X = stdin.nextInt();\n int T = stdin.nextInt();\n int try_num = N / X;\n if (N % X != 0) try_num++;\n System.out.println(try_num * T);\n }",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"int N = stdin.nextInt();",
"N",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"int X = stdin.nextInt();",
"X",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"int T = stdin.nextInt();",
"T",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"int try_num = N / X;",
"try_num",
"N / X",
"N",
"X",
"if (N % X != 0) try_num++;",
"N % X != 0",
"N % X",
"N",
"X",
"0",
"try_num++",
"try_num",
"System.out.println(try_num * T)",
"System.out.println",
"System.out",
"System",
"System.out",
"try_num * T",
"try_num",
"T",
"String args[]",
"args"
]
| import java.util.Scanner;
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();
int try_num = N / X;
if (N % X != 0) try_num++;
System.out.println(try_num * T);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
2,
4,
18,
13,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
58,
11
],
[
58,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
14,
22
],
[
22,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
14,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
12,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\npublic class Main{\n\tpublic static void main (String[] args) {\n\t\t//code\n\t\tScanner in=new Scanner(System.in);\n\t\tint n,x,t;\n \tn=in.nextInt();\n \tx=in.nextInt();\n \tt=in.nextInt();\n \tint ans=(int)Math.ceil((double)n/x)*t;\n \tSystem.out.println(ans);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main (String[] args) {\n\t\t//code\n\t\tScanner in=new Scanner(System.in);\n\t\tint n,x,t;\n \tn=in.nextInt();\n \tx=in.nextInt();\n \tt=in.nextInt();\n \tint ans=(int)Math.ceil((double)n/x)*t;\n \tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main (String[] args) {\n\t\t//code\n\t\tScanner in=new Scanner(System.in);\n\t\tint n,x,t;\n \tn=in.nextInt();\n \tx=in.nextInt();\n \tt=in.nextInt();\n \tint ans=(int)Math.ceil((double)n/x)*t;\n \tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\t//code\n\t\tScanner in=new Scanner(System.in);\n\t\tint n,x,t;\n \tn=in.nextInt();\n \tx=in.nextInt();\n \tt=in.nextInt();\n \tint ans=(int)Math.ceil((double)n/x)*t;\n \tSystem.out.println(ans);\n\t}",
"Scanner in=new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int n",
"n",
"x",
"x",
"t;",
"t",
"n=in.nextInt()",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"x=in.nextInt()",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"t=in.nextInt()",
"t",
"in.nextInt()",
"in.nextInt",
"in",
"int ans=(int)Math.ceil((double)n/x)*t;",
"ans",
"(int)Math.ceil((double)n/x)*t",
"(int)Math.ceil((double)n/x)",
"Math.ceil",
"Math",
"(double)n/x",
"(double)n",
"x",
"t",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n\tpublic static void main (String[] args) {\n\t\t//code\n\t\tScanner in=new Scanner(System.in);\n\t\tint n,x,t;\n \tn=in.nextInt();\n \tx=in.nextInt();\n \tt=in.nextInt();\n \tint ans=(int)Math.ceil((double)n/x)*t;\n \tSystem.out.println(ans);\n\t}\n}",
"public class Main{\n\tpublic static void main (String[] args) {\n\t\t//code\n\t\tScanner in=new Scanner(System.in);\n\t\tint n,x,t;\n \tn=in.nextInt();\n \tx=in.nextInt();\n \tt=in.nextInt();\n \tint ans=(int)Math.ceil((double)n/x)*t;\n \tSystem.out.println(ans);\n\t}\n}",
"Main"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
public class Main{
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=(int)Math.ceil((double)n/x)*t;
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
51,
8
],
[
51,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
9,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
]
| [
"\nimport java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\t\tlong n=ob.nextLong();\n\t\tlong x=ob.nextLong();\n\t\tlong t=ob.nextLong();\n\t\tlong ans=(long)Math.ceil(n*(1.0)/x);\n\t\tSystem.out.println(ans*t);\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\t\tlong n=ob.nextLong();\n\t\tlong x=ob.nextLong();\n\t\tlong t=ob.nextLong();\n\t\tlong ans=(long)Math.ceil(n*(1.0)/x);\n\t\tSystem.out.println(ans*t);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\t\tlong n=ob.nextLong();\n\t\tlong x=ob.nextLong();\n\t\tlong t=ob.nextLong();\n\t\tlong ans=(long)Math.ceil(n*(1.0)/x);\n\t\tSystem.out.println(ans*t);\n\t}",
"main",
"{\n\t\tScanner ob=new Scanner(System.in);\n\t\tlong n=ob.nextLong();\n\t\tlong x=ob.nextLong();\n\t\tlong t=ob.nextLong();\n\t\tlong ans=(long)Math.ceil(n*(1.0)/x);\n\t\tSystem.out.println(ans*t);\n\t}",
"Scanner ob=new Scanner(System.in);",
"ob",
"new Scanner(System.in)",
"long n=ob.nextLong();",
"n",
"ob.nextLong()",
"ob.nextLong",
"ob",
"long x=ob.nextLong();",
"x",
"ob.nextLong()",
"ob.nextLong",
"ob",
"long t=ob.nextLong();",
"t",
"ob.nextLong()",
"ob.nextLong",
"ob",
"long ans=(long)Math.ceil(n*(1.0)/x);",
"ans",
"(long)Math.ceil(n*(1.0)/x)",
"Math.ceil",
"Math",
"n*(1.0)/x",
"n*(1.0)",
"n",
"(1.0)",
"x",
"System.out.println(ans*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans*t",
"ans",
"t",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\t\tlong n=ob.nextLong();\n\t\tlong x=ob.nextLong();\n\t\tlong t=ob.nextLong();\n\t\tlong ans=(long)Math.ceil(n*(1.0)/x);\n\t\tSystem.out.println(ans*t);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\t\tlong n=ob.nextLong();\n\t\tlong x=ob.nextLong();\n\t\tlong t=ob.nextLong();\n\t\tlong ans=(long)Math.ceil(n*(1.0)/x);\n\t\tSystem.out.println(ans*t);\n\t}\n}",
"Main"
]
|
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner ob=new Scanner(System.in);
long n=ob.nextLong();
long x=ob.nextLong();
long t=ob.nextLong();
long ans=(long)Math.ceil(n*(1.0)/x);
System.out.println(ans*t);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
14,
2,
2,
13,
13,
17,
0,
13,
2,
13,
13,
0,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
29,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int times;\n if(n%x == 0) times = n / x;\n else times = n / x + 1;\n\n System.out.println(t * times);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int times;\n if(n%x == 0) times = n / x;\n else times = n / x + 1;\n\n System.out.println(t * times);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int times;\n if(n%x == 0) times = n / x;\n else times = n / x + 1;\n\n System.out.println(t * times);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int times;\n if(n%x == 0) times = n / x;\n else times = n / x + 1;\n\n System.out.println(t * times);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int times;",
"times",
"if(n%x == 0) times = n / x;\n else times = n / x + 1;",
"n%x == 0",
"n%x",
"n",
"x",
"0",
"times = n / x",
"times",
"n / x",
"n",
"x",
"times = n / x + 1",
"times",
"n / x + 1",
"n / x",
"n",
"x",
"1",
"System.out.println(t * times)",
"System.out.println",
"System.out",
"System",
"System.out",
"t * times",
"t",
"times",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int times;\n if(n%x == 0) times = n / x;\n else times = n / x + 1;\n\n System.out.println(t * times);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int times;\n if(n%x == 0) times = n / x;\n else times = n / x + 1;\n\n System.out.println(t * times);\n }\n}",
"Main"
]
| import java.util.Scanner;
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 times;
if(n%x == 0) times = n / x;
else times = n / x + 1;
System.out.println(t * times);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
56,
8
],
[
56,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
9,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
]
| [
"import java.util.*;\nimport java.lang.Math;\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int X = sc.nextInt();\n int T = sc.nextInt();\n int takoyaki = 0;\n int time = 0;\n while(takoyaki < N){\n takoyaki += X;\n time += T;\n }\n System.out.println(time);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int X = sc.nextInt();\n int T = sc.nextInt();\n int takoyaki = 0;\n int time = 0;\n while(takoyaki < N){\n takoyaki += X;\n time += T;\n }\n System.out.println(time);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int X = sc.nextInt();\n int T = sc.nextInt();\n int takoyaki = 0;\n int time = 0;\n while(takoyaki < N){\n takoyaki += X;\n time += T;\n }\n System.out.println(time);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int X = sc.nextInt();\n int T = sc.nextInt();\n int takoyaki = 0;\n int time = 0;\n while(takoyaki < N){\n takoyaki += X;\n time += T;\n }\n System.out.println(time);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int T = sc.nextInt();",
"T",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int takoyaki = 0;",
"takoyaki",
"0",
"int time = 0;",
"time",
"0",
"while(takoyaki < N){\n takoyaki += X;\n time += T;\n }",
"takoyaki < N",
"takoyaki",
"N",
"{\n takoyaki += X;\n time += T;\n }",
"takoyaki += X",
"takoyaki",
"X",
"time += T",
"time",
"T",
"System.out.println(time)",
"System.out.println",
"System.out",
"System",
"System.out",
"time",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int X = sc.nextInt();\n int T = sc.nextInt();\n int takoyaki = 0;\n int time = 0;\n while(takoyaki < N){\n takoyaki += X;\n time += T;\n }\n System.out.println(time);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int X = sc.nextInt();\n int T = sc.nextInt();\n int takoyaki = 0;\n int time = 0;\n while(takoyaki < N){\n takoyaki += X;\n time += T;\n }\n System.out.println(time);\n }\n}",
"Main"
]
| import java.util.*;
import java.lang.Math;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int X = sc.nextInt();
int T = sc.nextInt();
int takoyaki = 0;
int time = 0;
while(takoyaki < N){
takoyaki += X;
time += T;
}
System.out.println(time);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
13,
17,
30,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
13,
13,
30,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
32,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n \n\tpublic static void main(String[] args) {\n \n\t\t Scanner scanner = new Scanner(System.in);\n\t\t \n\t\t int N = scanner.nextInt();\n\t\t int X = scanner.nextInt();\n\t\t int T = scanner.nextInt();\n\t\t int amari = N % X;\n\t\t if(amari != 0) {\n\t\t \tint sho = N / X + 1;\n\t\t \tSystem.out.println(sho * T);\n\t\t }else {\n\t\t \tint sho = N / X;\n\t\t \tSystem.out.println(sho * T);\n\t\t }\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n\tpublic static void main(String[] args) {\n \n\t\t Scanner scanner = new Scanner(System.in);\n\t\t \n\t\t int N = scanner.nextInt();\n\t\t int X = scanner.nextInt();\n\t\t int T = scanner.nextInt();\n\t\t int amari = N % X;\n\t\t if(amari != 0) {\n\t\t \tint sho = N / X + 1;\n\t\t \tSystem.out.println(sho * T);\n\t\t }else {\n\t\t \tint sho = N / X;\n\t\t \tSystem.out.println(sho * T);\n\t\t }\n}\n}",
"Main",
"public static void main(String[] args) {\n \n\t\t Scanner scanner = new Scanner(System.in);\n\t\t \n\t\t int N = scanner.nextInt();\n\t\t int X = scanner.nextInt();\n\t\t int T = scanner.nextInt();\n\t\t int amari = N % X;\n\t\t if(amari != 0) {\n\t\t \tint sho = N / X + 1;\n\t\t \tSystem.out.println(sho * T);\n\t\t }else {\n\t\t \tint sho = N / X;\n\t\t \tSystem.out.println(sho * T);\n\t\t }\n}",
"main",
"{\n \n\t\t Scanner scanner = new Scanner(System.in);\n\t\t \n\t\t int N = scanner.nextInt();\n\t\t int X = scanner.nextInt();\n\t\t int T = scanner.nextInt();\n\t\t int amari = N % X;\n\t\t if(amari != 0) {\n\t\t \tint sho = N / X + 1;\n\t\t \tSystem.out.println(sho * T);\n\t\t }else {\n\t\t \tint sho = N / X;\n\t\t \tSystem.out.println(sho * T);\n\t\t }\n}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int N = scanner.nextInt();",
"N",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int X = scanner.nextInt();",
"X",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int T = scanner.nextInt();",
"T",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int amari = N % X;",
"amari",
"N % X",
"N",
"X",
"if(amari != 0) {\n\t\t \tint sho = N / X + 1;\n\t\t \tSystem.out.println(sho * T);\n\t\t }else {\n\t\t \tint sho = N / X;\n\t\t \tSystem.out.println(sho * T);\n\t\t }",
"amari != 0",
"amari",
"0",
"{\n\t\t \tint sho = N / X + 1;\n\t\t \tSystem.out.println(sho * T);\n\t\t }",
"int sho = N / X + 1;",
"sho",
"N / X + 1",
"N / X",
"N",
"X",
"1",
"System.out.println(sho * T)",
"System.out.println",
"System.out",
"System",
"System.out",
"sho * T",
"sho",
"T",
"{\n\t\t \tint sho = N / X;\n\t\t \tSystem.out.println(sho * T);\n\t\t }",
"int sho = N / X;",
"sho",
"N / X",
"N",
"X",
"System.out.println(sho * T)",
"System.out.println",
"System.out",
"System",
"System.out",
"sho * T",
"sho",
"T",
"String[] args",
"args",
"public class Main {\n \n\tpublic static void main(String[] args) {\n \n\t\t Scanner scanner = new Scanner(System.in);\n\t\t \n\t\t int N = scanner.nextInt();\n\t\t int X = scanner.nextInt();\n\t\t int T = scanner.nextInt();\n\t\t int amari = N % X;\n\t\t if(amari != 0) {\n\t\t \tint sho = N / X + 1;\n\t\t \tSystem.out.println(sho * T);\n\t\t }else {\n\t\t \tint sho = N / X;\n\t\t \tSystem.out.println(sho * T);\n\t\t }\n}\n}",
"public class Main {\n \n\tpublic static void main(String[] args) {\n \n\t\t Scanner scanner = new Scanner(System.in);\n\t\t \n\t\t int N = scanner.nextInt();\n\t\t int X = scanner.nextInt();\n\t\t int T = scanner.nextInt();\n\t\t int amari = N % X;\n\t\t if(amari != 0) {\n\t\t \tint sho = N / X + 1;\n\t\t \tSystem.out.println(sho * T);\n\t\t }else {\n\t\t \tint sho = N / X;\n\t\t \tSystem.out.println(sho * T);\n\t\t }\n}\n}",
"Main"
]
| 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 + 1;
System.out.println(sho * T);
}else {
int sho = N / X;
System.out.println(sho * T);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
13,
13,
13,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
2,
13,
13,
30,
41,
13,
2,
2,
2,
13,
13,
17,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
78,
5
],
[
78,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
27,
31
],
[
6,
32
],
[
32,
33
],
[
78,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
37,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
56,
62
],
[
53,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
34,
71
],
[
71,
72
],
[
34,
73
],
[
73,
74
],
[
34,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint X = sc.nextInt();\n\t\tint T = sc.nextInt();\n\t\tsolve(N, X, T);\n\t}\n\n\tprivate static void solve(int n, int x, int t) {\n\t\t// TODO Auto-generated method stub\n\t\tif (x == 1 || n == 1) System.out.println(n * t);\n\t\telse {\n\t\t\tint r = (n + x - 1) / x;\n\t\t\tSystem.out.println(r * t);\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint X = sc.nextInt();\n\t\tint T = sc.nextInt();\n\t\tsolve(N, X, T);\n\t}\n\n\tprivate static void solve(int n, int x, int t) {\n\t\t// TODO Auto-generated method stub\n\t\tif (x == 1 || n == 1) System.out.println(n * t);\n\t\telse {\n\t\t\tint r = (n + x - 1) / x;\n\t\t\tSystem.out.println(r * t);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint X = sc.nextInt();\n\t\tint T = sc.nextInt();\n\t\tsolve(N, X, T);\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint X = sc.nextInt();\n\t\tint T = sc.nextInt();\n\t\tsolve(N, X, T);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int T = sc.nextInt();",
"T",
"sc.nextInt()",
"sc.nextInt",
"sc",
"solve(N, X, T)",
"solve",
"N",
"X",
"T",
"String[] args",
"args",
"private static void solve(int n, int x, int t) {\n\t\t// TODO Auto-generated method stub\n\t\tif (x == 1 || n == 1) System.out.println(n * t);\n\t\telse {\n\t\t\tint r = (n + x - 1) / x;\n\t\t\tSystem.out.println(r * t);\n\t\t}\n\t}",
"solve",
"{\n\t\t// TODO Auto-generated method stub\n\t\tif (x == 1 || n == 1) System.out.println(n * t);\n\t\telse {\n\t\t\tint r = (n + x - 1) / x;\n\t\t\tSystem.out.println(r * t);\n\t\t}\n\t}",
"if (x == 1 || n == 1) System.out.println(n * t);\n\t\telse {\n\t\t\tint r = (n + x - 1) / x;\n\t\t\tSystem.out.println(r * t);\n\t\t}",
"x == 1 || n == 1",
"x == 1",
"x",
"1",
"n == 1",
"n",
"1",
"System.out.println(n * t)",
"System.out.println",
"System.out",
"System",
"System.out",
"n * t",
"n",
"t",
"{\n\t\t\tint r = (n + x - 1) / x;\n\t\t\tSystem.out.println(r * t);\n\t\t}",
"int r = (n + x - 1) / x;",
"r",
"(n + x - 1) / x",
"(n + x - 1)",
"n + x",
"n",
"x",
"1",
"x",
"System.out.println(r * t)",
"System.out.println",
"System.out",
"System",
"System.out",
"r * t",
"r",
"t",
"int n",
"n",
"int x",
"x",
"int t",
"t",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint X = sc.nextInt();\n\t\tint T = sc.nextInt();\n\t\tsolve(N, X, T);\n\t}\n\n\tprivate static void solve(int n, int x, int t) {\n\t\t// TODO Auto-generated method stub\n\t\tif (x == 1 || n == 1) System.out.println(n * t);\n\t\telse {\n\t\t\tint r = (n + x - 1) / x;\n\t\t\tSystem.out.println(r * t);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint X = sc.nextInt();\n\t\tint T = sc.nextInt();\n\t\tsolve(N, X, T);\n\t}\n\n\tprivate static void solve(int n, int x, int t) {\n\t\t// TODO Auto-generated method stub\n\t\tif (x == 1 || n == 1) System.out.println(n * t);\n\t\telse {\n\t\t\tint r = (n + x - 1) / x;\n\t\t\tSystem.out.println(r * t);\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int X = sc.nextInt();
int T = sc.nextInt();
solve(N, X, T);
}
private static void solve(int n, int x, int t) {
// TODO Auto-generated method stub
if (x == 1 || n == 1) System.out.println(n * t);
else {
int r = (n + x - 1) / x;
System.out.println(r * t);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
41,
13,
0,
13,
2,
2,
13,
4,
18,
13,
2,
13,
13,
13,
14,
2,
2,
13,
13,
17,
30,
0,
13,
2,
13,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
33,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
49,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
43,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner input = new Scanner(System.in);\n int numberOf = input.nextInt();\n int numberAtATime = input.nextInt();\n double timeToMake = input.nextInt();\n double timeToMake2;\n double timeToMake3;\n\n\n timeToMake3 = timeToMake * Math.floor(numberOf / numberAtATime) + timeToMake;\n if (numberOf % numberAtATime == 0)\n {\n timeToMake2 = timeToMake * Math.floor(numberOf / numberAtATime);\n System.out.print((int)timeToMake2);\n }\n else {\n System.out.println((int)timeToMake3);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\n Scanner input = new Scanner(System.in);\n int numberOf = input.nextInt();\n int numberAtATime = input.nextInt();\n double timeToMake = input.nextInt();\n double timeToMake2;\n double timeToMake3;\n\n\n timeToMake3 = timeToMake * Math.floor(numberOf / numberAtATime) + timeToMake;\n if (numberOf % numberAtATime == 0)\n {\n timeToMake2 = timeToMake * Math.floor(numberOf / numberAtATime);\n System.out.print((int)timeToMake2);\n }\n else {\n System.out.println((int)timeToMake3);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner input = new Scanner(System.in);\n int numberOf = input.nextInt();\n int numberAtATime = input.nextInt();\n double timeToMake = input.nextInt();\n double timeToMake2;\n double timeToMake3;\n\n\n timeToMake3 = timeToMake * Math.floor(numberOf / numberAtATime) + timeToMake;\n if (numberOf % numberAtATime == 0)\n {\n timeToMake2 = timeToMake * Math.floor(numberOf / numberAtATime);\n System.out.print((int)timeToMake2);\n }\n else {\n System.out.println((int)timeToMake3);\n }\n }",
"main",
"{\n\n Scanner input = new Scanner(System.in);\n int numberOf = input.nextInt();\n int numberAtATime = input.nextInt();\n double timeToMake = input.nextInt();\n double timeToMake2;\n double timeToMake3;\n\n\n timeToMake3 = timeToMake * Math.floor(numberOf / numberAtATime) + timeToMake;\n if (numberOf % numberAtATime == 0)\n {\n timeToMake2 = timeToMake * Math.floor(numberOf / numberAtATime);\n System.out.print((int)timeToMake2);\n }\n else {\n System.out.println((int)timeToMake3);\n }\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int numberOf = input.nextInt();",
"numberOf",
"input.nextInt()",
"input.nextInt",
"input",
"int numberAtATime = input.nextInt();",
"numberAtATime",
"input.nextInt()",
"input.nextInt",
"input",
"double timeToMake = input.nextInt();",
"timeToMake",
"input.nextInt()",
"input.nextInt",
"input",
"double timeToMake2;",
"timeToMake2",
"double timeToMake3;",
"timeToMake3",
"timeToMake3 = timeToMake * Math.floor(numberOf / numberAtATime) + timeToMake",
"timeToMake3",
"timeToMake * Math.floor(numberOf / numberAtATime) + timeToMake",
"timeToMake * Math.floor(numberOf / numberAtATime)",
"timeToMake",
"Math.floor(numberOf / numberAtATime)",
"Math.floor",
"Math",
"numberOf / numberAtATime",
"numberOf",
"numberAtATime",
"timeToMake",
"if (numberOf % numberAtATime == 0)\n {\n timeToMake2 = timeToMake * Math.floor(numberOf / numberAtATime);\n System.out.print((int)timeToMake2);\n }\n else {\n System.out.println((int)timeToMake3);\n }",
"numberOf % numberAtATime == 0",
"numberOf % numberAtATime",
"numberOf",
"numberAtATime",
"0",
"{\n timeToMake2 = timeToMake * Math.floor(numberOf / numberAtATime);\n System.out.print((int)timeToMake2);\n }",
"timeToMake2 = timeToMake * Math.floor(numberOf / numberAtATime)",
"timeToMake2",
"timeToMake * Math.floor(numberOf / numberAtATime)",
"timeToMake",
"Math.floor(numberOf / numberAtATime)",
"Math.floor",
"Math",
"numberOf / numberAtATime",
"numberOf",
"numberAtATime",
"System.out.print((int)timeToMake2)",
"System.out.print",
"System.out",
"System",
"System.out",
"(int)timeToMake2",
"{\n System.out.println((int)timeToMake3);\n }",
"System.out.println((int)timeToMake3)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)timeToMake3",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n Scanner input = new Scanner(System.in);\n int numberOf = input.nextInt();\n int numberAtATime = input.nextInt();\n double timeToMake = input.nextInt();\n double timeToMake2;\n double timeToMake3;\n\n\n timeToMake3 = timeToMake * Math.floor(numberOf / numberAtATime) + timeToMake;\n if (numberOf % numberAtATime == 0)\n {\n timeToMake2 = timeToMake * Math.floor(numberOf / numberAtATime);\n System.out.print((int)timeToMake2);\n }\n else {\n System.out.println((int)timeToMake3);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner input = new Scanner(System.in);\n int numberOf = input.nextInt();\n int numberAtATime = input.nextInt();\n double timeToMake = input.nextInt();\n double timeToMake2;\n double timeToMake3;\n\n\n timeToMake3 = timeToMake * Math.floor(numberOf / numberAtATime) + timeToMake;\n if (numberOf % numberAtATime == 0)\n {\n timeToMake2 = timeToMake * Math.floor(numberOf / numberAtATime);\n System.out.print((int)timeToMake2);\n }\n else {\n System.out.println((int)timeToMake3);\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int numberOf = input.nextInt();
int numberAtATime = input.nextInt();
double timeToMake = input.nextInt();
double timeToMake2;
double timeToMake3;
timeToMake3 = timeToMake * Math.floor(numberOf / numberAtATime) + timeToMake;
if (numberOf % numberAtATime == 0)
{
timeToMake2 = timeToMake * Math.floor(numberOf / numberAtATime);
System.out.print((int)timeToMake2);
}
else {
System.out.println((int)timeToMake3);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
58,
8
],
[
58,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
47,
54
],
[
9,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main {\n\n\tpublic static void main(String[] args) throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(br.readLine());\n\t\tint n=Integer.parseInt(st.nextToken()),x=Integer.parseInt(st.nextToken()),t=Integer.parseInt(st.nextToken());\n\t\tSystem.out.println( (int)Math.ceil((n/(float)x))*t);\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(br.readLine());\n\t\tint n=Integer.parseInt(st.nextToken()),x=Integer.parseInt(st.nextToken()),t=Integer.parseInt(st.nextToken());\n\t\tSystem.out.println( (int)Math.ceil((n/(float)x))*t);\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(br.readLine());\n\t\tint n=Integer.parseInt(st.nextToken()),x=Integer.parseInt(st.nextToken()),t=Integer.parseInt(st.nextToken());\n\t\tSystem.out.println( (int)Math.ceil((n/(float)x))*t);\n\t}",
"main",
"{\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(br.readLine());\n\t\tint n=Integer.parseInt(st.nextToken()),x=Integer.parseInt(st.nextToken()),t=Integer.parseInt(st.nextToken());\n\t\tSystem.out.println( (int)Math.ceil((n/(float)x))*t);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int n=Integer.parseInt(st.nextToken())",
"n",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"x=Integer.parseInt(st.nextToken())",
"x",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"t=Integer.parseInt(st.nextToken());",
"t",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"System.out.println( (int)Math.ceil((n/(float)x))*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.ceil((n/(float)x))*t",
"(int)Math.ceil((n/(float)x))",
"Math.ceil",
"Math",
"(n/(float)x)",
"n",
"(float)x",
"t",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(br.readLine());\n\t\tint n=Integer.parseInt(st.nextToken()),x=Integer.parseInt(st.nextToken()),t=Integer.parseInt(st.nextToken());\n\t\tSystem.out.println( (int)Math.ceil((n/(float)x))*t);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(br.readLine());\n\t\tint n=Integer.parseInt(st.nextToken()),x=Integer.parseInt(st.nextToken()),t=Integer.parseInt(st.nextToken());\n\t\tSystem.out.println( (int)Math.ceil((n/(float)x))*t);\n\t}\n\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws java.lang.Exception
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer(br.readLine());
int n=Integer.parseInt(st.nextToken()),x=Integer.parseInt(st.nextToken()),t=Integer.parseInt(st.nextToken());
System.out.println( (int)Math.ceil((n/(float)x))*t);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
0,
13,
2,
2,
13,
13,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
2,
13,
13,
4,
18,
13,
13,
13,
0,
13,
2,
2,
2,
13,
13,
4,
18,
13,
13,
13,
11,
1,
0,
13,
17,
2,
13,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
13,
30,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
2,
13,
13,
4,
18,
13,
13,
3,
14,
2,
13,
13,
30,
40,
13,
14,
2,
13,
2,
13,
13,
30,
0,
13,
2,
2,
2,
13,
2,
13,
2,
4,
18,
13,
13,
13,
4,
18,
13,
2,
13,
13,
13,
14,
2,
13,
17,
0,
13,
2,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
17,
14,
2,
2,
13,
17,
17,
29,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
13,
1,
0,
13,
17,
30,
30,
14,
2,
2,
13,
13,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
2,
4,
18,
13,
13,
17,
23,
13,
12,
13,
30,
41,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
0,
13,
2,
13,
17,
0,
13,
17,
30,
29,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
2,
4,
18,
13,
17,
42,
2,
13,
13,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
29,
17,
40,
13,
40,
13,
29,
17,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
2,
4,
13,
13,
13,
13,
17,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
0,
13,
13,
30,
30,
0,
13,
13,
29,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
600,
11
],
[
600,
12
],
[
12,
13
],
[
12,
14
],
[
600,
15
],
[
15,
16
],
[
15,
17
],
[
600,
18
],
[
18,
19
],
[
18,
20
],
[
600,
21
],
[
21,
22
],
[
21,
23
],
[
600,
24
],
[
24,
25
],
[
24,
26
],
[
600,
27
],
[
27,
28
],
[
27,
29
],
[
600,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
43,
44
],
[
32,
45
],
[
45,
46
],
[
32,
47
],
[
47,
48
],
[
47,
49
],
[
32,
50
],
[
50,
51
],
[
50,
52
],
[
32,
53
],
[
53,
54
],
[
53,
55
],
[
32,
56
],
[
56,
57
],
[
56,
58
],
[
32,
59
],
[
59,
60
],
[
59,
61
],
[
32,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
62,
72
],
[
72,
73
],
[
73,
74
],
[
62,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
32,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
92,
93
],
[
83,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
98,
107
],
[
95,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
110,
119
],
[
32,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
127,
129
],
[
120,
130
],
[
130,
131
],
[
131,
132
],
[
120,
133
],
[
134,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
140,
145
],
[
145,
146
],
[
145,
147
],
[
140,
148
],
[
148,
149
],
[
149,
150
],
[
140,
151
],
[
152,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
155,
158
],
[
158,
159
],
[
158,
160
],
[
154,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
153,
165
],
[
139,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
171,
172
],
[
134,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
176,
178
],
[
173,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
189,
192
],
[
188,
193
],
[
183,
194
],
[
194,
195
],
[
195,
196
],
[
194,
197
],
[
197,
198
],
[
197,
199
],
[
182,
200
],
[
179,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
207,
209
],
[
32,
210
],
[
210,
211
],
[
30,
212
],
[
212,
213
],
[
30,
214
],
[
214,
215
],
[
600,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
219,
223
],
[
223,
224
],
[
218,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
226,
229
],
[
229,
230
],
[
229,
231
],
[
216,
232
],
[
232,
233
],
[
216,
234
],
[
234,
235
],
[
600,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
244,
246
],
[
244,
247
],
[
236,
248
],
[
248,
249
],
[
236,
250
],
[
250,
251
],
[
600,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
254,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
258,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
265,
267
],
[
258,
268
],
[
268,
269
],
[
269,
270
],
[
258,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
274,
276
],
[
254,
277
],
[
277,
278
],
[
252,
279
],
[
279,
280
],
[
600,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
284,
288
],
[
288,
289
],
[
284,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
290,
294
],
[
294,
295
],
[
290,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
297,
301
],
[
296,
302
],
[
302,
303
],
[
283,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
304,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
312,
313
],
[
311,
314
],
[
304,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
304,
319
],
[
320,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
322,
326
],
[
321,
327
],
[
327,
328
],
[
283,
329
],
[
329,
330
],
[
281,
331
],
[
331,
332
],
[
600,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
337,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
341,
344
],
[
340,
345
],
[
333,
346
],
[
346,
347
],
[
600,
348
],
[
348,
349
],
[
348,
350
],
[
350,
351
],
[
351,
352
],
[
350,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
353,
358
],
[
358,
359
],
[
358,
360
],
[
353,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
364,
365
],
[
364,
366
],
[
361,
367
],
[
367,
368
],
[
367,
369
],
[
353,
370
],
[
350,
371
],
[
371,
372
],
[
348,
373
],
[
373,
374
],
[
600,
375
],
[
375,
376
],
[
375,
377
],
[
377,
378
],
[
378,
379
],
[
378,
380
],
[
377,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
384,
385
],
[
385,
386
],
[
383,
387
],
[
377,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
388,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
395,
396
],
[
396,
397
],
[
395,
398
],
[
394,
399
],
[
399,
400
],
[
400,
401
],
[
399,
402
],
[
393,
403
],
[
403,
404
],
[
392,
405
],
[
405,
406
],
[
392,
407
],
[
407,
408
],
[
377,
409
],
[
409,
410
],
[
375,
411
],
[
411,
412
],
[
600,
413
],
[
413,
414
],
[
413,
415
],
[
415,
416
],
[
416,
417
],
[
417,
418
],
[
417,
419
],
[
419,
420
],
[
420,
421
],
[
421,
422
],
[
422,
423
],
[
422,
424
],
[
420,
425
],
[
416,
426
],
[
426,
427
],
[
427,
428
],
[
427,
429
],
[
426,
430
],
[
430,
431
],
[
430,
432
],
[
426,
433
],
[
433,
434
],
[
434,
435
],
[
435,
436
],
[
434,
437
],
[
433,
438
],
[
438,
439
],
[
439,
440
],
[
439,
441
],
[
441,
442
],
[
442,
443
],
[
438,
444
],
[
444,
445
],
[
444,
446
],
[
446,
447
],
[
447,
448
],
[
438,
449
],
[
449,
450
],
[
449,
451
],
[
451,
452
],
[
452,
453
],
[
438,
454
],
[
454,
455
],
[
455,
456
],
[
454,
457
],
[
457,
458
],
[
458,
459
],
[
458,
460
],
[
458,
461
],
[
458,
462
],
[
457,
463
],
[
426,
464
],
[
464,
465
],
[
465,
466
],
[
465,
467
],
[
467,
468
],
[
468,
469
],
[
469,
470
],
[
470,
471
],
[
470,
472
],
[
468,
473
],
[
464,
474
],
[
474,
475
],
[
475,
476
],
[
476,
477
],
[
413,
478
],
[
478,
479
],
[
600,
480
],
[
480,
481
],
[
480,
482
],
[
482,
483
],
[
483,
484
],
[
483,
485
],
[
482,
486
],
[
486,
487
],
[
487,
488
],
[
488,
489
],
[
488,
490
],
[
486,
491
],
[
491,
492
],
[
491,
493
],
[
486,
494
],
[
494,
495
],
[
495,
496
],
[
495,
497
],
[
486,
498
],
[
499,
499
],
[
499,
500
],
[
500,
501
],
[
500,
502
],
[
482,
503
],
[
503,
504
],
[
480,
505
],
[
505,
506
],
[
480,
507
],
[
507,
508
],
[
480,
509
],
[
509,
510
],
[
600,
511
],
[
511,
512
],
[
511,
513
],
[
513,
514
],
[
511,
515
],
[
515,
516
],
[
511,
517
],
[
517,
518
],
[
517,
519
],
[
519,
520
],
[
520,
521
],
[
520,
522
],
[
511,
523
],
[
523,
524
],
[
523,
525
],
[
525,
526
],
[
526,
527
],
[
527,
528
],
[
528,
529
],
[
528,
530
],
[
527,
531
],
[
531,
532
],
[
532,
533
],
[
533,
534
],
[
526,
535
],
[
535,
536
],
[
536,
537
],
[
537,
538
],
[
537,
539
],
[
539,
540
],
[
540,
541
],
[
541,
542
],
[
536,
543
],
[
543,
544
],
[
544,
545
],
[
544,
546
],
[
525,
547
],
[
547,
548
],
[
548,
549
],
[
549,
550
],
[
511,
551
],
[
551,
552
],
[
551,
553
],
[
553,
554
],
[
554,
555
],
[
555,
556
],
[
556,
557
],
[
555,
558
],
[
558,
559
],
[
511,
560
],
[
560,
561
],
[
560,
562
],
[
562,
563
],
[
563,
564
],
[
564,
565
],
[
565,
566
],
[
564,
567
],
[
567,
568
],
[
511,
569
],
[
569,
570
],
[
569,
571
],
[
571,
572
],
[
572,
573
],
[
573,
574
],
[
574,
575
],
[
573,
576
],
[
576,
577
],
[
511,
578
],
[
578,
579
],
[
578,
580
],
[
580,
581
],
[
581,
582
],
[
581,
583
],
[
580,
584
],
[
584,
585
],
[
585,
586
],
[
585,
587
],
[
587,
588
],
[
588,
589
],
[
589,
590
],
[
584,
591
],
[
591,
592
],
[
592,
593
],
[
592,
594
],
[
594,
595
],
[
595,
596
],
[
580,
597
],
[
597,
598
],
[
0,
599
],
[
599,
600
],
[
599,
601
]
]
| [
"//JAI BAJRANGBALI \nimport java.util.*;\nimport java.io.*;\nimport java.math.BigInteger;\npublic class Main\n{\n public final static int d = 256; \n static int MOD = 1000000007;\n static final float EPSILON = (float)0.01; \n static final double PI = 3.1415926536;\n private static BufferedReader in = new BufferedReader (new InputStreamReader (System.in));\n private static BufferedWriter out = new BufferedWriter (new OutputStreamWriter (System.out));\n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n public FastReader() \n { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n {\n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }\n static int searchRabinKarp(String pat, String txt) \n { \n int M = pat.length(); \n int N = txt.length(); \n int i, j; \n int p = 0; // hash value for pattern \n int t = 0; // hash value for txt \n int h = 1 , cnt = 0; \n int q = 3355439; \n for (i = 0; i < M-1; i++) \n h = (h*d)%q; \n for (i = 0; i < M; i++) \n { \n p = (d*p + pat.charAt(i))%q; \n t = (d*t + txt.charAt(i))%q; \n } \n for (i = 0; i <= N - M; i++) \n { \n if ( p == t ) \n { \n for (j = 0; j < M; j++) \n { \n if (txt.charAt(i+j) != pat.charAt(j)) \n break; \n } \n if (j == M) \n {//System.out.println(\"Pattern found at index \" + i);\n cnt++;\n } \n } \n if ( i < N-M ) \n { \n t = (d*(t - txt.charAt(i)*h) + txt.charAt(i+M))%q; \n if (t < 0) \n t = (t + q); \n } \n } \n return cnt;\n }\n static long gcd(long bigger , long smaller)\n {\n if (smaller == 0) \n return bigger; \n return gcd(smaller, bigger % smaller); \n }\n static long lcm(long a, long b) \n { \n return (a*b)/gcd(a, b); \n } \n static long sumOfArray(long arr[])\n {\n long sum = 0;\n for(int i = 0 ; i < arr.length ; i++)\n sum += arr[i];\n return sum;\n }\n static boolean isPrime(long n) {\n if(n == 2)\n return true;\n else if(n == 1)\n return false;\n else if (n%2==0)\n return false; \n for(long i=3;i<=Math.sqrt(n);i+=2) { \n if(n%i==0) \n return false; \n } \n return true; \n }\n static long countDigit(long n) \n { \n return (long)Math.floor(Math.log10(n) + 1); \n }\n static long sumOfDigits(long n) \n { \n long sum; \n for (sum = 0; n > 0; sum += n % 10,n /= 10); \n return sum; \n } \n static boolean isPalindrome(String str) \n { \n int i = 0, j = str.length() - 1; \n while (i < j) { \n if (str.charAt(i) != str.charAt(j)) \n return false; \n i++; \n j--; \n } \n return true; \n } \n public static void main(String args[])\n {\n try{\n FastReader sc = new FastReader();\n int T = 1;//sc.nextInt();\n while(T-- > 0)\n {\n int X1 = sc.nextInt();\n int X2= sc.nextInt();\n int X3 = sc.nextInt();\n out.write(solve(X1 , X2 , X3)+\"\\n\"); \n }\n try{\n out.flush();\n }catch(Exception e){\n System.out.print(\"\");\n };\n }\n catch(Exception e){\n System.out.print(\"\");\n }\n } \n public static int solve(int X1 , int X2 , int X3)\n { \n int sum = 0; \n for(int i = 1 ; i <= X1 ; i += X2)\n {\n\n sum += X3;\n } \n return sum;\n } \n} ",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"public class Main\n{\n public final static int d = 256; \n static int MOD = 1000000007;\n static final float EPSILON = (float)0.01; \n static final double PI = 3.1415926536;\n private static BufferedReader in = new BufferedReader (new InputStreamReader (System.in));\n private static BufferedWriter out = new BufferedWriter (new OutputStreamWriter (System.out));\n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n public FastReader() \n { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n {\n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }\n static int searchRabinKarp(String pat, String txt) \n { \n int M = pat.length(); \n int N = txt.length(); \n int i, j; \n int p = 0; // hash value for pattern \n int t = 0; // hash value for txt \n int h = 1 , cnt = 0; \n int q = 3355439; \n for (i = 0; i < M-1; i++) \n h = (h*d)%q; \n for (i = 0; i < M; i++) \n { \n p = (d*p + pat.charAt(i))%q; \n t = (d*t + txt.charAt(i))%q; \n } \n for (i = 0; i <= N - M; i++) \n { \n if ( p == t ) \n { \n for (j = 0; j < M; j++) \n { \n if (txt.charAt(i+j) != pat.charAt(j)) \n break; \n } \n if (j == M) \n {//System.out.println(\"Pattern found at index \" + i);\n cnt++;\n } \n } \n if ( i < N-M ) \n { \n t = (d*(t - txt.charAt(i)*h) + txt.charAt(i+M))%q; \n if (t < 0) \n t = (t + q); \n } \n } \n return cnt;\n }\n static long gcd(long bigger , long smaller)\n {\n if (smaller == 0) \n return bigger; \n return gcd(smaller, bigger % smaller); \n }\n static long lcm(long a, long b) \n { \n return (a*b)/gcd(a, b); \n } \n static long sumOfArray(long arr[])\n {\n long sum = 0;\n for(int i = 0 ; i < arr.length ; i++)\n sum += arr[i];\n return sum;\n }\n static boolean isPrime(long n) {\n if(n == 2)\n return true;\n else if(n == 1)\n return false;\n else if (n%2==0)\n return false; \n for(long i=3;i<=Math.sqrt(n);i+=2) { \n if(n%i==0) \n return false; \n } \n return true; \n }\n static long countDigit(long n) \n { \n return (long)Math.floor(Math.log10(n) + 1); \n }\n static long sumOfDigits(long n) \n { \n long sum; \n for (sum = 0; n > 0; sum += n % 10,n /= 10); \n return sum; \n } \n static boolean isPalindrome(String str) \n { \n int i = 0, j = str.length() - 1; \n while (i < j) { \n if (str.charAt(i) != str.charAt(j)) \n return false; \n i++; \n j--; \n } \n return true; \n } \n public static void main(String args[])\n {\n try{\n FastReader sc = new FastReader();\n int T = 1;//sc.nextInt();\n while(T-- > 0)\n {\n int X1 = sc.nextInt();\n int X2= sc.nextInt();\n int X3 = sc.nextInt();\n out.write(solve(X1 , X2 , X3)+\"\\n\"); \n }\n try{\n out.flush();\n }catch(Exception e){\n System.out.print(\"\");\n };\n }\n catch(Exception e){\n System.out.print(\"\");\n }\n } \n public static int solve(int X1 , int X2 , int X3)\n { \n int sum = 0; \n for(int i = 1 ; i <= X1 ; i += X2)\n {\n\n sum += X3;\n } \n return sum;\n } \n}",
"Main",
"public final static int d = 256;",
"d",
"256",
"static int MOD = 1000000007;",
"MOD",
"1000000007",
"static final float EPSILON = (float)0.01;",
"EPSILON",
"(float)0.01",
"static final double PI = 3.1415926536;",
"PI",
"3.1415926536",
"private static BufferedReader in = new BufferedReader (new InputStreamReader (System.in));",
"in",
"new BufferedReader (new InputStreamReader (System.in))",
"private static BufferedWriter out = new BufferedWriter (new OutputStreamWriter (System.out));",
"out",
"new BufferedWriter (new OutputStreamWriter (System.out))",
"static int searchRabinKarp(String pat, String txt) \n { \n int M = pat.length(); \n int N = txt.length(); \n int i, j; \n int p = 0; // hash value for pattern \n int t = 0; // hash value for txt \n int h = 1 , cnt = 0; \n int q = 3355439; \n for (i = 0; i < M-1; i++) \n h = (h*d)%q; \n for (i = 0; i < M; i++) \n { \n p = (d*p + pat.charAt(i))%q; \n t = (d*t + txt.charAt(i))%q; \n } \n for (i = 0; i <= N - M; i++) \n { \n if ( p == t ) \n { \n for (j = 0; j < M; j++) \n { \n if (txt.charAt(i+j) != pat.charAt(j)) \n break; \n } \n if (j == M) \n {//System.out.println(\"Pattern found at index \" + i);\n cnt++;\n } \n } \n if ( i < N-M ) \n { \n t = (d*(t - txt.charAt(i)*h) + txt.charAt(i+M))%q; \n if (t < 0) \n t = (t + q); \n } \n } \n return cnt;\n }",
"searchRabinKarp",
"{ \n int M = pat.length(); \n int N = txt.length(); \n int i, j; \n int p = 0; // hash value for pattern \n int t = 0; // hash value for txt \n int h = 1 , cnt = 0; \n int q = 3355439; \n for (i = 0; i < M-1; i++) \n h = (h*d)%q; \n for (i = 0; i < M; i++) \n { \n p = (d*p + pat.charAt(i))%q; \n t = (d*t + txt.charAt(i))%q; \n } \n for (i = 0; i <= N - M; i++) \n { \n if ( p == t ) \n { \n for (j = 0; j < M; j++) \n { \n if (txt.charAt(i+j) != pat.charAt(j)) \n break; \n } \n if (j == M) \n {//System.out.println(\"Pattern found at index \" + i);\n cnt++;\n } \n } \n if ( i < N-M ) \n { \n t = (d*(t - txt.charAt(i)*h) + txt.charAt(i+M))%q; \n if (t < 0) \n t = (t + q); \n } \n } \n return cnt;\n }",
"int M = pat.length();",
"M",
"pat.length()",
"pat.length",
"pat",
"int N = txt.length();",
"N",
"txt.length()",
"txt.length",
"txt",
"int i",
"i",
"j;",
"j",
"int p = 0;",
"p",
"0",
"int t = 0;",
"t",
"0",
"int h = 1",
"h",
"1",
"cnt = 0;",
"cnt",
"0",
"int q = 3355439;",
"q",
"3355439",
"for (i = 0; i < M-1; i++) \n h = (h*d)%q;",
"i = 0;",
"i = 0",
"i",
"0",
"i < M-1",
"i",
"M-1",
"M",
"1",
"i++",
"i++",
"i",
"h = (h*d)%q;",
"h = (h*d)%q",
"h",
"(h*d)%q",
"(h*d)",
"h",
"d",
"q",
"for (i = 0; i < M; i++) \n { \n p = (d*p + pat.charAt(i))%q; \n t = (d*t + txt.charAt(i))%q; \n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < M",
"i",
"M",
"i++",
"i++",
"i",
"{ \n p = (d*p + pat.charAt(i))%q; \n t = (d*t + txt.charAt(i))%q; \n }",
"{ \n p = (d*p + pat.charAt(i))%q; \n t = (d*t + txt.charAt(i))%q; \n }",
"p = (d*p + pat.charAt(i))%q",
"p",
"(d*p + pat.charAt(i))%q",
"(d*p + pat.charAt(i))",
"d*p",
"d",
"p",
"pat.charAt(i)",
"pat.charAt",
"pat",
"i",
"q",
"t = (d*t + txt.charAt(i))%q",
"t",
"(d*t + txt.charAt(i))%q",
"(d*t + txt.charAt(i))",
"d*t",
"d",
"t",
"txt.charAt(i)",
"txt.charAt",
"txt",
"i",
"q",
"for (i = 0; i <= N - M; i++) \n { \n if ( p == t ) \n { \n for (j = 0; j < M; j++) \n { \n if (txt.charAt(i+j) != pat.charAt(j)) \n break; \n } \n if (j == M) \n {//System.out.println(\"Pattern found at index \" + i);\n cnt++;\n } \n } \n if ( i < N-M ) \n { \n t = (d*(t - txt.charAt(i)*h) + txt.charAt(i+M))%q; \n if (t < 0) \n t = (t + q); \n } \n }",
"i = 0;",
"i = 0",
"i",
"0",
"i <= N - M",
"i",
"N - M",
"N",
"M",
"i++",
"i++",
"i",
"{ \n if ( p == t ) \n { \n for (j = 0; j < M; j++) \n { \n if (txt.charAt(i+j) != pat.charAt(j)) \n break; \n } \n if (j == M) \n {//System.out.println(\"Pattern found at index \" + i);\n cnt++;\n } \n } \n if ( i < N-M ) \n { \n t = (d*(t - txt.charAt(i)*h) + txt.charAt(i+M))%q; \n if (t < 0) \n t = (t + q); \n } \n }",
"{ \n if ( p == t ) \n { \n for (j = 0; j < M; j++) \n { \n if (txt.charAt(i+j) != pat.charAt(j)) \n break; \n } \n if (j == M) \n {//System.out.println(\"Pattern found at index \" + i);\n cnt++;\n } \n } \n if ( i < N-M ) \n { \n t = (d*(t - txt.charAt(i)*h) + txt.charAt(i+M))%q; \n if (t < 0) \n t = (t + q); \n } \n }",
"if ( p == t ) \n { \n for (j = 0; j < M; j++) \n { \n if (txt.charAt(i+j) != pat.charAt(j)) \n break; \n } \n if (j == M) \n {//System.out.println(\"Pattern found at index \" + i);\n cnt++;\n } \n }",
"p == t",
"p",
"t",
"{ \n for (j = 0; j < M; j++) \n { \n if (txt.charAt(i+j) != pat.charAt(j)) \n break; \n } \n if (j == M) \n {//System.out.println(\"Pattern found at index \" + i);\n cnt++;\n } \n }",
"for (j = 0; j < M; j++) \n { \n if (txt.charAt(i+j) != pat.charAt(j)) \n break; \n }",
"j = 0;",
"j = 0",
"j",
"0",
"j < M",
"j",
"M",
"j++",
"j++",
"j",
"{ \n if (txt.charAt(i+j) != pat.charAt(j)) \n break; \n }",
"{ \n if (txt.charAt(i+j) != pat.charAt(j)) \n break; \n }",
"if (txt.charAt(i+j) != pat.charAt(j)) \n break;",
"txt.charAt(i+j) != pat.charAt(j)",
"txt.charAt(i+j)",
"txt.charAt",
"txt",
"i+j",
"i",
"j",
"pat.charAt(j)",
"pat.charAt",
"pat",
"j",
"break;",
"if (j == M) \n {//System.out.println(\"Pattern found at index \" + i);\n cnt++;\n }",
"j == M",
"j",
"M",
"{//System.out.println(\"Pattern found at index \" + i);\n cnt++;\n }",
"cnt++",
"cnt",
"if ( i < N-M ) \n { \n t = (d*(t - txt.charAt(i)*h) + txt.charAt(i+M))%q; \n if (t < 0) \n t = (t + q); \n }",
"i < N-M",
"i",
"N-M",
"N",
"M",
"{ \n t = (d*(t - txt.charAt(i)*h) + txt.charAt(i+M))%q; \n if (t < 0) \n t = (t + q); \n }",
"t = (d*(t - txt.charAt(i)*h) + txt.charAt(i+M))%q",
"t",
"(d*(t - txt.charAt(i)*h) + txt.charAt(i+M))%q",
"(d*(t - txt.charAt(i)*h) + txt.charAt(i+M))",
"d*(t - txt.charAt(i)*h)",
"d",
"(t - txt.charAt(i)*h)",
"t",
"txt.charAt(i)*h",
"txt.charAt(i)",
"txt.charAt",
"txt",
"i",
"h",
"txt.charAt(i+M)",
"txt.charAt",
"txt",
"i+M",
"i",
"M",
"q",
"if (t < 0) \n t = (t + q);",
"t < 0",
"t",
"0",
"t = (t + q)",
"t",
"(t + q)",
"t",
"q",
"return cnt;",
"cnt",
"String pat",
"pat",
"String txt",
"txt",
"static long gcd(long bigger , long smaller)\n {\n if (smaller == 0) \n return bigger; \n return gcd(smaller, bigger % smaller); \n }",
"gcd",
"{\n if (smaller == 0) \n return bigger; \n return gcd(smaller, bigger % smaller); \n }",
"if (smaller == 0) \n return bigger;",
"smaller == 0",
"smaller",
"0",
"return bigger;",
"bigger",
"return gcd(smaller, bigger % smaller);",
"gcd(smaller, bigger % smaller)",
"gcd",
"smaller",
"bigger % smaller",
"bigger",
"smaller",
"long bigger",
"bigger",
"long smaller",
"smaller",
"static long lcm(long a, long b) \n { \n return (a*b)/gcd(a, b); \n }",
"lcm",
"{ \n return (a*b)/gcd(a, b); \n }",
"return (a*b)/gcd(a, b);",
"(a*b)/gcd(a, b)",
"(a*b)",
"a",
"b",
"gcd(a, b)",
"gcd",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static long sumOfArray(long arr[])\n {\n long sum = 0;\n for(int i = 0 ; i < arr.length ; i++)\n sum += arr[i];\n return sum;\n }",
"sumOfArray",
"{\n long sum = 0;\n for(int i = 0 ; i < arr.length ; i++)\n sum += arr[i];\n return sum;\n }",
"long sum = 0;",
"sum",
"0",
"for(int i = 0 ; i < arr.length ; i++)\n sum += arr[i];",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"sum += arr[i];",
"sum += arr[i]",
"sum",
"arr[i]",
"arr",
"i",
"return sum;",
"sum",
"long arr[]",
"arr",
"static boolean isPrime(long n) {\n if(n == 2)\n return true;\n else if(n == 1)\n return false;\n else if (n%2==0)\n return false; \n for(long i=3;i<=Math.sqrt(n);i+=2) { \n if(n%i==0) \n return false; \n } \n return true; \n }",
"isPrime",
"{\n if(n == 2)\n return true;\n else if(n == 1)\n return false;\n else if (n%2==0)\n return false; \n for(long i=3;i<=Math.sqrt(n);i+=2) { \n if(n%i==0) \n return false; \n } \n return true; \n }",
"if(n == 2)\n return true;\n else if(n == 1)\n return false;\n else if (n%2==0)\n return false;",
"n == 2",
"n",
"2",
"return true;",
"true",
"if(n == 1)\n return false;\n else if (n%2==0)\n return false;",
"n == 1",
"n",
"1",
"return false;",
"false",
"if (n%2==0)\n return false;",
"n%2==0",
"n%2",
"n",
"2",
"0",
"return false;",
"false",
"for(long i=3;i<=Math.sqrt(n);i+=2) { \n if(n%i==0) \n return false; \n }",
"long i=3;",
"long i=3;",
"i",
"3",
"i<=Math.sqrt(n)",
"i",
"Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"i+=2",
"i+=2",
"i",
"2",
"{ \n if(n%i==0) \n return false; \n }",
"{ \n if(n%i==0) \n return false; \n }",
"if(n%i==0) \n return false;",
"n%i==0",
"n%i",
"n",
"i",
"0",
"return false;",
"false",
"return true;",
"true",
"long n",
"n",
"static long countDigit(long n) \n { \n return (long)Math.floor(Math.log10(n) + 1); \n }",
"countDigit",
"{ \n return (long)Math.floor(Math.log10(n) + 1); \n }",
"return (long)Math.floor(Math.log10(n) + 1);",
"(long)Math.floor(Math.log10(n) + 1)",
"Math.floor",
"Math",
"Math.log10(n) + 1",
"Math.log10(n)",
"Math.log10",
"Math",
"n",
"1",
"long n",
"n",
"static long sumOfDigits(long n) \n { \n long sum; \n for (sum = 0; n > 0; sum += n % 10,n /= 10); \n return sum; \n }",
"sumOfDigits",
"{ \n long sum; \n for (sum = 0; n > 0; sum += n % 10,n /= 10); \n return sum; \n }",
"long sum;",
"sum",
"for (sum = 0; n > 0; sum += n % 10,n /= 10);",
"sum = 0;",
"sum = 0",
"sum",
"0",
"n > 0",
"n",
"0",
"sum += n % 10,n /= 10",
"sum += n % 10",
"sum",
"n % 10",
"n",
"10",
"n /= 10",
"n",
"10",
";",
"return sum;",
"sum",
"long n",
"n",
"static boolean isPalindrome(String str) \n { \n int i = 0, j = str.length() - 1; \n while (i < j) { \n if (str.charAt(i) != str.charAt(j)) \n return false; \n i++; \n j--; \n } \n return true; \n }",
"isPalindrome",
"{ \n int i = 0, j = str.length() - 1; \n while (i < j) { \n if (str.charAt(i) != str.charAt(j)) \n return false; \n i++; \n j--; \n } \n return true; \n }",
"int i = 0",
"i",
"0",
"j = str.length() - 1;",
"j",
"str.length() - 1",
"str.length()",
"str.length",
"str",
"1",
"while (i < j) { \n if (str.charAt(i) != str.charAt(j)) \n return false; \n i++; \n j--; \n }",
"i < j",
"i",
"j",
"{ \n if (str.charAt(i) != str.charAt(j)) \n return false; \n i++; \n j--; \n }",
"if (str.charAt(i) != str.charAt(j)) \n return false;",
"str.charAt(i) != str.charAt(j)",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"str.charAt(j)",
"str.charAt",
"str",
"j",
"return false;",
"false",
"i++",
"i",
"j--",
"j",
"return true;",
"true",
"String str",
"str",
"public static void main(String args[])\n {\n try{\n FastReader sc = new FastReader();\n int T = 1;//sc.nextInt();\n while(T-- > 0)\n {\n int X1 = sc.nextInt();\n int X2= sc.nextInt();\n int X3 = sc.nextInt();\n out.write(solve(X1 , X2 , X3)+\"\\n\"); \n }\n try{\n out.flush();\n }catch(Exception e){\n System.out.print(\"\");\n };\n }\n catch(Exception e){\n System.out.print(\"\");\n }\n }",
"main",
"{\n try{\n FastReader sc = new FastReader();\n int T = 1;//sc.nextInt();\n while(T-- > 0)\n {\n int X1 = sc.nextInt();\n int X2= sc.nextInt();\n int X3 = sc.nextInt();\n out.write(solve(X1 , X2 , X3)+\"\\n\"); \n }\n try{\n out.flush();\n }catch(Exception e){\n System.out.print(\"\");\n };\n }\n catch(Exception e){\n System.out.print(\"\");\n }\n }",
"try{\n FastReader sc = new FastReader();\n int T = 1;//sc.nextInt();\n while(T-- > 0)\n {\n int X1 = sc.nextInt();\n int X2= sc.nextInt();\n int X3 = sc.nextInt();\n out.write(solve(X1 , X2 , X3)+\"\\n\"); \n }\n try{\n out.flush();\n }catch(Exception e){\n System.out.print(\"\");\n };\n }\n catch(Exception e){\n System.out.print(\"\");\n }",
"catch(Exception e){\n System.out.print(\"\");\n }",
"Exception e",
"{\n System.out.print(\"\");\n }",
"System.out.print(\"\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\"",
"{\n FastReader sc = new FastReader();\n int T = 1;//sc.nextInt();\n while(T-- > 0)\n {\n int X1 = sc.nextInt();\n int X2= sc.nextInt();\n int X3 = sc.nextInt();\n out.write(solve(X1 , X2 , X3)+\"\\n\"); \n }\n try{\n out.flush();\n }catch(Exception e){\n System.out.print(\"\");\n };\n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"int T = 1;",
"T",
"1",
"while(T-- > 0)\n {\n int X1 = sc.nextInt();\n int X2= sc.nextInt();\n int X3 = sc.nextInt();\n out.write(solve(X1 , X2 , X3)+\"\\n\"); \n }",
"T-- > 0",
"T--",
"T",
"0",
"{\n int X1 = sc.nextInt();\n int X2= sc.nextInt();\n int X3 = sc.nextInt();\n out.write(solve(X1 , X2 , X3)+\"\\n\"); \n }",
"int X1 = sc.nextInt();",
"X1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X2= sc.nextInt();",
"X2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X3 = sc.nextInt();",
"X3",
"sc.nextInt()",
"sc.nextInt",
"sc",
"out.write(solve(X1 , X2 , X3)+\"\\n\")",
"out.write",
"out",
"solve(X1 , X2 , X3)+\"\\n\"",
"solve(X1 , X2 , X3)",
"solve",
"X1",
"X2",
"X3",
"\"\\n\"",
"try{\n out.flush();\n }catch(Exception e){\n System.out.print(\"\");\n }",
"catch(Exception e){\n System.out.print(\"\");\n }",
"Exception e",
"{\n System.out.print(\"\");\n }",
"System.out.print(\"\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\"",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"String args[]",
"args",
"public static int solve(int X1 , int X2 , int X3)\n { \n int sum = 0; \n for(int i = 1 ; i <= X1 ; i += X2)\n {\n\n sum += X3;\n } \n return sum;\n }",
"solve",
"{ \n int sum = 0; \n for(int i = 1 ; i <= X1 ; i += X2)\n {\n\n sum += X3;\n } \n return sum;\n }",
"int sum = 0;",
"sum",
"0",
"for(int i = 1 ; i <= X1 ; i += X2)\n {\n\n sum += X3;\n }",
"int i = 1 ;",
"int i = 1 ;",
"i",
"1",
"i <= X1",
"i",
"X1",
"i += X2",
"i += X2",
"i",
"X2",
"{\n\n sum += X3;\n }",
"{\n\n sum += X3;\n }",
"sum += X3",
"sum",
"X3",
"return sum;",
"sum",
"int X1",
"X1",
"int X2",
"X2",
"int X3",
"X3",
"static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n public FastReader() \n { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n {\n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() \n { \n br = new BufferedReader(new InputStreamReader(System.in)); \n }",
"FastReader",
"{ \n br = new BufferedReader(new InputStreamReader(System.in)); \n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"next",
"{ \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{ \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }",
"try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \n e.printStackTrace(); \n }",
"IOException e",
"{ \n e.printStackTrace(); \n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n st = new StringTokenizer(br.readLine()); \n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() \n { \n return Integer.parseInt(next()); \n }",
"nextInt",
"{ \n return Integer.parseInt(next()); \n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() \n { \n return Long.parseLong(next()); \n }",
"nextLong",
"{ \n return Long.parseLong(next()); \n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() \n { \n return Double.parseDouble(next()); \n }",
"nextDouble",
"{ \n return Double.parseDouble(next()); \n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() \n {\n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"nextLine",
"{\n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"String str = \"\";",
"str",
"\"\"",
"try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \n e.printStackTrace(); \n }",
"IOException e",
"{ \n e.printStackTrace(); \n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n str = br.readLine(); \n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main\n{\n public final static int d = 256; \n static int MOD = 1000000007;\n static final float EPSILON = (float)0.01; \n static final double PI = 3.1415926536;\n private static BufferedReader in = new BufferedReader (new InputStreamReader (System.in));\n private static BufferedWriter out = new BufferedWriter (new OutputStreamWriter (System.out));\n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n public FastReader() \n { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n {\n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }\n static int searchRabinKarp(String pat, String txt) \n { \n int M = pat.length(); \n int N = txt.length(); \n int i, j; \n int p = 0; // hash value for pattern \n int t = 0; // hash value for txt \n int h = 1 , cnt = 0; \n int q = 3355439; \n for (i = 0; i < M-1; i++) \n h = (h*d)%q; \n for (i = 0; i < M; i++) \n { \n p = (d*p + pat.charAt(i))%q; \n t = (d*t + txt.charAt(i))%q; \n } \n for (i = 0; i <= N - M; i++) \n { \n if ( p == t ) \n { \n for (j = 0; j < M; j++) \n { \n if (txt.charAt(i+j) != pat.charAt(j)) \n break; \n } \n if (j == M) \n {//System.out.println(\"Pattern found at index \" + i);\n cnt++;\n } \n } \n if ( i < N-M ) \n { \n t = (d*(t - txt.charAt(i)*h) + txt.charAt(i+M))%q; \n if (t < 0) \n t = (t + q); \n } \n } \n return cnt;\n }\n static long gcd(long bigger , long smaller)\n {\n if (smaller == 0) \n return bigger; \n return gcd(smaller, bigger % smaller); \n }\n static long lcm(long a, long b) \n { \n return (a*b)/gcd(a, b); \n } \n static long sumOfArray(long arr[])\n {\n long sum = 0;\n for(int i = 0 ; i < arr.length ; i++)\n sum += arr[i];\n return sum;\n }\n static boolean isPrime(long n) {\n if(n == 2)\n return true;\n else if(n == 1)\n return false;\n else if (n%2==0)\n return false; \n for(long i=3;i<=Math.sqrt(n);i+=2) { \n if(n%i==0) \n return false; \n } \n return true; \n }\n static long countDigit(long n) \n { \n return (long)Math.floor(Math.log10(n) + 1); \n }\n static long sumOfDigits(long n) \n { \n long sum; \n for (sum = 0; n > 0; sum += n % 10,n /= 10); \n return sum; \n } \n static boolean isPalindrome(String str) \n { \n int i = 0, j = str.length() - 1; \n while (i < j) { \n if (str.charAt(i) != str.charAt(j)) \n return false; \n i++; \n j--; \n } \n return true; \n } \n public static void main(String args[])\n {\n try{\n FastReader sc = new FastReader();\n int T = 1;//sc.nextInt();\n while(T-- > 0)\n {\n int X1 = sc.nextInt();\n int X2= sc.nextInt();\n int X3 = sc.nextInt();\n out.write(solve(X1 , X2 , X3)+\"\\n\"); \n }\n try{\n out.flush();\n }catch(Exception e){\n System.out.print(\"\");\n };\n }\n catch(Exception e){\n System.out.print(\"\");\n }\n } \n public static int solve(int X1 , int X2 , int X3)\n { \n int sum = 0; \n for(int i = 1 ; i <= X1 ; i += X2)\n {\n\n sum += X3;\n } \n return sum;\n } \n}",
"public class Main\n{\n public final static int d = 256; \n static int MOD = 1000000007;\n static final float EPSILON = (float)0.01; \n static final double PI = 3.1415926536;\n private static BufferedReader in = new BufferedReader (new InputStreamReader (System.in));\n private static BufferedWriter out = new BufferedWriter (new OutputStreamWriter (System.out));\n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n public FastReader() \n { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n {\n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }\n static int searchRabinKarp(String pat, String txt) \n { \n int M = pat.length(); \n int N = txt.length(); \n int i, j; \n int p = 0; // hash value for pattern \n int t = 0; // hash value for txt \n int h = 1 , cnt = 0; \n int q = 3355439; \n for (i = 0; i < M-1; i++) \n h = (h*d)%q; \n for (i = 0; i < M; i++) \n { \n p = (d*p + pat.charAt(i))%q; \n t = (d*t + txt.charAt(i))%q; \n } \n for (i = 0; i <= N - M; i++) \n { \n if ( p == t ) \n { \n for (j = 0; j < M; j++) \n { \n if (txt.charAt(i+j) != pat.charAt(j)) \n break; \n } \n if (j == M) \n {//System.out.println(\"Pattern found at index \" + i);\n cnt++;\n } \n } \n if ( i < N-M ) \n { \n t = (d*(t - txt.charAt(i)*h) + txt.charAt(i+M))%q; \n if (t < 0) \n t = (t + q); \n } \n } \n return cnt;\n }\n static long gcd(long bigger , long smaller)\n {\n if (smaller == 0) \n return bigger; \n return gcd(smaller, bigger % smaller); \n }\n static long lcm(long a, long b) \n { \n return (a*b)/gcd(a, b); \n } \n static long sumOfArray(long arr[])\n {\n long sum = 0;\n for(int i = 0 ; i < arr.length ; i++)\n sum += arr[i];\n return sum;\n }\n static boolean isPrime(long n) {\n if(n == 2)\n return true;\n else if(n == 1)\n return false;\n else if (n%2==0)\n return false; \n for(long i=3;i<=Math.sqrt(n);i+=2) { \n if(n%i==0) \n return false; \n } \n return true; \n }\n static long countDigit(long n) \n { \n return (long)Math.floor(Math.log10(n) + 1); \n }\n static long sumOfDigits(long n) \n { \n long sum; \n for (sum = 0; n > 0; sum += n % 10,n /= 10); \n return sum; \n } \n static boolean isPalindrome(String str) \n { \n int i = 0, j = str.length() - 1; \n while (i < j) { \n if (str.charAt(i) != str.charAt(j)) \n return false; \n i++; \n j--; \n } \n return true; \n } \n public static void main(String args[])\n {\n try{\n FastReader sc = new FastReader();\n int T = 1;//sc.nextInt();\n while(T-- > 0)\n {\n int X1 = sc.nextInt();\n int X2= sc.nextInt();\n int X3 = sc.nextInt();\n out.write(solve(X1 , X2 , X3)+\"\\n\"); \n }\n try{\n out.flush();\n }catch(Exception e){\n System.out.print(\"\");\n };\n }\n catch(Exception e){\n System.out.print(\"\");\n }\n } \n public static int solve(int X1 , int X2 , int X3)\n { \n int sum = 0; \n for(int i = 1 ; i <= X1 ; i += X2)\n {\n\n sum += X3;\n } \n return sum;\n } \n}",
"Main"
]
| //JAI BAJRANGBALI
import java.util.*;
import java.io.*;
import java.math.BigInteger;
public class Main
{
public final static int d = 256;
static int MOD = 1000000007;
static final float EPSILON = (float)0.01;
static final double PI = 3.1415926536;
private static BufferedReader in = new BufferedReader (new InputStreamReader (System.in));
private static BufferedWriter out = new BufferedWriter (new OutputStreamWriter (System.out));
static class FastReader
{
BufferedReader br;
StringTokenizer st;
public FastReader()
{
br = new BufferedReader(new InputStreamReader(System.in));
}
String next()
{
while (st == null || !st.hasMoreElements())
{
try
{
st = new StringTokenizer(br.readLine());
}
catch (IOException e)
{
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt()
{
return Integer.parseInt(next());
}
long nextLong()
{
return Long.parseLong(next());
}
double nextDouble()
{
return Double.parseDouble(next());
}
String nextLine()
{
String str = "";
try
{
str = br.readLine();
}
catch (IOException e)
{
e.printStackTrace();
}
return str;
}
}
static int searchRabinKarp(String pat, String txt)
{
int M = pat.length();
int N = txt.length();
int i, j;
int p = 0; // hash value for pattern
int t = 0; // hash value for txt
int h = 1 , cnt = 0;
int q = 3355439;
for (i = 0; i < M-1; i++)
h = (h*d)%q;
for (i = 0; i < M; i++)
{
p = (d*p + pat.charAt(i))%q;
t = (d*t + txt.charAt(i))%q;
}
for (i = 0; i <= N - M; i++)
{
if ( p == t )
{
for (j = 0; j < M; j++)
{
if (txt.charAt(i+j) != pat.charAt(j))
break;
}
if (j == M)
{//System.out.println("Pattern found at index " + i);
cnt++;
}
}
if ( i < N-M )
{
t = (d*(t - txt.charAt(i)*h) + txt.charAt(i+M))%q;
if (t < 0)
t = (t + q);
}
}
return cnt;
}
static long gcd(long bigger , long smaller)
{
if (smaller == 0)
return bigger;
return gcd(smaller, bigger % smaller);
}
static long lcm(long a, long b)
{
return (a*b)/gcd(a, b);
}
static long sumOfArray(long arr[])
{
long sum = 0;
for(int i = 0 ; i < arr.length ; i++)
sum += arr[i];
return sum;
}
static boolean isPrime(long n) {
if(n == 2)
return true;
else if(n == 1)
return false;
else if (n%2==0)
return false;
for(long i=3;i<=Math.sqrt(n);i+=2) {
if(n%i==0)
return false;
}
return true;
}
static long countDigit(long n)
{
return (long)Math.floor(Math.log10(n) + 1);
}
static long sumOfDigits(long n)
{
long sum;
for (sum = 0; n > 0; sum += n % 10,n /= 10);
return sum;
}
static boolean isPalindrome(String str)
{
int i = 0, j = str.length() - 1;
while (i < j) {
if (str.charAt(i) != str.charAt(j))
return false;
i++;
j--;
}
return true;
}
public static void main(String args[])
{
try{
FastReader sc = new FastReader();
int T = 1;//sc.nextInt();
while(T-- > 0)
{
int X1 = sc.nextInt();
int X2= sc.nextInt();
int X3 = sc.nextInt();
out.write(solve(X1 , X2 , X3)+"\n");
}
try{
out.flush();
}catch(Exception e){
System.out.print("");
};
}
catch(Exception e){
System.out.print("");
}
}
public static int solve(int X1 , int X2 , int X3)
{
int sum = 0;
for(int i = 1 ; i <= X1 ; i += X2)
{
sum += X3;
}
return sum;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\t\n\t\tint total = 0;\n\t\tint res = 0;\n\t\t\n\t\twhile(total < n) {\n\t\t\t\n\t\t\tres += t;\n\t\t\ttotal += x;\n\t\t}\n\t\t\n\t\tSystem.out.println(res);\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\t\n\t\tint total = 0;\n\t\tint res = 0;\n\t\t\n\t\twhile(total < n) {\n\t\t\t\n\t\t\tres += t;\n\t\t\ttotal += x;\n\t\t}\n\t\t\n\t\tSystem.out.println(res);\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\t\n\t\tint total = 0;\n\t\tint res = 0;\n\t\t\n\t\twhile(total < n) {\n\t\t\t\n\t\t\tres += t;\n\t\t\ttotal += x;\n\t\t}\n\t\t\n\t\tSystem.out.println(res);\n\t\t\n\t\tsc.close();\n\t}",
"main",
"{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\t\n\t\tint total = 0;\n\t\tint res = 0;\n\t\t\n\t\twhile(total < n) {\n\t\t\t\n\t\t\tres += t;\n\t\t\ttotal += x;\n\t\t}\n\t\t\n\t\tSystem.out.println(res);\n\t\t\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int total = 0;",
"total",
"0",
"int res = 0;",
"res",
"0",
"while(total < n) {\n\t\t\t\n\t\t\tres += t;\n\t\t\ttotal += x;\n\t\t}",
"total < n",
"total",
"n",
"{\n\t\t\t\n\t\t\tres += t;\n\t\t\ttotal += x;\n\t\t}",
"res += t",
"res",
"t",
"total += x",
"total",
"x",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\t\n\t\tint total = 0;\n\t\tint res = 0;\n\t\t\n\t\twhile(total < n) {\n\t\t\t\n\t\t\tres += t;\n\t\t\ttotal += x;\n\t\t}\n\t\t\n\t\tSystem.out.println(res);\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\t\n\t\tint total = 0;\n\t\tint res = 0;\n\t\t\n\t\twhile(total < n) {\n\t\t\t\n\t\t\tres += t;\n\t\t\ttotal += x;\n\t\t}\n\t\t\n\t\tSystem.out.println(res);\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
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 total = 0;
int res = 0;
while(total < n) {
res += t;
total += x;
}
System.out.println(res);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
13,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
]
| [
"import java.util.Scanner;\n public class Main {\n public static void main(String[] args) {\n \n //sec--1 (definition)\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int X = sc.nextInt();\n int T = sc.nextInt();\n int ans = 0;\n \n while(N>0) {\n ans += T;\n N=N-X;\n }\n\n System.out.println(ans);\n }\n }",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n \n //sec--1 (definition)\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int X = sc.nextInt();\n int T = sc.nextInt();\n int ans = 0;\n \n while(N>0) {\n ans += T;\n N=N-X;\n }\n\n System.out.println(ans);\n }\n }",
"Main",
"public static void main(String[] args) {\n \n //sec--1 (definition)\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int X = sc.nextInt();\n int T = sc.nextInt();\n int ans = 0;\n \n while(N>0) {\n ans += T;\n N=N-X;\n }\n\n System.out.println(ans);\n }",
"main",
"{\n \n //sec--1 (definition)\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int X = sc.nextInt();\n int T = sc.nextInt();\n int ans = 0;\n \n while(N>0) {\n ans += T;\n N=N-X;\n }\n\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int T = sc.nextInt();",
"T",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = 0;",
"ans",
"0",
"while(N>0) {\n ans += T;\n N=N-X;\n }",
"N>0",
"N",
"0",
"{\n ans += T;\n N=N-X;\n }",
"ans += T",
"ans",
"T",
"N=N-X",
"N",
"N-X",
"N",
"X",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n \n //sec--1 (definition)\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int X = sc.nextInt();\n int T = sc.nextInt();\n int ans = 0;\n \n while(N>0) {\n ans += T;\n N=N-X;\n }\n\n System.out.println(ans);\n }\n }",
"public class Main {\n public static void main(String[] args) {\n \n //sec--1 (definition)\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int X = sc.nextInt();\n int T = sc.nextInt();\n int ans = 0;\n \n while(N>0) {\n ans += T;\n N=N-X;\n }\n\n System.out.println(ans);\n }\n }",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//sec--1 (definition)
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int X = sc.nextInt();
int T = sc.nextInt();
int ans = 0;
while(N>0) {
ans += T;
N=N-X;
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
57,
11
],
[
57,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
14,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
14,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
12,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
]
| [
"import java.util.*;\nimport java.math.RoundingMode;\nimport java.math.BigDecimal;\n \n \n \npublic class Main{\n\tpublic static void main (String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint ans = 0;\n\t\twhile(n>0) {\n\t\t\tans++;\n\t\t\tn-=x;\n\t\t}\n\t\tSystem.out.println(ans*t);\n\t\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main{\n\tpublic static void main (String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint ans = 0;\n\t\twhile(n>0) {\n\t\t\tans++;\n\t\t\tn-=x;\n\t\t}\n\t\tSystem.out.println(ans*t);\n\t\t}\n}",
"Main",
"public static void main (String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint ans = 0;\n\t\twhile(n>0) {\n\t\t\tans++;\n\t\t\tn-=x;\n\t\t}\n\t\tSystem.out.println(ans*t);\n\t\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint ans = 0;\n\t\twhile(n>0) {\n\t\t\tans++;\n\t\t\tn-=x;\n\t\t}\n\t\tSystem.out.println(ans*t);\n\t\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = 0;",
"ans",
"0",
"while(n>0) {\n\t\t\tans++;\n\t\t\tn-=x;\n\t\t}",
"n>0",
"n",
"0",
"{\n\t\t\tans++;\n\t\t\tn-=x;\n\t\t}",
"ans++",
"ans",
"n-=x",
"n",
"x",
"System.out.println(ans*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans*t",
"ans",
"t",
"String[] args",
"args",
"public class Main{\n\tpublic static void main (String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint ans = 0;\n\t\twhile(n>0) {\n\t\t\tans++;\n\t\t\tn-=x;\n\t\t}\n\t\tSystem.out.println(ans*t);\n\t\t}\n}",
"public class Main{\n\tpublic static void main (String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\tint ans = 0;\n\t\twhile(n>0) {\n\t\t\tans++;\n\t\t\tn-=x;\n\t\t}\n\t\tSystem.out.println(ans*t);\n\t\t}\n}",
"Main"
]
| import java.util.*;
import java.math.RoundingMode;
import java.math.BigDecimal;
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 ans = 0;
while(n>0) {
ans++;
n-=x;
}
System.out.println(ans*t);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
2,
13,
13,
17,
30,
40,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
64,
8
],
[
64,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
11,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
9,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
]
| [
"import java.util.Map.Entry;\nimport java.util.*;\n \n//import org.w3c.dom.css.Counter;\n \npublic class Main {\n//public class App {\n \n public static void main(final String[] args){\n //ในใญใฃใณ\n final Scanner s = new Scanner(System.in);\n int N = Integer.parseInt(s.next());\n int X = Integer.parseInt(s.next());\n int T = Integer.parseInt(s.next());\n int ans = N /X;\n if(N%X !=0){ans ++;}\n System.out.println(ans*T);\n }\n}",
"import java.util.Map.Entry;",
"Entry",
"java.util.Map",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n//public class App {\n \n public static void main(final String[] args){\n //ในใญใฃใณ\n final Scanner s = new Scanner(System.in);\n int N = Integer.parseInt(s.next());\n int X = Integer.parseInt(s.next());\n int T = Integer.parseInt(s.next());\n int ans = N /X;\n if(N%X !=0){ans ++;}\n System.out.println(ans*T);\n }\n}",
"Main",
"public static void main(final String[] args){\n //ในใญใฃใณ\n final Scanner s = new Scanner(System.in);\n int N = Integer.parseInt(s.next());\n int X = Integer.parseInt(s.next());\n int T = Integer.parseInt(s.next());\n int ans = N /X;\n if(N%X !=0){ans ++;}\n System.out.println(ans*T);\n }",
"main",
"{\n //ในใญใฃใณ\n final Scanner s = new Scanner(System.in);\n int N = Integer.parseInt(s.next());\n int X = Integer.parseInt(s.next());\n int T = Integer.parseInt(s.next());\n int ans = N /X;\n if(N%X !=0){ans ++;}\n System.out.println(ans*T);\n }",
"final Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int N = Integer.parseInt(s.next());",
"N",
"Integer.parseInt(s.next())",
"Integer.parseInt",
"Integer",
"s.next()",
"s.next",
"s",
"int X = Integer.parseInt(s.next());",
"X",
"Integer.parseInt(s.next())",
"Integer.parseInt",
"Integer",
"s.next()",
"s.next",
"s",
"int T = Integer.parseInt(s.next());",
"T",
"Integer.parseInt(s.next())",
"Integer.parseInt",
"Integer",
"s.next()",
"s.next",
"s",
"int ans = N /X;",
"ans",
"N /X",
"N",
"X",
"if(N%X !=0){ans ++;}",
"N%X !=0",
"N%X",
"N",
"X",
"0",
"{ans ++;}",
"ans ++",
"ans",
"System.out.println(ans*T)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans*T",
"ans",
"T",
"final String[] args",
"args",
"public class Main {\n//public class App {\n \n public static void main(final String[] args){\n //ในใญใฃใณ\n final Scanner s = new Scanner(System.in);\n int N = Integer.parseInt(s.next());\n int X = Integer.parseInt(s.next());\n int T = Integer.parseInt(s.next());\n int ans = N /X;\n if(N%X !=0){ans ++;}\n System.out.println(ans*T);\n }\n}",
"public class Main {\n//public class App {\n \n public static void main(final String[] args){\n //ในใญใฃใณ\n final Scanner s = new Scanner(System.in);\n int N = Integer.parseInt(s.next());\n int X = Integer.parseInt(s.next());\n int T = Integer.parseInt(s.next());\n int ans = N /X;\n if(N%X !=0){ans ++;}\n System.out.println(ans*T);\n }\n}",
"Main"
]
| 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());
int T = Integer.parseInt(s.next());
int ans = N /X;
if(N%X !=0){ans ++;}
System.out.println(ans*T);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
14,
2,
13,
17,
30,
40,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
8,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
6,
55
],
[
55,
56
]
]
| [
"import java.util.*;\n\nclass Main\n{\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n \n int result = n / x;\n int judge = n % x;\n if (judge != 0) {\n result++;\n } \n int answer = result * t;\n \n System.out.println(answer);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main\n{\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n \n int result = n / x;\n int judge = n % x;\n if (judge != 0) {\n result++;\n } \n int answer = result * t;\n \n System.out.println(answer);\n }\n}",
"Main",
"public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n \n int result = n / x;\n int judge = n % x;\n if (judge != 0) {\n result++;\n } \n int answer = result * t;\n \n System.out.println(answer);\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n \n int result = n / x;\n int judge = n % x;\n if (judge != 0) {\n result++;\n } \n int answer = result * t;\n \n System.out.println(answer);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int result = n / x;",
"result",
"n / x",
"n",
"x",
"int judge = n % x;",
"judge",
"n % x",
"n",
"x",
"if (judge != 0) {\n result++;\n }",
"judge != 0",
"judge",
"0",
"{\n result++;\n }",
"result++",
"result",
"int answer = result * t;",
"answer",
"result * t",
"result",
"t",
"System.out.println(answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"answer",
"String[] args",
"args"
]
| 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 result = n / x;
int judge = n % x;
if (judge != 0) {
result++;
}
int answer = result * t;
System.out.println(answer);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
17,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
2,
13,
13,
14,
2,
2,
13,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
2,
4,
18,
13,
13,
4,
18,
13,
13,
29,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
17,
14,
2,
2,
13,
17,
17,
29,
17,
14,
2,
13,
17,
29,
17,
14,
2,
2,
13,
17,
17,
29,
17,
41,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
0,
13,
17,
30,
30,
14,
2,
2,
13,
13,
17,
29,
17,
14,
2,
2,
13,
2,
13,
17,
17,
29,
17,
29,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
264,
5
],
[
264,
6
],
[
6,
7
],
[
6,
8
],
[
264,
9
],
[
9,
10
],
[
9,
11
],
[
264,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
14,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
14,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
12,
52
],
[
52,
53
],
[
264,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
54,
63
],
[
63,
64
],
[
54,
65
],
[
65,
66
],
[
264,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
74,
76
],
[
74,
77
],
[
71,
78
],
[
67,
79
],
[
79,
80
],
[
67,
81
],
[
81,
82
],
[
67,
83
],
[
83,
84
],
[
264,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
92,
93
],
[
92,
94
],
[
92,
95
],
[
89,
96
],
[
96,
97
],
[
96,
98
],
[
96,
99
],
[
85,
100
],
[
100,
101
],
[
85,
102
],
[
102,
103
],
[
85,
104
],
[
104,
105
],
[
85,
106
],
[
106,
107
],
[
264,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
112,
116
],
[
108,
117
],
[
117,
118
],
[
108,
119
],
[
119,
120
],
[
264,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
125,
129
],
[
129,
130
],
[
129,
131
],
[
129,
132
],
[
121,
133
],
[
133,
134
],
[
121,
135
],
[
135,
136
],
[
121,
137
],
[
137,
138
],
[
264,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
146,
147
],
[
146,
148
],
[
146,
149
],
[
143,
150
],
[
150,
151
],
[
150,
152
],
[
150,
153
],
[
139,
154
],
[
154,
155
],
[
139,
156
],
[
156,
157
],
[
139,
158
],
[
158,
159
],
[
139,
160
],
[
160,
161
],
[
264,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
167,
172
],
[
172,
173
],
[
173,
174
],
[
172,
175
],
[
164,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
162,
180
],
[
180,
181
],
[
162,
182
],
[
182,
183
],
[
264,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
191,
192
],
[
186,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
197,
198
],
[
186,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
199,
205
],
[
205,
206
],
[
186,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
186,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
218
],
[
213,
219
],
[
219,
220
],
[
186,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
223,
226
],
[
186,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
227,
232
],
[
232,
233
],
[
232,
234
],
[
227,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
227,
239
],
[
240,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
241,
247
],
[
247,
248
],
[
240,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
253,
255
],
[
250,
256
],
[
249,
257
],
[
257,
258
],
[
186,
259
],
[
259,
260
],
[
184,
261
],
[
261,
262
],
[
0,
263
],
[
263,
264
],
[
263,
265
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n static Scanner sc = new Scanner(System.in);\n static final int mod = 1000000007;\n\n public static void main(String[] args) {\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n \n int ans = t*(n/x);\n if(n%x!=0)\n ans+= t;\n System.out.println(ans);\n\n\n\n\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static int max(int a, int b)\n {\n return Math.max(a,b);\n }\n static int max(int a, int b, int c)\n {\n return Math.max(max(a,b), c);\n }\n static int max(int a, int b, int c, int d)\n {\n return Math.max(max(a,b), max(c,d));\n }\n\n static int min(int a, int b)\n {\n return Math.min(a, b);\n }\n\n static int min(int a, int b, int c )\n {\n return Math.min(a, min(b,c));\n }\n\n static int min(int a, int b, int c, int d )\n {\n return Math.min(min(a,d), min(b,c));\n }\n\n static boolean isPower(int a, int b)\n {\n double temp = Math.log(a)/Math.log(b);\n return temp == (int) temp;\n }\n static boolean isPrime(int n)\n {\n if(n==1) return false;\n if(n==2) return true;\n if(n%2==0) return false;\n\n if(n<9)return true;\n if(n%3==0) return false;\n\n int r = (int)Math.sqrt(n);\n\n for(int i = 5; i<=r; i +=6)\n {\n if(n%i==0) return false;\n if(n%(i+2)==0) return false;\n }\n return true;\n\n\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n static Scanner sc = new Scanner(System.in);\n static final int mod = 1000000007;\n\n public static void main(String[] args) {\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n \n int ans = t*(n/x);\n if(n%x!=0)\n ans+= t;\n System.out.println(ans);\n\n\n\n\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static int max(int a, int b)\n {\n return Math.max(a,b);\n }\n static int max(int a, int b, int c)\n {\n return Math.max(max(a,b), c);\n }\n static int max(int a, int b, int c, int d)\n {\n return Math.max(max(a,b), max(c,d));\n }\n\n static int min(int a, int b)\n {\n return Math.min(a, b);\n }\n\n static int min(int a, int b, int c )\n {\n return Math.min(a, min(b,c));\n }\n\n static int min(int a, int b, int c, int d )\n {\n return Math.min(min(a,d), min(b,c));\n }\n\n static boolean isPower(int a, int b)\n {\n double temp = Math.log(a)/Math.log(b);\n return temp == (int) temp;\n }\n static boolean isPrime(int n)\n {\n if(n==1) return false;\n if(n==2) return true;\n if(n%2==0) return false;\n\n if(n<9)return true;\n if(n%3==0) return false;\n\n int r = (int)Math.sqrt(n);\n\n for(int i = 5; i<=r; i +=6)\n {\n if(n%i==0) return false;\n if(n%(i+2)==0) return false;\n }\n return true;\n\n\n\n }\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static final int mod = 1000000007;",
"mod",
"1000000007",
"public static void main(String[] args) {\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n \n int ans = t*(n/x);\n if(n%x!=0)\n ans+= t;\n System.out.println(ans);\n\n\n\n\n }",
"main",
"{\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n \n int ans = t*(n/x);\n if(n%x!=0)\n ans+= t;\n System.out.println(ans);\n\n\n\n\n }",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = t*(n/x);",
"ans",
"t*(n/x)",
"t",
"(n/x)",
"n",
"x",
"if(n%x!=0)\n ans+= t;",
"n%x!=0",
"n%x",
"n",
"x",
"0",
"ans+= t",
"ans",
"t",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"static int max(int a, int b)\n {\n return Math.max(a,b);\n }",
"max",
"{\n return Math.max(a,b);\n }",
"return Math.max(a,b);",
"Math.max(a,b)",
"Math.max",
"Math",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static int max(int a, int b, int c)\n {\n return Math.max(max(a,b), c);\n }",
"max",
"{\n return Math.max(max(a,b), c);\n }",
"return Math.max(max(a,b), c);",
"Math.max(max(a,b), c)",
"Math.max",
"Math",
"max(a,b)",
"max",
"a",
"b",
"c",
"int a",
"a",
"int b",
"b",
"int c",
"c",
"static int max(int a, int b, int c, int d)\n {\n return Math.max(max(a,b), max(c,d));\n }",
"max",
"{\n return Math.max(max(a,b), max(c,d));\n }",
"return Math.max(max(a,b), max(c,d));",
"Math.max(max(a,b), max(c,d))",
"Math.max",
"Math",
"max(a,b)",
"max",
"a",
"b",
"max(c,d)",
"max",
"c",
"d",
"int a",
"a",
"int b",
"b",
"int c",
"c",
"int d",
"d",
"static int min(int a, int b)\n {\n return Math.min(a, b);\n }",
"min",
"{\n return Math.min(a, b);\n }",
"return Math.min(a, b);",
"Math.min(a, b)",
"Math.min",
"Math",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static int min(int a, int b, int c )\n {\n return Math.min(a, min(b,c));\n }",
"min",
"{\n return Math.min(a, min(b,c));\n }",
"return Math.min(a, min(b,c));",
"Math.min(a, min(b,c))",
"Math.min",
"Math",
"a",
"min(b,c)",
"min",
"b",
"c",
"int a",
"a",
"int b",
"b",
"int c",
"c",
"static int min(int a, int b, int c, int d )\n {\n return Math.min(min(a,d), min(b,c));\n }",
"min",
"{\n return Math.min(min(a,d), min(b,c));\n }",
"return Math.min(min(a,d), min(b,c));",
"Math.min(min(a,d), min(b,c))",
"Math.min",
"Math",
"min(a,d)",
"min",
"a",
"d",
"min(b,c)",
"min",
"b",
"c",
"int a",
"a",
"int b",
"b",
"int c",
"c",
"int d",
"d",
"static boolean isPower(int a, int b)\n {\n double temp = Math.log(a)/Math.log(b);\n return temp == (int) temp;\n }",
"isPower",
"{\n double temp = Math.log(a)/Math.log(b);\n return temp == (int) temp;\n }",
"double temp = Math.log(a)/Math.log(b);",
"temp",
"Math.log(a)/Math.log(b)",
"Math.log(a)",
"Math.log",
"Math",
"a",
"Math.log(b)",
"Math.log",
"Math",
"b",
"return temp == (int) temp;",
"temp == (int) temp",
"temp",
"(int) temp",
"int a",
"a",
"int b",
"b",
"static boolean isPrime(int n)\n {\n if(n==1) return false;\n if(n==2) return true;\n if(n%2==0) return false;\n\n if(n<9)return true;\n if(n%3==0) return false;\n\n int r = (int)Math.sqrt(n);\n\n for(int i = 5; i<=r; i +=6)\n {\n if(n%i==0) return false;\n if(n%(i+2)==0) return false;\n }\n return true;\n\n\n\n }",
"isPrime",
"{\n if(n==1) return false;\n if(n==2) return true;\n if(n%2==0) return false;\n\n if(n<9)return true;\n if(n%3==0) return false;\n\n int r = (int)Math.sqrt(n);\n\n for(int i = 5; i<=r; i +=6)\n {\n if(n%i==0) return false;\n if(n%(i+2)==0) return false;\n }\n return true;\n\n\n\n }",
"if(n==1) return false;",
"n==1",
"n",
"1",
"return false;",
"false",
"if(n==2) return true;",
"n==2",
"n",
"2",
"return true;",
"true",
"if(n%2==0) return false;",
"n%2==0",
"n%2",
"n",
"2",
"0",
"return false;",
"false",
"if(n<9)return true;",
"n<9",
"n",
"9",
"return true;",
"true",
"if(n%3==0) return false;",
"n%3==0",
"n%3",
"n",
"3",
"0",
"return false;",
"false",
"int r = (int)Math.sqrt(n);",
"r",
"(int)Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"for(int i = 5; i<=r; i +=6)\n {\n if(n%i==0) return false;\n if(n%(i+2)==0) return false;\n }",
"int i = 5;",
"int i = 5;",
"i",
"5",
"i<=r",
"i",
"r",
"i +=6",
"i +=6",
"i",
"6",
"{\n if(n%i==0) return false;\n if(n%(i+2)==0) return false;\n }",
"{\n if(n%i==0) return false;\n if(n%(i+2)==0) return false;\n }",
"if(n%i==0) return false;",
"n%i==0",
"n%i",
"n",
"i",
"0",
"return false;",
"false",
"if(n%(i+2)==0) return false;",
"n%(i+2)==0",
"n%(i+2)",
"n",
"(i+2)",
"i",
"2",
"0",
"return false;",
"false",
"return true;",
"true",
"int n",
"n",
"public class Main {\n static Scanner sc = new Scanner(System.in);\n static final int mod = 1000000007;\n\n public static void main(String[] args) {\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n \n int ans = t*(n/x);\n if(n%x!=0)\n ans+= t;\n System.out.println(ans);\n\n\n\n\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static int max(int a, int b)\n {\n return Math.max(a,b);\n }\n static int max(int a, int b, int c)\n {\n return Math.max(max(a,b), c);\n }\n static int max(int a, int b, int c, int d)\n {\n return Math.max(max(a,b), max(c,d));\n }\n\n static int min(int a, int b)\n {\n return Math.min(a, b);\n }\n\n static int min(int a, int b, int c )\n {\n return Math.min(a, min(b,c));\n }\n\n static int min(int a, int b, int c, int d )\n {\n return Math.min(min(a,d), min(b,c));\n }\n\n static boolean isPower(int a, int b)\n {\n double temp = Math.log(a)/Math.log(b);\n return temp == (int) temp;\n }\n static boolean isPrime(int n)\n {\n if(n==1) return false;\n if(n==2) return true;\n if(n%2==0) return false;\n\n if(n<9)return true;\n if(n%3==0) return false;\n\n int r = (int)Math.sqrt(n);\n\n for(int i = 5; i<=r; i +=6)\n {\n if(n%i==0) return false;\n if(n%(i+2)==0) return false;\n }\n return true;\n\n\n\n }\n}",
"public class Main {\n static Scanner sc = new Scanner(System.in);\n static final int mod = 1000000007;\n\n public static void main(String[] args) {\n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n \n int ans = t*(n/x);\n if(n%x!=0)\n ans+= t;\n System.out.println(ans);\n\n\n\n\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static int max(int a, int b)\n {\n return Math.max(a,b);\n }\n static int max(int a, int b, int c)\n {\n return Math.max(max(a,b), c);\n }\n static int max(int a, int b, int c, int d)\n {\n return Math.max(max(a,b), max(c,d));\n }\n\n static int min(int a, int b)\n {\n return Math.min(a, b);\n }\n\n static int min(int a, int b, int c )\n {\n return Math.min(a, min(b,c));\n }\n\n static int min(int a, int b, int c, int d )\n {\n return Math.min(min(a,d), min(b,c));\n }\n\n static boolean isPower(int a, int b)\n {\n double temp = Math.log(a)/Math.log(b);\n return temp == (int) temp;\n }\n static boolean isPrime(int n)\n {\n if(n==1) return false;\n if(n==2) return true;\n if(n%2==0) return false;\n\n if(n<9)return true;\n if(n%3==0) return false;\n\n int r = (int)Math.sqrt(n);\n\n for(int i = 5; i<=r; i +=6)\n {\n if(n%i==0) return false;\n if(n%(i+2)==0) return false;\n }\n return true;\n\n\n\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
static Scanner sc = new Scanner(System.in);
static final int mod = 1000000007;
public static void main(String[] args) {
int n = sc.nextInt();
int x = sc.nextInt();
int t = sc.nextInt();
int ans = t*(n/x);
if(n%x!=0)
ans+= t;
System.out.println(ans);
}
static int max(int a, int b)
{
return Math.max(a,b);
}
static int max(int a, int b, int c)
{
return Math.max(max(a,b), c);
}
static int max(int a, int b, int c, int d)
{
return Math.max(max(a,b), max(c,d));
}
static int min(int a, int b)
{
return Math.min(a, b);
}
static int min(int a, int b, int c )
{
return Math.min(a, min(b,c));
}
static int min(int a, int b, int c, int d )
{
return Math.min(min(a,d), min(b,c));
}
static boolean isPower(int a, int b)
{
double temp = Math.log(a)/Math.log(b);
return temp == (int) temp;
}
static boolean isPrime(int n)
{
if(n==1) return false;
if(n==2) return true;
if(n%2==0) return false;
if(n<9)return true;
if(n%3==0) return false;
int r = (int)Math.sqrt(n);
for(int i = 5; i<=r; i +=6)
{
if(n%i==0) return false;
if(n%(i+2)==0) return false;
}
return true;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
20,
2,
17,
17,
41,
13,
41,
13,
18,
13,
13,
41,
13,
41,
13,
20,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
37,
20,
29,
2,
13,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
37,
20,
29,
2,
13,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
42,
2,
40,
4,
13,
13,
2,
13,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
37,
20,
14,
2,
13,
17,
30,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
2,
13,
17,
13,
0,
13,
4,
13,
37,
20,
29,
2,
13,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
12,
13,
30,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
13,
4,
18,
13,
17,
23,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
40,
18,
13,
13,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
13,
1,
0,
13,
13,
30,
30,
0,
18,
13,
13,
17,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
13,
41,
13,
4,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
14,
2,
13,
13,
3,
0,
13,
13,
0,
13,
13,
4,
13,
2,
13,
17,
4,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
18,
13,
13,
17,
18,
13,
13,
23,
13,
12,
13,
30,
29,
2,
18,
36,
13,
18,
13,
13,
23,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
665,
8
],
[
665,
9
],
[
9,
10
],
[
9,
11
],
[
665,
12
],
[
12,
13
],
[
12,
14
],
[
665,
15
],
[
15,
16
],
[
665,
17
],
[
17,
18
],
[
17,
19
],
[
20,
21
],
[
20,
22
],
[
665,
23
],
[
23,
24
],
[
665,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
665,
30
],
[
30,
31
],
[
665,
32
],
[
32,
33
],
[
32,
34
],
[
665,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
38,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
38,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
665,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
74,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
85,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
100,
101
],
[
74,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
665,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
109,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
109,
125
],
[
125,
126
],
[
125,
127
],
[
109,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
132,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
109,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
141,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
152,
153
],
[
152,
154
],
[
147,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
161,
163
],
[
155,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
147,
168
],
[
168,
169
],
[
109,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
665,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
176,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
184,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
176,
192
],
[
192,
193
],
[
192,
194
],
[
176,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
199,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
176,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
208,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
215,
219
],
[
219,
220
],
[
219,
221
],
[
214,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
228,
230
],
[
222,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
214,
235
],
[
235,
236
],
[
176,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
665,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
243,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
243,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
251,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
243,
259
],
[
259,
260
],
[
259,
261
],
[
243,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
262,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
266,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
243,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
276,
281
],
[
281,
282
],
[
281,
283
],
[
275,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
286,
290
],
[
290,
291
],
[
290,
292
],
[
285,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
299,
301
],
[
293,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
285,
306
],
[
306,
307
],
[
243,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
308,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
315,
316
],
[
312,
317
],
[
317,
318
],
[
317,
319
],
[
312,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
322,
324
],
[
320,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
328,
329
],
[
328,
330
],
[
327,
331
],
[
331,
332
],
[
331,
333
],
[
326,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
334,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
341,
342
],
[
341,
343
],
[
340,
344
],
[
334,
345
],
[
345,
346
],
[
345,
347
],
[
347,
348
],
[
326,
349
],
[
349,
350
],
[
243,
351
],
[
351,
352
],
[
352,
353
],
[
352,
354
],
[
665,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
357,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
361,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
371,
372
],
[
372,
373
],
[
357,
374
],
[
374,
375
],
[
665,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
379,
380
],
[
383,
381
],
[
393,
382
],
[
390,
383
],
[
383,
384
],
[
384,
385
],
[
384,
386
],
[
383,
387
],
[
387,
388
],
[
387,
389
],
[
390,
390
],
[
390,
391
],
[
390,
392
],
[
393,
393
],
[
393,
394
],
[
393,
395
],
[
383,
396
],
[
396,
397
],
[
396,
398
],
[
398,
399
],
[
379,
400
],
[
400,
401
],
[
378,
402
],
[
402,
403
],
[
376,
404
],
[
404,
405
],
[
665,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
409,
410
],
[
410,
411
],
[
409,
412
],
[
406,
413
],
[
413,
414
],
[
665,
415
],
[
415,
416
],
[
415,
417
],
[
417,
418
],
[
418,
419
],
[
418,
420
],
[
417,
421
],
[
421,
422
],
[
422,
423
],
[
421,
424
],
[
415,
425
],
[
425,
426
],
[
665,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
430,
431
],
[
431,
432
],
[
665,
433
],
[
433,
434
],
[
433,
435
],
[
435,
436
],
[
436,
437
],
[
437,
438
],
[
665,
439
],
[
439,
440
],
[
439,
441
],
[
441,
442
],
[
442,
443
],
[
443,
444
],
[
444,
445
],
[
444,
446
],
[
442,
447
],
[
447,
448
],
[
447,
449
],
[
442,
450
],
[
450,
451
],
[
451,
452
],
[
442,
453
],
[
453,
454
],
[
454,
455
],
[
455,
456
],
[
455,
457
],
[
454,
458
],
[
458,
459
],
[
441,
460
],
[
460,
461
],
[
439,
462
],
[
462,
463
],
[
439,
464
],
[
464,
465
],
[
665,
466
],
[
466,
467
],
[
466,
468
],
[
468,
469
],
[
469,
470
],
[
470,
471
],
[
471,
472
],
[
471,
473
],
[
469,
474
],
[
474,
475
],
[
474,
476
],
[
469,
477
],
[
477,
478
],
[
478,
479
],
[
469,
480
],
[
480,
481
],
[
481,
482
],
[
482,
483
],
[
482,
484
],
[
481,
485
],
[
485,
486
],
[
468,
487
],
[
487,
488
],
[
466,
489
],
[
489,
490
],
[
466,
491
],
[
491,
492
],
[
665,
493
],
[
493,
494
],
[
493,
495
],
[
495,
496
],
[
496,
497
],
[
497,
498
],
[
498,
499
],
[
498,
500
],
[
496,
501
],
[
501,
502
],
[
501,
503
],
[
496,
504
],
[
504,
505
],
[
505,
506
],
[
496,
507
],
[
507,
508
],
[
508,
509
],
[
509,
510
],
[
509,
511
],
[
508,
512
],
[
512,
513
],
[
495,
514
],
[
514,
515
],
[
493,
516
],
[
516,
517
],
[
493,
518
],
[
518,
519
],
[
665,
520
],
[
520,
521
],
[
520,
522
],
[
522,
523
],
[
523,
524
],
[
523,
525
],
[
522,
526
],
[
526,
527
],
[
527,
528
],
[
528,
529
],
[
528,
530
],
[
526,
531
],
[
531,
532
],
[
532,
533
],
[
532,
534
],
[
531,
535
],
[
526,
536
],
[
536,
537
],
[
537,
538
],
[
526,
539
],
[
540,
540
],
[
540,
541
],
[
541,
542
],
[
542,
543
],
[
543,
544
],
[
543,
545
],
[
541,
546
],
[
546,
547
],
[
547,
548
],
[
548,
549
],
[
549,
550
],
[
549,
551
],
[
551,
552
],
[
551,
553
],
[
547,
554
],
[
554,
555
],
[
554,
556
],
[
547,
557
],
[
557,
558
],
[
558,
559
],
[
558,
560
],
[
547,
561
],
[
562,
562
],
[
562,
563
],
[
563,
564
],
[
564,
565
],
[
564,
566
],
[
563,
567
],
[
665,
568
],
[
568,
569
],
[
568,
570
],
[
570,
571
],
[
571,
572
],
[
571,
573
],
[
573,
574
],
[
570,
575
],
[
575,
576
],
[
575,
577
],
[
577,
578
],
[
570,
579
],
[
579,
580
],
[
579,
581
],
[
581,
582
],
[
570,
583
],
[
583,
584
],
[
583,
585
],
[
570,
586
],
[
586,
587
],
[
586,
588
],
[
570,
589
],
[
589,
590
],
[
589,
591
],
[
591,
592
],
[
592,
593
],
[
593,
594
],
[
593,
595
],
[
592,
596
],
[
591,
597
],
[
597,
598
],
[
597,
599
],
[
591,
600
],
[
600,
601
],
[
600,
602
],
[
570,
603
],
[
603,
604
],
[
603,
605
],
[
605,
606
],
[
605,
607
],
[
570,
608
],
[
608,
609
],
[
568,
610
],
[
610,
611
],
[
665,
612
],
[
612,
613
],
[
612,
614
],
[
614,
615
],
[
612,
616
],
[
616,
617
],
[
612,
618
],
[
618,
619
],
[
618,
620
],
[
620,
621
],
[
621,
622
],
[
622,
623
],
[
622,
624
],
[
621,
625
],
[
620,
626
],
[
626,
627
],
[
627,
628
],
[
627,
629
],
[
626,
630
],
[
618,
631
],
[
631,
632
],
[
618,
633
],
[
633,
634
],
[
612,
635
],
[
635,
636
],
[
635,
637
],
[
637,
638
],
[
638,
639
],
[
640,
640
],
[
640,
641
],
[
641,
642
],
[
641,
643
],
[
640,
644
],
[
640,
645
],
[
645,
646
],
[
645,
647
],
[
635,
648
],
[
648,
649
],
[
612,
650
],
[
650,
651
],
[
650,
652
],
[
652,
653
],
[
653,
654
],
[
654,
655
],
[
655,
656
],
[
655,
657
],
[
654,
658
],
[
658,
659
],
[
658,
660
],
[
650,
661
],
[
661,
662
],
[
612,
663
],
[
0,
664
],
[
664,
665
],
[
664,
666
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main {\n///////----------------input----------------//////\n\tstatic BufferedReader br= new BufferedReader(new\n InputStreamReader(System.in)); \n\tstatic BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\tstatic StringTokenizer st; \n\tstatic byte[] buffer =new byte[10*1024];\n\tstatic int index;\n static InputStream input_stream= System.in;\n static int total;\n\t\n\tstatic String ns() throws IOException\n { \n\t\t StringBuilder sb = new StringBuilder();\n int n = read();\n while (isWhiteSpace(n))\n n = read();\n while (!isWhiteSpace(n)) {\n sb.append((char)n);\n n = read();\n }\n return sb.toString();\n } \n\t\n\tstatic int read() throws IOException\n\t{\n\t\tif(total<0)\n throw new InputMismatchException();\n if(index>=total) {\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }\n return buffer[index++];\n\t}\n\tstatic int ni() throws IOException\n { \n\t\tint integer=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n } \n\n\tstatic long nl() throws IOException\n { \n\t\tlong number=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n long neg=1l;\n if(n=='-') {\n neg=-1l;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*number;\n } \n\n\tstatic double nd() throws IOException\n { \n\t\tdouble doub=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)&&n!='.') {\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n\n if(n=='.') {\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n } \n\n\tstatic String nsl() throws IOException\n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }\n\tstatic boolean isWhiteSpace(int n) {\n if(n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1)\n return true;\n return false;\n }\n\t\n\t///////-------------output-----------------//////\n\tstatic public void p(String str) throws IOException {\n bw.append(str);\n }\n\tstatic public void pn(String str) throws IOException {\n p(str);\n bw.append(\"\\n\");\n }\n\tstatic public void close()throws IOException {\n bw.close();\n }\n\tstatic public void flush()throws IOException {\n bw.flush();\n }\n\t\n\t///////----------THE FAST I/O METHODS ENDS HERE -----------/////////////\n\t///////////////////////////////////////////////////////////////////////\n\t///////////////////////// FOR INPUT LOOP//////////////////////////////\n\tpublic static int[] loopi(int[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static String[] loops(String[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ns();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static long[] loopl(long[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\t/////////////////////////////////////////////////////////////////////\n\t////////////////////////////////////////////////////////////////////\n\tstatic class Node implements Comparable<Node>{\n\t\tint h;\n\t\tint w;\n\t\tNode(int h,int w)\n\t\t{\n\t\t\tthis.h=h;\n\t\t\tthis.w=w;\n\t\t}\n\t\tpublic static String toString(Node n)\n\t\t{\n\t\t\treturn n.h+\" \"+n.w;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Node n)\n\t\t{\n\t\t\t\n\t\t\t\treturn this.h-n.h;\n\t\t}\n\t\n\t}\n\t\n\tstatic boolean al[]=new boolean[1100000];\n\t public static void prime()\n\t {\n\t int n=1000000;\n\t \n\t for(int i=2;i*i<=n;i++)\n\t {\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }\n\t }\n\t\n\n\t public static void main(String args[]) throws IOException {\n\t \n\t //write your code here\n\t\t// your code goes here\n\t\t\tint n=ni(),k=ni(),t=ni();\n\t\t\tint ans=0;\n\t\t\tint cound=0;\n\t\t\twhile(true) {\n\t\t\t\t\n\t\t\t\tif(ans>=n)\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\tans+=k;\n\t\t\t\tcound+=t;\n\t\t\t}\n\t\t\tpn(cound+\"\");\n\n\t flush();\n\t }\n}\n\n",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n///////----------------input----------------//////\n\tstatic BufferedReader br= new BufferedReader(new\n InputStreamReader(System.in)); \n\tstatic BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\tstatic StringTokenizer st; \n\tstatic byte[] buffer =new byte[10*1024];\n\tstatic int index;\n static InputStream input_stream= System.in;\n static int total;\n\t\n\tstatic String ns() throws IOException\n { \n\t\t StringBuilder sb = new StringBuilder();\n int n = read();\n while (isWhiteSpace(n))\n n = read();\n while (!isWhiteSpace(n)) {\n sb.append((char)n);\n n = read();\n }\n return sb.toString();\n } \n\t\n\tstatic int read() throws IOException\n\t{\n\t\tif(total<0)\n throw new InputMismatchException();\n if(index>=total) {\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }\n return buffer[index++];\n\t}\n\tstatic int ni() throws IOException\n { \n\t\tint integer=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n } \n\n\tstatic long nl() throws IOException\n { \n\t\tlong number=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n long neg=1l;\n if(n=='-') {\n neg=-1l;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*number;\n } \n\n\tstatic double nd() throws IOException\n { \n\t\tdouble doub=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)&&n!='.') {\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n\n if(n=='.') {\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n } \n\n\tstatic String nsl() throws IOException\n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }\n\tstatic boolean isWhiteSpace(int n) {\n if(n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1)\n return true;\n return false;\n }\n\t\n\t///////-------------output-----------------//////\n\tstatic public void p(String str) throws IOException {\n bw.append(str);\n }\n\tstatic public void pn(String str) throws IOException {\n p(str);\n bw.append(\"\\n\");\n }\n\tstatic public void close()throws IOException {\n bw.close();\n }\n\tstatic public void flush()throws IOException {\n bw.flush();\n }\n\t\n\t///////----------THE FAST I/O METHODS ENDS HERE -----------/////////////\n\t///////////////////////////////////////////////////////////////////////\n\t///////////////////////// FOR INPUT LOOP//////////////////////////////\n\tpublic static int[] loopi(int[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static String[] loops(String[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ns();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static long[] loopl(long[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\t/////////////////////////////////////////////////////////////////////\n\t////////////////////////////////////////////////////////////////////\n\tstatic class Node implements Comparable<Node>{\n\t\tint h;\n\t\tint w;\n\t\tNode(int h,int w)\n\t\t{\n\t\t\tthis.h=h;\n\t\t\tthis.w=w;\n\t\t}\n\t\tpublic static String toString(Node n)\n\t\t{\n\t\t\treturn n.h+\" \"+n.w;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Node n)\n\t\t{\n\t\t\t\n\t\t\t\treturn this.h-n.h;\n\t\t}\n\t\n\t}\n\t\n\tstatic boolean al[]=new boolean[1100000];\n\t public static void prime()\n\t {\n\t int n=1000000;\n\t \n\t for(int i=2;i*i<=n;i++)\n\t {\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }\n\t }\n\t\n\n\t public static void main(String args[]) throws IOException {\n\t \n\t //write your code here\n\t\t// your code goes here\n\t\t\tint n=ni(),k=ni(),t=ni();\n\t\t\tint ans=0;\n\t\t\tint cound=0;\n\t\t\twhile(true) {\n\t\t\t\t\n\t\t\t\tif(ans>=n)\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\tans+=k;\n\t\t\t\tcound+=t;\n\t\t\t}\n\t\t\tpn(cound+\"\");\n\n\t flush();\n\t }\n}",
"Main",
"///////----------------input----------------//////\n\tstatic BufferedReader br= new BufferedReader(new\n InputStreamReader(System.in));",
"br",
"new BufferedReader(new\n InputStreamReader(System.in))",
"static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));",
"bw",
"new BufferedWriter(new OutputStreamWriter(System.out))",
"static StringTokenizer st;",
"st",
"static byte[] buffer =new byte[10*1024];",
"buffer",
"new byte[10*1024]",
"10*1024",
"10",
"1024",
"static int index;",
"index",
"static InputStream input_stream= System.in;",
"input_stream",
"System.in",
"System",
"System.in",
"static int total;",
"total",
"static boolean al[]=new boolean[1100000];",
"al",
"new boolean[1100000]",
"1100000",
"static String ns() throws IOException\n { \n\t\t StringBuilder sb = new StringBuilder();\n int n = read();\n while (isWhiteSpace(n))\n n = read();\n while (!isWhiteSpace(n)) {\n sb.append((char)n);\n n = read();\n }\n return sb.toString();\n }",
"ns",
"{ \n\t\t StringBuilder sb = new StringBuilder();\n int n = read();\n while (isWhiteSpace(n))\n n = read();\n while (!isWhiteSpace(n)) {\n sb.append((char)n);\n n = read();\n }\n return sb.toString();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int n = read();",
"n",
"read()",
"read",
"while (isWhiteSpace(n))\n n = read();",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"n = read()",
"n",
"read()",
"read",
"while (!isWhiteSpace(n)) {\n sb.append((char)n);\n n = read();\n }",
"!isWhiteSpace(n)",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"{\n sb.append((char)n);\n n = read();\n }",
"sb.append((char)n)",
"sb.append",
"sb",
"(char)n",
"n = read()",
"n",
"read()",
"read",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"static int read() throws IOException\n\t{\n\t\tif(total<0)\n throw new InputMismatchException();\n if(index>=total) {\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }\n return buffer[index++];\n\t}",
"read",
"{\n\t\tif(total<0)\n throw new InputMismatchException();\n if(index>=total) {\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }\n return buffer[index++];\n\t}",
"if(total<0)\n throw new InputMismatchException();",
"total<0",
"total",
"0",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if(index>=total) {\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }",
"index>=total",
"index",
"total",
"{\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }",
"index=0",
"index",
"0",
"total= input_stream.read(buffer)",
"total",
"input_stream.read(buffer)",
"input_stream.read",
"input_stream",
"buffer",
"if(total<=0)\n return -1;",
"total<=0",
"total",
"0",
"return -1;",
"-1",
"1",
"return buffer[index++];",
"buffer[index++]",
"buffer",
"index++",
"index",
"static int ni() throws IOException\n { \n\t\tint integer=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n }",
"ni",
"{ \n\t\tint integer=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n }",
"int integer=0;",
"integer",
"0",
"int n= read();",
"n",
"read()",
"read",
"while(isWhiteSpace(n))\n n= read();",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"n= read()",
"n",
"read()",
"read",
"int neg=1;",
"neg",
"1",
"if(n=='-') {\n neg=-1;\n n= read();\n }",
"n=='-'",
"n",
"'-'",
"{\n neg=-1;\n n= read();\n }",
"neg=-1",
"neg",
"-1",
"1",
"n= read()",
"n",
"read()",
"read",
"while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }",
"!isWhiteSpace(n)",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"{\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }",
"if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();",
"n>='0'&&n<='9'",
"n>='0'",
"n",
"'0'",
"n<='9'",
"n",
"'9'",
"{\n integer*=10;\n integer+=n-'0';\n n= read();\n }",
"integer*=10",
"integer",
"10",
"integer+=n-'0'",
"integer",
"n-'0'",
"n",
"'0'",
"n= read()",
"n",
"read()",
"read",
"throw new InputMismatchException();",
"new InputMismatchException()",
"return neg*integer;",
"neg*integer",
"neg",
"integer",
"static long nl() throws IOException\n { \n\t\tlong number=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n long neg=1l;\n if(n=='-') {\n neg=-1l;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*number;\n }",
"nl",
"{ \n\t\tlong number=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n long neg=1l;\n if(n=='-') {\n neg=-1l;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*number;\n }",
"long number=0;",
"number",
"0",
"int n= read();",
"n",
"read()",
"read",
"while(isWhiteSpace(n))\n n= read();",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"n= read()",
"n",
"read()",
"read",
"long neg=1l;",
"neg",
"1l",
"if(n=='-') {\n neg=-1l;\n n= read();\n }",
"n=='-'",
"n",
"'-'",
"{\n neg=-1l;\n n= read();\n }",
"neg=-1l",
"neg",
"-1l",
"1l",
"n= read()",
"n",
"read()",
"read",
"while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }",
"!isWhiteSpace(n)",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"{\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }",
"if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();",
"n>='0'&&n<='9'",
"n>='0'",
"n",
"'0'",
"n<='9'",
"n",
"'9'",
"{\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }",
"number*=10l",
"number",
"10l",
"number+=(long)(n-'0')",
"number",
"(long)(n-'0')",
"n",
"'0'",
"n= read()",
"n",
"read()",
"read",
"throw new InputMismatchException();",
"new InputMismatchException()",
"return neg*number;",
"neg*number",
"neg",
"number",
"static double nd() throws IOException\n { \n\t\tdouble doub=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)&&n!='.') {\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n\n if(n=='.') {\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n }",
"nd",
"{ \n\t\tdouble doub=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)&&n!='.') {\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n\n if(n=='.') {\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n }",
"double doub=0;",
"doub",
"0",
"int n= read();",
"n",
"read()",
"read",
"while(isWhiteSpace(n))\n n= read();",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"n= read()",
"n",
"read()",
"read",
"int neg=1;",
"neg",
"1",
"if(n=='-') {\n neg=-1;\n n= read();\n }",
"n=='-'",
"n",
"'-'",
"{\n neg=-1;\n n= read();\n }",
"neg=-1",
"neg",
"-1",
"1",
"n= read()",
"n",
"read()",
"read",
"while(!isWhiteSpace(n)&&n!='.') {\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }",
"!isWhiteSpace(n)&&n!='.'",
"!isWhiteSpace(n)",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"n!='.'",
"n",
"'.'",
"{\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }",
"if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();",
"n>='0'&&n<='9'",
"n>='0'",
"n",
"'0'",
"n<='9'",
"n",
"'9'",
"{\n doub*=10;\n doub+=n-'0';\n n= read();\n }",
"doub*=10",
"doub",
"10",
"doub+=n-'0'",
"doub",
"n-'0'",
"n",
"'0'",
"n= read()",
"n",
"read()",
"read",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if(n=='.') {\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }",
"n=='.'",
"n",
"'.'",
"{\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }",
"n= read()",
"n",
"read()",
"read",
"double temp=1;",
"temp",
"1",
"while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }",
"!isWhiteSpace(n)",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"{\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }",
"if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();",
"n>='0'&&n<='9'",
"n>='0'",
"n",
"'0'",
"n<='9'",
"n",
"'9'",
"{\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }",
"temp/=10",
"temp",
"10",
"doub+=(n-'0')*temp",
"doub",
"(n-'0')*temp",
"(n-'0')",
"n",
"'0'",
"temp",
"n= read()",
"n",
"read()",
"read",
"throw new InputMismatchException();",
"new InputMismatchException()",
"return doub*neg;",
"doub*neg",
"doub",
"neg",
"static String nsl() throws IOException\n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"nsl",
"{ \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"String str = \"\";",
"str",
"\"\"",
"try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \n e.printStackTrace(); \n }",
"IOException e",
"{ \n e.printStackTrace(); \n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n str = br.readLine(); \n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"static boolean isWhiteSpace(int n) {\n if(n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1)\n return true;\n return false;\n }",
"isWhiteSpace",
"{\n if(n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1)\n return true;\n return false;\n }",
"if(n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1)\n return true;",
"n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1",
"n=='\\t'",
"n=='\\r'",
"n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1",
"n==' '",
"n",
"' '",
"n=='\\n'",
"n",
"'\\n'",
"n=='\\r'",
"n",
"'\\r'",
"n=='\\t'",
"n",
"'\\t'",
"n==-1",
"n",
"-1",
"1",
"return true;",
"true",
"return false;",
"false",
"int n",
"n",
"///////-------------output-----------------//////\n\tstatic public void p(String str) throws IOException {\n bw.append(str);\n }",
"p",
"{\n bw.append(str);\n }",
"bw.append(str)",
"bw.append",
"bw",
"str",
"String str",
"str",
"static public void pn(String str) throws IOException {\n p(str);\n bw.append(\"\\n\");\n }",
"pn",
"{\n p(str);\n bw.append(\"\\n\");\n }",
"p(str)",
"p",
"str",
"bw.append(\"\\n\")",
"bw.append",
"bw",
"\"\\n\"",
"String str",
"str",
"static public void close()throws IOException {\n bw.close();\n }",
"close",
"{\n bw.close();\n }",
"bw.close()",
"bw.close",
"bw",
"static public void flush()throws IOException {\n bw.flush();\n }",
"flush",
"{\n bw.flush();\n }",
"bw.flush()",
"bw.flush",
"bw",
"///////----------THE FAST I/O METHODS ENDS HERE -----------/////////////\n\t///////////////////////////////////////////////////////////////////////\n\t///////////////////////// FOR INPUT LOOP//////////////////////////////\n\tpublic static int[] loopi(int[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}",
"loopi",
"{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}",
"for(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"arr[i]=ni();",
"arr[i]=ni()",
"arr[i]",
"arr",
"i",
"ni()",
"ni",
"return arr;",
"arr",
"int[] arr",
"arr",
"int n",
"n",
"public static String[] loops(String[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ns();\n\t\t\n\t\treturn arr;\n\t}",
"loops",
"{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ns();\n\t\t\n\t\treturn arr;\n\t}",
"for(int i=0;i<n;i++)\n\t\t\tarr[i]=ns();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"arr[i]=ns();",
"arr[i]=ns()",
"arr[i]",
"arr",
"i",
"ns()",
"ns",
"return arr;",
"arr",
"String[] arr",
"arr",
"int n",
"n",
"public static long[] loopl(long[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}",
"loopl",
"{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}",
"for(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"arr[i]=ni();",
"arr[i]=ni()",
"arr[i]",
"arr",
"i",
"ni()",
"ni",
"return arr;",
"arr",
"long[] arr",
"arr",
"int n",
"n",
"public static void prime()\n\t {\n\t int n=1000000;\n\t \n\t for(int i=2;i*i<=n;i++)\n\t {\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }\n\t }",
"prime",
"{\n\t int n=1000000;\n\t \n\t for(int i=2;i*i<=n;i++)\n\t {\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }\n\t }",
"int n=1000000;",
"n",
"1000000",
"for(int i=2;i*i<=n;i++)\n\t {\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }",
"int i=2;",
"int i=2;",
"i",
"2",
"i*i<=n",
"i*i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }",
"{\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }",
"if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }",
"!al[i]",
"al[i]",
"al",
"i",
"{\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }",
"for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }",
"int j=i*2;",
"int j=i*2;",
"j",
"i*2",
"i",
"2",
"j<=n",
"j",
"n",
"j+=i",
"j+=i",
"j",
"i",
"{\n\t al[j]=true;\n\t }",
"{\n\t al[j]=true;\n\t }",
"al[j]=true",
"al[j]",
"al",
"j",
"true",
"public static void main(String args[]) throws IOException {\n\t \n\t //write your code here\n\t\t// your code goes here\n\t\t\tint n=ni(),k=ni(),t=ni();\n\t\t\tint ans=0;\n\t\t\tint cound=0;\n\t\t\twhile(true) {\n\t\t\t\t\n\t\t\t\tif(ans>=n)\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\tans+=k;\n\t\t\t\tcound+=t;\n\t\t\t}\n\t\t\tpn(cound+\"\");\n\n\t flush();\n\t }",
"main",
"{\n\t \n\t //write your code here\n\t\t// your code goes here\n\t\t\tint n=ni(),k=ni(),t=ni();\n\t\t\tint ans=0;\n\t\t\tint cound=0;\n\t\t\twhile(true) {\n\t\t\t\t\n\t\t\t\tif(ans>=n)\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\tans+=k;\n\t\t\t\tcound+=t;\n\t\t\t}\n\t\t\tpn(cound+\"\");\n\n\t flush();\n\t }",
"int n=ni()",
"n",
"ni()",
"ni",
"k=ni()",
"k",
"ni()",
"ni",
"t=ni();",
"t",
"ni()",
"ni",
"int ans=0;",
"ans",
"0",
"int cound=0;",
"cound",
"0",
"while(true) {\n\t\t\t\t\n\t\t\t\tif(ans>=n)\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\tans+=k;\n\t\t\t\tcound+=t;\n\t\t\t}",
"true",
"{\n\t\t\t\t\n\t\t\t\tif(ans>=n)\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\tans+=k;\n\t\t\t\tcound+=t;\n\t\t\t}",
"if(ans>=n)\n\t\t\t\t\tbreak;",
"ans>=n",
"ans",
"n",
"break;",
"ans+=k",
"ans",
"k",
"cound+=t",
"cound",
"t",
"pn(cound+\"\")",
"pn",
"cound+\"\"",
"cound",
"\"\"",
"flush()",
"flush",
"String args[]",
"args",
"static class Node implements Comparable<Node>{\n\t\tint h;\n\t\tint w;\n\t\tNode(int h,int w)\n\t\t{\n\t\t\tthis.h=h;\n\t\t\tthis.w=w;\n\t\t}\n\t\tpublic static String toString(Node n)\n\t\t{\n\t\t\treturn n.h+\" \"+n.w;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Node n)\n\t\t{\n\t\t\t\n\t\t\t\treturn this.h-n.h;\n\t\t}\n\t\n\t}",
"Node",
"int h;",
"h",
"int w;",
"w",
"Node(int h,int w)\n\t\t{\n\t\t\tthis.h=h;\n\t\t\tthis.w=w;\n\t\t}",
"Node",
"{\n\t\t\tthis.h=h;\n\t\t\tthis.w=w;\n\t\t}",
"this.h=h",
"this.h",
"this",
"this.h",
"h",
"this.w=w",
"this.w",
"this",
"this.w",
"w",
"int h",
"h",
"int w",
"w",
"public static String toString(Node n)\n\t\t{\n\t\t\treturn n.h+\" \"+n.w;\n\t\t}",
"toString",
"{\n\t\t\treturn n.h+\" \"+n.w;\n\t\t}",
"return n.h+\" \"+n.w;",
"n.h+\" \"+n.w",
"n.h+\" \"+n.w",
"n.h",
"n",
"n.h",
"\" \"",
"n.w",
"n",
"n.w",
"Node n",
"n",
"@Override\n\t\tpublic int compareTo(Node n)\n\t\t{\n\t\t\t\n\t\t\t\treturn this.h-n.h;\n\t\t}",
"compareTo",
"{\n\t\t\t\n\t\t\t\treturn this.h-n.h;\n\t\t}",
"return this.h-n.h;",
"this.h-n.h",
"this.h",
"this",
"this.h",
"n.h",
"n",
"n.h",
"Node n",
"n",
"Comparable",
"public class Main {\n///////----------------input----------------//////\n\tstatic BufferedReader br= new BufferedReader(new\n InputStreamReader(System.in)); \n\tstatic BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\tstatic StringTokenizer st; \n\tstatic byte[] buffer =new byte[10*1024];\n\tstatic int index;\n static InputStream input_stream= System.in;\n static int total;\n\t\n\tstatic String ns() throws IOException\n { \n\t\t StringBuilder sb = new StringBuilder();\n int n = read();\n while (isWhiteSpace(n))\n n = read();\n while (!isWhiteSpace(n)) {\n sb.append((char)n);\n n = read();\n }\n return sb.toString();\n } \n\t\n\tstatic int read() throws IOException\n\t{\n\t\tif(total<0)\n throw new InputMismatchException();\n if(index>=total) {\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }\n return buffer[index++];\n\t}\n\tstatic int ni() throws IOException\n { \n\t\tint integer=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n } \n\n\tstatic long nl() throws IOException\n { \n\t\tlong number=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n long neg=1l;\n if(n=='-') {\n neg=-1l;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*number;\n } \n\n\tstatic double nd() throws IOException\n { \n\t\tdouble doub=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)&&n!='.') {\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n\n if(n=='.') {\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n } \n\n\tstatic String nsl() throws IOException\n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }\n\tstatic boolean isWhiteSpace(int n) {\n if(n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1)\n return true;\n return false;\n }\n\t\n\t///////-------------output-----------------//////\n\tstatic public void p(String str) throws IOException {\n bw.append(str);\n }\n\tstatic public void pn(String str) throws IOException {\n p(str);\n bw.append(\"\\n\");\n }\n\tstatic public void close()throws IOException {\n bw.close();\n }\n\tstatic public void flush()throws IOException {\n bw.flush();\n }\n\t\n\t///////----------THE FAST I/O METHODS ENDS HERE -----------/////////////\n\t///////////////////////////////////////////////////////////////////////\n\t///////////////////////// FOR INPUT LOOP//////////////////////////////\n\tpublic static int[] loopi(int[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static String[] loops(String[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ns();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static long[] loopl(long[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\t/////////////////////////////////////////////////////////////////////\n\t////////////////////////////////////////////////////////////////////\n\tstatic class Node implements Comparable<Node>{\n\t\tint h;\n\t\tint w;\n\t\tNode(int h,int w)\n\t\t{\n\t\t\tthis.h=h;\n\t\t\tthis.w=w;\n\t\t}\n\t\tpublic static String toString(Node n)\n\t\t{\n\t\t\treturn n.h+\" \"+n.w;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Node n)\n\t\t{\n\t\t\t\n\t\t\t\treturn this.h-n.h;\n\t\t}\n\t\n\t}\n\t\n\tstatic boolean al[]=new boolean[1100000];\n\t public static void prime()\n\t {\n\t int n=1000000;\n\t \n\t for(int i=2;i*i<=n;i++)\n\t {\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }\n\t }\n\t\n\n\t public static void main(String args[]) throws IOException {\n\t \n\t //write your code here\n\t\t// your code goes here\n\t\t\tint n=ni(),k=ni(),t=ni();\n\t\t\tint ans=0;\n\t\t\tint cound=0;\n\t\t\twhile(true) {\n\t\t\t\t\n\t\t\t\tif(ans>=n)\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\tans+=k;\n\t\t\t\tcound+=t;\n\t\t\t}\n\t\t\tpn(cound+\"\");\n\n\t flush();\n\t }\n}",
"public class Main {\n///////----------------input----------------//////\n\tstatic BufferedReader br= new BufferedReader(new\n InputStreamReader(System.in)); \n\tstatic BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\tstatic StringTokenizer st; \n\tstatic byte[] buffer =new byte[10*1024];\n\tstatic int index;\n static InputStream input_stream= System.in;\n static int total;\n\t\n\tstatic String ns() throws IOException\n { \n\t\t StringBuilder sb = new StringBuilder();\n int n = read();\n while (isWhiteSpace(n))\n n = read();\n while (!isWhiteSpace(n)) {\n sb.append((char)n);\n n = read();\n }\n return sb.toString();\n } \n\t\n\tstatic int read() throws IOException\n\t{\n\t\tif(total<0)\n throw new InputMismatchException();\n if(index>=total) {\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }\n return buffer[index++];\n\t}\n\tstatic int ni() throws IOException\n { \n\t\tint integer=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n } \n\n\tstatic long nl() throws IOException\n { \n\t\tlong number=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n long neg=1l;\n if(n=='-') {\n neg=-1l;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*number;\n } \n\n\tstatic double nd() throws IOException\n { \n\t\tdouble doub=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)&&n!='.') {\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n\n if(n=='.') {\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n } \n\n\tstatic String nsl() throws IOException\n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }\n\tstatic boolean isWhiteSpace(int n) {\n if(n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1)\n return true;\n return false;\n }\n\t\n\t///////-------------output-----------------//////\n\tstatic public void p(String str) throws IOException {\n bw.append(str);\n }\n\tstatic public void pn(String str) throws IOException {\n p(str);\n bw.append(\"\\n\");\n }\n\tstatic public void close()throws IOException {\n bw.close();\n }\n\tstatic public void flush()throws IOException {\n bw.flush();\n }\n\t\n\t///////----------THE FAST I/O METHODS ENDS HERE -----------/////////////\n\t///////////////////////////////////////////////////////////////////////\n\t///////////////////////// FOR INPUT LOOP//////////////////////////////\n\tpublic static int[] loopi(int[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static String[] loops(String[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ns();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static long[] loopl(long[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\t/////////////////////////////////////////////////////////////////////\n\t////////////////////////////////////////////////////////////////////\n\tstatic class Node implements Comparable<Node>{\n\t\tint h;\n\t\tint w;\n\t\tNode(int h,int w)\n\t\t{\n\t\t\tthis.h=h;\n\t\t\tthis.w=w;\n\t\t}\n\t\tpublic static String toString(Node n)\n\t\t{\n\t\t\treturn n.h+\" \"+n.w;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Node n)\n\t\t{\n\t\t\t\n\t\t\t\treturn this.h-n.h;\n\t\t}\n\t\n\t}\n\t\n\tstatic boolean al[]=new boolean[1100000];\n\t public static void prime()\n\t {\n\t int n=1000000;\n\t \n\t for(int i=2;i*i<=n;i++)\n\t {\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }\n\t }\n\t\n\n\t public static void main(String args[]) throws IOException {\n\t \n\t //write your code here\n\t\t// your code goes here\n\t\t\tint n=ni(),k=ni(),t=ni();\n\t\t\tint ans=0;\n\t\t\tint cound=0;\n\t\t\twhile(true) {\n\t\t\t\t\n\t\t\t\tif(ans>=n)\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\tans+=k;\n\t\t\t\tcound+=t;\n\t\t\t}\n\t\t\tpn(cound+\"\");\n\n\t flush();\n\t }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
///////----------------input----------------//////
static BufferedReader br= new BufferedReader(new
InputStreamReader(System.in));
static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
static StringTokenizer st;
static byte[] buffer =new byte[10*1024];
static int index;
static InputStream input_stream= System.in;
static int total;
static String ns() throws IOException
{
StringBuilder sb = new StringBuilder();
int n = read();
while (isWhiteSpace(n))
n = read();
while (!isWhiteSpace(n)) {
sb.append((char)n);
n = read();
}
return sb.toString();
}
static int read() throws IOException
{
if(total<0)
throw new InputMismatchException();
if(index>=total) {
index=0;
total= input_stream.read(buffer);
if(total<=0)
return -1;
}
return buffer[index++];
}
static int ni() throws IOException
{
int integer=0;
int n= read();
while(isWhiteSpace(n))
n= read();
int neg=1;
if(n=='-') {
neg=-1;
n= read();
}
while(!isWhiteSpace(n)) {
if(n>='0'&&n<='9') {
integer*=10;
integer+=n-'0';
n= read();
}
else throw new InputMismatchException();
}
return neg*integer;
}
static long nl() throws IOException
{
long number=0;
int n= read();
while(isWhiteSpace(n))
n= read();
long neg=1l;
if(n=='-') {
neg=-1l;
n= read();
}
while(!isWhiteSpace(n)) {
if(n>='0'&&n<='9') {
number*=10l;
number+=(long)(n-'0');
n= read();
}
else throw new InputMismatchException();
}
return neg*number;
}
static double nd() throws IOException
{
double doub=0;
int n= read();
while(isWhiteSpace(n))
n= read();
int neg=1;
if(n=='-') {
neg=-1;
n= read();
}
while(!isWhiteSpace(n)&&n!='.') {
if(n>='0'&&n<='9') {
doub*=10;
doub+=n-'0';
n= read();
}
else throw new InputMismatchException();
}
if(n=='.') {
n= read();
double temp=1;
while(!isWhiteSpace(n)) {
if(n>='0'&&n<='9') {
temp/=10;
doub+=(n-'0')*temp;
n= read();
}
else throw new InputMismatchException();
}
}
return doub*neg;
}
static String nsl() throws IOException
{
String str = "";
try
{
str = br.readLine();
}
catch (IOException e)
{
e.printStackTrace();
}
return str;
}
static boolean isWhiteSpace(int n) {
if(n==' '|| n=='\n'|| n=='\r'|| n=='\t'|| n==-1)
return true;
return false;
}
///////-------------output-----------------//////
static public void p(String str) throws IOException {
bw.append(str);
}
static public void pn(String str) throws IOException {
p(str);
bw.append("\n");
}
static public void close()throws IOException {
bw.close();
}
static public void flush()throws IOException {
bw.flush();
}
///////----------THE FAST I/O METHODS ENDS HERE -----------/////////////
///////////////////////////////////////////////////////////////////////
///////////////////////// FOR INPUT LOOP//////////////////////////////
public static int[] loopi(int[] arr,int n) throws IOException
{
for(int i=0;i<n;i++)
arr[i]=ni();
return arr;
}
public static String[] loops(String[] arr,int n) throws IOException
{
for(int i=0;i<n;i++)
arr[i]=ns();
return arr;
}
public static long[] loopl(long[] arr,int n) throws IOException
{
for(int i=0;i<n;i++)
arr[i]=ni();
return arr;
}
/////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
static class Node implements Comparable<Node>{
int h;
int w;
Node(int h,int w)
{
this.h=h;
this.w=w;
}
public static String toString(Node n)
{
return n.h+" "+n.w;
}
@Override
public int compareTo(Node n)
{
return this.h-n.h;
}
}
static boolean al[]=new boolean[1100000];
public static void prime()
{
int n=1000000;
for(int i=2;i*i<=n;i++)
{
if(!al[i]){
for(int j=i*2;j<=n;j+=i)
{
al[j]=true;
}
}
}
}
public static void main(String args[]) throws IOException {
//write your code here
// your code goes here
int n=ni(),k=ni(),t=ni();
int ans=0;
int cound=0;
while(true) {
if(ans>=n)
break;
ans+=k;
cound+=t;
}
pn(cound+"");
flush();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
8,
2,
2,
13,
13,
17,
2,
13,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
32,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
6,
54
],
[
54,
55
]
]
| [
"import java.util.Scanner;\n\nclass Main {\n \n public static void main (String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n \tint x = sc.nextInt();\n \tint t = sc.nextInt();\n \tsc.close();\n \t\n \tint total = n % x == 0 ? n / x : n / x + 1;\n \t\n \tSystem.out.println(total * t);\n \t\n \t\n \t\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n \n public static void main (String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n \tint x = sc.nextInt();\n \tint t = sc.nextInt();\n \tsc.close();\n \t\n \tint total = n % x == 0 ? n / x : n / x + 1;\n \t\n \tSystem.out.println(total * t);\n \t\n \t\n \t\n }\n\n}",
"Main",
"public static void main (String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n \tint x = sc.nextInt();\n \tint t = sc.nextInt();\n \tsc.close();\n \t\n \tint total = n % x == 0 ? n / x : n / x + 1;\n \t\n \tSystem.out.println(total * t);\n \t\n \t\n \t\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n \tint x = sc.nextInt();\n \tint t = sc.nextInt();\n \tsc.close();\n \t\n \tint total = n % x == 0 ? n / x : n / x + 1;\n \t\n \tSystem.out.println(total * t);\n \t\n \t\n \t\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"int total = n % x == 0 ? n / x : n / x + 1;",
"total",
"n % x == 0 ? n / x : n / x + 1",
"n % x == 0",
"n % x",
"n",
"x",
"0",
"n / x",
"n",
"x",
"n / x + 1",
"n / x",
"n",
"x",
"1",
"System.out.println(total * t)",
"System.out.println",
"System.out",
"System",
"System.out",
"total * t",
"total",
"t",
"String[] args",
"args"
]
| import java.util.Scanner;
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();
sc.close();
int total = n % x == 0 ? n / x : n / x + 1;
System.out.println(total * t);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
2,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
32,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint N=sc.nextInt();\n\t\tint X=sc.nextInt();\n\t\tint T=sc.nextInt();\n\t\tint a=N/X;\n\t\t\n\t\tif(N%X!=0) {\n\t\t\tSystem.out.println(T*(a+1));\n\t\t}else {\n\t\t\tSystem.out.println(T*a);\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint N=sc.nextInt();\n\t\tint X=sc.nextInt();\n\t\tint T=sc.nextInt();\n\t\tint a=N/X;\n\t\t\n\t\tif(N%X!=0) {\n\t\t\tSystem.out.println(T*(a+1));\n\t\t}else {\n\t\t\tSystem.out.println(T*a);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint N=sc.nextInt();\n\t\tint X=sc.nextInt();\n\t\tint T=sc.nextInt();\n\t\tint a=N/X;\n\t\t\n\t\tif(N%X!=0) {\n\t\t\tSystem.out.println(T*(a+1));\n\t\t}else {\n\t\t\tSystem.out.println(T*a);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint N=sc.nextInt();\n\t\tint X=sc.nextInt();\n\t\tint T=sc.nextInt();\n\t\tint a=N/X;\n\t\t\n\t\tif(N%X!=0) {\n\t\t\tSystem.out.println(T*(a+1));\n\t\t}else {\n\t\t\tSystem.out.println(T*a);\n\t\t}\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N=sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X=sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int T=sc.nextInt();",
"T",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int a=N/X;",
"a",
"N/X",
"N",
"X",
"if(N%X!=0) {\n\t\t\tSystem.out.println(T*(a+1));\n\t\t}else {\n\t\t\tSystem.out.println(T*a);\n\t\t}",
"N%X!=0",
"N%X",
"N",
"X",
"0",
"{\n\t\t\tSystem.out.println(T*(a+1));\n\t\t}",
"System.out.println(T*(a+1))",
"System.out.println",
"System.out",
"System",
"System.out",
"T*(a+1)",
"T",
"(a+1)",
"a",
"1",
"{\n\t\t\tSystem.out.println(T*a);\n\t\t}",
"System.out.println(T*a)",
"System.out.println",
"System.out",
"System",
"System.out",
"T*a",
"T",
"a",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint N=sc.nextInt();\n\t\tint X=sc.nextInt();\n\t\tint T=sc.nextInt();\n\t\tint a=N/X;\n\t\t\n\t\tif(N%X!=0) {\n\t\t\tSystem.out.println(T*(a+1));\n\t\t}else {\n\t\t\tSystem.out.println(T*a);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint N=sc.nextInt();\n\t\tint X=sc.nextInt();\n\t\tint T=sc.nextInt();\n\t\tint a=N/X;\n\t\t\n\t\tif(N%X!=0) {\n\t\t\tSystem.out.println(T*(a+1));\n\t\t}else {\n\t\t\tSystem.out.println(T*a);\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
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 a=N/X;
if(N%X!=0) {
System.out.println(T*(a+1));
}else {
System.out.println(T*a);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
13,
14,
2,
2,
13,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
52,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
9,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
]
| [
"import java.util.*;\npublic class Main{\n\t\n\t\n\tprivate static Scanner sc=new Scanner(System.in);\n\t\n\tpublic static void main(String []args){\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\t\n\t\tint time=(n/x)*t;\n\t\tif(n%x!=0)\n\t\t\ttime+=t;\n\t\tSystem.out.println(time);\n\t\t\n\t}\n\t\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\t\n\t\n\tprivate static Scanner sc=new Scanner(System.in);\n\t\n\tpublic static void main(String []args){\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\t\n\t\tint time=(n/x)*t;\n\t\tif(n%x!=0)\n\t\t\ttime+=t;\n\t\tSystem.out.println(time);\n\t\t\n\t}\n\t\n}",
"Main",
"private static Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String []args){\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\t\n\t\tint time=(n/x)*t;\n\t\tif(n%x!=0)\n\t\t\ttime+=t;\n\t\tSystem.out.println(time);\n\t\t\n\t}",
"main",
"{\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\t\n\t\tint time=(n/x)*t;\n\t\tif(n%x!=0)\n\t\t\ttime+=t;\n\t\tSystem.out.println(time);\n\t\t\n\t}",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t=sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int time=(n/x)*t;",
"time",
"(n/x)*t",
"(n/x)",
"n",
"x",
"t",
"if(n%x!=0)\n\t\t\ttime+=t;",
"n%x!=0",
"n%x",
"n",
"x",
"0",
"time+=t",
"time",
"t",
"System.out.println(time)",
"System.out.println",
"System.out",
"System",
"System.out",
"time",
"String []args",
"args",
"public class Main{\n\t\n\t\n\tprivate static Scanner sc=new Scanner(System.in);\n\t\n\tpublic static void main(String []args){\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\t\n\t\tint time=(n/x)*t;\n\t\tif(n%x!=0)\n\t\t\ttime+=t;\n\t\tSystem.out.println(time);\n\t\t\n\t}\n\t\n}",
"public class Main{\n\t\n\t\n\tprivate static Scanner sc=new Scanner(System.in);\n\t\n\tpublic static void main(String []args){\n\t\tint n=sc.nextInt();\n\t\tint x=sc.nextInt();\n\t\tint t=sc.nextInt();\n\t\t\n\t\tint time=(n/x)*t;\n\t\tif(n%x!=0)\n\t\t\ttime+=t;\n\t\tSystem.out.println(time);\n\t\t\n\t}\n\t\n}",
"Main"
]
| import java.util.*;
public class Main{
private static Scanner sc=new Scanner(System.in);
public static void main(String []args){
int n=sc.nextInt();
int x=sc.nextInt();
int t=sc.nextInt();
int time=(n/x)*t;
if(n%x!=0)
time+=t;
System.out.println(time);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
2,
13,
13,
17,
0,
13,
13,
4,
18,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
43,
49
],
[
40,
50
],
[
50,
51
],
[
50,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
9,
57
],
[
57,
58
]
]
| [
"import java.util.*;\nimport java.io.*;\nclass Main{\n\tpublic static void main(String[]args){\n\t\tScanner in=new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out, true);\n\t\tint n = in.nextInt();\n\t\tint x = in.nextInt();\n\t\tint t = in.nextInt();\n\t\tint time = 0;\n\n\t\twhile(n!=0){\n\t\t\tn = Math.max(n-x, 0);\n\t\t\ttime += t;\n\t\t}\n\n\t\tout.println(time);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[]args){\n\t\tScanner in=new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out, true);\n\t\tint n = in.nextInt();\n\t\tint x = in.nextInt();\n\t\tint t = in.nextInt();\n\t\tint time = 0;\n\n\t\twhile(n!=0){\n\t\t\tn = Math.max(n-x, 0);\n\t\t\ttime += t;\n\t\t}\n\n\t\tout.println(time);\n\t}\n}",
"Main",
"public static void main(String[]args){\n\t\tScanner in=new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out, true);\n\t\tint n = in.nextInt();\n\t\tint x = in.nextInt();\n\t\tint t = in.nextInt();\n\t\tint time = 0;\n\n\t\twhile(n!=0){\n\t\t\tn = Math.max(n-x, 0);\n\t\t\ttime += t;\n\t\t}\n\n\t\tout.println(time);\n\t}",
"main",
"{\n\t\tScanner in=new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out, true);\n\t\tint n = in.nextInt();\n\t\tint x = in.nextInt();\n\t\tint t = in.nextInt();\n\t\tint time = 0;\n\n\t\twhile(n!=0){\n\t\t\tn = Math.max(n-x, 0);\n\t\t\ttime += t;\n\t\t}\n\n\t\tout.println(time);\n\t}",
"Scanner in=new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"PrintWriter out = new PrintWriter(System.out, true);",
"out",
"new PrintWriter(System.out, true)",
"int n = in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"int t = in.nextInt();",
"t",
"in.nextInt()",
"in.nextInt",
"in",
"int time = 0;",
"time",
"0",
"while(n!=0){\n\t\t\tn = Math.max(n-x, 0);\n\t\t\ttime += t;\n\t\t}",
"n!=0",
"n",
"0",
"{\n\t\t\tn = Math.max(n-x, 0);\n\t\t\ttime += t;\n\t\t}",
"n = Math.max(n-x, 0)",
"n",
"Math.max(n-x, 0)",
"Math.max",
"Math",
"n-x",
"n",
"x",
"0",
"time += t",
"time",
"t",
"out.println(time)",
"out.println",
"out",
"time",
"String[]args",
"args"
]
| import java.util.*;
import java.io.*;
class Main{
public static void main(String[]args){
Scanner in=new Scanner(System.in);
PrintWriter out = new PrintWriter(System.out, true);
int n = in.nextInt();
int x = in.nextInt();
int t = in.nextInt();
int time = 0;
while(n!=0){
n = Math.max(n-x, 0);
time += t;
}
out.println(time);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
150,
11
],
[
150,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
14,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
14,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
14,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
14,
53
],
[
53,
54
],
[
54,
55
],
[
14,
56
],
[
56,
57
],
[
57,
58
],
[
12,
59
],
[
59,
60
],
[
150,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
61,
65
],
[
65,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
61,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
76,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
86,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
75,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
61,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
108,
109
],
[
61,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
117,
118
],
[
61,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
126,
127
],
[
61,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
134,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
130,
147
],
[
147,
148
],
[
0,
149
],
[
149,
150
],
[
149,
151
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport java.lang.*;\n \npublic class Main {\n\n static class FastReader {\n\n BufferedReader br; \n StringTokenizer st; \n\n public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n\n String next() { \n while (st == null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n\n int nextInt() { \n return Integer.parseInt(next()); \n } \n\n long nextLong() { \n return Long.parseLong(next()); \n } \n\n double nextDouble() { \n return Double.parseDouble(next()); \n } \n\n String nextLine() { \n String str = \"\"; \n try { \n str = br.readLine(); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n return str; \n } \n }\n \n public static void main(String args[]) throws IOException {\n // try {\n // FileOutputStream output = new FileOutputStream(\"temp.out\");\n // PrintStream out = new PrintStream(output);\n // //Diverting the output stream into file \"temp.out\".Comment the below line to use console\n // System.setOut(out);\n \n // InputStream input = new FileInputStream(\"temp.in\");\n // //Diverting the input stream into file \"temp.in\".Comment the below line to use console\n // System.setIn(input);\n \n // } catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n \n FastReader sc = new FastReader();\n PrintWriter wr = new PrintWriter(System.out);\n \n // int t = 1;\n // t = sc.nextInt(); //Comment this line if there is single test case\n\n // while((t--) != 0) {\n\n // } \n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n double ans = (double) n / x; \n int div = (int) Math.ceil(ans);\n\n wr.println(div*t); \n \n wr.flush();\n wr.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n\n static class FastReader {\n\n BufferedReader br; \n StringTokenizer st; \n\n public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n\n String next() { \n while (st == null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n\n int nextInt() { \n return Integer.parseInt(next()); \n } \n\n long nextLong() { \n return Long.parseLong(next()); \n } \n\n double nextDouble() { \n return Double.parseDouble(next()); \n } \n\n String nextLine() { \n String str = \"\"; \n try { \n str = br.readLine(); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n return str; \n } \n }\n \n public static void main(String args[]) throws IOException {\n // try {\n // FileOutputStream output = new FileOutputStream(\"temp.out\");\n // PrintStream out = new PrintStream(output);\n // //Diverting the output stream into file \"temp.out\".Comment the below line to use console\n // System.setOut(out);\n \n // InputStream input = new FileInputStream(\"temp.in\");\n // //Diverting the input stream into file \"temp.in\".Comment the below line to use console\n // System.setIn(input);\n \n // } catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n \n FastReader sc = new FastReader();\n PrintWriter wr = new PrintWriter(System.out);\n \n // int t = 1;\n // t = sc.nextInt(); //Comment this line if there is single test case\n\n // while((t--) != 0) {\n\n // } \n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n double ans = (double) n / x; \n int div = (int) Math.ceil(ans);\n\n wr.println(div*t); \n \n wr.flush();\n wr.close();\n }\n}",
"Main",
"public static void main(String args[]) throws IOException {\n // try {\n // FileOutputStream output = new FileOutputStream(\"temp.out\");\n // PrintStream out = new PrintStream(output);\n // //Diverting the output stream into file \"temp.out\".Comment the below line to use console\n // System.setOut(out);\n \n // InputStream input = new FileInputStream(\"temp.in\");\n // //Diverting the input stream into file \"temp.in\".Comment the below line to use console\n // System.setIn(input);\n \n // } catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n \n FastReader sc = new FastReader();\n PrintWriter wr = new PrintWriter(System.out);\n \n // int t = 1;\n // t = sc.nextInt(); //Comment this line if there is single test case\n\n // while((t--) != 0) {\n\n // } \n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n double ans = (double) n / x; \n int div = (int) Math.ceil(ans);\n\n wr.println(div*t); \n \n wr.flush();\n wr.close();\n }",
"main",
"{\n // try {\n // FileOutputStream output = new FileOutputStream(\"temp.out\");\n // PrintStream out = new PrintStream(output);\n // //Diverting the output stream into file \"temp.out\".Comment the below line to use console\n // System.setOut(out);\n \n // InputStream input = new FileInputStream(\"temp.in\");\n // //Diverting the input stream into file \"temp.in\".Comment the below line to use console\n // System.setIn(input);\n \n // } catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n \n FastReader sc = new FastReader();\n PrintWriter wr = new PrintWriter(System.out);\n \n // int t = 1;\n // t = sc.nextInt(); //Comment this line if there is single test case\n\n // while((t--) != 0) {\n\n // } \n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n double ans = (double) n / x; \n int div = (int) Math.ceil(ans);\n\n wr.println(div*t); \n \n wr.flush();\n wr.close();\n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"PrintWriter wr = new PrintWriter(System.out);",
"wr",
"new PrintWriter(System.out)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"double ans = (double) n / x;",
"ans",
"(double) n / x",
"(double) n",
"x",
"int div = (int) Math.ceil(ans);",
"div",
"(int) Math.ceil(ans)",
"Math.ceil",
"Math",
"ans",
"wr.println(div*t)",
"wr.println",
"wr",
"div*t",
"div",
"t",
"wr.flush()",
"wr.flush",
"wr",
"wr.close()",
"wr.close",
"wr",
"String args[]",
"args",
"static class FastReader {\n\n BufferedReader br; \n StringTokenizer st; \n\n public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n\n String next() { \n while (st == null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n\n int nextInt() { \n return Integer.parseInt(next()); \n } \n\n long nextLong() { \n return Long.parseLong(next()); \n } \n\n double nextDouble() { \n return Double.parseDouble(next()); \n } \n\n String nextLine() { \n String str = \"\"; \n try { \n str = br.readLine(); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n return str; \n } \n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n }",
"FastReader",
"{ \n br = new BufferedReader(new InputStreamReader(System.in)); \n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() { \n while (st == null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"next",
"{ \n while (st == null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"while (st == null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{ \n try { \n st = new StringTokenizer(br.readLine()); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n }",
"try { \n st = new StringTokenizer(br.readLine()); \n } catch (IOException e) { \n e.printStackTrace(); \n }",
"catch (IOException e) { \n e.printStackTrace(); \n }",
"IOException e",
"{ \n e.printStackTrace(); \n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n st = new StringTokenizer(br.readLine()); \n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() { \n return Integer.parseInt(next()); \n }",
"nextInt",
"{ \n return Integer.parseInt(next()); \n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() { \n return Long.parseLong(next()); \n }",
"nextLong",
"{ \n return Long.parseLong(next()); \n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() { \n return Double.parseDouble(next()); \n }",
"nextDouble",
"{ \n return Double.parseDouble(next()); \n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() { \n String str = \"\"; \n try { \n str = br.readLine(); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n return str; \n }",
"nextLine",
"{ \n String str = \"\"; \n try { \n str = br.readLine(); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n return str; \n }",
"String str = \"\";",
"str",
"\"\"",
"try { \n str = br.readLine(); \n } catch (IOException e) { \n e.printStackTrace(); \n }",
"catch (IOException e) { \n e.printStackTrace(); \n }",
"IOException e",
"{ \n e.printStackTrace(); \n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n str = br.readLine(); \n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\n static class FastReader {\n\n BufferedReader br; \n StringTokenizer st; \n\n public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n\n String next() { \n while (st == null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n\n int nextInt() { \n return Integer.parseInt(next()); \n } \n\n long nextLong() { \n return Long.parseLong(next()); \n } \n\n double nextDouble() { \n return Double.parseDouble(next()); \n } \n\n String nextLine() { \n String str = \"\"; \n try { \n str = br.readLine(); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n return str; \n } \n }\n \n public static void main(String args[]) throws IOException {\n // try {\n // FileOutputStream output = new FileOutputStream(\"temp.out\");\n // PrintStream out = new PrintStream(output);\n // //Diverting the output stream into file \"temp.out\".Comment the below line to use console\n // System.setOut(out);\n \n // InputStream input = new FileInputStream(\"temp.in\");\n // //Diverting the input stream into file \"temp.in\".Comment the below line to use console\n // System.setIn(input);\n \n // } catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n \n FastReader sc = new FastReader();\n PrintWriter wr = new PrintWriter(System.out);\n \n // int t = 1;\n // t = sc.nextInt(); //Comment this line if there is single test case\n\n // while((t--) != 0) {\n\n // } \n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n double ans = (double) n / x; \n int div = (int) Math.ceil(ans);\n\n wr.println(div*t); \n \n wr.flush();\n wr.close();\n }\n}",
"public class Main {\n\n static class FastReader {\n\n BufferedReader br; \n StringTokenizer st; \n\n public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n\n String next() { \n while (st == null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n\n int nextInt() { \n return Integer.parseInt(next()); \n } \n\n long nextLong() { \n return Long.parseLong(next()); \n } \n\n double nextDouble() { \n return Double.parseDouble(next()); \n } \n\n String nextLine() { \n String str = \"\"; \n try { \n str = br.readLine(); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n return str; \n } \n }\n \n public static void main(String args[]) throws IOException {\n // try {\n // FileOutputStream output = new FileOutputStream(\"temp.out\");\n // PrintStream out = new PrintStream(output);\n // //Diverting the output stream into file \"temp.out\".Comment the below line to use console\n // System.setOut(out);\n \n // InputStream input = new FileInputStream(\"temp.in\");\n // //Diverting the input stream into file \"temp.in\".Comment the below line to use console\n // System.setIn(input);\n \n // } catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n \n FastReader sc = new FastReader();\n PrintWriter wr = new PrintWriter(System.out);\n \n // int t = 1;\n // t = sc.nextInt(); //Comment this line if there is single test case\n\n // while((t--) != 0) {\n\n // } \n\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n double ans = (double) n / x; \n int div = (int) Math.ceil(ans);\n\n wr.println(div*t); \n \n wr.flush();\n wr.close();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import java.lang.*;
public class Main {
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
public static void main(String args[]) throws IOException {
// try {
// FileOutputStream output = new FileOutputStream("temp.out");
// PrintStream out = new PrintStream(output);
// //Diverting the output stream into file "temp.out".Comment the below line to use console
// System.setOut(out);
// InputStream input = new FileInputStream("temp.in");
// //Diverting the input stream into file "temp.in".Comment the below line to use console
// System.setIn(input);
// } catch (FileNotFoundException e) {
// e.printStackTrace();
// }
FastReader sc = new FastReader();
PrintWriter wr = new PrintWriter(System.out);
// int t = 1;
// t = sc.nextInt(); //Comment this line if there is single test case
// while((t--) != 0) {
// }
int n = sc.nextInt();
int x = sc.nextInt();
int t = sc.nextInt();
double ans = (double) n / x;
int div = (int) Math.ceil(ans);
wr.println(div*t);
wr.flush();
wr.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
2,
2,
13,
13,
17,
14,
2,
2,
13,
13,
17,
40,
13,
4,
18,
18,
13,
13,
2,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
43,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int ans = 0;\n ans = (n / x) + 1;\n if (n % x == 0)\n ans--;\n System.out.println(ans * t);\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int ans = 0;\n ans = (n / x) + 1;\n if (n % x == 0)\n ans--;\n System.out.println(ans * t);\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int ans = 0;\n ans = (n / x) + 1;\n if (n % x == 0)\n ans--;\n System.out.println(ans * t);\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int ans = 0;\n ans = (n / x) + 1;\n if (n % x == 0)\n ans--;\n System.out.println(ans * t);\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = 0;",
"ans",
"0",
"ans = (n / x) + 1",
"ans",
"(n / x) + 1",
"(n / x)",
"n",
"x",
"1",
"if (n % x == 0)\n ans--;",
"n % x == 0",
"n % x",
"n",
"x",
"0",
"ans--",
"ans",
"System.out.println(ans * t)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans * t",
"ans",
"t",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int ans = 0;\n ans = (n / x) + 1;\n if (n % x == 0)\n ans--;\n System.out.println(ans * t);\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int ans = 0;\n ans = (n / x) + 1;\n if (n % x == 0)\n ans--;\n System.out.println(ans * t);\n sc.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
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 ans = 0;
ans = (n / x) + 1;
if (n % x == 0)
ans--;
System.out.println(ans * t);
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
6,
46
],
[
46,
47
]
]
| [
"import java.util.*;\n \nclass Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int max = sc.nextInt();\n int t = sc.nextInt();\n \n double num = (double)n / (double)max;\n num = Math.ceil(num);\n System.out.print((int)num * t);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int max = sc.nextInt();\n int t = sc.nextInt();\n \n double num = (double)n / (double)max;\n num = Math.ceil(num);\n System.out.print((int)num * t);\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int max = sc.nextInt();\n int t = sc.nextInt();\n \n double num = (double)n / (double)max;\n num = Math.ceil(num);\n System.out.print((int)num * t);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int max = sc.nextInt();\n int t = sc.nextInt();\n \n double num = (double)n / (double)max;\n num = Math.ceil(num);\n System.out.print((int)num * t);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int max = sc.nextInt();",
"max",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"double num = (double)n / (double)max;",
"num",
"(double)n / (double)max",
"(double)n",
"(double)max",
"num = Math.ceil(num)",
"num",
"Math.ceil(num)",
"Math.ceil",
"Math",
"num",
"System.out.print((int)num * t)",
"System.out.print",
"System.out",
"System",
"System.out",
"(int)num * t",
"(int)num",
"t",
"String args[]",
"args"
]
| import java.util.*;
class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int max = sc.nextInt();
int t = sc.nextInt();
double num = (double)n / (double)max;
num = Math.ceil(num);
System.out.print((int)num * t);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
13,
14,
2,
2,
13,
13,
17,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int res = (n/x)*t;\n if (n % x > 0){\n res += t;\n }\n System.out.println(res);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int res = (n/x)*t;\n if (n % x > 0){\n res += t;\n }\n System.out.println(res);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int res = (n/x)*t;\n if (n % x > 0){\n res += t;\n }\n System.out.println(res);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int res = (n/x)*t;\n if (n % x > 0){\n res += t;\n }\n System.out.println(res);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int res = (n/x)*t;",
"res",
"(n/x)*t",
"(n/x)",
"n",
"x",
"t",
"if (n % x > 0){\n res += t;\n }",
"n % x > 0",
"n % x",
"n",
"x",
"0",
"{\n res += t;\n }",
"res += t",
"res",
"t",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int res = (n/x)*t;\n if (n % x > 0){\n res += t;\n }\n System.out.println(res);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n int res = (n/x)*t;\n if (n % x > 0){\n res += t;\n }\n System.out.println(res);\n }\n}",
"Main"
]
| 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 res = (n/x)*t;
if (n % x > 0){
res += t;
}
System.out.println(res);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
2,
13,
13,
17,
30,
40,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
55,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
9,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int calc = n / x;\n if (n % x > 0) {\n calc++;\n }\n System.out.println(calc * t);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int calc = n / x;\n if (n % x > 0) {\n calc++;\n }\n System.out.println(calc * t);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int calc = n / x;\n if (n % x > 0) {\n calc++;\n }\n System.out.println(calc * t);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int calc = n / x;\n if (n % x > 0) {\n calc++;\n }\n System.out.println(calc * t);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int calc = n / x;",
"calc",
"n / x",
"n",
"x",
"if (n % x > 0) {\n calc++;\n }",
"n % x > 0",
"n % x",
"n",
"x",
"0",
"{\n calc++;\n }",
"calc++",
"calc",
"System.out.println(calc * t)",
"System.out.println",
"System.out",
"System",
"System.out",
"calc * t",
"calc",
"t",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int calc = n / x;\n if (n % x > 0) {\n calc++;\n }\n System.out.println(calc * t);\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int t = sc.nextInt();\n\n int calc = n / x;\n if (n % x > 0) {\n calc++;\n }\n System.out.println(calc * t);\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
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 calc = n / x;
if (n % x > 0) {
calc++;
}
System.out.println(calc * t);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
0,
13,
13,
30,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
155,
8
],
[
155,
9
],
[
9,
10
],
[
155,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
13,
20
],
[
20,
21
],
[
20,
22
],
[
13,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
13,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
13,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
13,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
38,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
13,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
13,
61
],
[
61,
62
],
[
62,
63
],
[
11,
64
],
[
64,
65
],
[
155,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
66,
70
],
[
70,
71
],
[
66,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
66,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
81,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
91,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
80,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
66,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
113,
114
],
[
66,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
122,
123
],
[
66,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
131,
132
],
[
66,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
139,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
135,
152
],
[
152,
153
],
[
0,
154
],
[
154,
155
],
[
154,
156
]
]
| [
"import java.io.*;\nimport java.util.*;\n\n\npublic class Main{\n\t\n\tpublic static void main(String[] args){\n\t\n\tMyScanner sc = new MyScanner();\n\tout = new PrintWriter(new BufferedOutputStream(System.out));\n\t\n\t/**/\n\t\n\tint counter = 0;\n\tint N = sc.nextInt();\n\tint X = sc.nextInt();\n\tint T = sc.nextInt();\n\t\n\tfor(int i = 0; i < N; i += X){\n\t\tcounter += T;\n\t}\n\t\n\tSystem.out.println(counter);\n\t/**/\n\t \n\t out.close();\t\n\t}\n\t\n\t\n\t\n\tpublic static PrintWriter out;\n\t\n\tpublic static class MyScanner{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\t\n\t\tpublic MyScanner(){\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tString next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }\n\t\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\t\n\tpublic static void main(String[] args){\n\t\n\tMyScanner sc = new MyScanner();\n\tout = new PrintWriter(new BufferedOutputStream(System.out));\n\t\n\t/**/\n\t\n\tint counter = 0;\n\tint N = sc.nextInt();\n\tint X = sc.nextInt();\n\tint T = sc.nextInt();\n\t\n\tfor(int i = 0; i < N; i += X){\n\t\tcounter += T;\n\t}\n\t\n\tSystem.out.println(counter);\n\t/**/\n\t \n\t out.close();\t\n\t}\n\t\n\t\n\t\n\tpublic static PrintWriter out;\n\t\n\tpublic static class MyScanner{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\t\n\t\tpublic MyScanner(){\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tString next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }\n\t\n}",
"Main",
"public static PrintWriter out;",
"out",
"public static void main(String[] args){\n\t\n\tMyScanner sc = new MyScanner();\n\tout = new PrintWriter(new BufferedOutputStream(System.out));\n\t\n\t/**/\n\t\n\tint counter = 0;\n\tint N = sc.nextInt();\n\tint X = sc.nextInt();\n\tint T = sc.nextInt();\n\t\n\tfor(int i = 0; i < N; i += X){\n\t\tcounter += T;\n\t}\n\t\n\tSystem.out.println(counter);\n\t/**/\n\t \n\t out.close();\t\n\t}",
"main",
"{\n\t\n\tMyScanner sc = new MyScanner();\n\tout = new PrintWriter(new BufferedOutputStream(System.out));\n\t\n\t/**/\n\t\n\tint counter = 0;\n\tint N = sc.nextInt();\n\tint X = sc.nextInt();\n\tint T = sc.nextInt();\n\t\n\tfor(int i = 0; i < N; i += X){\n\t\tcounter += T;\n\t}\n\t\n\tSystem.out.println(counter);\n\t/**/\n\t \n\t out.close();\t\n\t}",
"MyScanner sc = new MyScanner();",
"sc",
"new MyScanner()",
"out = new PrintWriter(new BufferedOutputStream(System.out))",
"out",
"new PrintWriter(new BufferedOutputStream(System.out))",
"int counter = 0;",
"counter",
"0",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int T = sc.nextInt();",
"T",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = 0; i < N; i += X){\n\t\tcounter += T;\n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i += X",
"i += X",
"i",
"X",
"{\n\t\tcounter += T;\n\t}",
"{\n\t\tcounter += T;\n\t}",
"counter += T",
"counter",
"T",
"System.out.println(counter)",
"System.out.println",
"System.out",
"System",
"System.out",
"counter",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public static class MyScanner{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\t\n\t\tpublic MyScanner(){\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tString next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }",
"MyScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public MyScanner(){\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"MyScanner",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }",
"nextLine",
"{\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }",
"catch (IOException e) {\n\t e.printStackTrace();\n\t }",
"IOException e",
"{\n\t e.printStackTrace();\n\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t str = br.readLine();\n\t }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main{\n\t\n\tpublic static void main(String[] args){\n\t\n\tMyScanner sc = new MyScanner();\n\tout = new PrintWriter(new BufferedOutputStream(System.out));\n\t\n\t/**/\n\t\n\tint counter = 0;\n\tint N = sc.nextInt();\n\tint X = sc.nextInt();\n\tint T = sc.nextInt();\n\t\n\tfor(int i = 0; i < N; i += X){\n\t\tcounter += T;\n\t}\n\t\n\tSystem.out.println(counter);\n\t/**/\n\t \n\t out.close();\t\n\t}\n\t\n\t\n\t\n\tpublic static PrintWriter out;\n\t\n\tpublic static class MyScanner{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\t\n\t\tpublic MyScanner(){\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tString next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }\n\t\n}",
"public class Main{\n\t\n\tpublic static void main(String[] args){\n\t\n\tMyScanner sc = new MyScanner();\n\tout = new PrintWriter(new BufferedOutputStream(System.out));\n\t\n\t/**/\n\t\n\tint counter = 0;\n\tint N = sc.nextInt();\n\tint X = sc.nextInt();\n\tint T = sc.nextInt();\n\t\n\tfor(int i = 0; i < N; i += X){\n\t\tcounter += T;\n\t}\n\t\n\tSystem.out.println(counter);\n\t/**/\n\t \n\t out.close();\t\n\t}\n\t\n\t\n\t\n\tpublic static PrintWriter out;\n\t\n\tpublic static class MyScanner{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\t\n\t\tpublic MyScanner(){\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tString next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }\n\t\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main{
public static void main(String[] args){
MyScanner sc = new MyScanner();
out = new PrintWriter(new BufferedOutputStream(System.out));
/**/
int counter = 0;
int N = sc.nextInt();
int X = sc.nextInt();
int T = sc.nextInt();
for(int i = 0; i < N; i += X){
counter += T;
}
System.out.println(counter);
/**/
out.close();
}
public static PrintWriter out;
public static class MyScanner{
BufferedReader br;
StringTokenizer st;
public MyScanner(){
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine(){
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
13,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
],
[
0,
49
],
[
236,
50
],
[
236,
51
],
[
51,
52
],
[
51,
53
],
[
236,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
56,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
56,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
56,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
75,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
75,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
98,
104
],
[
54,
105
],
[
105,
106
],
[
236,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
109,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
120,
122
],
[
115,
123
],
[
123,
124
],
[
124,
125
],
[
115,
126
],
[
127,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
127,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
136,
138
],
[
127,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
143,
144
],
[
143,
145
],
[
127,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
109,
151
],
[
151,
152
],
[
152,
153
],
[
151,
154
],
[
107,
155
],
[
155,
156
],
[
236,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
159,
161
],
[
157,
162
],
[
162,
163
],
[
162,
164
],
[
157,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
168,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
173,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
167,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
157,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
192,
195
],
[
195,
196
],
[
157,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
199,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
204,
209
],
[
209,
210
],
[
209,
211
],
[
204,
212
],
[
212,
213
],
[
213,
214
],
[
204,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
220,
221
],
[
199,
222
],
[
222,
223
],
[
197,
224
],
[
224,
225
],
[
157,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
230,
233
],
[
233,
234
],
[
0,
235
],
[
235,
236
],
[
235,
237
]
]
| [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.lang.annotation.Target;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.FormatFlagsConversionMismatchException;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.LinkedList;\nimport java.util.Queue;\nimport java.util.Random;\nimport java.util.StringTokenizer;\n\nimport javax.naming.spi.DirStateFactory.Result;\nimport javax.swing.text.AbstractDocument.BranchElement;\n\nimport org.w3c.dom.css.Counter;\n \npublic class Main {\n\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint first = fs.nextInt();\n\t\tint sec = fs.nextInt();\n\t\tint third = fs.nextInt();\n\n\t\tif(first%sec==0) {\n\t\t\tSystem.out.println((first/sec)*third);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(((first/sec)+1)*third);\n\t\t}\n\t}\n\t\n \n\tstatic final Random random=new Random();\n\t\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n \n\t\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.lang.annotation.Target;",
"Target",
"java.lang.annotation",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.FormatFlagsConversionMismatchException;",
"FormatFlagsConversionMismatchException",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.LinkedList;",
"LinkedList",
"java.util",
"import java.util.Queue;",
"Queue",
"java.util",
"import java.util.Random;",
"Random",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import javax.naming.spi.DirStateFactory.Result;",
"Result",
"javax.naming.spi.DirStateFactory",
"import javax.swing.text.AbstractDocument.BranchElement;",
"BranchElement",
"javax.swing.text.AbstractDocument",
"import org.w3c.dom.css.Counter;",
"Counter",
"org.w3c.dom.css",
"public class Main {\n\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint first = fs.nextInt();\n\t\tint sec = fs.nextInt();\n\t\tint third = fs.nextInt();\n\n\t\tif(first%sec==0) {\n\t\t\tSystem.out.println((first/sec)*third);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(((first/sec)+1)*third);\n\t\t}\n\t}\n\t\n \n\tstatic final Random random=new Random();\n\t\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n \n\t\n}",
"Main",
"static final Random random=new Random();",
"random",
"new Random()",
"public static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint first = fs.nextInt();\n\t\tint sec = fs.nextInt();\n\t\tint third = fs.nextInt();\n\n\t\tif(first%sec==0) {\n\t\t\tSystem.out.println((first/sec)*third);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(((first/sec)+1)*third);\n\t\t}\n\t}",
"main",
"{\n\t\tFastScanner fs=new FastScanner();\n\t\tint first = fs.nextInt();\n\t\tint sec = fs.nextInt();\n\t\tint third = fs.nextInt();\n\n\t\tif(first%sec==0) {\n\t\t\tSystem.out.println((first/sec)*third);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(((first/sec)+1)*third);\n\t\t}\n\t}",
"FastScanner fs=new FastScanner();",
"fs",
"new FastScanner()",
"int first = fs.nextInt();",
"first",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int sec = fs.nextInt();",
"sec",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int third = fs.nextInt();",
"third",
"fs.nextInt()",
"fs.nextInt",
"fs",
"if(first%sec==0) {\n\t\t\tSystem.out.println((first/sec)*third);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(((first/sec)+1)*third);\n\t\t}",
"first%sec==0",
"first%sec",
"first",
"sec",
"0",
"{\n\t\t\tSystem.out.println((first/sec)*third);\n\t\t}",
"System.out.println((first/sec)*third)",
"System.out.println",
"System.out",
"System",
"System.out",
"(first/sec)*third",
"(first/sec)",
"first",
"sec",
"third",
"{\n\t\t\tSystem.out.println(((first/sec)+1)*third);\n\t\t}",
"System.out.println(((first/sec)+1)*third)",
"System.out.println",
"System.out",
"System",
"System.out",
"((first/sec)+1)*third",
"((first/sec)+1)",
"(first/sec)",
"first",
"sec",
"1",
"third",
"String[] args",
"args",
"static void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}",
"ruffleSort",
"{\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}",
"int n=a.length;",
"n",
"a.length",
"a",
"a.length",
"for (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}",
"{\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}",
"int oi=random.nextInt(n)",
"oi",
"random.nextInt(n)",
"random.nextInt",
"random",
"n",
"temp=a[oi];",
"temp",
"a[oi]",
"a",
"oi",
"a[oi]=a[i]",
"a[oi]",
"a",
"oi",
"a[i]",
"a",
"i",
"a[i]=temp",
"a[i]",
"a",
"i",
"temp",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"int[] a",
"a",
"static class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"readArray",
"{\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint first = fs.nextInt();\n\t\tint sec = fs.nextInt();\n\t\tint third = fs.nextInt();\n\n\t\tif(first%sec==0) {\n\t\t\tSystem.out.println((first/sec)*third);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(((first/sec)+1)*third);\n\t\t}\n\t}\n\t\n \n\tstatic final Random random=new Random();\n\t\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n \n\t\n}",
"public class Main {\n\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint first = fs.nextInt();\n\t\tint sec = fs.nextInt();\n\t\tint third = fs.nextInt();\n\n\t\tif(first%sec==0) {\n\t\t\tSystem.out.println((first/sec)*third);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(((first/sec)+1)*third);\n\t\t}\n\t}\n\t\n \n\tstatic final Random random=new Random();\n\t\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n \n\t\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.annotation.Target;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.FormatFlagsConversionMismatchException;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.Queue;
import java.util.Random;
import java.util.StringTokenizer;
import javax.naming.spi.DirStateFactory.Result;
import javax.swing.text.AbstractDocument.BranchElement;
import org.w3c.dom.css.Counter;
public class Main {
public static void main(String[] args) {
FastScanner fs=new FastScanner();
int first = fs.nextInt();
int sec = fs.nextInt();
int third = fs.nextInt();
if(first%sec==0) {
System.out.println((first/sec)*third);
}
else {
System.out.println(((first/sec)+1)*third);
}
}
static final Random random=new Random();
static void ruffleSort(int[] a) {
int n=a.length;//shuffle, then sort
for (int i=0; i<n; i++) {
int oi=random.nextInt(n), temp=a[oi];
a[oi]=a[i]; a[i]=temp;
}
Arrays.sort(a);
}
static class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
try {
st=new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a=new int[n];
for (int i=0; i<n; i++) a[i]=nextInt();
return a;
}
long nextLong() {
return Long.parseLong(next());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
13,
13,
0,
13,
13,
14,
2,
2,
13,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
71,
11
],
[
71,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
14,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
14,
50
],
[
50,
51
],
[
50,
52
],
[
14,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
59,
61
],
[
14,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
12,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"/*\nIf you want to aim high, aim high\nDon't let that studying and grades consume you\nJust live life young\n******************************\nWhat do you think? What do you think?\n1st on Billboard, what do you think of it\nNext is a Grammy, what do you think of it\nHowever you think, Iโm sorry, but shit, I have no fcking interest\n*******************************\nI'm standing on top of my Monopoly board\nThat means I'm on top of my game and it don't stop\ntil my hip don't hop anymore\nhttps://www.a2oj.com/Ladder16.html\n*******************************\n300iq as writer = Sad!\n*/\nimport java.util.*;\nimport java.io.*;\nimport java.math.*;\n\n public class Main\n {\n public static void main(String hi[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(infile.readLine());\n int N = Integer.parseInt(st.nextToken());\n int X = Integer.parseInt(st.nextToken());\n int T = Integer.parseInt(st.nextToken());\n int time = N/X;\n time *= T;\n if(N%X > 0)\n time += T;\n System.out.println(time);\n }\n }",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main\n {\n public static void main(String hi[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(infile.readLine());\n int N = Integer.parseInt(st.nextToken());\n int X = Integer.parseInt(st.nextToken());\n int T = Integer.parseInt(st.nextToken());\n int time = N/X;\n time *= T;\n if(N%X > 0)\n time += T;\n System.out.println(time);\n }\n }",
"Main",
"public static void main(String hi[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(infile.readLine());\n int N = Integer.parseInt(st.nextToken());\n int X = Integer.parseInt(st.nextToken());\n int T = Integer.parseInt(st.nextToken());\n int time = N/X;\n time *= T;\n if(N%X > 0)\n time += T;\n System.out.println(time);\n }",
"main",
"{\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(infile.readLine());\n int N = Integer.parseInt(st.nextToken());\n int X = Integer.parseInt(st.nextToken());\n int T = Integer.parseInt(st.nextToken());\n int time = N/X;\n time *= T;\n if(N%X > 0)\n time += T;\n System.out.println(time);\n }",
"BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));",
"infile",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(infile.readLine());",
"st",
"new StringTokenizer(infile.readLine())",
"int N = Integer.parseInt(st.nextToken());",
"N",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int X = Integer.parseInt(st.nextToken());",
"X",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int T = Integer.parseInt(st.nextToken());",
"T",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int time = N/X;",
"time",
"N/X",
"N",
"X",
"time *= T",
"time",
"T",
"if(N%X > 0)\n time += T;",
"N%X > 0",
"N%X",
"N",
"X",
"0",
"time += T",
"time",
"T",
"System.out.println(time)",
"System.out.println",
"System.out",
"System",
"System.out",
"time",
"String hi[]",
"hi",
"public class Main\n {\n public static void main(String hi[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(infile.readLine());\n int N = Integer.parseInt(st.nextToken());\n int X = Integer.parseInt(st.nextToken());\n int T = Integer.parseInt(st.nextToken());\n int time = N/X;\n time *= T;\n if(N%X > 0)\n time += T;\n System.out.println(time);\n }\n }",
"public class Main\n {\n public static void main(String hi[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(infile.readLine());\n int N = Integer.parseInt(st.nextToken());\n int X = Integer.parseInt(st.nextToken());\n int T = Integer.parseInt(st.nextToken());\n int time = N/X;\n time *= T;\n if(N%X > 0)\n time += T;\n System.out.println(time);\n }\n }",
"Main"
]
| /*
If you want to aim high, aim high
Don't let that studying and grades consume you
Just live life young
******************************
What do you think? What do you think?
1st on Billboard, what do you think of it
Next is a Grammy, what do you think of it
However you think, Iโm sorry, but shit, I have no fcking interest
*******************************
I'm standing on top of my Monopoly board
That means I'm on top of my game and it don't stop
til my hip don't hop anymore
https://www.a2oj.com/Ladder16.html
*******************************
300iq as writer = Sad!
*/
import java.util.*;
import java.io.*;
import java.math.*;
public class Main
{
public static void main(String hi[]) throws Exception
{
BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(infile.readLine());
int N = Integer.parseInt(st.nextToken());
int X = Integer.parseInt(st.nextToken());
int T = Integer.parseInt(st.nextToken());
int time = N/X;
time *= T;
if(N%X > 0)
time += T;
System.out.println(time);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
2,
2,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
32,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint x = stdIn.nextInt();\n\t\tint t = stdIn.nextInt();\n\t\t\n\t\tSystem.out.println((n+x-1)/x*t);\n\t\t\n\t\t\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint x = stdIn.nextInt();\n\t\tint t = stdIn.nextInt();\n\t\t\n\t\tSystem.out.println((n+x-1)/x*t);\n\t\t\n\t\t\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint x = stdIn.nextInt();\n\t\tint t = stdIn.nextInt();\n\t\t\n\t\tSystem.out.println((n+x-1)/x*t);\n\t\t\n\t\t\n\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint x = stdIn.nextInt();\n\t\tint t = stdIn.nextInt();\n\t\t\n\t\tSystem.out.println((n+x-1)/x*t);\n\t\t\n\t\t\n\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int n = stdIn.nextInt();",
"n",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int x = stdIn.nextInt();",
"x",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int t = stdIn.nextInt();",
"t",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"System.out.println((n+x-1)/x*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"(n+x-1)/x*t",
"(n+x-1)/x",
"(n+x-1)",
"n+x",
"n",
"x",
"1",
"x",
"t",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint x = stdIn.nextInt();\n\t\tint t = stdIn.nextInt();\n\t\t\n\t\tSystem.out.println((n+x-1)/x*t);\n\t\t\n\t\t\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint x = stdIn.nextInt();\n\t\tint t = stdIn.nextInt();\n\t\t\n\t\tSystem.out.println((n+x-1)/x*t);\n\t\t\n\t\t\n\n\t}\n\n}",
"Main"
]
| 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();
System.out.println((n+x-1)/x*t);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
8,
2,
2,
13,
13,
17,
2,
13,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
17,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
29,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// ๆดๆฐใฎๅ
ฅๅ\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\t\n int m = n%x==0 ? n/x : n/x+1;\n // ๅบๅ\n\t\tSystem.out.println(\"\" + (m*t));\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// ๆดๆฐใฎๅ
ฅๅ\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\t\n int m = n%x==0 ? n/x : n/x+1;\n // ๅบๅ\n\t\tSystem.out.println(\"\" + (m*t));\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// ๆดๆฐใฎๅ
ฅๅ\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\t\n int m = n%x==0 ? n/x : n/x+1;\n // ๅบๅ\n\t\tSystem.out.println(\"\" + (m*t));\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// ๆดๆฐใฎๅ
ฅๅ\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\t\n int m = n%x==0 ? n/x : n/x+1;\n // ๅบๅ\n\t\tSystem.out.println(\"\" + (m*t));\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int m = n%x==0 ? n/x : n/x+1;",
"m",
"n%x==0 ? n/x : n/x+1",
"n%x==0",
"n%x",
"n",
"x",
"0",
"n/x",
"n",
"x",
"n/x+1",
"n/x",
"n",
"x",
"1",
"System.out.println(\"\" + (m*t))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\" + (m*t)",
"\"\"",
"(m*t)",
"m",
"t",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// ๆดๆฐใฎๅ
ฅๅ\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\t\n int m = n%x==0 ? n/x : n/x+1;\n // ๅบๅ\n\t\tSystem.out.println(\"\" + (m*t));\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// ๆดๆฐใฎๅ
ฅๅ\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint t = sc.nextInt();\n\t\t\n int m = n%x==0 ? n/x : n/x+1;\n // ๅบๅ\n\t\tSystem.out.println(\"\" + (m*t));\n\t}\n}",
"Main"
]
| 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 m = n%x==0 ? n/x : n/x+1;
// ๅบๅ
System.out.println("" + (m*t));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
20,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
49,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String arg[]){\n\t\tScanner sc= new Scanner(System.in);\n\t\tString n = sc.next();\n\t\tlong sum=0;\n\t\tfor(int i=0;i<n.length();i++){\n\t\t\tsum=sum+Integer.parseInt(String.valueOf(n.charAt(i)));\n\t\t}\n\t\t\n\t\tif(sum%9==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse \n\t\t\tSystem.out.println(\"No\");\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String arg[]){\n\t\tScanner sc= new Scanner(System.in);\n\t\tString n = sc.next();\n\t\tlong sum=0;\n\t\tfor(int i=0;i<n.length();i++){\n\t\t\tsum=sum+Integer.parseInt(String.valueOf(n.charAt(i)));\n\t\t}\n\t\t\n\t\tif(sum%9==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse \n\t\t\tSystem.out.println(\"No\");\n\t}\n}",
"Main",
"public static void main(String arg[]){\n\t\tScanner sc= new Scanner(System.in);\n\t\tString n = sc.next();\n\t\tlong sum=0;\n\t\tfor(int i=0;i<n.length();i++){\n\t\t\tsum=sum+Integer.parseInt(String.valueOf(n.charAt(i)));\n\t\t}\n\t\t\n\t\tif(sum%9==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse \n\t\t\tSystem.out.println(\"No\");\n\t}",
"main",
"{\n\t\tScanner sc= new Scanner(System.in);\n\t\tString n = sc.next();\n\t\tlong sum=0;\n\t\tfor(int i=0;i<n.length();i++){\n\t\t\tsum=sum+Integer.parseInt(String.valueOf(n.charAt(i)));\n\t\t}\n\t\t\n\t\tif(sum%9==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse \n\t\t\tSystem.out.println(\"No\");\n\t}",
"Scanner sc= new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String n = sc.next();",
"n",
"sc.next()",
"sc.next",
"sc",
"long sum=0;",
"sum",
"0",
"for(int i=0;i<n.length();i++){\n\t\t\tsum=sum+Integer.parseInt(String.valueOf(n.charAt(i)));\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n.length()",
"i",
"n.length()",
"n.length",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tsum=sum+Integer.parseInt(String.valueOf(n.charAt(i)));\n\t\t}",
"{\n\t\t\tsum=sum+Integer.parseInt(String.valueOf(n.charAt(i)));\n\t\t}",
"sum=sum+Integer.parseInt(String.valueOf(n.charAt(i)))",
"sum",
"sum+Integer.parseInt(String.valueOf(n.charAt(i)))",
"sum",
"Integer.parseInt(String.valueOf(n.charAt(i)))",
"Integer.parseInt",
"Integer",
"String.valueOf(n.charAt(i))",
"String.valueOf",
"String",
"n.charAt(i)",
"n.charAt",
"n",
"i",
"if(sum%9==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse \n\t\t\tSystem.out.println(\"No\");",
"sum%9==0",
"sum%9",
"sum",
"9",
"0",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String arg[]",
"arg",
"public class Main{\n\tpublic static void main(String arg[]){\n\t\tScanner sc= new Scanner(System.in);\n\t\tString n = sc.next();\n\t\tlong sum=0;\n\t\tfor(int i=0;i<n.length();i++){\n\t\t\tsum=sum+Integer.parseInt(String.valueOf(n.charAt(i)));\n\t\t}\n\t\t\n\t\tif(sum%9==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse \n\t\t\tSystem.out.println(\"No\");\n\t}\n}",
"public class Main{\n\tpublic static void main(String arg[]){\n\t\tScanner sc= new Scanner(System.in);\n\t\tString n = sc.next();\n\t\tlong sum=0;\n\t\tfor(int i=0;i<n.length();i++){\n\t\t\tsum=sum+Integer.parseInt(String.valueOf(n.charAt(i)));\n\t\t}\n\t\t\n\t\tif(sum%9==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse \n\t\t\tSystem.out.println(\"No\");\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String arg[]){
Scanner sc= new Scanner(System.in);
String n = sc.next();
long sum=0;
for(int i=0;i<n.length();i++){
sum=sum+Integer.parseInt(String.valueOf(n.charAt(i)));
}
if(sum%9==0)
System.out.println("Yes");
else
System.out.println("No");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
0,
13,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
17,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
52,
61
],
[
61,
62
],
[
61,
63
],
[
17,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
64,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
15,
84
],
[
84,
85
]
]
| [
"import java.util.Scanner;\nimport java.util.Comparator;\nimport java.util.Arrays;\nimport java.util.Collections;\nclass Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String[] split = S.split(\"\");\n int N = S.length();\n long add = 0;\n for(int i = 0; i < N; i++){\n int a = Integer.valueOf(split[i]);\n add += a;\n }\n if(add % 9 == 0){\n System.out.println(\"Yes\");\n }\n\telse{\n System.out.println(\"No\");\n }\n }\n}\n ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String[] split = S.split(\"\");\n int N = S.length();\n long add = 0;\n for(int i = 0; i < N; i++){\n int a = Integer.valueOf(split[i]);\n add += a;\n }\n if(add % 9 == 0){\n System.out.println(\"Yes\");\n }\n\telse{\n System.out.println(\"No\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String[] split = S.split(\"\");\n int N = S.length();\n long add = 0;\n for(int i = 0; i < N; i++){\n int a = Integer.valueOf(split[i]);\n add += a;\n }\n if(add % 9 == 0){\n System.out.println(\"Yes\");\n }\n\telse{\n System.out.println(\"No\");\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String[] split = S.split(\"\");\n int N = S.length();\n long add = 0;\n for(int i = 0; i < N; i++){\n int a = Integer.valueOf(split[i]);\n add += a;\n }\n if(add % 9 == 0){\n System.out.println(\"Yes\");\n }\n\telse{\n System.out.println(\"No\");\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String S = scan.next();",
"S",
"scan.next()",
"scan.next",
"scan",
"String[] split = S.split(\"\");",
"split",
"S.split(\"\")",
"S.split",
"S",
"\"\"",
"int N = S.length();",
"N",
"S.length()",
"S.length",
"S",
"long add = 0;",
"add",
"0",
"for(int i = 0; i < N; i++){\n int a = Integer.valueOf(split[i]);\n add += a;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n int a = Integer.valueOf(split[i]);\n add += a;\n }",
"{\n int a = Integer.valueOf(split[i]);\n add += a;\n }",
"int a = Integer.valueOf(split[i]);",
"a",
"Integer.valueOf(split[i])",
"Integer.valueOf",
"Integer",
"split[i]",
"split",
"i",
"add += a",
"add",
"a",
"if(add % 9 == 0){\n System.out.println(\"Yes\");\n }\n\telse{\n System.out.println(\"No\");\n }",
"add % 9 == 0",
"add % 9",
"add",
"9",
"0",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args"
]
| import java.util.Scanner;
import java.util.Comparator;
import java.util.Arrays;
import java.util.Collections;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
String S = scan.next();
String[] split = S.split("");
int N = S.length();
long add = 0;
for(int i = 0; i < N; i++){
int a = Integer.valueOf(split[i]);
add += a;
}
if(add % 9 == 0){
System.out.println("Yes");
}
else{
System.out.println("No");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
17,
28,
13,
13,
30,
30,
0,
13,
4,
18,
13,
13,
41,
13,
17,
14,
2,
17,
2,
13,
13,
30,
0,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
66,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
11,
40
],
[
40,
41
],
[
40,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
11,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
9,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n private static final int NINE๏ผฟVAL = 9;\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n final String indexStr = sc.next();\n String[] Array = indexStr.split(\"\");\n int iTotalVal = 0;\n for (String i : Array) {\n iTotalVal += Integer.parseInt(i);\n }\n\n String outputVal = \"\";\n // ๅ
ฅๅใใใๆๅญใฎ็ทๆฐใ9ใฎๅๆฐใ๏ผ\n if (0 == (iTotalVal % NINE๏ผฟVAL)) {\n outputVal = \"Yes\";\n } else {\n outputVal = \"No\";\n }\n System.out.print(outputVal);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n private static final int NINE๏ผฟVAL = 9;\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n final String indexStr = sc.next();\n String[] Array = indexStr.split(\"\");\n int iTotalVal = 0;\n for (String i : Array) {\n iTotalVal += Integer.parseInt(i);\n }\n\n String outputVal = \"\";\n // ๅ
ฅๅใใใๆๅญใฎ็ทๆฐใ9ใฎๅๆฐใ๏ผ\n if (0 == (iTotalVal % NINE๏ผฟVAL)) {\n outputVal = \"Yes\";\n } else {\n outputVal = \"No\";\n }\n System.out.print(outputVal);\n }\n}",
"Main",
"private static final int NINE๏ผฟVAL = 9;",
"NINE๏ผฟVAL",
"9",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n final String indexStr = sc.next();\n String[] Array = indexStr.split(\"\");\n int iTotalVal = 0;\n for (String i : Array) {\n iTotalVal += Integer.parseInt(i);\n }\n\n String outputVal = \"\";\n // ๅ
ฅๅใใใๆๅญใฎ็ทๆฐใ9ใฎๅๆฐใ๏ผ\n if (0 == (iTotalVal % NINE๏ผฟVAL)) {\n outputVal = \"Yes\";\n } else {\n outputVal = \"No\";\n }\n System.out.print(outputVal);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n final String indexStr = sc.next();\n String[] Array = indexStr.split(\"\");\n int iTotalVal = 0;\n for (String i : Array) {\n iTotalVal += Integer.parseInt(i);\n }\n\n String outputVal = \"\";\n // ๅ
ฅๅใใใๆๅญใฎ็ทๆฐใ9ใฎๅๆฐใ๏ผ\n if (0 == (iTotalVal % NINE๏ผฟVAL)) {\n outputVal = \"Yes\";\n } else {\n outputVal = \"No\";\n }\n System.out.print(outputVal);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final String indexStr = sc.next();",
"indexStr",
"sc.next()",
"sc.next",
"sc",
"String[] Array = indexStr.split(\"\");",
"Array",
"indexStr.split(\"\")",
"indexStr.split",
"indexStr",
"\"\"",
"int iTotalVal = 0;",
"iTotalVal",
"0",
"for (String i : Array) {\n iTotalVal += Integer.parseInt(i);\n }",
"String i",
"Array",
"{\n iTotalVal += Integer.parseInt(i);\n }",
"{\n iTotalVal += Integer.parseInt(i);\n }",
"iTotalVal += Integer.parseInt(i)",
"iTotalVal",
"Integer.parseInt(i)",
"Integer.parseInt",
"Integer",
"i",
"String outputVal = \"\";",
"outputVal",
"\"\"",
"if (0 == (iTotalVal % NINE๏ผฟVAL)) {\n outputVal = \"Yes\";\n } else {\n outputVal = \"No\";\n }",
"0 == (iTotalVal % NINE๏ผฟVAL)",
"0",
"(iTotalVal % NINE๏ผฟVAL)",
"iTotalVal",
"NINE๏ผฟVAL",
"{\n outputVal = \"Yes\";\n }",
"outputVal = \"Yes\"",
"outputVal",
"\"Yes\"",
"{\n outputVal = \"No\";\n }",
"outputVal = \"No\"",
"outputVal",
"\"No\"",
"System.out.print(outputVal)",
"System.out.print",
"System.out",
"System",
"System.out",
"outputVal",
"String[] args",
"args",
"public class Main {\n\n private static final int NINE๏ผฟVAL = 9;\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n final String indexStr = sc.next();\n String[] Array = indexStr.split(\"\");\n int iTotalVal = 0;\n for (String i : Array) {\n iTotalVal += Integer.parseInt(i);\n }\n\n String outputVal = \"\";\n // ๅ
ฅๅใใใๆๅญใฎ็ทๆฐใ9ใฎๅๆฐใ๏ผ\n if (0 == (iTotalVal % NINE๏ผฟVAL)) {\n outputVal = \"Yes\";\n } else {\n outputVal = \"No\";\n }\n System.out.print(outputVal);\n }\n}",
"public class Main {\n\n private static final int NINE๏ผฟVAL = 9;\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n final String indexStr = sc.next();\n String[] Array = indexStr.split(\"\");\n int iTotalVal = 0;\n for (String i : Array) {\n iTotalVal += Integer.parseInt(i);\n }\n\n String outputVal = \"\";\n // ๅ
ฅๅใใใๆๅญใฎ็ทๆฐใ9ใฎๅๆฐใ๏ผ\n if (0 == (iTotalVal % NINE๏ผฟVAL)) {\n outputVal = \"Yes\";\n } else {\n outputVal = \"No\";\n }\n System.out.print(outputVal);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
private static final int NINE๏ผฟVAL = 9;
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
final String indexStr = sc.next();
String[] Array = indexStr.split("");
int iTotalVal = 0;
for (String i : Array) {
iTotalVal += Integer.parseInt(i);
}
String outputVal = "";
// ๅ
ฅๅใใใๆๅญใฎ็ทๆฐใ9ใฎๅๆฐใ๏ผ
if (0 == (iTotalVal % NINE๏ผฟVAL)) {
outputVal = "Yes";
} else {
outputVal = "No";
}
System.out.print(outputVal);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
2,
4,
18,
13,
13,
17,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
20,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
37,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
43,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n long c=0;\n for(int i=0;i<s.length();i++){\n c+=(s.charAt(i)-'0');\n }\n if(c%9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n long c=0;\n for(int i=0;i<s.length();i++){\n c+=(s.charAt(i)-'0');\n }\n if(c%9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n long c=0;\n for(int i=0;i<s.length();i++){\n c+=(s.charAt(i)-'0');\n }\n if(c%9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n long c=0;\n for(int i=0;i<s.length();i++){\n c+=(s.charAt(i)-'0');\n }\n if(c%9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"long c=0;",
"c",
"0",
"for(int i=0;i<s.length();i++){\n c+=(s.charAt(i)-'0');\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n c+=(s.charAt(i)-'0');\n }",
"{\n c+=(s.charAt(i)-'0');\n }",
"c+=(s.charAt(i)-'0')",
"c",
"(s.charAt(i)-'0')",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"'0'",
"if(c%9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }",
"c%9 == 0",
"c%9",
"c",
"9",
"0",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n long c=0;\n for(int i=0;i<s.length();i++){\n c+=(s.charAt(i)-'0');\n }\n if(c%9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n long c=0;\n for(int i=0;i<s.length();i++){\n c+=(s.charAt(i)-'0');\n }\n if(c%9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
long c=0;
for(int i=0;i<s.length();i++){
c+=(s.charAt(i)-'0');
}
if(c%9 == 0){
System.out.println("Yes");
}
else{
System.out.println("No");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
79,
14
],
[
79,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
29,
39
],
[
39,
40
],
[
40,
41
],
[
29,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
17,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
56,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
56,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
15,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String args[]) throws IOException {\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n int numberDigitTotal = 0;\n\n for(int i = 0; i < s.length(); i++)\n {\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }\n\n if(numberDigitTotal % 9 != 0)\n {\n System.out.println(\"No\");\n }\n else\n {\n System.out.println(\"Yes\");\n }\n }\n}\n\n",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String args[]) throws IOException {\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n int numberDigitTotal = 0;\n\n for(int i = 0; i < s.length(); i++)\n {\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }\n\n if(numberDigitTotal % 9 != 0)\n {\n System.out.println(\"No\");\n }\n else\n {\n System.out.println(\"Yes\");\n }\n }\n}",
"Main",
"public static void main(String args[]) throws IOException {\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n int numberDigitTotal = 0;\n\n for(int i = 0; i < s.length(); i++)\n {\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }\n\n if(numberDigitTotal % 9 != 0)\n {\n System.out.println(\"No\");\n }\n else\n {\n System.out.println(\"Yes\");\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n int numberDigitTotal = 0;\n\n for(int i = 0; i < s.length(); i++)\n {\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }\n\n if(numberDigitTotal % 9 != 0)\n {\n System.out.println(\"No\");\n }\n else\n {\n System.out.println(\"Yes\");\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String s = scanner.nextLine();",
"s",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"int numberDigitTotal = 0;",
"numberDigitTotal",
"0",
"for(int i = 0; i < s.length(); i++)\n {\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }",
"{\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }",
"numberDigitTotal += Integer.parseInt(s.substring(i,i + 1))",
"numberDigitTotal",
"Integer.parseInt(s.substring(i,i + 1))",
"Integer.parseInt",
"Integer",
"s.substring(i,i + 1)",
"s.substring",
"s",
"i",
"i + 1",
"i",
"1",
"if(numberDigitTotal % 9 != 0)\n {\n System.out.println(\"No\");\n }\n else\n {\n System.out.println(\"Yes\");\n }",
"numberDigitTotal % 9 != 0",
"numberDigitTotal % 9",
"numberDigitTotal",
"9",
"0",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"String args[]",
"args",
"public class Main {\n\n public static void main(String args[]) throws IOException {\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n int numberDigitTotal = 0;\n\n for(int i = 0; i < s.length(); i++)\n {\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }\n\n if(numberDigitTotal % 9 != 0)\n {\n System.out.println(\"No\");\n }\n else\n {\n System.out.println(\"Yes\");\n }\n }\n}",
"public class Main {\n\n public static void main(String args[]) throws IOException {\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n int numberDigitTotal = 0;\n\n for(int i = 0; i < s.length(); i++)\n {\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }\n\n if(numberDigitTotal % 9 != 0)\n {\n System.out.println(\"No\");\n }\n else\n {\n System.out.println(\"Yes\");\n }\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String args[]) throws IOException {
Scanner scanner = new Scanner(System.in);
String s = scanner.nextLine();
int numberDigitTotal = 0;
for(int i = 0; i < s.length(); i++)
{
numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));
}
if(numberDigitTotal % 9 != 0)
{
System.out.println("No");
}
else
{
System.out.println("Yes");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
17,
28,
13,
4,
18,
13,
30,
30,
0,
13,
2,
13,
17,
4,
18,
13,
8,
2,
2,
13,
17,
17,
17,
17,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
167,
23
],
[
167,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
26,
33
],
[
33,
34
],
[
33,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
36,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
41,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
50,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
41,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
65,
71
],
[
65,
72
],
[
26,
73
],
[
73,
74
],
[
74,
75
],
[
24,
76
],
[
76,
77
],
[
167,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
78,
82
],
[
82,
83
],
[
78,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
78,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
93,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
103,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
92,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
78,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
125,
126
],
[
78,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
134,
135
],
[
78,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
78,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
151,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
147,
164
],
[
164,
165
],
[
0,
166
],
[
166,
167
],
[
166,
168
]
]
| [
"import java.io.BufferedReader; \nimport java.io.*;\nimport java.io.InputStreamReader; \nimport java.util.Scanner; \nimport java.util.StringTokenizer; \nimport java.util.*;\nimport java.math.*;\npublic class Main \n{ \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n public static void main(String args[]) throws Exception\n {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n int t=1;//sc.nextInt();\n while(t-->0)\n {\n String s=sc.next();long sum=0;\n for(char w:s.toCharArray())\n {\n sum+=(w-'0');\n }\n pw.println((sum%9==0)?\"Yes\":\"No\");\n }\n pw.close();\n }\n}\n ",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.*;",
"io.*",
"java",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main \n{ \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n public static void main(String args[]) throws Exception\n {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n int t=1;//sc.nextInt();\n while(t-->0)\n {\n String s=sc.next();long sum=0;\n for(char w:s.toCharArray())\n {\n sum+=(w-'0');\n }\n pw.println((sum%9==0)?\"Yes\":\"No\");\n }\n pw.close();\n }\n}",
"Main",
"public static void main(String args[]) throws Exception\n {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n int t=1;//sc.nextInt();\n while(t-->0)\n {\n String s=sc.next();long sum=0;\n for(char w:s.toCharArray())\n {\n sum+=(w-'0');\n }\n pw.println((sum%9==0)?\"Yes\":\"No\");\n }\n pw.close();\n }",
"main",
"{\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n int t=1;//sc.nextInt();\n while(t-->0)\n {\n String s=sc.next();long sum=0;\n for(char w:s.toCharArray())\n {\n sum+=(w-'0');\n }\n pw.println((sum%9==0)?\"Yes\":\"No\");\n }\n pw.close();\n }",
"FastReader sc=new FastReader();",
"sc",
"new FastReader()",
"PrintWriter pw=new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"int t=1;",
"t",
"1",
"while(t-->0)\n {\n String s=sc.next();long sum=0;\n for(char w:s.toCharArray())\n {\n sum+=(w-'0');\n }\n pw.println((sum%9==0)?\"Yes\":\"No\");\n }",
"t-->0",
"t--",
"t",
"0",
"{\n String s=sc.next();long sum=0;\n for(char w:s.toCharArray())\n {\n sum+=(w-'0');\n }\n pw.println((sum%9==0)?\"Yes\":\"No\");\n }",
"String s=sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"long sum=0;",
"sum",
"0",
"for(char w:s.toCharArray())\n {\n sum+=(w-'0');\n }",
"char w",
"s.toCharArray()",
"s.toCharArray",
"s",
"{\n sum+=(w-'0');\n }",
"{\n sum+=(w-'0');\n }",
"sum+=(w-'0')",
"sum",
"(w-'0')",
"w",
"'0'",
"pw.println((sum%9==0)?\"Yes\":\"No\")",
"pw.println",
"pw",
"(sum%9==0)?\"Yes\":\"No\"",
"(sum%9==0)",
"sum%9",
"sum",
"9",
"0",
"\"Yes\"",
"\"No\"",
"pw.close()",
"pw.close",
"pw",
"String args[]",
"args",
"static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n }",
"FastReader",
"{ \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n }",
"br = new BufferedReader(new\n InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n InputStreamReader(System.in))",
"String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"next",
"{ \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{ \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }",
"try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \n e.printStackTrace(); \n }",
"IOException e",
"{ \n e.printStackTrace(); \n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n st = new StringTokenizer(br.readLine()); \n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() \n { \n return Integer.parseInt(next()); \n }",
"nextInt",
"{ \n return Integer.parseInt(next()); \n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() \n { \n return Long.parseLong(next()); \n }",
"nextLong",
"{ \n return Long.parseLong(next()); \n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() \n { \n return Double.parseDouble(next()); \n }",
"nextDouble",
"{ \n return Double.parseDouble(next()); \n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"nextLine",
"{ \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"String str = \"\";",
"str",
"\"\"",
"try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \n e.printStackTrace(); \n }",
"IOException e",
"{ \n e.printStackTrace(); \n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main \n{ \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n public static void main(String args[]) throws Exception\n {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n int t=1;//sc.nextInt();\n while(t-->0)\n {\n String s=sc.next();long sum=0;\n for(char w:s.toCharArray())\n {\n sum+=(w-'0');\n }\n pw.println((sum%9==0)?\"Yes\":\"No\");\n }\n pw.close();\n }\n}",
"public class Main \n{ \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n public static void main(String args[]) throws Exception\n {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n int t=1;//sc.nextInt();\n while(t-->0)\n {\n String s=sc.next();long sum=0;\n for(char w:s.toCharArray())\n {\n sum+=(w-'0');\n }\n pw.println((sum%9==0)?\"Yes\":\"No\");\n }\n pw.close();\n }\n}",
"Main"
]
| 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 FastReader()
{
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next()
{
while (st == null || !st.hasMoreElements())
{
try
{
st = new StringTokenizer(br.readLine());
}
catch (IOException e)
{
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt()
{
return Integer.parseInt(next());
}
long nextLong()
{
return Long.parseLong(next());
}
double nextDouble()
{
return Double.parseDouble(next());
}
String nextLine()
{
String str = "";
try
{
str = br.readLine();
}
catch (IOException e)
{
e.printStackTrace();
}
return str;
}
}
public static void main(String args[]) throws Exception
{
FastReader sc=new FastReader();
PrintWriter pw=new PrintWriter(System.out);
int t=1;//sc.nextInt();
while(t-->0)
{
String s=sc.next();long sum=0;
for(char w:s.toCharArray())
{
sum+=(w-'0');
}
pw.println((sum%9==0)?"Yes":"No");
}
pw.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
2,
4,
18,
13,
13,
17,
14,
2,
2,
13,
17,
17,
4,
18,
13,
17,
4,
18,
13,
17,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
241,
23
],
[
241,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
46,
51
],
[
26,
52
],
[
52,
53
],
[
53,
54
],
[
24,
55
],
[
55,
56
],
[
241,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
61,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
70,
80
],
[
80,
81
],
[
81,
82
],
[
70,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
87,
92
],
[
61,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
93,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
93,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
59,
107
],
[
107,
108
],
[
59,
109
],
[
109,
110
],
[
59,
111
],
[
111,
112
],
[
241,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
113,
117
],
[
117,
118
],
[
117,
119
],
[
113,
121
],
[
121,
122
],
[
113,
123
],
[
123,
124
],
[
113,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
125,
133
],
[
133,
134
],
[
113,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
138,
143
],
[
143,
144
],
[
137,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
153,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
162,
165
],
[
149,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
171,
172
],
[
137,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
113,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
180,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
185,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
180,
193
],
[
193,
194
],
[
193,
195
],
[
180,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
196,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
202,
205
],
[
201,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
180,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
113,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
221,
219
],
[
231,
220
],
[
228,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
221,
225
],
[
225,
226
],
[
225,
227
],
[
228,
228
],
[
228,
229
],
[
228,
230
],
[
231,
231
],
[
231,
232
],
[
231,
233
],
[
221,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
214,
238
],
[
238,
239
],
[
0,
240
],
[
240,
241
],
[
240,
242
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Vaibhav Pulastya\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultipleOf9 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n String N = in.next();\n int sum = 0;\n for (int i = 0; i < N.length(); i++) {\n sum += (N.charAt(i) - '0');\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuffer res = new StringBuffer();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n private boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultipleOf9 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n String N = in.next();\n int sum = 0;\n for (int i = 0; i < N.length(); i++) {\n sum += (N.charAt(i) - '0');\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuffer res = new StringBuffer();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n private boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"BMultipleOf9 solver = new BMultipleOf9();",
"solver",
"new BMultipleOf9()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class BMultipleOf9 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n String N = in.next();\n int sum = 0;\n for (int i = 0; i < N.length(); i++) {\n sum += (N.charAt(i) - '0');\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n\n }",
"BMultipleOf9",
"public void solve(int testNumber, InputReader in, PrintWriter out) {\n String N = in.next();\n int sum = 0;\n for (int i = 0; i < N.length(); i++) {\n sum += (N.charAt(i) - '0');\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }",
"solve",
"{\n String N = in.next();\n int sum = 0;\n for (int i = 0; i < N.length(); i++) {\n sum += (N.charAt(i) - '0');\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }",
"String N = in.next();",
"N",
"in.next()",
"in.next",
"in",
"int sum = 0;",
"sum",
"0",
"for (int i = 0; i < N.length(); i++) {\n sum += (N.charAt(i) - '0');\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N.length()",
"i",
"N.length()",
"N.length",
"N",
"i++",
"i++",
"i",
"{\n sum += (N.charAt(i) - '0');\n }",
"{\n sum += (N.charAt(i) - '0');\n }",
"sum += (N.charAt(i) - '0')",
"sum",
"(N.charAt(i) - '0')",
"N.charAt(i)",
"N.charAt",
"N",
"i",
"'0'",
"if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");",
"sum % 9 == 0",
"sum % 9",
"sum",
"9",
"0",
"out.println(\"Yes\")",
"out.println",
"out",
"\"Yes\"",
"out.println(\"No\")",
"out.println",
"out",
"\"No\"",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuffer res = new StringBuffer();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n private boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (numChars == -1)\n throw new InputMismatchException();",
"numChars == -1",
"numChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0)\n return -1;",
"numChars <= 0",
"numChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuffer res = new StringBuffer();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"next",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuffer res = new StringBuffer();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuffer res = new StringBuffer();",
"res",
"new StringBuffer()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"private boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultipleOf9 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n String N = in.next();\n int sum = 0;\n for (int i = 0; i < N.length(); i++) {\n sum += (N.charAt(i) - '0');\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuffer res = new StringBuffer();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n private boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultipleOf9 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n String N = in.next();\n int sum = 0;\n for (int i = 0; i < N.length(); i++) {\n sum += (N.charAt(i) - '0');\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuffer res = new StringBuffer();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n private boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}",
"Main"
]
| 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
*
* @author Vaibhav Pulastya
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
BMultipleOf9 solver = new BMultipleOf9();
solver.solve(1, in, out);
out.close();
}
static class BMultipleOf9 {
public void solve(int testNumber, InputReader in, PrintWriter out) {
String N = in.next();
int sum = 0;
for (int i = 0; i < N.length(); i++) {
sum += (N.charAt(i) - '0');
}
if (sum % 9 == 0) out.println("Yes");
else out.println("No");
}
}
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1)
throw new InputMismatchException();
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0)
return -1;
}
return buf[curChar++];
}
public String next() {
int c = read();
while (isSpaceChar(c))
c = read();
StringBuffer res = new StringBuffer();
do {
res.appendCodePoint(c);
c = read();
} while (!isSpaceChar(c));
return res.toString();
}
private boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
76,
11
],
[
76,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
26,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
14,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
53,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
12,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
]
| [
"import java.io.*;\nimport java.lang.*;\nimport java.util.*;\n\npublic class Main\n{\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String num = sc.nextLine();\n int total = 0;\n for (int i = 0; i < num.length(); i++) {\n total += Integer.parseInt(Character.toString(num.charAt(i)));\n }\n if (total % 9 == 0) {\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String num = sc.nextLine();\n int total = 0;\n for (int i = 0; i < num.length(); i++) {\n total += Integer.parseInt(Character.toString(num.charAt(i)));\n }\n if (total % 9 == 0) {\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String num = sc.nextLine();\n int total = 0;\n for (int i = 0; i < num.length(); i++) {\n total += Integer.parseInt(Character.toString(num.charAt(i)));\n }\n if (total % 9 == 0) {\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String num = sc.nextLine();\n int total = 0;\n for (int i = 0; i < num.length(); i++) {\n total += Integer.parseInt(Character.toString(num.charAt(i)));\n }\n if (total % 9 == 0) {\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String num = sc.nextLine();",
"num",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int total = 0;",
"total",
"0",
"for (int i = 0; i < num.length(); i++) {\n total += Integer.parseInt(Character.toString(num.charAt(i)));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num.length()",
"i",
"num.length()",
"num.length",
"num",
"i++",
"i++",
"i",
"{\n total += Integer.parseInt(Character.toString(num.charAt(i)));\n }",
"{\n total += Integer.parseInt(Character.toString(num.charAt(i)));\n }",
"total += Integer.parseInt(Character.toString(num.charAt(i)))",
"total",
"Integer.parseInt(Character.toString(num.charAt(i)))",
"Integer.parseInt",
"Integer",
"Character.toString(num.charAt(i))",
"Character.toString",
"Character",
"num.charAt(i)",
"num.charAt",
"num",
"i",
"if (total % 9 == 0) {\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }",
"total % 9 == 0",
"total % 9",
"total",
"9",
"0",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main\n{\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String num = sc.nextLine();\n int total = 0;\n for (int i = 0; i < num.length(); i++) {\n total += Integer.parseInt(Character.toString(num.charAt(i)));\n }\n if (total % 9 == 0) {\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }\n}",
"public class Main\n{\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String num = sc.nextLine();\n int total = 0;\n for (int i = 0; i < num.length(); i++) {\n total += Integer.parseInt(Character.toString(num.charAt(i)));\n }\n if (total % 9 == 0) {\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }\n}",
"Main"
]
| import java.io.*;
import java.lang.*;
import java.util.*;
public class Main
{
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
String num = sc.nextLine();
int total = 0;
for (int i = 0; i < num.length(); i++) {
total += Integer.parseInt(Character.toString(num.charAt(i)));
}
if (total % 9 == 0) {
System.out.println("Yes");
}
else {
System.out.println("No");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
13,
0,
13,
13,
14,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
20,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
34,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
47,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
47,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"import java.util.*;\npublic class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n String num = sc.nextLine();\n int sum=0;\n for(int i=0;i<num.length();i++){\n int x =Character.getNumericValue(num.charAt(i));\n sum+=x;\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n String num = sc.nextLine();\n int sum=0;\n for(int i=0;i<num.length();i++){\n int x =Character.getNumericValue(num.charAt(i));\n sum+=x;\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n String num = sc.nextLine();\n int sum=0;\n for(int i=0;i<num.length();i++){\n int x =Character.getNumericValue(num.charAt(i));\n sum+=x;\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String num = sc.nextLine();\n int sum=0;\n for(int i=0;i<num.length();i++){\n int x =Character.getNumericValue(num.charAt(i));\n sum+=x;\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String num = sc.nextLine();",
"num",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int sum=0;",
"sum",
"0",
"for(int i=0;i<num.length();i++){\n int x =Character.getNumericValue(num.charAt(i));\n sum+=x;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<num.length()",
"i",
"num.length()",
"num.length",
"num",
"i++",
"i++",
"i",
"{\n int x =Character.getNumericValue(num.charAt(i));\n sum+=x;\n }",
"{\n int x =Character.getNumericValue(num.charAt(i));\n sum+=x;\n }",
"int x =Character.getNumericValue(num.charAt(i));",
"x",
"Character.getNumericValue(num.charAt(i))",
"Character.getNumericValue",
"Character",
"num.charAt(i)",
"num.charAt",
"num",
"i",
"sum+=x",
"sum",
"x",
"if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");",
"sum%9==0",
"sum%9",
"sum",
"9",
"0",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n String num = sc.nextLine();\n int sum=0;\n for(int i=0;i<num.length();i++){\n int x =Character.getNumericValue(num.charAt(i));\n sum+=x;\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}",
"public class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n String num = sc.nextLine();\n int sum=0;\n for(int i=0;i<num.length();i++){\n int x =Character.getNumericValue(num.charAt(i));\n sum+=x;\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
String num = sc.nextLine();
int sum=0;
for(int i=0;i<num.length();i++){
int x =Character.getNumericValue(num.charAt(i));
sum+=x;
}
if(sum%9==0)
System.out.println("Yes");
else
System.out.println("No");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
4,
18,
13,
18,
13,
13,
17,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
22,
32
],
[
32,
33
],
[
33,
34
],
[
22,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
39,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
49,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n char[] N = sc.next().toCharArray();\n int res=0;\n \n for(int i=0; i<N.length; i++){\n res = (res + Character.getNumericValue(N[i]))%9;\n }\n \n if(res%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n \n \n \n }\n }",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n char[] N = sc.next().toCharArray();\n int res=0;\n \n for(int i=0; i<N.length; i++){\n res = (res + Character.getNumericValue(N[i]))%9;\n }\n \n if(res%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n \n \n \n }\n }",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n char[] N = sc.next().toCharArray();\n int res=0;\n \n for(int i=0; i<N.length; i++){\n res = (res + Character.getNumericValue(N[i]))%9;\n }\n \n if(res%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n \n \n \n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n char[] N = sc.next().toCharArray();\n int res=0;\n \n for(int i=0; i<N.length; i++){\n res = (res + Character.getNumericValue(N[i]))%9;\n }\n \n if(res%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n \n \n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"char[] N = sc.next().toCharArray();",
"N",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"int res=0;",
"res",
"0",
"for(int i=0; i<N.length; i++){\n res = (res + Character.getNumericValue(N[i]))%9;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N.length",
"i",
"N.length",
"N",
"N.length",
"i++",
"i++",
"i",
"{\n res = (res + Character.getNumericValue(N[i]))%9;\n }",
"{\n res = (res + Character.getNumericValue(N[i]))%9;\n }",
"res = (res + Character.getNumericValue(N[i]))%9",
"res",
"(res + Character.getNumericValue(N[i]))%9",
"(res + Character.getNumericValue(N[i]))",
"res",
"Character.getNumericValue(N[i])",
"Character.getNumericValue",
"Character",
"N[i]",
"N",
"i",
"9",
"if(res%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }",
"res%9==0",
"res%9",
"res",
"9",
"0",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n char[] N = sc.next().toCharArray();\n int res=0;\n \n for(int i=0; i<N.length; i++){\n res = (res + Character.getNumericValue(N[i]))%9;\n }\n \n if(res%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n \n \n \n }\n }",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n char[] N = sc.next().toCharArray();\n int res=0;\n \n for(int i=0; i<N.length; i++){\n res = (res + Character.getNumericValue(N[i]))%9;\n }\n \n if(res%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n \n \n \n }\n }",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
char[] N = sc.next().toCharArray();
int res=0;
for(int i=0; i<N.length; i++){
res = (res + Character.getNumericValue(N[i]))%9;
}
if(res%9==0){
System.out.println("Yes");
}else{
System.out.println("No");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
0,
13,
2,
13,
13,
40,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
29,
47
],
[
47,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
49,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String s=sc.next();\n long n=0;\n long sum=0;\n while (n<s.length()){\n int num=Integer.parseInt(String.valueOf(s.charAt((int) n)));\n sum=sum+num;\n n++;\n }\n if (sum%9==0){\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String s=sc.next();\n long n=0;\n long sum=0;\n while (n<s.length()){\n int num=Integer.parseInt(String.valueOf(s.charAt((int) n)));\n sum=sum+num;\n n++;\n }\n if (sum%9==0){\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String s=sc.next();\n long n=0;\n long sum=0;\n while (n<s.length()){\n int num=Integer.parseInt(String.valueOf(s.charAt((int) n)));\n sum=sum+num;\n n++;\n }\n if (sum%9==0){\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n String s=sc.next();\n long n=0;\n long sum=0;\n while (n<s.length()){\n int num=Integer.parseInt(String.valueOf(s.charAt((int) n)));\n sum=sum+num;\n n++;\n }\n if (sum%9==0){\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s=sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"long n=0;",
"n",
"0",
"long sum=0;",
"sum",
"0",
"while (n<s.length()){\n int num=Integer.parseInt(String.valueOf(s.charAt((int) n)));\n sum=sum+num;\n n++;\n }",
"n<s.length()",
"n",
"s.length()",
"s.length",
"s",
"{\n int num=Integer.parseInt(String.valueOf(s.charAt((int) n)));\n sum=sum+num;\n n++;\n }",
"int num=Integer.parseInt(String.valueOf(s.charAt((int) n)));",
"num",
"Integer.parseInt(String.valueOf(s.charAt((int) n)))",
"Integer.parseInt",
"Integer",
"String.valueOf(s.charAt((int) n))",
"String.valueOf",
"String",
"s.charAt((int) n)",
"s.charAt",
"s",
"(int) n",
"sum=sum+num",
"sum",
"sum+num",
"sum",
"num",
"n++",
"n",
"if (sum%9==0){\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }",
"sum%9==0",
"sum%9",
"sum",
"9",
"0",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String s=sc.next();\n long n=0;\n long sum=0;\n while (n<s.length()){\n int num=Integer.parseInt(String.valueOf(s.charAt((int) n)));\n sum=sum+num;\n n++;\n }\n if (sum%9==0){\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String s=sc.next();\n long n=0;\n long sum=0;\n while (n<s.length()){\n int num=Integer.parseInt(String.valueOf(s.charAt((int) n)));\n sum=sum+num;\n n++;\n }\n if (sum%9==0){\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String s=sc.next();
long n=0;
long sum=0;
while (n<s.length()){
int num=Integer.parseInt(String.valueOf(s.charAt((int) n)));
sum=sum+num;
n++;
}
if (sum%9==0){
System.out.println("Yes");
}
else {
System.out.println("No");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
17,
28,
13,
4,
18,
13,
30,
30,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
4,
18,
13,
17,
4,
18,
13,
17,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
14,
4,
18,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
4,
18,
13,
13,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
13,
23,
13,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
18,
36,
13,
20,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
361,
35
],
[
361,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
38,
49
],
[
49,
50
],
[
49,
51
],
[
38,
52
],
[
52,
53
],
[
52,
54
],
[
38,
55
],
[
55,
56
],
[
55,
57
],
[
38,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
58,
63
],
[
38,
64
],
[
64,
65
],
[
65,
66
],
[
36,
67
],
[
67,
68
],
[
361,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
82,
88
],
[
88,
89
],
[
88,
90
],
[
82,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
91,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
82,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
103,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
103,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
71,
117
],
[
117,
118
],
[
71,
119
],
[
119,
120
],
[
71,
121
],
[
121,
122
],
[
361,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
123,
127
],
[
127,
128
],
[
127,
129
],
[
123,
131
],
[
131,
132
],
[
123,
133
],
[
133,
134
],
[
123,
135
],
[
135,
136
],
[
123,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
137,
145
],
[
145,
146
],
[
123,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
150,
155
],
[
155,
156
],
[
156,
157
],
[
149,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
166,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
175,
178
],
[
162,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
179,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
149,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
123,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
194,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
199,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
194,
208
],
[
208,
209
],
[
208,
210
],
[
194,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
211,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
218,
221
],
[
217,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
223,
226
],
[
216,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
194,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
123,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
242,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
244,
247
],
[
237,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
235,
252
],
[
252,
253
],
[
123,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
257,
258
],
[
261,
259
],
[
271,
260
],
[
268,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
261,
265
],
[
265,
266
],
[
265,
267
],
[
268,
268
],
[
268,
269
],
[
268,
270
],
[
271,
271
],
[
271,
272
],
[
271,
273
],
[
261,
274
],
[
274,
275
],
[
274,
276
],
[
276,
277
],
[
254,
278
],
[
278,
279
],
[
123,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
361,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
286,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
290,
296
],
[
296,
297
],
[
286,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
301,
305
],
[
298,
306
],
[
306,
307
],
[
286,
308
],
[
308,
309
],
[
308,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
311,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
318,
320
],
[
311,
321
],
[
321,
322
],
[
322,
323
],
[
311,
324
],
[
325,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
326,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
331,
334
],
[
325,
335
],
[
335,
336
],
[
336,
337
],
[
335,
338
],
[
338,
339
],
[
338,
340
],
[
308,
341
],
[
341,
342
],
[
286,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
345,
349
],
[
349,
350
],
[
350,
351
],
[
343,
352
],
[
352,
353
],
[
286,
354
],
[
354,
355
],
[
354,
356
],
[
356,
357
],
[
357,
358
],
[
358,
359
],
[
0,
360
],
[
360,
361
],
[
360,
362
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.io.BufferedWriter;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultipleOf9 {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n String n = in.nextString();\n long sum = 0;\n for (char ch : n.toCharArray()) {\n sum += ch - '0';\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.io.Writer;",
"Writer",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultipleOf9 {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n String n = in.nextString();\n long sum = 0;\n for (char ch : n.toCharArray()) {\n sum += ch - '0';\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"OutputWriter out = new OutputWriter(outputStream);",
"out",
"new OutputWriter(outputStream)",
"BMultipleOf9 solver = new BMultipleOf9();",
"solver",
"new BMultipleOf9()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class BMultipleOf9 {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n String n = in.nextString();\n long sum = 0;\n for (char ch : n.toCharArray()) {\n sum += ch - '0';\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n }\n\n }",
"BMultipleOf9",
"public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n String n = in.nextString();\n long sum = 0;\n for (char ch : n.toCharArray()) {\n sum += ch - '0';\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n }",
"solve",
"{\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n String n = in.nextString();\n long sum = 0;\n for (char ch : n.toCharArray()) {\n sum += ch - '0';\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n }",
"int ntc = 1;",
"ntc",
"1",
"while ((ntc--) > 0) {\n String n = in.nextString();\n long sum = 0;\n for (char ch : n.toCharArray()) {\n sum += ch - '0';\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }",
"(ntc--) > 0",
"(ntc--)",
"ntc",
"0",
"{\n String n = in.nextString();\n long sum = 0;\n for (char ch : n.toCharArray()) {\n sum += ch - '0';\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }",
"String n = in.nextString();",
"n",
"in.nextString()",
"in.nextString",
"in",
"long sum = 0;",
"sum",
"0",
"for (char ch : n.toCharArray()) {\n sum += ch - '0';\n }",
"char ch",
"n.toCharArray()",
"n.toCharArray",
"n",
"{\n sum += ch - '0';\n }",
"{\n sum += ch - '0';\n }",
"sum += ch - '0'",
"sum",
"ch - '0'",
"ch",
"'0'",
"if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");",
"sum % 9 == 0",
"sum % 9",
"sum",
"9",
"0",
"out.println(\"Yes\")",
"out.println",
"out",
"\"Yes\"",
"out.println(\"No\")",
"out.println",
"out",
"\"No\"",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"OutputWriter out",
"out",
"static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private InputReader.SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"if (numChars == -1) {\n throw new InputMismatchException();\n }",
"numChars == -1",
"numChars",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0) {\n return -1;\n }",
"numChars <= 0",
"numChars",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"nextString",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n }",
"if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }",
"Character.isValidCodePoint(c)",
"Character.isValidCodePoint",
"Character",
"c",
"{\n res.appendCodePoint(c);\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"isSpaceChar",
"{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"if (filter != null) {\n return filter.isSpaceChar(c);\n }",
"filter != null",
"filter",
"null",
"{\n return filter.isSpaceChar(c);\n }",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return isWhitespace(c);",
"isWhitespace(c)",
"isWhitespace",
"c",
"int c",
"c",
"public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isWhitespace",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n }",
"OutputWriter",
"private final PrintWriter writer;",
"writer",
"public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"OutputWriter",
"{\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"writer",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"OutputStream outputStream",
"outputStream",
"public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }",
"OutputWriter",
"{\n this.writer = new PrintWriter(writer);\n }",
"this.writer = new PrintWriter(writer)",
"this.writer",
"this",
"this.writer",
"new PrintWriter(writer)",
"Writer writer",
"writer",
"public void print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }",
"print",
"{\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }",
"for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < objects.length",
"i",
"objects.length",
"objects",
"objects.length",
"++i",
"++i",
"i",
"{\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }",
"{\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }",
"if (i != 0) {\n writer.print(' ');\n }",
"i != 0",
"i",
"0",
"{\n writer.print(' ');\n }",
"writer.print(' ')",
"writer.print",
"writer",
"' '",
"writer.print(objects[i])",
"writer.print",
"writer",
"objects[i]",
"objects",
"i",
"Object... objects",
"objects",
"public void println(Object... objects) {\n print(objects);\n writer.println();\n }",
"println",
"{\n print(objects);\n writer.println();\n }",
"print(objects)",
"print",
"objects",
"writer.println()",
"writer.println",
"writer",
"Object... objects",
"objects",
"public void close() {\n writer.close();\n }",
"close",
"{\n writer.close();\n }",
"writer.close()",
"writer.close",
"writer",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultipleOf9 {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n String n = in.nextString();\n long sum = 0;\n for (char ch : n.toCharArray()) {\n sum += ch - '0';\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultipleOf9 {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n String n = in.nextString();\n long sum = 0;\n for (char ch : n.toCharArray()) {\n sum += ch - '0';\n }\n if (sum % 9 == 0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.BufferedWriter;
import java.io.Writer;
import java.io.OutputStreamWriter;
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 void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
OutputWriter out = new OutputWriter(outputStream);
BMultipleOf9 solver = new BMultipleOf9();
solver.solve(1, in, out);
out.close();
}
static class BMultipleOf9 {
public void solve(int testNumber, InputReader in, OutputWriter out) {
int ntc = 1;
// ntc = in.nextInt();
while ((ntc--) > 0) {
String n = in.nextString();
long sum = 0;
for (char ch : n.toCharArray()) {
sum += ch - '0';
}
if (sum % 9 == 0) out.println("Yes");
else out.println("No");
}
}
}
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private InputReader.SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1) {
throw new InputMismatchException();
}
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0) {
return -1;
}
}
return buf[curChar++];
}
public String nextString() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
StringBuilder res = new StringBuilder();
do {
if (Character.isValidCodePoint(c)) {
res.appendCodePoint(c);
}
c = read();
} while (!isSpaceChar(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
if (filter != null) {
return filter.isSpaceChar(c);
}
return isWhitespace(c);
}
public static boolean isWhitespace(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
static class OutputWriter {
private final PrintWriter writer;
public OutputWriter(OutputStream outputStream) {
writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));
}
public OutputWriter(Writer writer) {
this.writer = new PrintWriter(writer);
}
public void print(Object... objects) {
for (int i = 0; i < objects.length; ++i) {
if (i != 0) {
writer.print(' ');
}
writer.print(objects[i]);
}
}
public void println(Object... objects) {
print(objects);
writer.println();
}
public void close() {
writer.close();
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
20,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
47,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
47,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.nextLine();\n\t\tint total = 0;\n\t\tfor (int i = 0;i< n.length();i++) {\n\t\t\ttotal += Integer.parseInt(Character.toString(n.charAt(i)));\n\t\t}\n\t\tif(total % 9 ==0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}else {\n\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t\t\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.nextLine();\n\t\tint total = 0;\n\t\tfor (int i = 0;i< n.length();i++) {\n\t\t\ttotal += Integer.parseInt(Character.toString(n.charAt(i)));\n\t\t}\n\t\tif(total % 9 ==0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}else {\n\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.nextLine();\n\t\tint total = 0;\n\t\tfor (int i = 0;i< n.length();i++) {\n\t\t\ttotal += Integer.parseInt(Character.toString(n.charAt(i)));\n\t\t}\n\t\tif(total % 9 ==0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}else {\n\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.nextLine();\n\t\tint total = 0;\n\t\tfor (int i = 0;i< n.length();i++) {\n\t\t\ttotal += Integer.parseInt(Character.toString(n.charAt(i)));\n\t\t}\n\t\tif(total % 9 ==0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}else {\n\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String n = sc.nextLine();",
"n",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int total = 0;",
"total",
"0",
"for (int i = 0;i< n.length();i++) {\n\t\t\ttotal += Integer.parseInt(Character.toString(n.charAt(i)));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i< n.length()",
"i",
"n.length()",
"n.length",
"n",
"i++",
"i++",
"i",
"{\n\t\t\ttotal += Integer.parseInt(Character.toString(n.charAt(i)));\n\t\t}",
"{\n\t\t\ttotal += Integer.parseInt(Character.toString(n.charAt(i)));\n\t\t}",
"total += Integer.parseInt(Character.toString(n.charAt(i)))",
"total",
"Integer.parseInt(Character.toString(n.charAt(i)))",
"Integer.parseInt",
"Integer",
"Character.toString(n.charAt(i))",
"Character.toString",
"Character",
"n.charAt(i)",
"n.charAt",
"n",
"i",
"if(total % 9 ==0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}else {\n\n\t\t\tSystem.out.print(\"No\");\n\t\t}",
"total % 9 ==0",
"total % 9",
"total",
"9",
"0",
"{\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}",
"System.out.print(\"Yes\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n\n\t\t\tSystem.out.print(\"No\");\n\t\t}",
"System.out.print(\"No\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.nextLine();\n\t\tint total = 0;\n\t\tfor (int i = 0;i< n.length();i++) {\n\t\t\ttotal += Integer.parseInt(Character.toString(n.charAt(i)));\n\t\t}\n\t\tif(total % 9 ==0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}else {\n\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.nextLine();\n\t\tint total = 0;\n\t\tfor (int i = 0;i< n.length();i++) {\n\t\t\ttotal += Integer.parseInt(Character.toString(n.charAt(i)));\n\t\t}\n\t\tif(total % 9 ==0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}else {\n\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t\t\n\t}\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String n = sc.nextLine();
int total = 0;
for (int i = 0;i< n.length();i++) {
total += Integer.parseInt(Character.toString(n.charAt(i)));
}
if(total % 9 ==0) {
System.out.print("Yes");
}else {
System.out.print("No");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
13,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
18,
13,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
126,
5
],
[
126,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
26,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
8,
49
],
[
49,
50
],
[
49,
51
],
[
52,
53
],
[
53,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
55,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
77,
79
],
[
8,
80
],
[
80,
81
],
[
80,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
83,
93
],
[
93,
94
],
[
94,
95
],
[
83,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
8,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
103,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
103,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
6,
123
],
[
123,
124
],
[
0,
125
],
[
125,
126
],
[
125,
127
]
]
| [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String N = sc.next();\n\n //ๆๅญๅ\n String strN = N;\n\n char[] NChar = new char[strN.length()];\n for(int i = 0; i<strN.length(); i++){\n NChar[i] = strN.charAt(i);\n //System.out.println(NChar[i]);\n }\n\n int[] Nint = new int[strN.length()];\n for(int j = 0; j<strN.length(); j++){\n Nint[j] = Character.getNumericValue(NChar[j]);\n //Nint[j] = NChar[j];\n //System.out.println(Nint[j]);\n }\n\n\n //ใใใใ่จ็ฎ\n int sum = 0;\n //System.out.println(Nint.length);\n for(int k = 0;k<Nint.length; k++){\n sum += Nint[k];\n }\n\n if(sum % 9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String N = sc.next();\n\n //ๆๅญๅ\n String strN = N;\n\n char[] NChar = new char[strN.length()];\n for(int i = 0; i<strN.length(); i++){\n NChar[i] = strN.charAt(i);\n //System.out.println(NChar[i]);\n }\n\n int[] Nint = new int[strN.length()];\n for(int j = 0; j<strN.length(); j++){\n Nint[j] = Character.getNumericValue(NChar[j]);\n //Nint[j] = NChar[j];\n //System.out.println(Nint[j]);\n }\n\n\n //ใใใใ่จ็ฎ\n int sum = 0;\n //System.out.println(Nint.length);\n for(int k = 0;k<Nint.length; k++){\n sum += Nint[k];\n }\n\n if(sum % 9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n \n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String N = sc.next();\n\n //ๆๅญๅ\n String strN = N;\n\n char[] NChar = new char[strN.length()];\n for(int i = 0; i<strN.length(); i++){\n NChar[i] = strN.charAt(i);\n //System.out.println(NChar[i]);\n }\n\n int[] Nint = new int[strN.length()];\n for(int j = 0; j<strN.length(); j++){\n Nint[j] = Character.getNumericValue(NChar[j]);\n //Nint[j] = NChar[j];\n //System.out.println(Nint[j]);\n }\n\n\n //ใใใใ่จ็ฎ\n int sum = 0;\n //System.out.println(Nint.length);\n for(int k = 0;k<Nint.length; k++){\n sum += Nint[k];\n }\n\n if(sum % 9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n String N = sc.next();\n\n //ๆๅญๅ\n String strN = N;\n\n char[] NChar = new char[strN.length()];\n for(int i = 0; i<strN.length(); i++){\n NChar[i] = strN.charAt(i);\n //System.out.println(NChar[i]);\n }\n\n int[] Nint = new int[strN.length()];\n for(int j = 0; j<strN.length(); j++){\n Nint[j] = Character.getNumericValue(NChar[j]);\n //Nint[j] = NChar[j];\n //System.out.println(Nint[j]);\n }\n\n\n //ใใใใ่จ็ฎ\n int sum = 0;\n //System.out.println(Nint.length);\n for(int k = 0;k<Nint.length; k++){\n sum += Nint[k];\n }\n\n if(sum % 9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String N = sc.next();",
"N",
"sc.next()",
"sc.next",
"sc",
"String strN = N;",
"strN",
"N",
"char[] NChar = new char[strN.length()];",
"NChar",
"new char[strN.length()]",
"strN.length()",
"strN.length",
"strN",
"for(int i = 0; i<strN.length(); i++){\n NChar[i] = strN.charAt(i);\n //System.out.println(NChar[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<strN.length()",
"i",
"strN.length()",
"strN.length",
"strN",
"i++",
"i++",
"i",
"{\n NChar[i] = strN.charAt(i);\n //System.out.println(NChar[i]);\n }",
"{\n NChar[i] = strN.charAt(i);\n //System.out.println(NChar[i]);\n }",
"NChar[i] = strN.charAt(i)",
"NChar[i]",
"NChar",
"i",
"strN.charAt(i)",
"strN.charAt",
"strN",
"i",
"int[] Nint = new int[strN.length()];",
"Nint",
"new int[strN.length()]",
"strN.length()",
"strN.length",
"strN",
"for(int j = 0; j<strN.length(); j++){\n Nint[j] = Character.getNumericValue(NChar[j]);\n //Nint[j] = NChar[j];\n //System.out.println(Nint[j]);\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j<strN.length()",
"j",
"strN.length()",
"strN.length",
"strN",
"j++",
"j++",
"j",
"{\n Nint[j] = Character.getNumericValue(NChar[j]);\n //Nint[j] = NChar[j];\n //System.out.println(Nint[j]);\n }",
"{\n Nint[j] = Character.getNumericValue(NChar[j]);\n //Nint[j] = NChar[j];\n //System.out.println(Nint[j]);\n }",
"Nint[j] = Character.getNumericValue(NChar[j])",
"Nint[j]",
"Nint",
"j",
"Character.getNumericValue(NChar[j])",
"Character.getNumericValue",
"Character",
"NChar[j]",
"NChar",
"j",
"int sum = 0;",
"sum",
"0",
"for(int k = 0;k<Nint.length; k++){\n sum += Nint[k];\n }",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k<Nint.length",
"k",
"Nint.length",
"Nint",
"Nint.length",
"k++",
"k++",
"k",
"{\n sum += Nint[k];\n }",
"{\n sum += Nint[k];\n }",
"sum += Nint[k]",
"sum",
"Nint[k]",
"Nint",
"k",
"if(sum % 9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }",
"sum % 9 == 0",
"sum % 9",
"sum",
"9",
"0",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String N = sc.next();\n\n //ๆๅญๅ\n String strN = N;\n\n char[] NChar = new char[strN.length()];\n for(int i = 0; i<strN.length(); i++){\n NChar[i] = strN.charAt(i);\n //System.out.println(NChar[i]);\n }\n\n int[] Nint = new int[strN.length()];\n for(int j = 0; j<strN.length(); j++){\n Nint[j] = Character.getNumericValue(NChar[j]);\n //Nint[j] = NChar[j];\n //System.out.println(Nint[j]);\n }\n\n\n //ใใใใ่จ็ฎ\n int sum = 0;\n //System.out.println(Nint.length);\n for(int k = 0;k<Nint.length; k++){\n sum += Nint[k];\n }\n\n if(sum % 9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n \n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String N = sc.next();\n\n //ๆๅญๅ\n String strN = N;\n\n char[] NChar = new char[strN.length()];\n for(int i = 0; i<strN.length(); i++){\n NChar[i] = strN.charAt(i);\n //System.out.println(NChar[i]);\n }\n\n int[] Nint = new int[strN.length()];\n for(int j = 0; j<strN.length(); j++){\n Nint[j] = Character.getNumericValue(NChar[j]);\n //Nint[j] = NChar[j];\n //System.out.println(Nint[j]);\n }\n\n\n //ใใใใ่จ็ฎ\n int sum = 0;\n //System.out.println(Nint.length);\n for(int k = 0;k<Nint.length; k++){\n sum += Nint[k];\n }\n\n if(sum % 9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n \n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String N = sc.next();
//ๆๅญๅ
String strN = N;
char[] NChar = new char[strN.length()];
for(int i = 0; i<strN.length(); i++){
NChar[i] = strN.charAt(i);
//System.out.println(NChar[i]);
}
int[] Nint = new int[strN.length()];
for(int j = 0; j<strN.length(); j++){
Nint[j] = Character.getNumericValue(NChar[j]);
//Nint[j] = NChar[j];
//System.out.println(Nint[j]);
}
//ใใใใ่จ็ฎ
int sum = 0;
//System.out.println(Nint.length);
for(int k = 0;k<Nint.length; k++){
sum += Nint[k];
}
if(sum % 9 == 0){
System.out.println("Yes");
}
else{
System.out.println("No");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
18,
13,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
48,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString s = scan.next();\n\n\t\tchar[] a = s.toCharArray();\n\t\tint total = 0;\n\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\ttotal += Character.getNumericValue(a[i]);\n\t\t}\n\n\t\tif(total%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString s = scan.next();\n\n\t\tchar[] a = s.toCharArray();\n\t\tint total = 0;\n\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\ttotal += Character.getNumericValue(a[i]);\n\t\t}\n\n\t\tif(total%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString s = scan.next();\n\n\t\tchar[] a = s.toCharArray();\n\t\tint total = 0;\n\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\ttotal += Character.getNumericValue(a[i]);\n\t\t}\n\n\t\tif(total%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}",
"main",
"{\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString s = scan.next();\n\n\t\tchar[] a = s.toCharArray();\n\t\tint total = 0;\n\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\ttotal += Character.getNumericValue(a[i]);\n\t\t}\n\n\t\tif(total%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s = scan.next();",
"s",
"scan.next()",
"scan.next",
"scan",
"char[] a = s.toCharArray();",
"a",
"s.toCharArray()",
"s.toCharArray",
"s",
"int total = 0;",
"total",
"0",
"for(int i=0;i<a.length;i++) {\n\t\t\ttotal += Character.getNumericValue(a[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n\t\t\ttotal += Character.getNumericValue(a[i]);\n\t\t}",
"{\n\t\t\ttotal += Character.getNumericValue(a[i]);\n\t\t}",
"total += Character.getNumericValue(a[i])",
"total",
"Character.getNumericValue(a[i])",
"Character.getNumericValue",
"Character",
"a[i]",
"a",
"i",
"if(total%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"total%9==0",
"total%9",
"total",
"9",
"0",
"{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString s = scan.next();\n\n\t\tchar[] a = s.toCharArray();\n\t\tint total = 0;\n\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\ttotal += Character.getNumericValue(a[i]);\n\t\t}\n\n\t\tif(total%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString s = scan.next();\n\n\t\tchar[] a = s.toCharArray();\n\t\tint total = 0;\n\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\ttotal += Character.getNumericValue(a[i]);\n\t\t}\n\n\t\tif(total%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ่ชๅ็ๆใใใใกใฝใใใปในใฟใ
Scanner scan = new Scanner(System.in);
String s = scan.next();
char[] a = s.toCharArray();
int total = 0;
for(int i=0;i<a.length;i++) {
total += Character.getNumericValue(a[i]);
}
if(total%9==0) {
System.out.println("Yes");
}else {
System.out.println("No");
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.