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,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
13,
13,
41,
13,
4,
13,
13,
41,
13,
4,
18,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
18,
13,
13,
41,
13,
20,
18,
13,
13,
29,
4,
13,
13,
13,
13,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
18,
13,
13,
30,
4,
18,
13,
4,
18,
13,
29,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
18,
13,
13,
30,
9,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
17,
0,
13,
4,
13,
13,
13,
13,
13,
2,
13,
17,
0,
18,
13,
13,
17,
29,
13,
23,
13,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
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,
18,
13,
13,
29,
13,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
299,
14
],
[
299,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
17,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
15,
51
],
[
51,
52
],
[
299,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
61,
62
],
[
53,
63
],
[
63,
64
],
[
299,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
74,
75
],
[
74,
76
],
[
67,
77
],
[
77,
78
],
[
77,
79
],
[
80,
81
],
[
80,
82
],
[
67,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
84,
87
],
[
84,
88
],
[
84,
89
],
[
84,
90
],
[
65,
91
],
[
91,
92
],
[
299,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
99,
101
],
[
96,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
106,
107
],
[
107,
108
],
[
102,
109
],
[
109,
110
],
[
95,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
111,
121
],
[
121,
122
],
[
122,
123
],
[
111,
124
],
[
125,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
125,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
136,
137
],
[
136,
138
],
[
125,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
125,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
146,
148
],
[
146,
149
],
[
146,
150
],
[
146,
151
],
[
146,
152
],
[
152,
153
],
[
152,
154
],
[
125,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
95,
160
],
[
160,
161
],
[
93,
162
],
[
162,
163
],
[
93,
164
],
[
164,
165
],
[
93,
166
],
[
166,
167
],
[
93,
168
],
[
168,
169
],
[
93,
170
],
[
170,
171
],
[
299,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
176,
179
],
[
179,
180
],
[
180,
181
],
[
172,
182
],
[
182,
183
],
[
299,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
188,
191
],
[
191,
192
],
[
192,
193
],
[
184,
194
],
[
194,
195
],
[
299,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
196,
203
],
[
203,
204
],
[
299,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
212,
215
],
[
211,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
207,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
225,
226
],
[
224,
227
],
[
207,
228
],
[
228,
229
],
[
228,
230
],
[
231,
232
],
[
231,
233
],
[
207,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
234,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
241,
243
],
[
234,
244
],
[
244,
245
],
[
245,
246
],
[
234,
247
],
[
248,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
249,
253
],
[
253,
254
],
[
254,
255
],
[
253,
256
],
[
256,
257
],
[
256,
258
],
[
207,
259
],
[
259,
260
],
[
205,
261
],
[
261,
262
],
[
0,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
265,
267
],
[
263,
268
],
[
268,
269
],
[
268,
270
],
[
263,
271
],
[
271,
272
],
[
271,
273
],
[
263,
274
],
[
274,
275
],
[
274,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
281
],
[
276,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
276,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
287,
291
],
[
274,
292
],
[
292,
293
],
[
274,
294
],
[
294,
295
],
[
274,
296
],
[
296,
297
],
[
0,
298
],
[
298,
299
],
[
298,
300
]
] |
[
"import java.math.BigDecimal;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = getLong(sc);\n\t\tdouble b = getDouble(sc);\n\n\t\tBigDecimal bd = BigDecimal.valueOf(a).multiply(BigDecimal.valueOf(b));\n\t\tSystem.out.println(bd.longValue());\n\t}\n\n\tprivate static double getDouble(Scanner sc) {\n\n\t\treturn Double.parseDouble(sc.next());\n\t}\n\n\t/**\n\t * *汎用メソッド<br>\n\t * 入力した配列に対する順列を取得\n\t *\n\t * @param numArray\n\t * @return\n\t */\n\tprivate static List<Integer[]> getPermutation(int[] numArray) {\n\t\tList<Integer[]> permutation = new ArrayList<>();\n\t\tInteger[] ans = new Integer[numArray.length];\n\t\tboolean[] used = new boolean[numArray.length];\n\n\t\treturn buildPermutaion(permutation, numArray, ans, used, 0);\n\t}\n\n\t/**\n\t * *汎用メソッド(内部)<br>\n\t * 入力した配列に対する順列を作成\n\t *\n\t * @param list\n\t * @param numArray\n\t * @param ans\n\t * @param used\n\t * @param depth\n\t * @return\n\t */\n\tprivate static List<Integer[]> buildPermutaion(List<Integer[]> list, int[] numArray, Integer[] ans, boolean[] used,\n\t\t\tint depth) {\n\n\t\t// 全部使い切った時=>できた順列を返す\n\t\tif (depth == numArray.length) {\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}\n\t\t// 使い切っていない場合\n\n\t\tfor (int i = 0; i < numArray.length; i++) {\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n\n\t\t\tused[i] = false;\n\t\t}\n\n\t\treturn list;\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をlongで返却\n\t *\n\t * @return\n\t */\n\tpublic static long getLong(Scanner sc) {\n\n\t\treturn Long.parseLong(sc.next());\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をintで返却\n\t *\n\t * @return\n\t */\n\tpublic static int getInt(Scanner sc) {\n\n\t\treturn Integer.parseInt(sc.next());\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をStringで返却\n\t *\n\t * @return\n\t */\n\tpublic static String getString(Scanner sc) {\n\n\t\treturn sc.next();\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をint配列で返却\n\t *\n\t * @return\n\t */\n\tpublic static int[] getIntArray(Scanner sc) {\n\t\tString line = \"\";\n\t\t// 直前にnext()を実行していると改行コードだけ取ってしまうのでその対策\n\t\twhile (line.equals(\"\")) {\n\t\t\tline = sc.nextLine();\n\t\t}\n\n\t\tString[] strArray = line.split(\" \");\n\t\tint[] intArray = new int[strArray.length];\n\t\tfor (int i = 0; i < strArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n\n}\n\nclass Status {\n\tint row = 0;\n\tint col = 0;\n\tint candies = 0;\n\n\tpublic Status(int row, int col, int candies) {\n\t\tthis.row = row;\n\t\tthis.col = col;\n\t\tthis.candies = candies;\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"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\tlong a = getLong(sc);\n\t\tdouble b = getDouble(sc);\n\n\t\tBigDecimal bd = BigDecimal.valueOf(a).multiply(BigDecimal.valueOf(b));\n\t\tSystem.out.println(bd.longValue());\n\t}\n\n\tprivate static double getDouble(Scanner sc) {\n\n\t\treturn Double.parseDouble(sc.next());\n\t}\n\n\t/**\n\t * *汎用メソッド<br>\n\t * 入力した配列に対する順列を取得\n\t *\n\t * @param numArray\n\t * @return\n\t */\n\tprivate static List<Integer[]> getPermutation(int[] numArray) {\n\t\tList<Integer[]> permutation = new ArrayList<>();\n\t\tInteger[] ans = new Integer[numArray.length];\n\t\tboolean[] used = new boolean[numArray.length];\n\n\t\treturn buildPermutaion(permutation, numArray, ans, used, 0);\n\t}\n\n\t/**\n\t * *汎用メソッド(内部)<br>\n\t * 入力した配列に対する順列を作成\n\t *\n\t * @param list\n\t * @param numArray\n\t * @param ans\n\t * @param used\n\t * @param depth\n\t * @return\n\t */\n\tprivate static List<Integer[]> buildPermutaion(List<Integer[]> list, int[] numArray, Integer[] ans, boolean[] used,\n\t\t\tint depth) {\n\n\t\t// 全部使い切った時=>できた順列を返す\n\t\tif (depth == numArray.length) {\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}\n\t\t// 使い切っていない場合\n\n\t\tfor (int i = 0; i < numArray.length; i++) {\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n\n\t\t\tused[i] = false;\n\t\t}\n\n\t\treturn list;\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をlongで返却\n\t *\n\t * @return\n\t */\n\tpublic static long getLong(Scanner sc) {\n\n\t\treturn Long.parseLong(sc.next());\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をintで返却\n\t *\n\t * @return\n\t */\n\tpublic static int getInt(Scanner sc) {\n\n\t\treturn Integer.parseInt(sc.next());\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をStringで返却\n\t *\n\t * @return\n\t */\n\tpublic static String getString(Scanner sc) {\n\n\t\treturn sc.next();\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をint配列で返却\n\t *\n\t * @return\n\t */\n\tpublic static int[] getIntArray(Scanner sc) {\n\t\tString line = \"\";\n\t\t// 直前にnext()を実行していると改行コードだけ取ってしまうのでその対策\n\t\twhile (line.equals(\"\")) {\n\t\t\tline = sc.nextLine();\n\t\t}\n\n\t\tString[] strArray = line.split(\" \");\n\t\tint[] intArray = new int[strArray.length];\n\t\tfor (int i = 0; i < strArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = getLong(sc);\n\t\tdouble b = getDouble(sc);\n\n\t\tBigDecimal bd = BigDecimal.valueOf(a).multiply(BigDecimal.valueOf(b));\n\t\tSystem.out.println(bd.longValue());\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = getLong(sc);\n\t\tdouble b = getDouble(sc);\n\n\t\tBigDecimal bd = BigDecimal.valueOf(a).multiply(BigDecimal.valueOf(b));\n\t\tSystem.out.println(bd.longValue());\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = getLong(sc);",
"a",
"getLong(sc)",
"getLong",
"sc",
"double b = getDouble(sc);",
"b",
"getDouble(sc)",
"getDouble",
"sc",
"BigDecimal bd = BigDecimal.valueOf(a).multiply(BigDecimal.valueOf(b));",
"bd",
"BigDecimal.valueOf(a).multiply(BigDecimal.valueOf(b))",
"BigDecimal.valueOf(a).multiply",
"BigDecimal.valueOf(a)",
"BigDecimal.valueOf",
"BigDecimal",
"a",
"BigDecimal.valueOf(b)",
"BigDecimal.valueOf",
"BigDecimal",
"b",
"System.out.println(bd.longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"bd.longValue()",
"bd.longValue",
"bd",
"String[] args",
"args",
"private static double getDouble(Scanner sc) {\n\n\t\treturn Double.parseDouble(sc.next());\n\t}",
"getDouble",
"{\n\n\t\treturn Double.parseDouble(sc.next());\n\t}",
"return Double.parseDouble(sc.next());",
"Double.parseDouble(sc.next())",
"Double.parseDouble",
"Double",
"sc.next()",
"sc.next",
"sc",
"Scanner sc",
"sc",
"/**\n\t * *汎用メソッド<br>\n\t * 入力した配列に対する順列を取得\n\t *\n\t * @param numArray\n\t * @return\n\t */\n\tprivate static List<Integer[]> getPermutation(int[] numArray) {\n\t\tList<Integer[]> permutation = new ArrayList<>();\n\t\tInteger[] ans = new Integer[numArray.length];\n\t\tboolean[] used = new boolean[numArray.length];\n\n\t\treturn buildPermutaion(permutation, numArray, ans, used, 0);\n\t}",
"getPermutation",
"{\n\t\tList<Integer[]> permutation = new ArrayList<>();\n\t\tInteger[] ans = new Integer[numArray.length];\n\t\tboolean[] used = new boolean[numArray.length];\n\n\t\treturn buildPermutaion(permutation, numArray, ans, used, 0);\n\t}",
"List<Integer[]> permutation = new ArrayList<>();",
"permutation",
"new ArrayList<>()",
"Integer[] ans = new Integer[numArray.length];",
"ans",
"new Integer[numArray.length]",
"numArray.length",
"numArray",
"numArray.length",
"boolean[] used = new boolean[numArray.length];",
"used",
"new boolean[numArray.length]",
"numArray.length",
"numArray",
"numArray.length",
"return buildPermutaion(permutation, numArray, ans, used, 0);",
"buildPermutaion(permutation, numArray, ans, used, 0)",
"buildPermutaion",
"permutation",
"numArray",
"ans",
"used",
"0",
"int[] numArray",
"numArray",
"/**\n\t * *汎用メソッド(内部)<br>\n\t * 入力した配列に対する順列を作成\n\t *\n\t * @param list\n\t * @param numArray\n\t * @param ans\n\t * @param used\n\t * @param depth\n\t * @return\n\t */\n\tprivate static List<Integer[]> buildPermutaion(List<Integer[]> list, int[] numArray, Integer[] ans, boolean[] used,\n\t\t\tint depth) {\n\n\t\t// 全部使い切った時=>できた順列を返す\n\t\tif (depth == numArray.length) {\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}\n\t\t// 使い切っていない場合\n\n\t\tfor (int i = 0; i < numArray.length; i++) {\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n\n\t\t\tused[i] = false;\n\t\t}\n\n\t\treturn list;\n\t}",
"buildPermutaion",
"{\n\n\t\t// 全部使い切った時=>できた順列を返す\n\t\tif (depth == numArray.length) {\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}\n\t\t// 使い切っていない場合\n\n\t\tfor (int i = 0; i < numArray.length; i++) {\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n\n\t\t\tused[i] = false;\n\t\t}\n\n\t\treturn list;\n\t}",
"if (depth == numArray.length) {\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}",
"depth == numArray.length",
"depth",
"numArray.length",
"numArray",
"numArray.length",
"{\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}",
"list.add(ans.clone())",
"list.add",
"list",
"ans.clone()",
"ans.clone",
"ans",
"return list;",
"list",
"for (int i = 0; i < numArray.length; i++) {\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n\n\t\t\tused[i] = false;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < numArray.length",
"i",
"numArray.length",
"numArray",
"numArray.length",
"i++",
"i++",
"i",
"{\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n\n\t\t\tused[i] = false;\n\t\t}",
"{\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n\n\t\t\tused[i] = false;\n\t\t}",
"if (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}",
"used[i]",
"used",
"i",
"{\n\t\t\t\tcontinue;\n\t\t\t}",
"continue;",
"ans[depth] = numArray[i]",
"ans[depth]",
"ans",
"depth",
"numArray[i]",
"numArray",
"i",
"used[i] = true",
"used[i]",
"used",
"i",
"true",
"list = buildPermutaion(list, numArray, ans, used, depth + 1)",
"list",
"buildPermutaion(list, numArray, ans, used, depth + 1)",
"buildPermutaion",
"list",
"numArray",
"ans",
"used",
"depth + 1",
"depth",
"1",
"used[i] = false",
"used[i]",
"used",
"i",
"false",
"return list;",
"list",
"List<Integer[]> list",
"list",
"int[] numArray",
"numArray",
"Integer[] ans",
"ans",
"boolean[] used",
"used",
"int depth",
"depth",
"/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をlongで返却\n\t *\n\t * @return\n\t */\n\tpublic static long getLong(Scanner sc) {\n\n\t\treturn Long.parseLong(sc.next());\n\t}",
"getLong",
"{\n\n\t\treturn Long.parseLong(sc.next());\n\t}",
"return Long.parseLong(sc.next());",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"Scanner sc",
"sc",
"/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をintで返却\n\t *\n\t * @return\n\t */\n\tpublic static int getInt(Scanner sc) {\n\n\t\treturn Integer.parseInt(sc.next());\n\t}",
"getInt",
"{\n\n\t\treturn Integer.parseInt(sc.next());\n\t}",
"return Integer.parseInt(sc.next());",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"Scanner sc",
"sc",
"/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をStringで返却\n\t *\n\t * @return\n\t */\n\tpublic static String getString(Scanner sc) {\n\n\t\treturn sc.next();\n\t}",
"getString",
"{\n\n\t\treturn sc.next();\n\t}",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"Scanner sc",
"sc",
"/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をint配列で返却\n\t *\n\t * @return\n\t */\n\tpublic static int[] getIntArray(Scanner sc) {\n\t\tString line = \"\";\n\t\t// 直前にnext()を実行していると改行コードだけ取ってしまうのでその対策\n\t\twhile (line.equals(\"\")) {\n\t\t\tline = sc.nextLine();\n\t\t}\n\n\t\tString[] strArray = line.split(\" \");\n\t\tint[] intArray = new int[strArray.length];\n\t\tfor (int i = 0; i < strArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}",
"getIntArray",
"{\n\t\tString line = \"\";\n\t\t// 直前にnext()を実行していると改行コードだけ取ってしまうのでその対策\n\t\twhile (line.equals(\"\")) {\n\t\t\tline = sc.nextLine();\n\t\t}\n\n\t\tString[] strArray = line.split(\" \");\n\t\tint[] intArray = new int[strArray.length];\n\t\tfor (int i = 0; i < strArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}",
"String line = \"\";",
"line",
"\"\"",
"while (line.equals(\"\")) {\n\t\t\tline = sc.nextLine();\n\t\t}",
"line.equals(\"\")",
"line.equals",
"line",
"\"\"",
"{\n\t\t\tline = sc.nextLine();\n\t\t}",
"line = sc.nextLine()",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] strArray = line.split(\" \");",
"strArray",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int[] intArray = new int[strArray.length];",
"intArray",
"new int[strArray.length]",
"strArray.length",
"strArray",
"strArray.length",
"for (int i = 0; i < strArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < strArray.length",
"i",
"strArray.length",
"strArray",
"strArray.length",
"i++",
"i++",
"i",
"{\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}",
"{\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}",
"intArray[i] = Integer.parseInt(strArray[i])",
"intArray[i]",
"intArray",
"i",
"Integer.parseInt(strArray[i])",
"Integer.parseInt",
"Integer",
"strArray[i]",
"strArray",
"i",
"return intArray;",
"intArray",
"Scanner sc",
"sc",
"class Status {\n\tint row = 0;\n\tint col = 0;\n\tint candies = 0;\n\n\tpublic Status(int row, int col, int candies) {\n\t\tthis.row = row;\n\t\tthis.col = col;\n\t\tthis.candies = candies;\n\t}\n}",
"Status",
"int row = 0;",
"row",
"0",
"int col = 0;",
"col",
"0",
"int candies = 0;",
"candies",
"0",
"public Status(int row, int col, int candies) {\n\t\tthis.row = row;\n\t\tthis.col = col;\n\t\tthis.candies = candies;\n\t}",
"Status",
"{\n\t\tthis.row = row;\n\t\tthis.col = col;\n\t\tthis.candies = candies;\n\t}",
"this.row = row",
"this.row",
"this",
"this.row",
"row",
"this.col = col",
"this.col",
"this",
"this.col",
"col",
"this.candies = candies",
"this.candies",
"this",
"this.candies",
"candies",
"int row",
"row",
"int col",
"col",
"int candies",
"candies",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = getLong(sc);\n\t\tdouble b = getDouble(sc);\n\n\t\tBigDecimal bd = BigDecimal.valueOf(a).multiply(BigDecimal.valueOf(b));\n\t\tSystem.out.println(bd.longValue());\n\t}\n\n\tprivate static double getDouble(Scanner sc) {\n\n\t\treturn Double.parseDouble(sc.next());\n\t}\n\n\t/**\n\t * *汎用メソッド<br>\n\t * 入力した配列に対する順列を取得\n\t *\n\t * @param numArray\n\t * @return\n\t */\n\tprivate static List<Integer[]> getPermutation(int[] numArray) {\n\t\tList<Integer[]> permutation = new ArrayList<>();\n\t\tInteger[] ans = new Integer[numArray.length];\n\t\tboolean[] used = new boolean[numArray.length];\n\n\t\treturn buildPermutaion(permutation, numArray, ans, used, 0);\n\t}\n\n\t/**\n\t * *汎用メソッド(内部)<br>\n\t * 入力した配列に対する順列を作成\n\t *\n\t * @param list\n\t * @param numArray\n\t * @param ans\n\t * @param used\n\t * @param depth\n\t * @return\n\t */\n\tprivate static List<Integer[]> buildPermutaion(List<Integer[]> list, int[] numArray, Integer[] ans, boolean[] used,\n\t\t\tint depth) {\n\n\t\t// 全部使い切った時=>できた順列を返す\n\t\tif (depth == numArray.length) {\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}\n\t\t// 使い切っていない場合\n\n\t\tfor (int i = 0; i < numArray.length; i++) {\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n\n\t\t\tused[i] = false;\n\t\t}\n\n\t\treturn list;\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をlongで返却\n\t *\n\t * @return\n\t */\n\tpublic static long getLong(Scanner sc) {\n\n\t\treturn Long.parseLong(sc.next());\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をintで返却\n\t *\n\t * @return\n\t */\n\tpublic static int getInt(Scanner sc) {\n\n\t\treturn Integer.parseInt(sc.next());\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をStringで返却\n\t *\n\t * @return\n\t */\n\tpublic static String getString(Scanner sc) {\n\n\t\treturn sc.next();\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をint配列で返却\n\t *\n\t * @return\n\t */\n\tpublic static int[] getIntArray(Scanner sc) {\n\t\tString line = \"\";\n\t\t// 直前にnext()を実行していると改行コードだけ取ってしまうのでその対策\n\t\twhile (line.equals(\"\")) {\n\t\t\tline = sc.nextLine();\n\t\t}\n\n\t\tString[] strArray = line.split(\" \");\n\t\tint[] intArray = new int[strArray.length];\n\t\tfor (int i = 0; i < strArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\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\tlong a = getLong(sc);\n\t\tdouble b = getDouble(sc);\n\n\t\tBigDecimal bd = BigDecimal.valueOf(a).multiply(BigDecimal.valueOf(b));\n\t\tSystem.out.println(bd.longValue());\n\t}\n\n\tprivate static double getDouble(Scanner sc) {\n\n\t\treturn Double.parseDouble(sc.next());\n\t}\n\n\t/**\n\t * *汎用メソッド<br>\n\t * 入力した配列に対する順列を取得\n\t *\n\t * @param numArray\n\t * @return\n\t */\n\tprivate static List<Integer[]> getPermutation(int[] numArray) {\n\t\tList<Integer[]> permutation = new ArrayList<>();\n\t\tInteger[] ans = new Integer[numArray.length];\n\t\tboolean[] used = new boolean[numArray.length];\n\n\t\treturn buildPermutaion(permutation, numArray, ans, used, 0);\n\t}\n\n\t/**\n\t * *汎用メソッド(内部)<br>\n\t * 入力した配列に対する順列を作成\n\t *\n\t * @param list\n\t * @param numArray\n\t * @param ans\n\t * @param used\n\t * @param depth\n\t * @return\n\t */\n\tprivate static List<Integer[]> buildPermutaion(List<Integer[]> list, int[] numArray, Integer[] ans, boolean[] used,\n\t\t\tint depth) {\n\n\t\t// 全部使い切った時=>できた順列を返す\n\t\tif (depth == numArray.length) {\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}\n\t\t// 使い切っていない場合\n\n\t\tfor (int i = 0; i < numArray.length; i++) {\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n\n\t\t\tused[i] = false;\n\t\t}\n\n\t\treturn list;\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をlongで返却\n\t *\n\t * @return\n\t */\n\tpublic static long getLong(Scanner sc) {\n\n\t\treturn Long.parseLong(sc.next());\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をintで返却\n\t *\n\t * @return\n\t */\n\tpublic static int getInt(Scanner sc) {\n\n\t\treturn Integer.parseInt(sc.next());\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をStringで返却\n\t *\n\t * @return\n\t */\n\tpublic static String getString(Scanner sc) {\n\n\t\treturn sc.next();\n\t}\n\n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をint配列で返却\n\t *\n\t * @return\n\t */\n\tpublic static int[] getIntArray(Scanner sc) {\n\t\tString line = \"\";\n\t\t// 直前にnext()を実行していると改行コードだけ取ってしまうのでその対策\n\t\twhile (line.equals(\"\")) {\n\t\t\tline = sc.nextLine();\n\t\t}\n\n\t\tString[] strArray = line.split(\" \");\n\t\tint[] intArray = new int[strArray.length];\n\t\tfor (int i = 0; i < strArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = getLong(sc);
double b = getDouble(sc);
BigDecimal bd = BigDecimal.valueOf(a).multiply(BigDecimal.valueOf(b));
System.out.println(bd.longValue());
}
private static double getDouble(Scanner sc) {
return Double.parseDouble(sc.next());
}
/**
* *汎用メソッド<br>
* 入力した配列に対する順列を取得
*
* @param numArray
* @return
*/
private static List<Integer[]> getPermutation(int[] numArray) {
List<Integer[]> permutation = new ArrayList<>();
Integer[] ans = new Integer[numArray.length];
boolean[] used = new boolean[numArray.length];
return buildPermutaion(permutation, numArray, ans, used, 0);
}
/**
* *汎用メソッド(内部)<br>
* 入力した配列に対する順列を作成
*
* @param list
* @param numArray
* @param ans
* @param used
* @param depth
* @return
*/
private static List<Integer[]> buildPermutaion(List<Integer[]> list, int[] numArray, Integer[] ans, boolean[] used,
int depth) {
// 全部使い切った時=>できた順列を返す
if (depth == numArray.length) {
list.add(ans.clone());
return list;
}
// 使い切っていない場合
for (int i = 0; i < numArray.length; i++) {
if (used[i]) {
continue;
}
ans[depth] = numArray[i];
used[i] = true;
list = buildPermutaion(list, numArray, ans, used, depth + 1);
used[i] = false;
}
return list;
}
/**
* *汎用メソッド <br>
* スキャナーからの入力値をlongで返却
*
* @return
*/
public static long getLong(Scanner sc) {
return Long.parseLong(sc.next());
}
/**
* *汎用メソッド <br>
* スキャナーからの入力値をintで返却
*
* @return
*/
public static int getInt(Scanner sc) {
return Integer.parseInt(sc.next());
}
/**
* *汎用メソッド <br>
* スキャナーからの入力値をStringで返却
*
* @return
*/
public static String getString(Scanner sc) {
return sc.next();
}
/**
* *汎用メソッド <br>
* スキャナーからの入力値をint配列で返却
*
* @return
*/
public static int[] getIntArray(Scanner sc) {
String line = "";
// 直前にnext()を実行していると改行コードだけ取ってしまうのでその対策
while (line.equals("")) {
line = sc.nextLine();
}
String[] strArray = line.split(" ");
int[] intArray = new int[strArray.length];
for (int i = 0; i < strArray.length; i++) {
intArray[i] = Integer.parseInt(strArray[i]);
}
return intArray;
}
}
class Status {
int row = 0;
int col = 0;
int candies = 0;
public Status(int row, int col, int candies) {
this.row = row;
this.col = col;
this.candies = candies;
}
}
|
[
7,
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,
4,
18,
4,
18,
13,
17,
17,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
54,
8
],
[
54,
9
],
[
9,
10
],
[
9,
11
],
[
54,
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
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
28,
33
],
[
28,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
14,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
14,
48
],
[
48,
49
],
[
49,
50
],
[
12,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] |
[
"import java.math.BigDecimal;\nimport java.util.*;\n\npublic class Main {\n\n static BigDecimal MAX = new BigDecimal(1_000_000_000_000_000_000L);\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = Long.valueOf(sc.next().replace(\".\", \"\"));\n long ans = a * b / 100;\n System.out.println(ans);\n sc.close();\n\n }\n\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n static BigDecimal MAX = new BigDecimal(1_000_000_000_000_000_000L);\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = Long.valueOf(sc.next().replace(\".\", \"\"));\n long ans = a * b / 100;\n System.out.println(ans);\n sc.close();\n\n }\n\n}",
"Main",
"static BigDecimal MAX = new BigDecimal(1_000_000_000_000_000_000L);",
"MAX",
"new BigDecimal(1_000_000_000_000_000_000L)",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = Long.valueOf(sc.next().replace(\".\", \"\"));\n long ans = a * b / 100;\n System.out.println(ans);\n sc.close();\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = Long.valueOf(sc.next().replace(\".\", \"\"));\n long ans = a * b / 100;\n System.out.println(ans);\n sc.close();\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = Long.valueOf(sc.next().replace(\".\", \"\"));",
"b",
"Long.valueOf(sc.next().replace(\".\", \"\"))",
"Long.valueOf",
"Long",
"sc.next().replace(\".\", \"\")",
"sc.next().replace",
"sc.next()",
"sc.next",
"sc",
"\".\"",
"\"\"",
"long ans = a * b / 100;",
"ans",
"a * b / 100",
"a * b",
"a",
"b",
"100",
"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 static BigDecimal MAX = new BigDecimal(1_000_000_000_000_000_000L);\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = Long.valueOf(sc.next().replace(\".\", \"\"));\n long ans = a * b / 100;\n System.out.println(ans);\n sc.close();\n\n }\n\n}",
"public class Main {\n\n static BigDecimal MAX = new BigDecimal(1_000_000_000_000_000_000L);\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = Long.valueOf(sc.next().replace(\".\", \"\"));\n long ans = a * b / 100;\n System.out.println(ans);\n sc.close();\n\n }\n\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.*;
public class Main {
static BigDecimal MAX = new BigDecimal(1_000_000_000_000_000_000L);
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = Long.valueOf(sc.next().replace(".", ""));
long ans = a * b / 100;
System.out.println(ans);
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,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
39,
40,
17,
17,
17,
17,
40,
17,
17,
17,
40,
17,
40,
17,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
4,
18,
13,
17,
17,
4,
18,
13,
2,
2,
13,
13,
17,
12,
13,
30,
4,
18,
20,
4,
18,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
12,
13,
30,
38,
5,
13,
30,
30,
42,
2,
2,
13,
17,
40,
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,
4,
13,
12,
13,
30,
41,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
4,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
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,
30,
0,
18,
13,
13,
4,
18,
13,
4,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
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,
30,
0,
18,
13,
13,
4,
18,
13,
4,
13,
29,
13,
23,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
17,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
14,
13,
30,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
13,
4,
18,
13,
13,
14,
13,
30,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
14,
13,
30,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
14,
13,
30,
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
],
[
443,
26
],
[
443,
27
],
[
27,
28
],
[
27,
29
],
[
443,
30
],
[
30,
31
],
[
30,
32
],
[
443,
33
],
[
33,
34
],
[
33,
35
],
[
443,
36
],
[
36,
37
],
[
36,
38
],
[
443,
39
],
[
39,
40
],
[
39,
41
],
[
443,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
44,
49
],
[
44,
50
],
[
50,
51
],
[
44,
52
],
[
44,
53
],
[
44,
54
],
[
54,
55
],
[
44,
56
],
[
56,
57
],
[
443,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
60,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
71,
76
],
[
71,
77
],
[
60,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
443,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
88,
92
],
[
92,
93
],
[
93,
94
],
[
86,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
97,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
112,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
106,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
97,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
136,
137
],
[
97,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
145,
146
],
[
97,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
97,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
163,
168
],
[
168,
169
],
[
168,
170
],
[
163,
171
],
[
171,
172
],
[
172,
173
],
[
163,
174
],
[
175,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
157,
184
],
[
184,
185
],
[
155,
186
],
[
186,
187
],
[
155,
188
],
[
188,
189
],
[
97,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
192,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
197,
202
],
[
202,
203
],
[
202,
204
],
[
197,
205
],
[
205,
206
],
[
206,
207
],
[
197,
208
],
[
209,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
210,
214
],
[
214,
215
],
[
192,
216
],
[
216,
217
],
[
190,
218
],
[
218,
219
],
[
97,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
227,
232
],
[
232,
233
],
[
232,
234
],
[
227,
235
],
[
235,
236
],
[
236,
237
],
[
227,
238
],
[
239,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
245,
246
],
[
244,
247
],
[
247,
248
],
[
222,
249
],
[
249,
250
],
[
220,
251
],
[
251,
252
],
[
220,
253
],
[
253,
254
],
[
97,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
257,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
262,
267
],
[
267,
268
],
[
267,
269
],
[
262,
270
],
[
270,
271
],
[
271,
272
],
[
262,
273
],
[
274,
274
],
[
274,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
275,
279
],
[
279,
280
],
[
257,
281
],
[
281,
282
],
[
255,
283
],
[
283,
284
],
[
97,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
287,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
292,
297
],
[
297,
298
],
[
297,
299
],
[
292,
300
],
[
300,
301
],
[
301,
302
],
[
292,
303
],
[
304,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
305,
309
],
[
309,
310
],
[
310,
311
],
[
309,
312
],
[
312,
313
],
[
287,
314
],
[
314,
315
],
[
285,
316
],
[
316,
317
],
[
285,
318
],
[
318,
319
],
[
0,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
322,
324
],
[
320,
325
],
[
325,
326
],
[
325,
327
],
[
320,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
330,
334
],
[
334,
335
],
[
334,
336
],
[
334,
337
],
[
338,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
339,
342
],
[
342,
343
],
[
343,
344
],
[
342,
345
],
[
330,
346
],
[
346,
347
],
[
347,
348
],
[
346,
349
],
[
330,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
353,
354
],
[
354,
355
],
[
328,
356
],
[
356,
357
],
[
320,
358
],
[
358,
359
],
[
358,
360
],
[
360,
361
],
[
361,
362
],
[
362,
363
],
[
361,
364
],
[
364,
365
],
[
365,
366
],
[
364,
367
],
[
360,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
371,
372
],
[
372,
373
],
[
358,
374
],
[
374,
375
],
[
320,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
378,
382
],
[
382,
383
],
[
382,
384
],
[
382,
385
],
[
386,
386
],
[
386,
387
],
[
387,
388
],
[
388,
389
],
[
387,
390
],
[
390,
391
],
[
391,
392
],
[
390,
393
],
[
378,
394
],
[
394,
395
],
[
395,
396
],
[
394,
397
],
[
378,
398
],
[
398,
399
],
[
398,
400
],
[
400,
401
],
[
401,
402
],
[
402,
403
],
[
376,
404
],
[
404,
405
],
[
320,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
409,
410
],
[
409,
411
],
[
408,
412
],
[
412,
413
],
[
412,
414
],
[
412,
415
],
[
416,
416
],
[
416,
417
],
[
417,
418
],
[
418,
419
],
[
417,
420
],
[
420,
421
],
[
421,
422
],
[
420,
423
],
[
408,
424
],
[
424,
425
],
[
425,
426
],
[
424,
427
],
[
408,
428
],
[
428,
429
],
[
428,
430
],
[
430,
431
],
[
431,
432
],
[
432,
433
],
[
406,
434
],
[
434,
435
],
[
320,
436
],
[
436,
437
],
[
436,
438
],
[
438,
439
],
[
439,
440
],
[
440,
441
],
[
0,
442
],
[
442,
443
],
[
442,
444
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringJoiner;\nimport java.util.StringTokenizer;\nimport java.util.function.IntUnaryOperator;\nimport java.util.function.LongUnaryOperator;\n\npublic class Main {\n static In in = new In();\n static Out out = new Out();\n static final long mod = 1000000007;\n static final long inf = 0x1fffffffffffffffL;\n static final int iinf = 0x3fffffff;\n static final int[] da = {-1, 0, 1, 0, -1, 1, 1, -1, -1};\n\n void solve() {\n long a = in.nextLong();\n long b = Integer.parseInt(in.next().replace(\".\", \"\"));\n out.println(a * b / 100);\n }\n\n public static void main(String[]$) {\n new Main().solve();\n out.flush();\n }\n}\n\nclass In {\n private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 0x10000);\n private StringTokenizer tokenizer;\n\n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n char[] nextCharArray() {\n return next().toCharArray();\n }\n\n char[][] nextCharGrid(int n, int m) {\n char[][] a = new char[n][m];\n for (int i = 0; i < n; i++) {\n a[i] = next().toCharArray();\n }\n return a;\n }\n\n int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n int[] nextIntArray(int n, IntUnaryOperator op) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsInt(nextInt());\n }\n return a;\n }\n\n long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }\n\n long[] nextLongArray(int n, LongUnaryOperator op) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsLong(nextLong());\n }\n return a;\n }\n}\n\nclass Out {\n private PrintWriter out = new PrintWriter(System.out);\n boolean autoFlush = false;\n\n void println(Object... a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (Object obj : a) {\n joiner.add(String.valueOf(obj));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }\n\n void println(char[] s) {\n out.println(String.valueOf(s));\n if (autoFlush) {\n out.flush();\n }\n }\n\n void println(int[] a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (int i : a) {\n joiner.add(Integer.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }\n\n void println(long[] a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (long i : a) {\n joiner.add(Long.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }\n\n void flush() {\n out.flush();\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.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringJoiner;",
"StringJoiner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.function.IntUnaryOperator;",
"IntUnaryOperator",
"java.util.function",
"import java.util.function.LongUnaryOperator;",
"LongUnaryOperator",
"java.util.function",
"public class Main {\n static In in = new In();\n static Out out = new Out();\n static final long mod = 1000000007;\n static final long inf = 0x1fffffffffffffffL;\n static final int iinf = 0x3fffffff;\n static final int[] da = {-1, 0, 1, 0, -1, 1, 1, -1, -1};\n\n void solve() {\n long a = in.nextLong();\n long b = Integer.parseInt(in.next().replace(\".\", \"\"));\n out.println(a * b / 100);\n }\n\n public static void main(String[]$) {\n new Main().solve();\n out.flush();\n }\n}",
"Main",
"static In in = new In();",
"in",
"new In()",
"static Out out = new Out();",
"out",
"new Out()",
"static final long mod = 1000000007;",
"mod",
"1000000007",
"static final long inf = 0x1fffffffffffffffL;",
"inf",
"0x1fffffffffffffffL",
"static final int iinf = 0x3fffffff;",
"iinf",
"0x3fffffff",
"static final int[] da = {-1, 0, 1, 0, -1, 1, 1, -1, -1};",
"da",
"{-1, 0, 1, 0, -1, 1, 1, -1, -1}",
"-1",
"1",
"0",
"1",
"0",
"-1",
"1",
"1",
"1",
"-1",
"1",
"-1",
"1",
"void solve() {\n long a = in.nextLong();\n long b = Integer.parseInt(in.next().replace(\".\", \"\"));\n out.println(a * b / 100);\n }",
"solve",
"{\n long a = in.nextLong();\n long b = Integer.parseInt(in.next().replace(\".\", \"\"));\n out.println(a * b / 100);\n }",
"long a = in.nextLong();",
"a",
"in.nextLong()",
"in.nextLong",
"in",
"long b = Integer.parseInt(in.next().replace(\".\", \"\"));",
"b",
"Integer.parseInt(in.next().replace(\".\", \"\"))",
"Integer.parseInt",
"Integer",
"in.next().replace(\".\", \"\")",
"in.next().replace",
"in.next()",
"in.next",
"in",
"\".\"",
"\"\"",
"out.println(a * b / 100)",
"out.println",
"out",
"a * b / 100",
"a * b",
"a",
"b",
"100",
"public static void main(String[]$) {\n new Main().solve();\n out.flush();\n }",
"main",
"{\n new Main().solve();\n out.flush();\n }",
"new Main().solve()",
"new Main().solve",
"new Main()",
"out.flush()",
"out.flush",
"out",
"String[]$",
"$",
"class In {\n private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 0x10000);\n private StringTokenizer tokenizer;\n\n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n char[] nextCharArray() {\n return next().toCharArray();\n }\n\n char[][] nextCharGrid(int n, int m) {\n char[][] a = new char[n][m];\n for (int i = 0; i < n; i++) {\n a[i] = next().toCharArray();\n }\n return a;\n }\n\n int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n int[] nextIntArray(int n, IntUnaryOperator op) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsInt(nextInt());\n }\n return a;\n }\n\n long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }\n\n long[] nextLongArray(int n, LongUnaryOperator op) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsLong(nextLong());\n }\n return a;\n }\n}",
"In",
"private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 0x10000);",
"reader",
"new BufferedReader(new InputStreamReader(System.in), 0x10000)",
"private StringTokenizer tokenizer;",
"tokenizer",
"String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }",
"try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }",
"catch (IOException ignored) {\n }",
"IOException ignored",
"{\n }",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"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",
"char[] nextCharArray() {\n return next().toCharArray();\n }",
"nextCharArray",
"{\n return next().toCharArray();\n }",
"return next().toCharArray();",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"char[][] nextCharGrid(int n, int m) {\n char[][] a = new char[n][m];\n for (int i = 0; i < n; i++) {\n a[i] = next().toCharArray();\n }\n return a;\n }",
"nextCharGrid",
"{\n char[][] a = new char[n][m];\n for (int i = 0; i < n; i++) {\n a[i] = next().toCharArray();\n }\n return a;\n }",
"char[][] a = new char[n][m];",
"a",
"new char[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n a[i] = next().toCharArray();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = next().toCharArray();\n }",
"{\n a[i] = next().toCharArray();\n }",
"a[i] = next().toCharArray()",
"a[i]",
"a",
"i",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"return a;",
"a",
"int n",
"n",
"int m",
"m",
"int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }",
"nextIntArray",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nextInt();\n }",
"{\n a[i] = nextInt();\n }",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"int[] nextIntArray(int n, IntUnaryOperator op) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsInt(nextInt());\n }\n return a;\n }",
"nextIntArray",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsInt(nextInt());\n }\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = op.applyAsInt(nextInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = op.applyAsInt(nextInt());\n }",
"{\n a[i] = op.applyAsInt(nextInt());\n }",
"a[i] = op.applyAsInt(nextInt())",
"a[i]",
"a",
"i",
"op.applyAsInt(nextInt())",
"op.applyAsInt",
"op",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"IntUnaryOperator op",
"op",
"long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }",
"nextLongArray",
"{\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nextLong();\n }",
"{\n a[i] = nextLong();\n }",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"long[] nextLongArray(int n, LongUnaryOperator op) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsLong(nextLong());\n }\n return a;\n }",
"nextLongArray",
"{\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsLong(nextLong());\n }\n return a;\n }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = op.applyAsLong(nextLong());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = op.applyAsLong(nextLong());\n }",
"{\n a[i] = op.applyAsLong(nextLong());\n }",
"a[i] = op.applyAsLong(nextLong())",
"a[i]",
"a",
"i",
"op.applyAsLong(nextLong())",
"op.applyAsLong",
"op",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"LongUnaryOperator op",
"op",
"class Out {\n private PrintWriter out = new PrintWriter(System.out);\n boolean autoFlush = false;\n\n void println(Object... a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (Object obj : a) {\n joiner.add(String.valueOf(obj));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }\n\n void println(char[] s) {\n out.println(String.valueOf(s));\n if (autoFlush) {\n out.flush();\n }\n }\n\n void println(int[] a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (int i : a) {\n joiner.add(Integer.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }\n\n void println(long[] a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (long i : a) {\n joiner.add(Long.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }\n\n void flush() {\n out.flush();\n }\n}",
"Out",
"private PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"boolean autoFlush = false;",
"autoFlush",
"false",
"void println(Object... a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (Object obj : a) {\n joiner.add(String.valueOf(obj));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }",
"println",
"{\n StringJoiner joiner = new StringJoiner(\" \");\n for (Object obj : a) {\n joiner.add(String.valueOf(obj));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }",
"StringJoiner joiner = new StringJoiner(\" \");",
"joiner",
"new StringJoiner(\" \")",
"for (Object obj : a) {\n joiner.add(String.valueOf(obj));\n }",
"Object obj",
"a",
"{\n joiner.add(String.valueOf(obj));\n }",
"{\n joiner.add(String.valueOf(obj));\n }",
"joiner.add(String.valueOf(obj))",
"joiner.add",
"joiner",
"String.valueOf(obj)",
"String.valueOf",
"String",
"obj",
"out.println(joiner)",
"out.println",
"out",
"joiner",
"if (autoFlush) {\n out.flush();\n }",
"autoFlush",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"Object... a",
"a",
"void println(char[] s) {\n out.println(String.valueOf(s));\n if (autoFlush) {\n out.flush();\n }\n }",
"println",
"{\n out.println(String.valueOf(s));\n if (autoFlush) {\n out.flush();\n }\n }",
"out.println(String.valueOf(s))",
"out.println",
"out",
"String.valueOf(s)",
"String.valueOf",
"String",
"s",
"if (autoFlush) {\n out.flush();\n }",
"autoFlush",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"char[] s",
"s",
"void println(int[] a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (int i : a) {\n joiner.add(Integer.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }",
"println",
"{\n StringJoiner joiner = new StringJoiner(\" \");\n for (int i : a) {\n joiner.add(Integer.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }",
"StringJoiner joiner = new StringJoiner(\" \");",
"joiner",
"new StringJoiner(\" \")",
"for (int i : a) {\n joiner.add(Integer.toString(i));\n }",
"int i",
"a",
"{\n joiner.add(Integer.toString(i));\n }",
"{\n joiner.add(Integer.toString(i));\n }",
"joiner.add(Integer.toString(i))",
"joiner.add",
"joiner",
"Integer.toString(i)",
"Integer.toString",
"Integer",
"i",
"out.println(joiner)",
"out.println",
"out",
"joiner",
"if (autoFlush) {\n out.flush();\n }",
"autoFlush",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"int[] a",
"a",
"void println(long[] a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (long i : a) {\n joiner.add(Long.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }",
"println",
"{\n StringJoiner joiner = new StringJoiner(\" \");\n for (long i : a) {\n joiner.add(Long.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }",
"StringJoiner joiner = new StringJoiner(\" \");",
"joiner",
"new StringJoiner(\" \")",
"for (long i : a) {\n joiner.add(Long.toString(i));\n }",
"long i",
"a",
"{\n joiner.add(Long.toString(i));\n }",
"{\n joiner.add(Long.toString(i));\n }",
"joiner.add(Long.toString(i))",
"joiner.add",
"joiner",
"Long.toString(i)",
"Long.toString",
"Long",
"i",
"out.println(joiner)",
"out.println",
"out",
"joiner",
"if (autoFlush) {\n out.flush();\n }",
"autoFlush",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"long[] a",
"a",
"void flush() {\n out.flush();\n }",
"flush",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"public class Main {\n static In in = new In();\n static Out out = new Out();\n static final long mod = 1000000007;\n static final long inf = 0x1fffffffffffffffL;\n static final int iinf = 0x3fffffff;\n static final int[] da = {-1, 0, 1, 0, -1, 1, 1, -1, -1};\n\n void solve() {\n long a = in.nextLong();\n long b = Integer.parseInt(in.next().replace(\".\", \"\"));\n out.println(a * b / 100);\n }\n\n public static void main(String[]$) {\n new Main().solve();\n out.flush();\n }\n}",
"public class Main {\n static In in = new In();\n static Out out = new Out();\n static final long mod = 1000000007;\n static final long inf = 0x1fffffffffffffffL;\n static final int iinf = 0x3fffffff;\n static final int[] da = {-1, 0, 1, 0, -1, 1, 1, -1, -1};\n\n void solve() {\n long a = in.nextLong();\n long b = Integer.parseInt(in.next().replace(\".\", \"\"));\n out.println(a * b / 100);\n }\n\n public static void main(String[]$) {\n new Main().solve();\n out.flush();\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringJoiner;
import java.util.StringTokenizer;
import java.util.function.IntUnaryOperator;
import java.util.function.LongUnaryOperator;
public class Main {
static In in = new In();
static Out out = new Out();
static final long mod = 1000000007;
static final long inf = 0x1fffffffffffffffL;
static final int iinf = 0x3fffffff;
static final int[] da = {-1, 0, 1, 0, -1, 1, 1, -1, -1};
void solve() {
long a = in.nextLong();
long b = Integer.parseInt(in.next().replace(".", ""));
out.println(a * b / 100);
}
public static void main(String[]$) {
new Main().solve();
out.flush();
}
}
class In {
private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 0x10000);
private StringTokenizer tokenizer;
String next() {
try {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
tokenizer = new StringTokenizer(reader.readLine());
}
} catch (IOException ignored) {
}
return tokenizer.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
char[] nextCharArray() {
return next().toCharArray();
}
char[][] nextCharGrid(int n, int m) {
char[][] a = new char[n][m];
for (int i = 0; i < n; i++) {
a[i] = next().toCharArray();
}
return a;
}
int[] nextIntArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = nextInt();
}
return a;
}
int[] nextIntArray(int n, IntUnaryOperator op) {
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = op.applyAsInt(nextInt());
}
return a;
}
long[] nextLongArray(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++) {
a[i] = nextLong();
}
return a;
}
long[] nextLongArray(int n, LongUnaryOperator op) {
long[] a = new long[n];
for (int i = 0; i < n; i++) {
a[i] = op.applyAsLong(nextLong());
}
return a;
}
}
class Out {
private PrintWriter out = new PrintWriter(System.out);
boolean autoFlush = false;
void println(Object... a) {
StringJoiner joiner = new StringJoiner(" ");
for (Object obj : a) {
joiner.add(String.valueOf(obj));
}
out.println(joiner);
if (autoFlush) {
out.flush();
}
}
void println(char[] s) {
out.println(String.valueOf(s));
if (autoFlush) {
out.flush();
}
}
void println(int[] a) {
StringJoiner joiner = new StringJoiner(" ");
for (int i : a) {
joiner.add(Integer.toString(i));
}
out.println(joiner);
if (autoFlush) {
out.flush();
}
}
void println(long[] a) {
StringJoiner joiner = new StringJoiner(" ");
for (long i : a) {
joiner.add(Long.toString(i));
}
out.println(joiner);
if (autoFlush) {
out.flush();
}
}
void flush() {
out.flush();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
13,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
0,
13,
4,
18,
13,
2,
13,
17,
0,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
76,
8
],
[
76,
9
],
[
9,
10
],
[
9,
11
],
[
76,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
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
],
[
33,
36
],
[
14,
37
],
[
37,
38
],
[
38,
39
],
[
12,
40
],
[
40,
41
],
[
76,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
44,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
55,
57
],
[
44,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
44,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
42,
71
],
[
71,
72
],
[
42,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] |
[
"import java.util.Scanner;\nimport java.util.ArrayList;\n \npublic class Main {\n final static int max = 100;\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int i = 0;\n String N; \n long A = scan.nextLong();\n double B = scan.nextDouble();\n // System.out.println(a[i]);\n cal(A,B);\n scan.close();\n }\n \n public static void cal(long a,double b){\n long s = 0;\n long bb;\n bb = Math.round(b*100);\n s = a*bb/100;\n System.out.println(s);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n final static int max = 100;\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int i = 0;\n String N; \n long A = scan.nextLong();\n double B = scan.nextDouble();\n // System.out.println(a[i]);\n cal(A,B);\n scan.close();\n }\n \n public static void cal(long a,double b){\n long s = 0;\n long bb;\n bb = Math.round(b*100);\n s = a*bb/100;\n System.out.println(s);\n }\n}",
"Main",
"final static int max = 100;",
"max",
"100",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int i = 0;\n String N; \n long A = scan.nextLong();\n double B = scan.nextDouble();\n // System.out.println(a[i]);\n cal(A,B);\n scan.close();\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int i = 0;\n String N; \n long A = scan.nextLong();\n double B = scan.nextDouble();\n // System.out.println(a[i]);\n cal(A,B);\n scan.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int i = 0;",
"i",
"0",
"String N;",
"N",
"long A = scan.nextLong();",
"A",
"scan.nextLong()",
"scan.nextLong",
"scan",
"double B = scan.nextDouble();",
"B",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"cal(A,B)",
"cal",
"A",
"B",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public static void cal(long a,double b){\n long s = 0;\n long bb;\n bb = Math.round(b*100);\n s = a*bb/100;\n System.out.println(s);\n }",
"cal",
"{\n long s = 0;\n long bb;\n bb = Math.round(b*100);\n s = a*bb/100;\n System.out.println(s);\n }",
"long s = 0;",
"s",
"0",
"long bb;",
"bb",
"bb = Math.round(b*100)",
"bb",
"Math.round(b*100)",
"Math.round",
"Math",
"b*100",
"b",
"100",
"s = a*bb/100",
"s",
"a*bb/100",
"a*bb",
"a",
"bb",
"100",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"long a",
"a",
"double b",
"b",
"public class Main {\n final static int max = 100;\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int i = 0;\n String N; \n long A = scan.nextLong();\n double B = scan.nextDouble();\n // System.out.println(a[i]);\n cal(A,B);\n scan.close();\n }\n \n public static void cal(long a,double b){\n long s = 0;\n long bb;\n bb = Math.round(b*100);\n s = a*bb/100;\n System.out.println(s);\n }\n}",
"public class Main {\n final static int max = 100;\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int i = 0;\n String N; \n long A = scan.nextLong();\n double B = scan.nextDouble();\n // System.out.println(a[i]);\n cal(A,B);\n scan.close();\n }\n \n public static void cal(long a,double b){\n long s = 0;\n long bb;\n bb = Math.round(b*100);\n s = a*bb/100;\n System.out.println(s);\n }\n}",
"Main"
] |
import java.util.Scanner;
import java.util.ArrayList;
public class Main {
final static int max = 100;
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int i = 0;
String N;
long A = scan.nextLong();
double B = scan.nextDouble();
// System.out.println(a[i]);
cal(A,B);
scan.close();
}
public static void cal(long a,double b){
long s = 0;
long bb;
bb = Math.round(b*100);
s = a*bb/100;
System.out.println(s);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
17,
4,
18,
18,
13,
13,
17,
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
],
[
24,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
45,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tString s = sc.next();\n\t\ts = s.replace(\".\", \"\");\n\t\tlong bx100 = Integer.parseInt(s);\n\n\t\tlong tmp = a * bx100;\n\t\tlong res = tmp / 100;\n\n\t\tSystem.out.printf(\"%d\", res);\n\t}\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\n\t\tlong a = sc.nextLong();\n\t\tString s = sc.next();\n\t\ts = s.replace(\".\", \"\");\n\t\tlong bx100 = Integer.parseInt(s);\n\n\t\tlong tmp = a * bx100;\n\t\tlong res = tmp / 100;\n\n\t\tSystem.out.printf(\"%d\", res);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tString s = sc.next();\n\t\ts = s.replace(\".\", \"\");\n\t\tlong bx100 = Integer.parseInt(s);\n\n\t\tlong tmp = a * bx100;\n\t\tlong res = tmp / 100;\n\n\t\tSystem.out.printf(\"%d\", res);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tString s = sc.next();\n\t\ts = s.replace(\".\", \"\");\n\t\tlong bx100 = Integer.parseInt(s);\n\n\t\tlong tmp = a * bx100;\n\t\tlong res = tmp / 100;\n\n\t\tSystem.out.printf(\"%d\", res);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"s = s.replace(\".\", \"\")",
"s",
"s.replace(\".\", \"\")",
"s.replace",
"s",
"\".\"",
"\"\"",
"long bx100 = Integer.parseInt(s);",
"bx100",
"Integer.parseInt(s)",
"Integer.parseInt",
"Integer",
"s",
"long tmp = a * bx100;",
"tmp",
"a * bx100",
"a",
"bx100",
"long res = tmp / 100;",
"res",
"tmp / 100",
"tmp",
"100",
"System.out.printf(\"%d\", res)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\"",
"res",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tString s = sc.next();\n\t\ts = s.replace(\".\", \"\");\n\t\tlong bx100 = Integer.parseInt(s);\n\n\t\tlong tmp = a * bx100;\n\t\tlong res = tmp / 100;\n\n\t\tSystem.out.printf(\"%d\", res);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tString s = sc.next();\n\t\ts = s.replace(\".\", \"\");\n\t\tlong bx100 = Integer.parseInt(s);\n\n\t\tlong tmp = a * bx100;\n\t\tlong res = tmp / 100;\n\n\t\tSystem.out.printf(\"%d\", res);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
String s = sc.next();
s = s.replace(".", "");
long bx100 = Integer.parseInt(s);
long tmp = a * bx100;
long res = tmp / 100;
System.out.printf("%d", res);
}
}
|
[
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,
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,
4,
18,
13,
2,
4,
18,
13,
17,
41,
13,
2,
13,
13,
0,
13,
17,
4,
18,
13,
13,
23,
13,
23,
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,
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
],
[
164,
29
],
[
164,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
32,
43
],
[
43,
44
],
[
43,
45
],
[
32,
46
],
[
46,
47
],
[
46,
48
],
[
32,
49
],
[
49,
50
],
[
49,
51
],
[
32,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
52,
57
],
[
32,
58
],
[
58,
59
],
[
59,
60
],
[
30,
61
],
[
61,
62
],
[
164,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
67,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
78,
82
],
[
67,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
67,
88
],
[
88,
89
],
[
88,
90
],
[
67,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
65,
95
],
[
95,
96
],
[
65,
97
],
[
97,
98
],
[
65,
99
],
[
99,
100
],
[
164,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
101,
105
],
[
105,
106
],
[
101,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
113,
115
],
[
107,
116
],
[
116,
117
],
[
101,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
121,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
131,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
120,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
101,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
152,
153
],
[
101,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
161,
162
],
[
0,
163
],
[
163,
164
],
[
163,
165
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\nimport java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author AnandOza\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 CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long a = in.nextLong();\n long b = Math.round(in.nextDouble() * 100);\n\n long answer = a * b;\n answer /= 100;\n\n out.println(answer);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\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.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"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 CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long a = in.nextLong();\n long b = Math.round(in.nextDouble() * 100);\n\n long answer = a * b;\n answer /= 100;\n\n out.println(answer);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\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 CMultiplication3 solver = new CMultiplication3();\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 CMultiplication3 solver = new CMultiplication3();\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)",
"CMultiplication3 solver = new CMultiplication3();",
"solver",
"new CMultiplication3()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class CMultiplication3 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long a = in.nextLong();\n long b = Math.round(in.nextDouble() * 100);\n\n long answer = a * b;\n answer /= 100;\n\n out.println(answer);\n }\n\n }",
"CMultiplication3",
"public void solve(int testNumber, InputReader in, PrintWriter out) {\n long a = in.nextLong();\n long b = Math.round(in.nextDouble() * 100);\n\n long answer = a * b;\n answer /= 100;\n\n out.println(answer);\n }",
"solve",
"{\n long a = in.nextLong();\n long b = Math.round(in.nextDouble() * 100);\n\n long answer = a * b;\n answer /= 100;\n\n out.println(answer);\n }",
"long a = in.nextLong();",
"a",
"in.nextLong()",
"in.nextLong",
"in",
"long b = Math.round(in.nextDouble() * 100);",
"b",
"Math.round(in.nextDouble() * 100)",
"Math.round",
"Math",
"in.nextDouble() * 100",
"in.nextDouble()",
"in.nextDouble",
"in",
"100",
"long answer = a * b;",
"answer",
"a * b",
"a",
"b",
"answer /= 100",
"answer",
"100",
"out.println(answer)",
"out.println",
"out",
"answer",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n }",
"InputReader",
"public BufferedReader reader;",
"reader",
"public StringTokenizer tokenizer;",
"tokenizer",
"public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"InputReader",
"{\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(stream), 32768)",
"reader",
"new BufferedReader(new InputStreamReader(stream), 32768)",
"tokenizer = null",
"tokenizer",
"null",
"InputStream stream",
"stream",
"public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.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 tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public 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 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",
"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 CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long a = in.nextLong();\n long b = Math.round(in.nextDouble() * 100);\n\n long answer = a * b;\n answer /= 100;\n\n out.println(answer);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\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 CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long a = in.nextLong();\n long b = Math.round(in.nextDouble() * 100);\n\n long answer = a * b;\n answer /= 100;\n\n out.println(answer);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author AnandOza
*/
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);
CMultiplication3 solver = new CMultiplication3();
solver.solve(1, in, out);
out.close();
}
static class CMultiplication3 {
public void solve(int testNumber, InputReader in, PrintWriter out) {
long a = in.nextLong();
long b = Math.round(in.nextDouble() * 100);
long answer = a * b;
answer /= 100;
out.println(answer);
}
}
static class InputReader {
public BufferedReader reader;
public StringTokenizer tokenizer;
public InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream), 32768);
tokenizer = null;
}
public String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public long nextLong() {
return Long.parseLong(next());
}
public double nextDouble() {
return Double.parseDouble(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,
2,
2,
4,
18,
13,
17,
17,
17,
41,
13,
2,
2,
4,
18,
13,
17,
17,
17,
41,
13,
2,
4,
18,
13,
17,
17,
41,
13,
2,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
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
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
25,
30
],
[
24,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
35,
40
],
[
34,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
8,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
61,
63
],
[
52,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextLong();\n // 1 double b = sc.nextDouble();\n String b = sc.next();\n\n // 1 long ans = (long)(a*b);\n\n // 2 long b0 = b.charAt(0) - '0';\n // 2 long b1 = b.charAt(2) - '0';\n // 2 long b2 = b.charAt(3) - '0';\n\n // 2 long ans = a * b0 + a * b1 / 10 + a * b2 / 100;\n\n long b0 = (b.charAt(0) - '0') * 100;\n long b1 = (b.charAt(2) - '0') * 10;\n long b2 = b.charAt(3) - '0';\n\n long ans = (a * b0 + a * b1 + a * b2) / 100;\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 Scanner sc = new Scanner(System.in);\n\n long a = sc.nextLong();\n // 1 double b = sc.nextDouble();\n String b = sc.next();\n\n // 1 long ans = (long)(a*b);\n\n // 2 long b0 = b.charAt(0) - '0';\n // 2 long b1 = b.charAt(2) - '0';\n // 2 long b2 = b.charAt(3) - '0';\n\n // 2 long ans = a * b0 + a * b1 / 10 + a * b2 / 100;\n\n long b0 = (b.charAt(0) - '0') * 100;\n long b1 = (b.charAt(2) - '0') * 10;\n long b2 = b.charAt(3) - '0';\n\n long ans = (a * b0 + a * b1 + a * b2) / 100;\n\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextLong();\n // 1 double b = sc.nextDouble();\n String b = sc.next();\n\n // 1 long ans = (long)(a*b);\n\n // 2 long b0 = b.charAt(0) - '0';\n // 2 long b1 = b.charAt(2) - '0';\n // 2 long b2 = b.charAt(3) - '0';\n\n // 2 long ans = a * b0 + a * b1 / 10 + a * b2 / 100;\n\n long b0 = (b.charAt(0) - '0') * 100;\n long b1 = (b.charAt(2) - '0') * 10;\n long b2 = b.charAt(3) - '0';\n\n long ans = (a * b0 + a * b1 + a * b2) / 100;\n\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextLong();\n // 1 double b = sc.nextDouble();\n String b = sc.next();\n\n // 1 long ans = (long)(a*b);\n\n // 2 long b0 = b.charAt(0) - '0';\n // 2 long b1 = b.charAt(2) - '0';\n // 2 long b2 = b.charAt(3) - '0';\n\n // 2 long ans = a * b0 + a * b1 / 10 + a * b2 / 100;\n\n long b0 = (b.charAt(0) - '0') * 100;\n long b1 = (b.charAt(2) - '0') * 10;\n long b2 = b.charAt(3) - '0';\n\n long ans = (a * b0 + a * b1 + a * b2) / 100;\n\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"long b0 = (b.charAt(0) - '0') * 100;",
"b0",
"(b.charAt(0) - '0') * 100",
"(b.charAt(0) - '0')",
"b.charAt(0)",
"b.charAt",
"b",
"0",
"'0'",
"100",
"long b1 = (b.charAt(2) - '0') * 10;",
"b1",
"(b.charAt(2) - '0') * 10",
"(b.charAt(2) - '0')",
"b.charAt(2)",
"b.charAt",
"b",
"2",
"'0'",
"10",
"long b2 = b.charAt(3) - '0';",
"b2",
"b.charAt(3) - '0'",
"b.charAt(3)",
"b.charAt",
"b",
"3",
"'0'",
"long ans = (a * b0 + a * b1 + a * b2) / 100;",
"ans",
"(a * b0 + a * b1 + a * b2) / 100",
"(a * b0 + a * b1 + a * b2)",
"a * b0 + a * b1 + a * b2",
"a * b0",
"a",
"b0",
"a * b1",
"a",
"b1",
"a * b2",
"a",
"b2",
"100",
"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 Scanner sc = new Scanner(System.in);\n\n long a = sc.nextLong();\n // 1 double b = sc.nextDouble();\n String b = sc.next();\n\n // 1 long ans = (long)(a*b);\n\n // 2 long b0 = b.charAt(0) - '0';\n // 2 long b1 = b.charAt(2) - '0';\n // 2 long b2 = b.charAt(3) - '0';\n\n // 2 long ans = a * b0 + a * b1 / 10 + a * b2 / 100;\n\n long b0 = (b.charAt(0) - '0') * 100;\n long b1 = (b.charAt(2) - '0') * 10;\n long b2 = b.charAt(3) - '0';\n\n long ans = (a * b0 + a * b1 + a * b2) / 100;\n\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextLong();\n // 1 double b = sc.nextDouble();\n String b = sc.next();\n\n // 1 long ans = (long)(a*b);\n\n // 2 long b0 = b.charAt(0) - '0';\n // 2 long b1 = b.charAt(2) - '0';\n // 2 long b2 = b.charAt(3) - '0';\n\n // 2 long ans = a * b0 + a * b1 / 10 + a * b2 / 100;\n\n long b0 = (b.charAt(0) - '0') * 100;\n long b1 = (b.charAt(2) - '0') * 10;\n long b2 = b.charAt(3) - '0';\n\n long ans = (a * b0 + a * b1 + a * b2) / 100;\n\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
// 1 double b = sc.nextDouble();
String b = sc.next();
// 1 long ans = (long)(a*b);
// 2 long b0 = b.charAt(0) - '0';
// 2 long b1 = b.charAt(2) - '0';
// 2 long b2 = b.charAt(3) - '0';
// 2 long ans = a * b0 + a * b1 / 10 + a * b2 / 100;
long b0 = (b.charAt(0) - '0') * 100;
long b1 = (b.charAt(2) - '0') * 10;
long b2 = b.charAt(3) - '0';
long ans = (a * b0 + a * b1 + a * b2) / 100;
System.out.println(ans);
}
}
|
[
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,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
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,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
29,
4,
18,
13,
29,
4,
18,
13,
17,
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,
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,
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
],
[
232,
23
],
[
232,
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
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
26,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
26,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
24,
69
],
[
69,
70
],
[
232,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
79,
88
],
[
88,
89
],
[
71,
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
],
[
103,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
92,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
71,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
120,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
130,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
119,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
71,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
150,
153
],
[
153,
154
],
[
71,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
159,
162
],
[
162,
163
],
[
71,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
171,
172
],
[
71,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
180,
185
],
[
185,
186
],
[
185,
187
],
[
180,
188
],
[
188,
189
],
[
189,
190
],
[
180,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
192,
196
],
[
196,
197
],
[
175,
198
],
[
198,
199
],
[
173,
200
],
[
200,
201
],
[
71,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
209,
214
],
[
214,
215
],
[
214,
216
],
[
209,
217
],
[
217,
218
],
[
218,
219
],
[
209,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
221,
225
],
[
225,
226
],
[
204,
227
],
[
227,
228
],
[
202,
229
],
[
229,
230
],
[
0,
231
],
[
231,
232
],
[
231,
233
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tBigDecimal ab = new BigDecimal(String.valueOf(a));\n\t\tBigDecimal bb = new BigDecimal(String.valueOf(b));\n\t\tBigDecimal abb = ab.multiply(bb);\n\t\tBigDecimal abbd = abb.setScale(0, RoundingMode.DOWN);\n\t\tSystem.out.println(abbd.toPlainString());\n\t\t\n\t}\n\t\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\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.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tBigDecimal ab = new BigDecimal(String.valueOf(a));\n\t\tBigDecimal bb = new BigDecimal(String.valueOf(b));\n\t\tBigDecimal abb = ab.multiply(bb);\n\t\tBigDecimal abbd = abb.setScale(0, RoundingMode.DOWN);\n\t\tSystem.out.println(abbd.toPlainString());\n\t\t\n\t}\n\t\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tBigDecimal ab = new BigDecimal(String.valueOf(a));\n\t\tBigDecimal bb = new BigDecimal(String.valueOf(b));\n\t\tBigDecimal abb = ab.multiply(bb);\n\t\tBigDecimal abbd = abb.setScale(0, RoundingMode.DOWN);\n\t\tSystem.out.println(abbd.toPlainString());\n\t\t\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tBigDecimal ab = new BigDecimal(String.valueOf(a));\n\t\tBigDecimal bb = new BigDecimal(String.valueOf(b));\n\t\tBigDecimal abb = ab.multiply(bb);\n\t\tBigDecimal abbd = abb.setScale(0, RoundingMode.DOWN);\n\t\tSystem.out.println(abbd.toPlainString());\n\t\t\n\t}",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double b = sc.nextDouble();",
"b",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"BigDecimal ab = new BigDecimal(String.valueOf(a));",
"ab",
"new BigDecimal(String.valueOf(a))",
"BigDecimal bb = new BigDecimal(String.valueOf(b));",
"bb",
"new BigDecimal(String.valueOf(b))",
"BigDecimal abb = ab.multiply(bb);",
"abb",
"ab.multiply(bb)",
"ab.multiply",
"ab",
"bb",
"BigDecimal abbd = abb.setScale(0, RoundingMode.DOWN);",
"abbd",
"abb.setScale(0, RoundingMode.DOWN)",
"abb.setScale",
"abb",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"System.out.println(abbd.toPlainString())",
"System.out.println",
"System.out",
"System",
"System.out",
"abbd.toPlainString()",
"abbd.toPlainString",
"abbd",
"String[] args",
"args",
"static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }",
"FastScanner",
"{\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream in",
"in",
"public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }",
"next",
"{\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"IOException e",
"{\n\t throw new RuntimeException(e);\n\t }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }",
"nextLine",
"{\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"IOException e",
"{\n\t throw new RuntimeException(e);\n\t }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t return reader.readLine();\n\t }",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"return tokenizer.nextToken(\"\\n\");",
"tokenizer.nextToken(\"\\n\")",
"tokenizer.nextToken",
"tokenizer",
"\"\\n\"",
"public long nextLong() {\n\t return Long.parseLong(next());\n\t }",
"nextLong",
"{\n\t return Long.parseLong(next());\n\t }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public int nextInt() {\n\t return Integer.parseInt(next());\n\t }",
"nextInt",
"{\n\t return Integer.parseInt(next());\n\t }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }",
"nextDouble",
"{\n\t return Double.parseDouble(next());\n\t }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }",
"nextIntArray",
"{\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t 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 long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }",
"nextLongArray",
"{\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t 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\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tBigDecimal ab = new BigDecimal(String.valueOf(a));\n\t\tBigDecimal bb = new BigDecimal(String.valueOf(b));\n\t\tBigDecimal abb = ab.multiply(bb);\n\t\tBigDecimal abbd = abb.setScale(0, RoundingMode.DOWN);\n\t\tSystem.out.println(abbd.toPlainString());\n\t\t\n\t}\n\t\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tBigDecimal ab = new BigDecimal(String.valueOf(a));\n\t\tBigDecimal bb = new BigDecimal(String.valueOf(b));\n\t\tBigDecimal abb = ab.multiply(bb);\n\t\tBigDecimal abbd = abb.setScale(0, RoundingMode.DOWN);\n\t\tSystem.out.println(abbd.toPlainString());\n\t\t\n\t}\n\t\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner(System.in);
long a = sc.nextLong();
double b = sc.nextDouble();
BigDecimal ab = new BigDecimal(String.valueOf(a));
BigDecimal bb = new BigDecimal(String.valueOf(b));
BigDecimal abb = ab.multiply(bb);
BigDecimal abbd = abb.setScale(0, RoundingMode.DOWN);
System.out.println(abbd.toPlainString());
}
static class FastScanner {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public FastScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
tokenizer = null;
}
public String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public String nextLine() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
return reader.readLine();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken("\n");
}
public long nextLong() {
return Long.parseLong(next());
}
public int nextInt() {
return Integer.parseInt(next());
}
public double nextDouble() {
return Double.parseDouble(next());
}
public int[] nextIntArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
public long[] nextLongArray(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nextLong();
return a;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
13,
41,
13,
17,
41,
13,
41,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
2,
2,
4,
18,
13,
18,
13,
17,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
4,
18,
18,
13,
13,
17,
30,
0,
13,
18,
13,
13,
0,
13,
20,
0,
13,
20,
4,
13,
12,
13,
30,
4,
18,
20,
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,
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,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
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,
41,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
13,
29,
13,
23,
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,
41,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
13,
29,
13,
23,
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,
41,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
13,
29,
13,
23,
13,
23,
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,
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,
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,
41,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
13,
4,
13,
29,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
604,
20
],
[
604,
21
],
[
21,
22
],
[
604,
23
],
[
23,
24
],
[
23,
25
],
[
604,
26
],
[
26,
27
],
[
26,
28
],
[
604,
29
],
[
29,
30
],
[
29,
31
],
[
604,
32
],
[
32,
33
],
[
32,
34
],
[
604,
35
],
[
35,
36
],
[
604,
37
],
[
37,
38
],
[
604,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
49,
54
],
[
41,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
58,
65
],
[
57,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
41,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
604,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
90,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
89,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
85,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
110,
112
],
[
84,
113
],
[
113,
114
],
[
113,
115
],
[
84,
116
],
[
116,
117
],
[
116,
118
],
[
84,
119
],
[
119,
120
],
[
604,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
121,
127
],
[
127,
128
],
[
0,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
129,
133
],
[
133,
134
],
[
133,
135
],
[
129,
137
],
[
137,
138
],
[
129,
139
],
[
139,
140
],
[
129,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
141,
149
],
[
149,
150
],
[
129,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
154,
159
],
[
159,
160
],
[
153,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
169,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
165,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
186,
187
],
[
187,
188
],
[
153,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
129,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
201,
199
],
[
211,
200
],
[
208,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
205,
206
],
[
205,
207
],
[
208,
208
],
[
208,
209
],
[
208,
210
],
[
211,
211
],
[
211,
212
],
[
211,
213
],
[
201,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
194,
218
],
[
218,
219
],
[
129,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
225,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
225,
229
],
[
229,
230
],
[
229,
231
],
[
225,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
220,
236
],
[
236,
237
],
[
129,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
242,
245
],
[
245,
246
],
[
129,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
249,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
254,
259
],
[
259,
260
],
[
259,
261
],
[
254,
262
],
[
262,
263
],
[
263,
264
],
[
254,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
266,
270
],
[
270,
271
],
[
249,
272
],
[
272,
273
],
[
247,
274
],
[
274,
275
],
[
129,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
278,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
284,
289
],
[
289,
290
],
[
289,
291
],
[
284,
292
],
[
292,
293
],
[
293,
294
],
[
284,
295
],
[
296,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
297,
301
],
[
301,
302
],
[
301,
303
],
[
278,
304
],
[
304,
305
],
[
276,
306
],
[
306,
307
],
[
276,
308
],
[
308,
309
],
[
129,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
314,
317
],
[
317,
318
],
[
129,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
322,
323
],
[
322,
324
],
[
321,
326
],
[
326,
327
],
[
327,
328
],
[
328,
329
],
[
328,
330
],
[
326,
331
],
[
331,
332
],
[
331,
333
],
[
326,
334
],
[
334,
335
],
[
335,
336
],
[
326,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
338,
342
],
[
342,
343
],
[
321,
344
],
[
344,
345
],
[
319,
346
],
[
346,
347
],
[
129,
348
],
[
348,
349
],
[
348,
350
],
[
350,
351
],
[
351,
352
],
[
351,
353
],
[
350,
356
],
[
356,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
356,
361
],
[
361,
362
],
[
361,
363
],
[
356,
364
],
[
364,
365
],
[
365,
366
],
[
356,
367
],
[
368,
368
],
[
368,
369
],
[
369,
370
],
[
370,
371
],
[
370,
372
],
[
369,
373
],
[
373,
374
],
[
373,
375
],
[
350,
376
],
[
376,
377
],
[
348,
378
],
[
378,
379
],
[
348,
380
],
[
380,
381
],
[
129,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
386,
389
],
[
389,
390
],
[
129,
391
],
[
391,
392
],
[
391,
393
],
[
393,
394
],
[
394,
395
],
[
394,
396
],
[
393,
398
],
[
398,
399
],
[
399,
400
],
[
400,
401
],
[
400,
402
],
[
398,
403
],
[
403,
404
],
[
403,
405
],
[
398,
406
],
[
406,
407
],
[
407,
408
],
[
398,
409
],
[
409,
410
],
[
410,
411
],
[
411,
412
],
[
411,
413
],
[
410,
414
],
[
414,
415
],
[
393,
416
],
[
416,
417
],
[
391,
418
],
[
418,
419
],
[
129,
420
],
[
420,
421
],
[
420,
422
],
[
422,
423
],
[
423,
424
],
[
423,
425
],
[
422,
428
],
[
428,
429
],
[
429,
430
],
[
430,
431
],
[
430,
432
],
[
428,
433
],
[
433,
434
],
[
433,
435
],
[
428,
436
],
[
436,
437
],
[
437,
438
],
[
428,
439
],
[
440,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
442,
444
],
[
441,
445
],
[
445,
446
],
[
445,
447
],
[
422,
448
],
[
448,
449
],
[
420,
450
],
[
450,
451
],
[
420,
452
],
[
452,
453
],
[
129,
454
],
[
454,
455
],
[
454,
456
],
[
456,
457
],
[
457,
458
],
[
457,
459
],
[
459,
460
],
[
456,
461
],
[
461,
462
],
[
462,
463
],
[
462,
464
],
[
461,
465
],
[
465,
466
],
[
465,
467
],
[
467,
468
],
[
456,
469
],
[
469,
470
],
[
469,
471
],
[
456,
472
],
[
472,
473
],
[
473,
474
],
[
474,
475
],
[
474,
476
],
[
472,
477
],
[
477,
478
],
[
478,
479
],
[
479,
480
],
[
478,
481
],
[
477,
482
],
[
482,
483
],
[
482,
484
],
[
484,
485
],
[
456,
486
],
[
486,
487
],
[
487,
488
],
[
488,
489
],
[
129,
490
],
[
490,
491
],
[
490,
492
],
[
492,
493
],
[
493,
494
],
[
493,
495
],
[
492,
497
],
[
497,
498
],
[
498,
499
],
[
499,
500
],
[
499,
501
],
[
497,
502
],
[
502,
503
],
[
502,
504
],
[
497,
505
],
[
505,
506
],
[
506,
507
],
[
497,
508
],
[
508,
509
],
[
509,
510
],
[
510,
511
],
[
510,
512
],
[
509,
513
],
[
513,
514
],
[
492,
515
],
[
515,
516
],
[
490,
517
],
[
517,
518
],
[
129,
519
],
[
519,
520
],
[
519,
521
],
[
521,
522
],
[
522,
523
],
[
522,
524
],
[
524,
525
],
[
521,
526
],
[
526,
527
],
[
527,
528
],
[
527,
529
],
[
526,
530
],
[
530,
531
],
[
530,
532
],
[
532,
533
],
[
521,
534
],
[
534,
535
],
[
534,
536
],
[
521,
537
],
[
537,
538
],
[
538,
539
],
[
539,
540
],
[
539,
541
],
[
537,
542
],
[
542,
543
],
[
543,
544
],
[
544,
545
],
[
543,
546
],
[
542,
547
],
[
547,
548
],
[
547,
549
],
[
549,
550
],
[
521,
551
],
[
551,
552
],
[
552,
553
],
[
553,
554
],
[
129,
555
],
[
555,
556
],
[
555,
557
],
[
557,
558
],
[
558,
559
],
[
558,
560
],
[
557,
563
],
[
563,
564
],
[
564,
565
],
[
565,
566
],
[
565,
567
],
[
563,
568
],
[
568,
569
],
[
568,
570
],
[
563,
571
],
[
571,
572
],
[
572,
573
],
[
563,
574
],
[
575,
575
],
[
575,
576
],
[
576,
577
],
[
577,
578
],
[
578,
579
],
[
578,
580
],
[
576,
581
],
[
581,
582
],
[
581,
583
],
[
576,
584
],
[
584,
585
],
[
585,
586
],
[
576,
587
],
[
588,
588
],
[
588,
589
],
[
589,
590
],
[
590,
591
],
[
591,
592
],
[
591,
593
],
[
590,
594
],
[
589,
595
],
[
595,
596
],
[
557,
597
],
[
597,
598
],
[
555,
599
],
[
599,
600
],
[
555,
601
],
[
601,
602
],
[
0,
603
],
[
603,
604
],
[
603,
605
]
] |
[
"import java.io.IOException;\nimport java.util.InputMismatchException;\nimport java.io.PrintWriter;\nimport java.io.InputStream;\nimport java.io.FileNotFoundException;\nimport java.io.FileInputStream;\n\npublic class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/D3\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n long a = in.nextLong();\n String[] s = in.next().split(\"[.]\");\n\n long x = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);\n System.out.println((a * x) / 100);\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}\n\n\nclass FastScanner {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }\n\n 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 boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }\n\n public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }\n\n public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }\n\n public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }\n\n public String next() {\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 } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }\n\n public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }\n\n public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.FileNotFoundException;",
"FileNotFoundException",
"java.io",
"import java.io.FileInputStream;",
"FileInputStream",
"java.io",
"public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/D3\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n long a = in.nextLong();\n String[] s = in.next().split(\"[.]\");\n\n long x = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);\n System.out.println((a * x) / 100);\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}",
"Main",
"InputStream is;",
"is",
"int __t__ = 1;",
"__t__",
"1",
"int __f__ = 0;",
"__f__",
"0",
"int __FILE_DEBUG_FLAG__ = __f__;",
"__FILE_DEBUG_FLAG__",
"__f__",
"String __DEBUG_FILE_NAME__ = \"src/D3\";",
"__DEBUG_FILE_NAME__",
"\"src/D3\"",
"FastScanner in;",
"in",
"PrintWriter out;",
"out",
"public void solve() {\n long a = in.nextLong();\n String[] s = in.next().split(\"[.]\");\n\n long x = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);\n System.out.println((a * x) / 100);\n }",
"solve",
"{\n long a = in.nextLong();\n String[] s = in.next().split(\"[.]\");\n\n long x = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);\n System.out.println((a * x) / 100);\n }",
"long a = in.nextLong();",
"a",
"in.nextLong()",
"in.nextLong",
"in",
"String[] s = in.next().split(\"[.]\");",
"s",
"in.next().split(\"[.]\")",
"in.next().split",
"in.next()",
"in.next",
"in",
"\"[.]\"",
"long x = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);",
"x",
"Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1])",
"Integer.valueOf(s[0]) * 100",
"Integer.valueOf(s[0])",
"Integer.valueOf",
"Integer",
"s[0]",
"s",
"0",
"100",
"Integer.valueOf(s[1])",
"Integer.valueOf",
"Integer",
"s[1]",
"s",
"1",
"System.out.println((a * x) / 100)",
"System.out.println",
"System.out",
"System",
"System.out",
"(a * x) / 100",
"(a * x)",
"a",
"x",
"100",
"public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }",
"run",
"{\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }",
"if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }",
"__FILE_DEBUG_FLAG__ == __t__",
"__FILE_DEBUG_FLAG__",
"__t__",
"{\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n }",
"try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }",
"catch (FileNotFoundException e) {\n e.printStackTrace();\n }",
"FileNotFoundException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n }",
"is = new FileInputStream(__DEBUG_FILE_NAME__)",
"is",
"new FileInputStream(__DEBUG_FILE_NAME__)",
"System.out.println(\"FILE_INPUT!\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"FILE_INPUT!\"",
"{\n is = System.in;\n }",
"is = System.in",
"is",
"System.in",
"System",
"System.in",
"in = new FastScanner(is)",
"in",
"new FastScanner(is)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"public static void main(final String[] args) {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"final String[] args",
"args",
"class FastScanner {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }\n\n 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 boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }\n\n public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }\n\n public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }\n\n public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }\n\n public String next() {\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 } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }\n\n public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }\n\n public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }\n}",
"FastScanner",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }",
"FastScanner",
"{\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"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 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 boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"isEndline",
"{\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"return c == '\\n' || c == '\\r' || c == -1;",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public 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",
"public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }",
"nextIntArray",
"{\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }",
"int[] array = new int[n];",
"array",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = nextInt();",
"array[i] = nextInt()",
"array[i]",
"array",
"i",
"nextInt()",
"nextInt",
"return array;",
"array",
"int n",
"n",
"public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }",
"nextIntMap",
"{\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }",
"int[][] map = new int[n][m];",
"map",
"new int[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n map[i] = nextIntArray(m);\n }",
"{\n map[i] = nextIntArray(m);\n }",
"map[i] = nextIntArray(m)",
"map[i]",
"map",
"i",
"nextIntArray(m)",
"nextIntArray",
"m",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"public 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 long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }",
"nextLongArray",
"{\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }",
"long[] array = new long[n];",
"array",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = nextLong();",
"array[i] = nextLong()",
"array[i]",
"array",
"i",
"nextLong()",
"nextLong",
"return array;",
"array",
"int n",
"n",
"public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }",
"nextLongMap",
"{\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }",
"long[][] map = new long[n][m];",
"map",
"new long[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n map[i] = nextLongArray(m);\n }",
"{\n map[i] = nextLongArray(m);\n }",
"map[i] = nextLongArray(m)",
"map[i]",
"map",
"i",
"nextLongArray(m)",
"nextLongArray",
"m",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"public 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",
"public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }",
"nextDoubleArray",
"{\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }",
"double[] array = new double[n];",
"array",
"new double[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = nextDouble();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = nextDouble();",
"array[i] = nextDouble()",
"array[i]",
"array",
"i",
"nextDouble()",
"nextDouble",
"return array;",
"array",
"int n",
"n",
"public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }",
"nextDoubleMap",
"{\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }",
"double[][] map = new double[n][m];",
"map",
"new double[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n map[i] = nextDoubleArray(m);\n }",
"{\n map[i] = nextDoubleArray(m);\n }",
"map[i] = nextDoubleArray(m)",
"map[i]",
"map",
"i",
"nextDoubleArray(m)",
"nextDoubleArray",
"m",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"public String next() {\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 } while (!isSpaceChar(c));\n return res.toString();\n }",
"next",
"{\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 } 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",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"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",
"public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }",
"nextStringArray",
"{\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }",
"String[] array = new String[n];",
"array",
"new String[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = next();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = next();",
"array[i] = next()",
"array[i]",
"array",
"i",
"next()",
"next",
"return array;",
"array",
"int n",
"n",
"public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }",
"nextLine",
"{\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isEndline(c))\n c = read();",
"isEndline(c)",
"isEndline",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));",
"!isEndline(c)",
"isEndline(c)",
"isEndline",
"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 int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }",
"nextPackedIntArrays",
"{\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }",
"int[][] res = new int[packN][size];",
"res",
"new int[packN][size]",
"packN",
"size",
"for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }",
"{\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }",
"for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < packN",
"j",
"packN",
"j++",
"j++",
"j",
"{\n res[j][i] = nextInt();\n }",
"{\n res[j][i] = nextInt();\n }",
"res[j][i] = nextInt()",
"res[j][i]",
"res[j]",
"res",
"j",
"i",
"nextInt()",
"nextInt",
"return res;",
"res",
"int packN",
"packN",
"int size",
"size",
"public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/D3\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n long a = in.nextLong();\n String[] s = in.next().split(\"[.]\");\n\n long x = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);\n System.out.println((a * x) / 100);\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}",
"public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/D3\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n long a = in.nextLong();\n String[] s = in.next().split(\"[.]\");\n\n long x = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);\n System.out.println((a * x) / 100);\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}",
"Main"
] |
import java.io.IOException;
import java.util.InputMismatchException;
import java.io.PrintWriter;
import java.io.InputStream;
import java.io.FileNotFoundException;
import java.io.FileInputStream;
public class Main {
InputStream is;
int __t__ = 1;
int __f__ = 0;
int __FILE_DEBUG_FLAG__ = __f__;
String __DEBUG_FILE_NAME__ = "src/D3";
FastScanner in;
PrintWriter out;
public void solve() {
long a = in.nextLong();
String[] s = in.next().split("[.]");
long x = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);
System.out.println((a * x) / 100);
}
public void run() {
if (__FILE_DEBUG_FLAG__ == __t__) {
try {
is = new FileInputStream(__DEBUG_FILE_NAME__);
} catch (FileNotFoundException e) {
e.printStackTrace();
}
System.out.println("FILE_INPUT!");
} else {
is = System.in;
}
in = new FastScanner(is);
out = new PrintWriter(System.out);
solve();
}
public static void main(final String[] args) {
new Main().run();
}
}
class FastScanner {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
public FastScanner(InputStream stream) {
this.stream = stream;
// stream = new FileInputStream(new File("dec.in"));
}
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 boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public boolean isEndline(int c) {
return c == '\n' || c == '\r' || c == -1;
}
public int nextInt() {
return Integer.parseInt(next());
}
public int[] nextIntArray(int n) {
int[] array = new int[n];
for (int i = 0; i < n; i++)
array[i] = nextInt();
return array;
}
public int[][] nextIntMap(int n, int m) {
int[][] map = new int[n][m];
for (int i = 0; i < n; i++) {
map[i] = nextIntArray(m);
}
return map;
}
public long nextLong() {
return Long.parseLong(next());
}
public long[] nextLongArray(int n) {
long[] array = new long[n];
for (int i = 0; i < n; i++)
array[i] = nextLong();
return array;
}
public long[][] nextLongMap(int n, int m) {
long[][] map = new long[n][m];
for (int i = 0; i < n; i++) {
map[i] = nextLongArray(m);
}
return map;
}
public double nextDouble() {
return Double.parseDouble(next());
}
public double[] nextDoubleArray(int n) {
double[] array = new double[n];
for (int i = 0; i < n; i++)
array[i] = nextDouble();
return array;
}
public double[][] nextDoubleMap(int n, int m) {
double[][] map = new double[n][m];
for (int i = 0; i < n; i++) {
map[i] = nextDoubleArray(m);
}
return map;
}
public String next() {
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 String[] nextStringArray(int n) {
String[] array = new String[n];
for (int i = 0; i < n; i++)
array[i] = next();
return array;
}
public String nextLine() {
int c = read();
while (isEndline(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isEndline(c));
return res.toString();
}
public int[][] nextPackedIntArrays(int packN, int size) {
int[][] res = new int[packN][size];
for (int i = 0; i < size; i++) {
for (int j = 0; j < packN; j++) {
res[j][i] = nextInt();
}
}
return res;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
4,
18,
13,
17,
17,
41,
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
],
[
42,
5
],
[
42,
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
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
19,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.*;\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n long B = (long)(sc.nextDouble()*100+0.9);\n \n long res = A*B/100;\n \n System.out.println(res);\n }\n\n}\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n long B = (long)(sc.nextDouble()*100+0.9);\n \n long res = A*B/100;\n \n System.out.println(res);\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n long B = (long)(sc.nextDouble()*100+0.9);\n \n long res = A*B/100;\n \n System.out.println(res);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n long B = (long)(sc.nextDouble()*100+0.9);\n \n long res = A*B/100;\n \n System.out.println(res);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long A = sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long B = (long)(sc.nextDouble()*100+0.9);",
"B",
"(long)(sc.nextDouble()*100+0.9)",
"sc.nextDouble()*100",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"100",
"0.9",
"long res = A*B/100;",
"res",
"A*B/100",
"A*B",
"A",
"B",
"100",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n long B = (long)(sc.nextDouble()*100+0.9);\n \n long res = A*B/100;\n \n System.out.println(res);\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n long B = (long)(sc.nextDouble()*100+0.9);\n \n long res = A*B/100;\n \n System.out.println(res);\n }\n\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
long B = (long)(sc.nextDouble()*100+0.9);
long res = A*B/100;
System.out.println(res);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
17,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
17,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
17,
4,
18,
13,
41,
13,
2,
13,
18,
13,
17,
41,
13,
2,
13,
18,
13,
17,
41,
13,
2,
13,
18,
13,
17,
41,
13,
2,
13,
17,
41,
13,
2,
13,
17,
41,
13,
2,
2,
13,
17,
17,
41,
13,
2,
13,
17,
41,
13,
2,
2,
13,
13,
17,
41,
13,
2,
2,
2,
13,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
142,
5
],
[
142,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
8,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
8,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
8,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
8,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
8,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
8,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
8,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
8,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
8,
124
],
[
124,
125
],
[
124,
126
],
[
128,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
128,
132
],
[
8,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
133,
138
],
[
6,
139
],
[
139,
140
],
[
0,
141
],
[
141,
142
],
[
141,
143
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = Long.parseLong(sc.next());\n\t\tString str = sc.next();\n\n\t\tint[] tmp = new int[3];\n\t\ttmp[0] = Integer.parseInt(String.valueOf(str.charAt(0)));\n\t\ttmp[1] = Integer.parseInt(String.valueOf(str.charAt(2)));\n\t\ttmp[2] = Integer.parseInt(String.valueOf(str.charAt(3)));\n\t\tsc.close();\n\n\n\t\tlong a = A * tmp[0];\n\t\tlong b = A * tmp[1];\n\t\tlong c = A * tmp[2];\n\n\t\tlong tmpb = b / 10;\n\t\tlong tmpc = c / 100;\n\n\t\t//小数点以下の計算\n\t\tlong tmpb2 = (b % 10) * 10;\n\t\tlong tmpc2 = c % 100;\n\t\t//繰り上がりで1足されるかどうか確認\n\t\tlong tmpx = (tmpb2 + tmpc2) / 100;\n\n\t\tlong ans = a + tmpb + tmpc + tmpx;\n\t\tSystem.out.println(ans);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = Long.parseLong(sc.next());\n\t\tString str = sc.next();\n\n\t\tint[] tmp = new int[3];\n\t\ttmp[0] = Integer.parseInt(String.valueOf(str.charAt(0)));\n\t\ttmp[1] = Integer.parseInt(String.valueOf(str.charAt(2)));\n\t\ttmp[2] = Integer.parseInt(String.valueOf(str.charAt(3)));\n\t\tsc.close();\n\n\n\t\tlong a = A * tmp[0];\n\t\tlong b = A * tmp[1];\n\t\tlong c = A * tmp[2];\n\n\t\tlong tmpb = b / 10;\n\t\tlong tmpc = c / 100;\n\n\t\t//小数点以下の計算\n\t\tlong tmpb2 = (b % 10) * 10;\n\t\tlong tmpc2 = c % 100;\n\t\t//繰り上がりで1足されるかどうか確認\n\t\tlong tmpx = (tmpb2 + tmpc2) / 100;\n\n\t\tlong ans = a + tmpb + tmpc + tmpx;\n\t\tSystem.out.println(ans);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = Long.parseLong(sc.next());\n\t\tString str = sc.next();\n\n\t\tint[] tmp = new int[3];\n\t\ttmp[0] = Integer.parseInt(String.valueOf(str.charAt(0)));\n\t\ttmp[1] = Integer.parseInt(String.valueOf(str.charAt(2)));\n\t\ttmp[2] = Integer.parseInt(String.valueOf(str.charAt(3)));\n\t\tsc.close();\n\n\n\t\tlong a = A * tmp[0];\n\t\tlong b = A * tmp[1];\n\t\tlong c = A * tmp[2];\n\n\t\tlong tmpb = b / 10;\n\t\tlong tmpc = c / 100;\n\n\t\t//小数点以下の計算\n\t\tlong tmpb2 = (b % 10) * 10;\n\t\tlong tmpc2 = c % 100;\n\t\t//繰り上がりで1足されるかどうか確認\n\t\tlong tmpx = (tmpb2 + tmpc2) / 100;\n\n\t\tlong ans = a + tmpb + tmpc + tmpx;\n\t\tSystem.out.println(ans);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = Long.parseLong(sc.next());\n\t\tString str = sc.next();\n\n\t\tint[] tmp = new int[3];\n\t\ttmp[0] = Integer.parseInt(String.valueOf(str.charAt(0)));\n\t\ttmp[1] = Integer.parseInt(String.valueOf(str.charAt(2)));\n\t\ttmp[2] = Integer.parseInt(String.valueOf(str.charAt(3)));\n\t\tsc.close();\n\n\n\t\tlong a = A * tmp[0];\n\t\tlong b = A * tmp[1];\n\t\tlong c = A * tmp[2];\n\n\t\tlong tmpb = b / 10;\n\t\tlong tmpc = c / 100;\n\n\t\t//小数点以下の計算\n\t\tlong tmpb2 = (b % 10) * 10;\n\t\tlong tmpc2 = c % 100;\n\t\t//繰り上がりで1足されるかどうか確認\n\t\tlong tmpx = (tmpb2 + tmpc2) / 100;\n\n\t\tlong ans = a + tmpb + tmpc + tmpx;\n\t\tSystem.out.println(ans);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long A = Long.parseLong(sc.next());",
"A",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"String str = sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"int[] tmp = new int[3];",
"tmp",
"new int[3]",
"3",
"tmp[0] = Integer.parseInt(String.valueOf(str.charAt(0)))",
"tmp[0]",
"tmp",
"0",
"Integer.parseInt(String.valueOf(str.charAt(0)))",
"Integer.parseInt",
"Integer",
"String.valueOf(str.charAt(0))",
"String.valueOf",
"String",
"str.charAt(0)",
"str.charAt",
"str",
"0",
"tmp[1] = Integer.parseInt(String.valueOf(str.charAt(2)))",
"tmp[1]",
"tmp",
"1",
"Integer.parseInt(String.valueOf(str.charAt(2)))",
"Integer.parseInt",
"Integer",
"String.valueOf(str.charAt(2))",
"String.valueOf",
"String",
"str.charAt(2)",
"str.charAt",
"str",
"2",
"tmp[2] = Integer.parseInt(String.valueOf(str.charAt(3)))",
"tmp[2]",
"tmp",
"2",
"Integer.parseInt(String.valueOf(str.charAt(3)))",
"Integer.parseInt",
"Integer",
"String.valueOf(str.charAt(3))",
"String.valueOf",
"String",
"str.charAt(3)",
"str.charAt",
"str",
"3",
"sc.close()",
"sc.close",
"sc",
"long a = A * tmp[0];",
"a",
"A * tmp[0]",
"A",
"tmp[0]",
"tmp",
"0",
"long b = A * tmp[1];",
"b",
"A * tmp[1]",
"A",
"tmp[1]",
"tmp",
"1",
"long c = A * tmp[2];",
"c",
"A * tmp[2]",
"A",
"tmp[2]",
"tmp",
"2",
"long tmpb = b / 10;",
"tmpb",
"b / 10",
"b",
"10",
"long tmpc = c / 100;",
"tmpc",
"c / 100",
"c",
"100",
"long tmpb2 = (b % 10) * 10;",
"tmpb2",
"(b % 10) * 10",
"(b % 10)",
"b",
"10",
"10",
"long tmpc2 = c % 100;",
"tmpc2",
"c % 100",
"c",
"100",
"long tmpx = (tmpb2 + tmpc2) / 100;",
"tmpx",
"(tmpb2 + tmpc2) / 100",
"(tmpb2 + tmpc2)",
"tmpb2",
"tmpc2",
"100",
"long ans = a + tmpb + tmpc + tmpx;",
"ans",
"a + tmpb + tmpc + tmpx",
"tmpc",
"a + tmpb + tmpc + tmpx",
"a",
"tmpb",
"tmpc",
"tmpx",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = Long.parseLong(sc.next());\n\t\tString str = sc.next();\n\n\t\tint[] tmp = new int[3];\n\t\ttmp[0] = Integer.parseInt(String.valueOf(str.charAt(0)));\n\t\ttmp[1] = Integer.parseInt(String.valueOf(str.charAt(2)));\n\t\ttmp[2] = Integer.parseInt(String.valueOf(str.charAt(3)));\n\t\tsc.close();\n\n\n\t\tlong a = A * tmp[0];\n\t\tlong b = A * tmp[1];\n\t\tlong c = A * tmp[2];\n\n\t\tlong tmpb = b / 10;\n\t\tlong tmpc = c / 100;\n\n\t\t//小数点以下の計算\n\t\tlong tmpb2 = (b % 10) * 10;\n\t\tlong tmpc2 = c % 100;\n\t\t//繰り上がりで1足されるかどうか確認\n\t\tlong tmpx = (tmpb2 + tmpc2) / 100;\n\n\t\tlong ans = a + tmpb + tmpc + tmpx;\n\t\tSystem.out.println(ans);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = Long.parseLong(sc.next());\n\t\tString str = sc.next();\n\n\t\tint[] tmp = new int[3];\n\t\ttmp[0] = Integer.parseInt(String.valueOf(str.charAt(0)));\n\t\ttmp[1] = Integer.parseInt(String.valueOf(str.charAt(2)));\n\t\ttmp[2] = Integer.parseInt(String.valueOf(str.charAt(3)));\n\t\tsc.close();\n\n\n\t\tlong a = A * tmp[0];\n\t\tlong b = A * tmp[1];\n\t\tlong c = A * tmp[2];\n\n\t\tlong tmpb = b / 10;\n\t\tlong tmpc = c / 100;\n\n\t\t//小数点以下の計算\n\t\tlong tmpb2 = (b % 10) * 10;\n\t\tlong tmpc2 = c % 100;\n\t\t//繰り上がりで1足されるかどうか確認\n\t\tlong tmpx = (tmpb2 + tmpc2) / 100;\n\n\t\tlong ans = a + tmpb + tmpc + tmpx;\n\t\tSystem.out.println(ans);\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
long A = Long.parseLong(sc.next());
String str = sc.next();
int[] tmp = new int[3];
tmp[0] = Integer.parseInt(String.valueOf(str.charAt(0)));
tmp[1] = Integer.parseInt(String.valueOf(str.charAt(2)));
tmp[2] = Integer.parseInt(String.valueOf(str.charAt(3)));
sc.close();
long a = A * tmp[0];
long b = A * tmp[1];
long c = A * tmp[2];
long tmpb = b / 10;
long tmpc = c / 100;
//小数点以下の計算
long tmpb2 = (b % 10) * 10;
long tmpc2 = c % 100;
//繰り上がりで1足されるかどうか確認
long tmpx = (tmpb2 + tmpc2) / 100;
long ans = a + tmpb + tmpc + tmpx;
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
17,
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
],
[
42,
11
],
[
42,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
29,
35
],
[
29,
36
],
[
36,
37
],
[
36,
38
],
[
12,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n BigDecimal x = new BigDecimal(in.next());\n BigDecimal y = new BigDecimal(in.next());\n System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n BigDecimal x = new BigDecimal(in.next());\n BigDecimal y = new BigDecimal(in.next());\n System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n BigDecimal x = new BigDecimal(in.next());\n BigDecimal y = new BigDecimal(in.next());\n System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n BigDecimal x = new BigDecimal(in.next());\n BigDecimal y = new BigDecimal(in.next());\n System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"BigDecimal x = new BigDecimal(in.next());",
"x",
"new BigDecimal(in.next())",
"BigDecimal y = new BigDecimal(in.next());",
"y",
"new BigDecimal(in.next())",
"System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN))",
"System.out.println",
"System.out",
"System",
"System.out",
"x.multiply(y).setScale(0, RoundingMode.DOWN)",
"x.multiply(y).setScale",
"x.multiply(y)",
"x.multiply",
"x",
"y",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n BigDecimal x = new BigDecimal(in.next());\n BigDecimal y = new BigDecimal(in.next());\n System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n BigDecimal x = new BigDecimal(in.next());\n BigDecimal y = new BigDecimal(in.next());\n System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
BigDecimal x = new BigDecimal(in.next());
BigDecimal y = new BigDecimal(in.next());
System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));
}
}
|
[
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,
4,
18,
13,
41,
13,
2,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
13,
4,
18,
13,
2,
2,
13,
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,
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,
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,
12,
13,
30,
29,
4,
13,
6,
13,
12,
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
],
[
343,
23
],
[
343,
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
],
[
343,
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
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
75,
79
],
[
74,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
80,
84
],
[
61,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
61,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
59,
99
],
[
99,
100
],
[
59,
101
],
[
101,
102
],
[
59,
103
],
[
103,
104
],
[
343,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
105,
109
],
[
109,
110
],
[
109,
111
],
[
105,
113
],
[
113,
114
],
[
105,
115
],
[
115,
116
],
[
105,
117
],
[
117,
118
],
[
105,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
119,
127
],
[
127,
128
],
[
105,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
132,
137
],
[
137,
138
],
[
138,
139
],
[
131,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
148,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
157,
160
],
[
144,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
131,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
105,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
176,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
176,
190
],
[
190,
191
],
[
190,
192
],
[
176,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
197,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
176,
206
],
[
206,
207
],
[
206,
208
],
[
176,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
209,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
220,
221
],
[
220,
222
],
[
215,
223
],
[
223,
224
],
[
224,
225
],
[
214,
226
],
[
226,
227
],
[
226,
228
],
[
214,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
231,
233
],
[
214,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
176,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
105,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
244,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
249,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
244,
258
],
[
258,
259
],
[
258,
260
],
[
244,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
261,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
268,
271
],
[
267,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
273,
276
],
[
266,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
244,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
105,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
288,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
294,
297
],
[
287,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
285,
302
],
[
302,
303
],
[
105,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
307,
308
],
[
311,
309
],
[
321,
310
],
[
318,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
311,
315
],
[
315,
316
],
[
315,
317
],
[
318,
318
],
[
318,
319
],
[
318,
320
],
[
321,
321
],
[
321,
322
],
[
321,
323
],
[
311,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
304,
328
],
[
328,
329
],
[
105,
330
],
[
330,
331
],
[
330,
332
],
[
332,
333
],
[
333,
334
],
[
334,
335
],
[
105,
336
],
[
336,
337
],
[
336,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
0,
342
],
[
342,
343
],
[
342,
344
]
] |
[
"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 Sparsh Sanchorawala\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 CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, InputReader s, PrintWriter w) {\n long a = s.nextLong();\n String str = s.next();\n String str2 = str.substring(0, 1) + str.substring(2, 4);\n long b = Long.parseLong(str2);\n w.println(a * b / 100);\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 long nextLong() {\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 long 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 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 String next() {\n return nextString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\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 CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, InputReader s, PrintWriter w) {\n long a = s.nextLong();\n String str = s.next();\n String str2 = str.substring(0, 1) + str.substring(2, 4);\n long b = Long.parseLong(str2);\n w.println(a * b / 100);\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 long nextLong() {\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 long 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 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 String next() {\n return nextString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\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 CMultiplication3 solver = new CMultiplication3();\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 CMultiplication3 solver = new CMultiplication3();\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)",
"CMultiplication3 solver = new CMultiplication3();",
"solver",
"new CMultiplication3()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class CMultiplication3 {\n public void solve(int testNumber, InputReader s, PrintWriter w) {\n long a = s.nextLong();\n String str = s.next();\n String str2 = str.substring(0, 1) + str.substring(2, 4);\n long b = Long.parseLong(str2);\n w.println(a * b / 100);\n }\n\n }",
"CMultiplication3",
"public void solve(int testNumber, InputReader s, PrintWriter w) {\n long a = s.nextLong();\n String str = s.next();\n String str2 = str.substring(0, 1) + str.substring(2, 4);\n long b = Long.parseLong(str2);\n w.println(a * b / 100);\n }",
"solve",
"{\n long a = s.nextLong();\n String str = s.next();\n String str2 = str.substring(0, 1) + str.substring(2, 4);\n long b = Long.parseLong(str2);\n w.println(a * b / 100);\n }",
"long a = s.nextLong();",
"a",
"s.nextLong()",
"s.nextLong",
"s",
"String str = s.next();",
"str",
"s.next()",
"s.next",
"s",
"String str2 = str.substring(0, 1) + str.substring(2, 4);",
"str2",
"str.substring(0, 1) + str.substring(2, 4)",
"str.substring(0, 1)",
"str.substring",
"str",
"0",
"1",
"str.substring(2, 4)",
"str.substring",
"str",
"2",
"4",
"long b = Long.parseLong(str2);",
"b",
"Long.parseLong(str2)",
"Long.parseLong",
"Long",
"str2",
"w.println(a * b / 100)",
"w.println",
"w",
"a * b / 100",
"a * b",
"a",
"b",
"100",
"int testNumber",
"testNumber",
"InputReader s",
"s",
"PrintWriter w",
"w",
"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 long nextLong() {\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 long 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 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 String next() {\n return nextString();\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 long nextLong() {\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 long 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 }",
"nextLong",
"{\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 long 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",
"long 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 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 String next() {\n return nextString();\n }",
"next",
"{\n return nextString();\n }",
"return nextString();",
"nextString()",
"nextString",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"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 CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, InputReader s, PrintWriter w) {\n long a = s.nextLong();\n String str = s.next();\n String str2 = str.substring(0, 1) + str.substring(2, 4);\n long b = Long.parseLong(str2);\n w.println(a * b / 100);\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 long nextLong() {\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 long 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 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 String next() {\n return nextString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\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 CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, InputReader s, PrintWriter w) {\n long a = s.nextLong();\n String str = s.next();\n String str2 = str.substring(0, 1) + str.substring(2, 4);\n long b = Long.parseLong(str2);\n w.println(a * b / 100);\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 long nextLong() {\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 long 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 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 String next() {\n return nextString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\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 Sparsh Sanchorawala
*/
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);
CMultiplication3 solver = new CMultiplication3();
solver.solve(1, in, out);
out.close();
}
static class CMultiplication3 {
public void solve(int testNumber, InputReader s, PrintWriter w) {
long a = s.nextLong();
String str = s.next();
String str2 = str.substring(0, 1) + str.substring(2, 4);
long b = Long.parseLong(str2);
w.println(a * b / 100);
}
}
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 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 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 String next() {
return nextString();
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
2,
4,
18,
13,
4,
18,
13,
17,
17,
17,
2,
4,
18,
13,
4,
18,
13,
17,
17,
17,
4,
18,
13,
4,
18,
13,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
4,
18,
13,
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
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
25,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
30,
34
],
[
26,
35
],
[
25,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
36,
45
],
[
25,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] |
[
"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\tlong A = sc.nextLong();\n\t\tString sB = sc.next();\n\t\tlong B = Integer.parseInt(sB.substring(0, 1)) * 100 +\n\t\t\t\t Integer.parseInt(sB.substring(2, 3)) * 10 +\n\t\t\t\t Integer.parseInt(sB.substring(3, 4));\n\t\tSystem.out.println((A * B / 100));\n\n\t\tsc.close();\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\tlong A = sc.nextLong();\n\t\tString sB = sc.next();\n\t\tlong B = Integer.parseInt(sB.substring(0, 1)) * 100 +\n\t\t\t\t Integer.parseInt(sB.substring(2, 3)) * 10 +\n\t\t\t\t Integer.parseInt(sB.substring(3, 4));\n\t\tSystem.out.println((A * B / 100));\n\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tString sB = sc.next();\n\t\tlong B = Integer.parseInt(sB.substring(0, 1)) * 100 +\n\t\t\t\t Integer.parseInt(sB.substring(2, 3)) * 10 +\n\t\t\t\t Integer.parseInt(sB.substring(3, 4));\n\t\tSystem.out.println((A * B / 100));\n\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tString sB = sc.next();\n\t\tlong B = Integer.parseInt(sB.substring(0, 1)) * 100 +\n\t\t\t\t Integer.parseInt(sB.substring(2, 3)) * 10 +\n\t\t\t\t Integer.parseInt(sB.substring(3, 4));\n\t\tSystem.out.println((A * B / 100));\n\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long A = sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String sB = sc.next();",
"sB",
"sc.next()",
"sc.next",
"sc",
"long B = Integer.parseInt(sB.substring(0, 1)) * 100 +\n\t\t\t\t Integer.parseInt(sB.substring(2, 3)) * 10 +\n\t\t\t\t Integer.parseInt(sB.substring(3, 4));",
"B",
"Integer.parseInt(sB.substring(0, 1)) * 100 +\n\t\t\t\t Integer.parseInt(sB.substring(2, 3)) * 10 +\n\t\t\t\t Integer.parseInt(sB.substring(3, 4))",
"Integer.parseInt(sB.substring(0, 1)) * 100 +\n\t\t\t\t Integer.parseInt(sB.substring(2, 3)) * 10 +\n\t\t\t\t Integer.parseInt(sB.substring(3, 4))",
"Integer.parseInt(sB.substring(0, 1)) * 100",
"Integer.parseInt(sB.substring(0, 1))",
"Integer.parseInt",
"Integer",
"sB.substring(0, 1)",
"sB.substring",
"sB",
"0",
"1",
"100",
"Integer.parseInt(sB.substring(2, 3)) * 10",
"Integer.parseInt(sB.substring(2, 3))",
"Integer.parseInt",
"Integer",
"sB.substring(2, 3)",
"sB.substring",
"sB",
"2",
"3",
"10",
"Integer.parseInt(sB.substring(3, 4))",
"Integer.parseInt",
"Integer",
"sB.substring(3, 4)",
"sB.substring",
"sB",
"3",
"4",
"System.out.println((A * B / 100))",
"System.out.println",
"System.out",
"System",
"System.out",
"(A * B / 100)",
"A * B",
"A",
"B",
"100",
"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\tlong A = sc.nextLong();\n\t\tString sB = sc.next();\n\t\tlong B = Integer.parseInt(sB.substring(0, 1)) * 100 +\n\t\t\t\t Integer.parseInt(sB.substring(2, 3)) * 10 +\n\t\t\t\t Integer.parseInt(sB.substring(3, 4));\n\t\tSystem.out.println((A * B / 100));\n\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tString sB = sc.next();\n\t\tlong B = Integer.parseInt(sB.substring(0, 1)) * 100 +\n\t\t\t\t Integer.parseInt(sB.substring(2, 3)) * 10 +\n\t\t\t\t Integer.parseInt(sB.substring(3, 4));\n\t\tSystem.out.println((A * B / 100));\n\n\t\tsc.close();\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
String sB = sc.next();
long B = Integer.parseInt(sB.substring(0, 1)) * 100 +
Integer.parseInt(sB.substring(2, 3)) * 10 +
Integer.parseInt(sB.substring(3, 4));
System.out.println((A * B / 100));
sc.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,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
39,
8
],
[
39,
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
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
9,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"import java.math.BigDecimal;\nimport java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n System.out.println(a.multiply(b).toBigInteger());\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n System.out.println(a.multiply(b).toBigInteger());\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n System.out.println(a.multiply(b).toBigInteger());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n System.out.println(a.multiply(b).toBigInteger());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal a = sc.nextBigDecimal();",
"a",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"BigDecimal b = sc.nextBigDecimal();",
"b",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"System.out.println(a.multiply(b).toBigInteger())",
"System.out.println",
"System.out",
"System",
"System.out",
"a.multiply(b).toBigInteger()",
"a.multiply(b).toBigInteger",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n System.out.println(a.multiply(b).toBigInteger());\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n System.out.println(a.multiply(b).toBigInteger());\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
BigDecimal a = sc.nextBigDecimal();
BigDecimal b = sc.nextBigDecimal();
System.out.println(a.multiply(b).toBigInteger());
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
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
],
[
53,
11
],
[
53,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
16,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
34,
35
],
[
16,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
16,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
12,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] |
[
"import java.math.BigDecimal;\nimport java.math.BigInteger;\nimport java.util.Scanner;\n\n/**\n * https://atcoder.jp/contests/abc169/tasks/abc169_c\n * Multiplication 3\n */\npublic class Main {\n\tpublic static void main(String...args) {\n\t\ttry (Scanner sc= new Scanner(System.in)) {\n\t\t\tBigDecimal a = BigDecimal.valueOf(sc.nextLong());\n\t\t\tBigDecimal b = BigDecimal.valueOf(sc.nextDouble());\n\t\t\tBigInteger ans = a.multiply(b).toBigInteger();\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String...args) {\n\t\ttry (Scanner sc= new Scanner(System.in)) {\n\t\t\tBigDecimal a = BigDecimal.valueOf(sc.nextLong());\n\t\t\tBigDecimal b = BigDecimal.valueOf(sc.nextDouble());\n\t\t\tBigInteger ans = a.multiply(b).toBigInteger();\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String...args) {\n\t\ttry (Scanner sc= new Scanner(System.in)) {\n\t\t\tBigDecimal a = BigDecimal.valueOf(sc.nextLong());\n\t\t\tBigDecimal b = BigDecimal.valueOf(sc.nextDouble());\n\t\t\tBigInteger ans = a.multiply(b).toBigInteger();\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner sc= new Scanner(System.in)) {\n\t\t\tBigDecimal a = BigDecimal.valueOf(sc.nextLong());\n\t\t\tBigDecimal b = BigDecimal.valueOf(sc.nextDouble());\n\t\t\tBigInteger ans = a.multiply(b).toBigInteger();\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}",
"try (Scanner sc= new Scanner(System.in)) {\n\t\t\tBigDecimal a = BigDecimal.valueOf(sc.nextLong());\n\t\t\tBigDecimal b = BigDecimal.valueOf(sc.nextDouble());\n\t\t\tBigInteger ans = a.multiply(b).toBigInteger();\n\t\t\tSystem.out.println(ans);\n\t\t}",
"{\n\t\t\tBigDecimal a = BigDecimal.valueOf(sc.nextLong());\n\t\t\tBigDecimal b = BigDecimal.valueOf(sc.nextDouble());\n\t\t\tBigInteger ans = a.multiply(b).toBigInteger();\n\t\t\tSystem.out.println(ans);\n\t\t}",
"Scanner sc= new Scanner(System.in)",
"Scanner sc= new Scanner(System.in)",
"new Scanner(System.in)",
"BigDecimal a = BigDecimal.valueOf(sc.nextLong());",
"a",
"BigDecimal.valueOf(sc.nextLong())",
"BigDecimal.valueOf",
"BigDecimal",
"sc.nextLong()",
"sc.nextLong",
"sc",
"BigDecimal b = BigDecimal.valueOf(sc.nextDouble());",
"b",
"BigDecimal.valueOf(sc.nextDouble())",
"BigDecimal.valueOf",
"BigDecimal",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"BigInteger ans = a.multiply(b).toBigInteger();",
"ans",
"a.multiply(b).toBigInteger()",
"a.multiply(b).toBigInteger",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"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\ttry (Scanner sc= new Scanner(System.in)) {\n\t\t\tBigDecimal a = BigDecimal.valueOf(sc.nextLong());\n\t\t\tBigDecimal b = BigDecimal.valueOf(sc.nextDouble());\n\t\t\tBigInteger ans = a.multiply(b).toBigInteger();\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String...args) {\n\t\ttry (Scanner sc= new Scanner(System.in)) {\n\t\t\tBigDecimal a = BigDecimal.valueOf(sc.nextLong());\n\t\t\tBigDecimal b = BigDecimal.valueOf(sc.nextDouble());\n\t\t\tBigInteger ans = a.multiply(b).toBigInteger();\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Scanner;
/**
* https://atcoder.jp/contests/abc169/tasks/abc169_c
* Multiplication 3
*/
public class Main {
public static void main(String...args) {
try (Scanner sc= new Scanner(System.in)) {
BigDecimal a = BigDecimal.valueOf(sc.nextLong());
BigDecimal b = BigDecimal.valueOf(sc.nextDouble());
BigInteger ans = a.multiply(b).toBigInteger();
System.out.println(ans);
}
}
}
|
[
7,
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,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
4,
18,
18,
13,
17,
17,
17,
4,
18,
13,
4,
18,
13,
2,
2,
13,
13,
17,
23,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
102,
17
],
[
102,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
20,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
40,
45
],
[
20,
46
],
[
46,
47
],
[
47,
48
],
[
18,
49
],
[
49,
50
],
[
102,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
58,
63
],
[
55,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
55,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
77,
83
],
[
55,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
53,
95
],
[
95,
96
],
[
53,
97
],
[
97,
98
],
[
53,
99
],
[
99,
100
],
[
0,
101
],
[
101,
102
],
[
101,
103
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\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 Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Multiplication3 solver = new Multiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Multiplication3 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n\n String[] inputs = in.nextLine().split(\" \");\n long a = Long.parseLong(inputs[0]);\n long b = Long.parseLong(inputs[1].replaceAll(\"\\\\.\", \"\"));\n\n out.append(String.valueOf(a * b / 100));\n\n\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.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Multiplication3 solver = new Multiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Multiplication3 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n\n String[] inputs = in.nextLine().split(\" \");\n long a = Long.parseLong(inputs[0]);\n long b = Long.parseLong(inputs[1].replaceAll(\"\\\\.\", \"\"));\n\n out.append(String.valueOf(a * b / 100));\n\n\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Multiplication3 solver = new Multiplication3();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Multiplication3 solver = new Multiplication3();\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",
"Scanner in = new Scanner(inputStream);",
"in",
"new Scanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"Multiplication3 solver = new Multiplication3();",
"solver",
"new Multiplication3()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Multiplication3 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n\n String[] inputs = in.nextLine().split(\" \");\n long a = Long.parseLong(inputs[0]);\n long b = Long.parseLong(inputs[1].replaceAll(\"\\\\.\", \"\"));\n\n out.append(String.valueOf(a * b / 100));\n\n\n }\n\n }",
"Multiplication3",
"public void solve(int testNumber, Scanner in, PrintWriter out) {\n\n String[] inputs = in.nextLine().split(\" \");\n long a = Long.parseLong(inputs[0]);\n long b = Long.parseLong(inputs[1].replaceAll(\"\\\\.\", \"\"));\n\n out.append(String.valueOf(a * b / 100));\n\n\n }",
"solve",
"{\n\n String[] inputs = in.nextLine().split(\" \");\n long a = Long.parseLong(inputs[0]);\n long b = Long.parseLong(inputs[1].replaceAll(\"\\\\.\", \"\"));\n\n out.append(String.valueOf(a * b / 100));\n\n\n }",
"String[] inputs = in.nextLine().split(\" \");",
"inputs",
"in.nextLine().split(\" \")",
"in.nextLine().split",
"in.nextLine()",
"in.nextLine",
"in",
"\" \"",
"long a = Long.parseLong(inputs[0]);",
"a",
"Long.parseLong(inputs[0])",
"Long.parseLong",
"Long",
"inputs[0]",
"inputs",
"0",
"long b = Long.parseLong(inputs[1].replaceAll(\"\\\\.\", \"\"));",
"b",
"Long.parseLong(inputs[1].replaceAll(\"\\\\.\", \"\"))",
"Long.parseLong",
"Long",
"inputs[1].replaceAll(\"\\\\.\", \"\")",
"inputs[1].replaceAll",
"inputs[1]",
"inputs",
"1",
"\"\\\\.\"",
"\"\"",
"out.append(String.valueOf(a * b / 100))",
"out.append",
"out",
"String.valueOf(a * b / 100)",
"String.valueOf",
"String",
"a * b / 100",
"a * b",
"a",
"b",
"100",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Multiplication3 solver = new Multiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Multiplication3 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n\n String[] inputs = in.nextLine().split(\" \");\n long a = Long.parseLong(inputs[0]);\n long b = Long.parseLong(inputs[1].replaceAll(\"\\\\.\", \"\"));\n\n out.append(String.valueOf(a * b / 100));\n\n\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 Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Multiplication3 solver = new Multiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Multiplication3 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n\n String[] inputs = in.nextLine().split(\" \");\n long a = Long.parseLong(inputs[0]);\n long b = Long.parseLong(inputs[1].replaceAll(\"\\\\.\", \"\"));\n\n out.append(String.valueOf(a * b / 100));\n\n\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
Scanner in = new Scanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
Multiplication3 solver = new Multiplication3();
solver.solve(1, in, out);
out.close();
}
static class Multiplication3 {
public void solve(int testNumber, Scanner in, PrintWriter out) {
String[] inputs = in.nextLine().split(" ");
long a = Long.parseLong(inputs[0]);
long b = Long.parseLong(inputs[1].replaceAll("\\.", ""));
out.append(String.valueOf(a * b / 100));
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
17,
13,
17,
41,
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
],
[
45,
5
],
[
45,
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
],
[
25,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long bb = (long)((double)100 * b + 0.1);\n long ans = (a * bb) / (long)100;\n System.out.println(ans);\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 long a = sc.nextLong();\n double b = sc.nextDouble();\n long bb = (long)((double)100 * b + 0.1);\n long ans = (a * bb) / (long)100;\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long bb = (long)((double)100 * b + 0.1);\n long ans = (a * bb) / (long)100;\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long bb = (long)((double)100 * b + 0.1);\n long ans = (a * bb) / (long)100;\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double b = sc.nextDouble();",
"b",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"long bb = (long)((double)100 * b + 0.1);",
"bb",
"(long)((double)100 * b + 0.1)",
"(double)100 * b",
"(double)100",
"b",
"0.1",
"long ans = (a * bb) / (long)100;",
"ans",
"(a * bb) / (long)100",
"(a * bb)",
"a",
"bb",
"(long)100",
"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 Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long bb = (long)((double)100 * b + 0.1);\n long ans = (a * bb) / (long)100;\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long bb = (long)((double)100 * b + 0.1);\n long ans = (a * bb) / (long)100;\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
double b = sc.nextDouble();
long bb = (long)((double)100 * b + 0.1);
long ans = (a * bb) / (long)100;
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,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
13,
17,
18,
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
],
[
55,
11
],
[
55,
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
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
36,
42
],
[
36,
43
],
[
43,
44
],
[
43,
45
],
[
14,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
12,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String strA = sc.next();\n String strB = sc.next();\n\n BigDecimal A = new BigDecimal(strA);\n BigDecimal B = new BigDecimal(strB);\n\n BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);\n\n System.out.println(result);\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"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 strA = sc.next();\n String strB = sc.next();\n\n BigDecimal A = new BigDecimal(strA);\n BigDecimal B = new BigDecimal(strB);\n\n BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);\n\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String strA = sc.next();\n String strB = sc.next();\n\n BigDecimal A = new BigDecimal(strA);\n BigDecimal B = new BigDecimal(strB);\n\n BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);\n\n System.out.println(result);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n String strA = sc.next();\n String strB = sc.next();\n\n BigDecimal A = new BigDecimal(strA);\n BigDecimal B = new BigDecimal(strB);\n\n BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);\n\n System.out.println(result);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String strA = sc.next();",
"strA",
"sc.next()",
"sc.next",
"sc",
"String strB = sc.next();",
"strB",
"sc.next()",
"sc.next",
"sc",
"BigDecimal A = new BigDecimal(strA);",
"A",
"new BigDecimal(strA)",
"BigDecimal B = new BigDecimal(strB);",
"B",
"new BigDecimal(strB)",
"BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);",
"result",
"A.multiply(B).setScale(0, RoundingMode.DOWN)",
"A.multiply(B).setScale",
"A.multiply(B)",
"A.multiply",
"A",
"B",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"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 String strA = sc.next();\n String strB = sc.next();\n\n BigDecimal A = new BigDecimal(strA);\n BigDecimal B = new BigDecimal(strB);\n\n BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);\n\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 String strA = sc.next();\n String strB = sc.next();\n\n BigDecimal A = new BigDecimal(strA);\n BigDecimal B = new BigDecimal(strB);\n\n BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);\n\n System.out.println(result);\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String strA = sc.next();
String strB = sc.next();
BigDecimal A = new BigDecimal(strA);
BigDecimal B = new BigDecimal(strB);
BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
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
],
[
25,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long B = (long)(b * (double)100 + 0.01);\n System.out.println((a * B) / (long)100);\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 long a = sc.nextLong();\n double b = sc.nextDouble();\n long B = (long)(b * (double)100 + 0.01);\n System.out.println((a * B) / (long)100);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long B = (long)(b * (double)100 + 0.01);\n System.out.println((a * B) / (long)100);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long B = (long)(b * (double)100 + 0.01);\n System.out.println((a * B) / (long)100);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double b = sc.nextDouble();",
"b",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"long B = (long)(b * (double)100 + 0.01);",
"B",
"(long)(b * (double)100 + 0.01)",
"b * (double)100",
"b",
"(double)100",
"0.01",
"System.out.println((a * B) / (long)100)",
"System.out.println",
"System.out",
"System",
"System.out",
"(a * B) / (long)100",
"(a * B)",
"a",
"B",
"(long)100",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long B = (long)(b * (double)100 + 0.01);\n System.out.println((a * B) / (long)100);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long B = (long)(b * (double)100 + 0.01);\n System.out.println((a * B) / (long)100);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
double b = sc.nextDouble();
long B = (long)(b * (double)100 + 0.01);
System.out.println((a * B) / (long)100);
}
}
|
[
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,
13,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
48,
8
],
[
48,
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
],
[
28,
29
],
[
29,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
9,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextLong();\n BigDecimal ba = BigDecimal.valueOf(a);\n String b = sc.next();\n BigDecimal bb = new BigDecimal(b);\n\n\n System.out.println(ba.multiply(bb).longValue());\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"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 // 整数の入力\n long a = sc.nextLong();\n BigDecimal ba = BigDecimal.valueOf(a);\n String b = sc.next();\n BigDecimal bb = new BigDecimal(b);\n\n\n System.out.println(ba.multiply(bb).longValue());\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextLong();\n BigDecimal ba = BigDecimal.valueOf(a);\n String b = sc.next();\n BigDecimal bb = new BigDecimal(b);\n\n\n System.out.println(ba.multiply(bb).longValue());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextLong();\n BigDecimal ba = BigDecimal.valueOf(a);\n String b = sc.next();\n BigDecimal bb = new BigDecimal(b);\n\n\n System.out.println(ba.multiply(bb).longValue());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"BigDecimal ba = BigDecimal.valueOf(a);",
"ba",
"BigDecimal.valueOf(a)",
"BigDecimal.valueOf",
"BigDecimal",
"a",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"BigDecimal bb = new BigDecimal(b);",
"bb",
"new BigDecimal(b)",
"System.out.println(ba.multiply(bb).longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"ba.multiply(bb).longValue()",
"ba.multiply(bb).longValue",
"ba.multiply(bb)",
"ba.multiply",
"ba",
"bb",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextLong();\n BigDecimal ba = BigDecimal.valueOf(a);\n String b = sc.next();\n BigDecimal bb = new BigDecimal(b);\n\n\n System.out.println(ba.multiply(bb).longValue());\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextLong();\n BigDecimal ba = BigDecimal.valueOf(a);\n String b = sc.next();\n BigDecimal bb = new BigDecimal(b);\n\n\n System.out.println(ba.multiply(bb).longValue());\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// 整数の入力
long a = sc.nextLong();
BigDecimal ba = BigDecimal.valueOf(a);
String b = sc.next();
BigDecimal bb = new BigDecimal(b);
System.out.println(ba.multiply(bb).longValue());
}
}
|
[
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,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
52,
8
],
[
52,
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
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
11,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
9,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] |
[
"import java.util.*;\nimport java.math.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n \n BigDecimal a1 = new BigDecimal(a);\n BigDecimal b1 = new BigDecimal(b);\n BigDecimal res= a1.multiply(b1);\n \n System.out.println(res.setScale(0, RoundingMode.DOWN));\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n \n BigDecimal a1 = new BigDecimal(a);\n BigDecimal b1 = new BigDecimal(b);\n BigDecimal res= a1.multiply(b1);\n \n System.out.println(res.setScale(0, RoundingMode.DOWN));\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n \n BigDecimal a1 = new BigDecimal(a);\n BigDecimal b1 = new BigDecimal(b);\n BigDecimal res= a1.multiply(b1);\n \n System.out.println(res.setScale(0, RoundingMode.DOWN));\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n \n BigDecimal a1 = new BigDecimal(a);\n BigDecimal b1 = new BigDecimal(b);\n BigDecimal res= a1.multiply(b1);\n \n System.out.println(res.setScale(0, RoundingMode.DOWN));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"BigDecimal a1 = new BigDecimal(a);",
"a1",
"new BigDecimal(a)",
"BigDecimal b1 = new BigDecimal(b);",
"b1",
"new BigDecimal(b)",
"BigDecimal res= a1.multiply(b1);",
"res",
"a1.multiply(b1)",
"a1.multiply",
"a1",
"b1",
"System.out.println(res.setScale(0, RoundingMode.DOWN))",
"System.out.println",
"System.out",
"System",
"System.out",
"res.setScale(0, RoundingMode.DOWN)",
"res.setScale",
"res",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n \n BigDecimal a1 = new BigDecimal(a);\n BigDecimal b1 = new BigDecimal(b);\n BigDecimal res= a1.multiply(b1);\n \n System.out.println(res.setScale(0, RoundingMode.DOWN));\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n \n BigDecimal a1 = new BigDecimal(a);\n BigDecimal b1 = new BigDecimal(b);\n BigDecimal res= a1.multiply(b1);\n \n System.out.println(res.setScale(0, RoundingMode.DOWN));\n }\n}",
"Main"
] |
import java.util.*;
import java.math.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
String a = sc.next();
String b = sc.next();
BigDecimal a1 = new BigDecimal(a);
BigDecimal b1 = new BigDecimal(b);
BigDecimal res= a1.multiply(b1);
System.out.println(res.setScale(0, RoundingMode.DOWN));
}
}
|
[
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,
4,
18,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
49,
8
],
[
49,
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
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
9,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\n\t\tsc.close();\n\n\t\tBigDecimal ans = a.multiply(b);\n\n\t\tSystem.out.println(ans.setScale(0, BigDecimal.ROUND_DOWN));\n\n\t}\n\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"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\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\n\t\tsc.close();\n\n\t\tBigDecimal ans = a.multiply(b);\n\n\t\tSystem.out.println(ans.setScale(0, BigDecimal.ROUND_DOWN));\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\n\t\tsc.close();\n\n\t\tBigDecimal ans = a.multiply(b);\n\n\t\tSystem.out.println(ans.setScale(0, BigDecimal.ROUND_DOWN));\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\n\t\tsc.close();\n\n\t\tBigDecimal ans = a.multiply(b);\n\n\t\tSystem.out.println(ans.setScale(0, BigDecimal.ROUND_DOWN));\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal a = sc.nextBigDecimal();",
"a",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"BigDecimal b = sc.nextBigDecimal();",
"b",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"sc.close()",
"sc.close",
"sc",
"BigDecimal ans = a.multiply(b);",
"ans",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"System.out.println(ans.setScale(0, BigDecimal.ROUND_DOWN))",
"System.out.println",
"System.out",
"System",
"System.out",
"ans.setScale(0, BigDecimal.ROUND_DOWN)",
"ans.setScale",
"ans",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\n\t\tsc.close();\n\n\t\tBigDecimal ans = a.multiply(b);\n\n\t\tSystem.out.println(ans.setScale(0, BigDecimal.ROUND_DOWN));\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\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\n\t\tsc.close();\n\n\t\tBigDecimal ans = a.multiply(b);\n\n\t\tSystem.out.println(ans.setScale(0, BigDecimal.ROUND_DOWN));\n\n\t}\n\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
BigDecimal a = sc.nextBigDecimal();
BigDecimal b = sc.nextBigDecimal();
sc.close();
BigDecimal ans = a.multiply(b);
System.out.println(ans.setScale(0, BigDecimal.ROUND_DOWN));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
2,
4,
18,
13,
4,
18,
13,
4,
18,
13,
17,
17,
2,
4,
18,
13,
4,
18,
13,
4,
18,
13,
17,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
4,
18,
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
],
[
25,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
26,
37
],
[
25,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
38,
49
],
[
25,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] |
[
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n long a = scan.nextLong();\n String bs = scan.next();\n int b = Integer.parseInt(Character.toString((bs.charAt(0)))) * 100\n + Integer.parseInt(Character.toString((bs.charAt(2)))) * 10\n + Integer.parseInt(Character.toString((bs.charAt(3))));\n System.out.println((long)a * b / 100);\n scan.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n long a = scan.nextLong();\n String bs = scan.next();\n int b = Integer.parseInt(Character.toString((bs.charAt(0)))) * 100\n + Integer.parseInt(Character.toString((bs.charAt(2)))) * 10\n + Integer.parseInt(Character.toString((bs.charAt(3))));\n System.out.println((long)a * b / 100);\n scan.close();\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n long a = scan.nextLong();\n String bs = scan.next();\n int b = Integer.parseInt(Character.toString((bs.charAt(0)))) * 100\n + Integer.parseInt(Character.toString((bs.charAt(2)))) * 10\n + Integer.parseInt(Character.toString((bs.charAt(3))));\n System.out.println((long)a * b / 100);\n scan.close();\n }",
"main",
"{\n Scanner scan = new java.util.Scanner(System.in);\n long a = scan.nextLong();\n String bs = scan.next();\n int b = Integer.parseInt(Character.toString((bs.charAt(0)))) * 100\n + Integer.parseInt(Character.toString((bs.charAt(2)))) * 10\n + Integer.parseInt(Character.toString((bs.charAt(3))));\n System.out.println((long)a * b / 100);\n scan.close();\n }",
"Scanner scan = new java.util.Scanner(System.in);",
"scan",
"new java.util.Scanner(System.in)",
"long a = scan.nextLong();",
"a",
"scan.nextLong()",
"scan.nextLong",
"scan",
"String bs = scan.next();",
"bs",
"scan.next()",
"scan.next",
"scan",
"int b = Integer.parseInt(Character.toString((bs.charAt(0)))) * 100\n + Integer.parseInt(Character.toString((bs.charAt(2)))) * 10\n + Integer.parseInt(Character.toString((bs.charAt(3))));",
"b",
"Integer.parseInt(Character.toString((bs.charAt(0)))) * 100\n + Integer.parseInt(Character.toString((bs.charAt(2)))) * 10\n + Integer.parseInt(Character.toString((bs.charAt(3))))",
"Integer.parseInt(Character.toString((bs.charAt(0)))) * 100\n + Integer.parseInt(Character.toString((bs.charAt(2)))) * 10\n + Integer.parseInt(Character.toString((bs.charAt(3))))",
"Integer.parseInt(Character.toString((bs.charAt(0)))) * 100",
"Integer.parseInt(Character.toString((bs.charAt(0))))",
"Integer.parseInt",
"Integer",
"Character.toString((bs.charAt(0)))",
"Character.toString",
"Character",
"(bs.charAt(0))",
"bs.charAt",
"bs",
"0",
"100",
"Integer.parseInt(Character.toString((bs.charAt(2)))) * 10",
"Integer.parseInt(Character.toString((bs.charAt(2))))",
"Integer.parseInt",
"Integer",
"Character.toString((bs.charAt(2)))",
"Character.toString",
"Character",
"(bs.charAt(2))",
"bs.charAt",
"bs",
"2",
"10",
"Integer.parseInt(Character.toString((bs.charAt(3))))",
"Integer.parseInt",
"Integer",
"Character.toString((bs.charAt(3)))",
"Character.toString",
"Character",
"(bs.charAt(3))",
"bs.charAt",
"bs",
"3",
"System.out.println((long)a * b / 100)",
"System.out.println",
"System.out",
"System",
"System.out",
"(long)a * b / 100",
"(long)a * b",
"(long)a",
"b",
"100",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n long a = scan.nextLong();\n String bs = scan.next();\n int b = Integer.parseInt(Character.toString((bs.charAt(0)))) * 100\n + Integer.parseInt(Character.toString((bs.charAt(2)))) * 10\n + Integer.parseInt(Character.toString((bs.charAt(3))));\n System.out.println((long)a * b / 100);\n scan.close();\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n long a = scan.nextLong();\n String bs = scan.next();\n int b = Integer.parseInt(Character.toString((bs.charAt(0)))) * 100\n + Integer.parseInt(Character.toString((bs.charAt(2)))) * 10\n + Integer.parseInt(Character.toString((bs.charAt(3))));\n System.out.println((long)a * b / 100);\n scan.close();\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new java.util.Scanner(System.in);
long a = scan.nextLong();
String bs = scan.next();
int b = Integer.parseInt(Character.toString((bs.charAt(0)))) * 100
+ Integer.parseInt(Character.toString((bs.charAt(2)))) * 10
+ Integer.parseInt(Character.toString((bs.charAt(3))));
System.out.println((long)a * b / 100);
scan.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,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
45,
8
],
[
45,
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
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
9,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.util.*;\nimport java.math.*;\n \npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String A = sc.next();\n String B = sc.next();\n \n BigDecimal a = new BigDecimal(A);\n BigDecimal b = new BigDecimal(B);\n System.out.println(a.multiply(b).toBigInteger());\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String A = sc.next();\n String B = sc.next();\n \n BigDecimal a = new BigDecimal(A);\n BigDecimal b = new BigDecimal(B);\n System.out.println(a.multiply(b).toBigInteger());\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String A = sc.next();\n String B = sc.next();\n \n BigDecimal a = new BigDecimal(A);\n BigDecimal b = new BigDecimal(B);\n System.out.println(a.multiply(b).toBigInteger());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String A = sc.next();\n String B = sc.next();\n \n BigDecimal a = new BigDecimal(A);\n BigDecimal b = new BigDecimal(B);\n System.out.println(a.multiply(b).toBigInteger());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String A = sc.next();",
"A",
"sc.next()",
"sc.next",
"sc",
"String B = sc.next();",
"B",
"sc.next()",
"sc.next",
"sc",
"BigDecimal a = new BigDecimal(A);",
"a",
"new BigDecimal(A)",
"BigDecimal b = new BigDecimal(B);",
"b",
"new BigDecimal(B)",
"System.out.println(a.multiply(b).toBigInteger())",
"System.out.println",
"System.out",
"System",
"System.out",
"a.multiply(b).toBigInteger()",
"a.multiply(b).toBigInteger",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String A = sc.next();\n String B = sc.next();\n \n BigDecimal a = new BigDecimal(A);\n BigDecimal b = new BigDecimal(B);\n System.out.println(a.multiply(b).toBigInteger());\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String A = sc.next();\n String B = sc.next();\n \n BigDecimal a = new BigDecimal(A);\n BigDecimal b = new BigDecimal(B);\n System.out.println(a.multiply(b).toBigInteger());\n }\n}",
"Main"
] |
import java.util.*;
import java.math.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String A = sc.next();
String B = sc.next();
BigDecimal a = new BigDecimal(A);
BigDecimal b = new BigDecimal(B);
System.out.println(a.multiply(b).toBigInteger());
}
}
|
[
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,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
13,
18,
13,
13,
30,
3,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
100,
8
],
[
100,
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
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
11,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
11,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
11,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
11,
56
],
[
56,
57
],
[
56,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
59,
69
],
[
69,
70
],
[
70,
71
],
[
59,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
74,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
84,
86
],
[
74,
87
],
[
87,
88
],
[
11,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
95,
96
],
[
9,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] |
[
"import java.util.*;\nimport java.math.*;\n \npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long l = sc.nextLong();\n double d = sc.nextDouble();\n sc.close();\n BigDecimal b1 = BigDecimal.valueOf(l);\n BigDecimal b2 = BigDecimal.valueOf(d);\n BigDecimal b3 = b2.multiply(b1);\n String s = b3.toPlainString();\n char[] c = s.toCharArray();\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < c.length; i++){\n if(c[i] != '.'){\n sb.append(c[i]);\n }else{\n break;\n }\n }\n System.out.println(sb.toString());\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long l = sc.nextLong();\n double d = sc.nextDouble();\n sc.close();\n BigDecimal b1 = BigDecimal.valueOf(l);\n BigDecimal b2 = BigDecimal.valueOf(d);\n BigDecimal b3 = b2.multiply(b1);\n String s = b3.toPlainString();\n char[] c = s.toCharArray();\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < c.length; i++){\n if(c[i] != '.'){\n sb.append(c[i]);\n }else{\n break;\n }\n }\n System.out.println(sb.toString());\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long l = sc.nextLong();\n double d = sc.nextDouble();\n sc.close();\n BigDecimal b1 = BigDecimal.valueOf(l);\n BigDecimal b2 = BigDecimal.valueOf(d);\n BigDecimal b3 = b2.multiply(b1);\n String s = b3.toPlainString();\n char[] c = s.toCharArray();\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < c.length; i++){\n if(c[i] != '.'){\n sb.append(c[i]);\n }else{\n break;\n }\n }\n System.out.println(sb.toString());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long l = sc.nextLong();\n double d = sc.nextDouble();\n sc.close();\n BigDecimal b1 = BigDecimal.valueOf(l);\n BigDecimal b2 = BigDecimal.valueOf(d);\n BigDecimal b3 = b2.multiply(b1);\n String s = b3.toPlainString();\n char[] c = s.toCharArray();\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < c.length; i++){\n if(c[i] != '.'){\n sb.append(c[i]);\n }else{\n break;\n }\n }\n System.out.println(sb.toString());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long l = sc.nextLong();",
"l",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double d = sc.nextDouble();",
"d",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"sc.close()",
"sc.close",
"sc",
"BigDecimal b1 = BigDecimal.valueOf(l);",
"b1",
"BigDecimal.valueOf(l)",
"BigDecimal.valueOf",
"BigDecimal",
"l",
"BigDecimal b2 = BigDecimal.valueOf(d);",
"b2",
"BigDecimal.valueOf(d)",
"BigDecimal.valueOf",
"BigDecimal",
"d",
"BigDecimal b3 = b2.multiply(b1);",
"b3",
"b2.multiply(b1)",
"b2.multiply",
"b2",
"b1",
"String s = b3.toPlainString();",
"s",
"b3.toPlainString()",
"b3.toPlainString",
"b3",
"char[] c = s.toCharArray();",
"c",
"s.toCharArray()",
"s.toCharArray",
"s",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int i = 0; i < c.length; i++){\n if(c[i] != '.'){\n sb.append(c[i]);\n }else{\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < c.length",
"i",
"c.length",
"c",
"c.length",
"i++",
"i++",
"i",
"{\n if(c[i] != '.'){\n sb.append(c[i]);\n }else{\n break;\n }\n }",
"{\n if(c[i] != '.'){\n sb.append(c[i]);\n }else{\n break;\n }\n }",
"if(c[i] != '.'){\n sb.append(c[i]);\n }else{\n break;\n }",
"c[i] != '.'",
"c[i]",
"c",
"i",
"'.'",
"{\n sb.append(c[i]);\n }",
"sb.append(c[i])",
"sb.append",
"sb",
"c[i]",
"c",
"i",
"{\n break;\n }",
"break;",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long l = sc.nextLong();\n double d = sc.nextDouble();\n sc.close();\n BigDecimal b1 = BigDecimal.valueOf(l);\n BigDecimal b2 = BigDecimal.valueOf(d);\n BigDecimal b3 = b2.multiply(b1);\n String s = b3.toPlainString();\n char[] c = s.toCharArray();\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < c.length; i++){\n if(c[i] != '.'){\n sb.append(c[i]);\n }else{\n break;\n }\n }\n System.out.println(sb.toString());\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long l = sc.nextLong();\n double d = sc.nextDouble();\n sc.close();\n BigDecimal b1 = BigDecimal.valueOf(l);\n BigDecimal b2 = BigDecimal.valueOf(d);\n BigDecimal b3 = b2.multiply(b1);\n String s = b3.toPlainString();\n char[] c = s.toCharArray();\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < c.length; i++){\n if(c[i] != '.'){\n sb.append(c[i]);\n }else{\n break;\n }\n }\n System.out.println(sb.toString());\n }\n}",
"Main"
] |
import java.util.*;
import java.math.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long l = sc.nextLong();
double d = sc.nextDouble();
sc.close();
BigDecimal b1 = BigDecimal.valueOf(l);
BigDecimal b2 = BigDecimal.valueOf(d);
BigDecimal b3 = b2.multiply(b1);
String s = b3.toPlainString();
char[] c = s.toCharArray();
StringBuilder sb = new StringBuilder();
for(int i = 0; i < c.length; i++){
if(c[i] != '.'){
sb.append(c[i]);
}else{
break;
}
}
System.out.println(sb.toString());
}
}
|
[
7,
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,
13,
41,
13,
4,
18,
13,
17,
18,
13,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
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
],
[
56,
11
],
[
56,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
14,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
14,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
14,
50
],
[
50,
51
],
[
51,
52
],
[
12,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] |
[
"import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal num1 = new BigDecimal(sc.next());\n\t\tBigDecimal num2 = new BigDecimal(sc.next());\n\t\tBigDecimal mul = num1.multiply(num2);\n\t\tBigDecimal result = mul.setScale(0, RoundingMode.DOWN);\n\n\t\tlong out = result.longValue();\n\n\n\t\tSystem.out.println(out);\n\t\tsc.close();\n\n\t}\n\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"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\tBigDecimal num1 = new BigDecimal(sc.next());\n\t\tBigDecimal num2 = new BigDecimal(sc.next());\n\t\tBigDecimal mul = num1.multiply(num2);\n\t\tBigDecimal result = mul.setScale(0, RoundingMode.DOWN);\n\n\t\tlong out = result.longValue();\n\n\n\t\tSystem.out.println(out);\n\t\tsc.close();\n\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal num1 = new BigDecimal(sc.next());\n\t\tBigDecimal num2 = new BigDecimal(sc.next());\n\t\tBigDecimal mul = num1.multiply(num2);\n\t\tBigDecimal result = mul.setScale(0, RoundingMode.DOWN);\n\n\t\tlong out = result.longValue();\n\n\n\t\tSystem.out.println(out);\n\t\tsc.close();\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal num1 = new BigDecimal(sc.next());\n\t\tBigDecimal num2 = new BigDecimal(sc.next());\n\t\tBigDecimal mul = num1.multiply(num2);\n\t\tBigDecimal result = mul.setScale(0, RoundingMode.DOWN);\n\n\t\tlong out = result.longValue();\n\n\n\t\tSystem.out.println(out);\n\t\tsc.close();\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal num1 = new BigDecimal(sc.next());",
"num1",
"new BigDecimal(sc.next())",
"BigDecimal num2 = new BigDecimal(sc.next());",
"num2",
"new BigDecimal(sc.next())",
"BigDecimal mul = num1.multiply(num2);",
"mul",
"num1.multiply(num2)",
"num1.multiply",
"num1",
"num2",
"BigDecimal result = mul.setScale(0, RoundingMode.DOWN);",
"result",
"mul.setScale(0, RoundingMode.DOWN)",
"mul.setScale",
"mul",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"long out = result.longValue();",
"out",
"result.longValue()",
"result.longValue",
"result",
"System.out.println(out)",
"System.out.println",
"System.out",
"System",
"System.out",
"out",
"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\tBigDecimal num1 = new BigDecimal(sc.next());\n\t\tBigDecimal num2 = new BigDecimal(sc.next());\n\t\tBigDecimal mul = num1.multiply(num2);\n\t\tBigDecimal result = mul.setScale(0, RoundingMode.DOWN);\n\n\t\tlong out = result.longValue();\n\n\n\t\tSystem.out.println(out);\n\t\tsc.close();\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal num1 = new BigDecimal(sc.next());\n\t\tBigDecimal num2 = new BigDecimal(sc.next());\n\t\tBigDecimal mul = num1.multiply(num2);\n\t\tBigDecimal result = mul.setScale(0, RoundingMode.DOWN);\n\n\t\tlong out = result.longValue();\n\n\n\t\tSystem.out.println(out);\n\t\tsc.close();\n\n\t}\n\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
BigDecimal num1 = new BigDecimal(sc.next());
BigDecimal num2 = new BigDecimal(sc.next());
BigDecimal mul = num1.multiply(num2);
BigDecimal result = mul.setScale(0, RoundingMode.DOWN);
long out = result.longValue();
System.out.println(out);
sc.close();
}
}
|
[
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,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
48,
8
],
[
48,
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
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
9,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"\n\nimport java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner=new Scanner(System.in);\n\n\t\tBigDecimal a = BigDecimal.valueOf(scanner.nextLong());\n\t\tBigDecimal b = BigDecimal.valueOf(scanner.nextDouble());\n\t\tSystem.out.println(a.multiply(b).longValue());\n\n\n\n\t\tscanner.close();\n\n\t}\n\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner=new Scanner(System.in);\n\n\t\tBigDecimal a = BigDecimal.valueOf(scanner.nextLong());\n\t\tBigDecimal b = BigDecimal.valueOf(scanner.nextDouble());\n\t\tSystem.out.println(a.multiply(b).longValue());\n\n\n\n\t\tscanner.close();\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scanner=new Scanner(System.in);\n\n\t\tBigDecimal a = BigDecimal.valueOf(scanner.nextLong());\n\t\tBigDecimal b = BigDecimal.valueOf(scanner.nextDouble());\n\t\tSystem.out.println(a.multiply(b).longValue());\n\n\n\n\t\tscanner.close();\n\n\t}",
"main",
"{\n\n\t\tScanner scanner=new Scanner(System.in);\n\n\t\tBigDecimal a = BigDecimal.valueOf(scanner.nextLong());\n\t\tBigDecimal b = BigDecimal.valueOf(scanner.nextDouble());\n\t\tSystem.out.println(a.multiply(b).longValue());\n\n\n\n\t\tscanner.close();\n\n\t}",
"Scanner scanner=new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"BigDecimal a = BigDecimal.valueOf(scanner.nextLong());",
"a",
"BigDecimal.valueOf(scanner.nextLong())",
"BigDecimal.valueOf",
"BigDecimal",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"BigDecimal b = BigDecimal.valueOf(scanner.nextDouble());",
"b",
"BigDecimal.valueOf(scanner.nextDouble())",
"BigDecimal.valueOf",
"BigDecimal",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"System.out.println(a.multiply(b).longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"a.multiply(b).longValue()",
"a.multiply(b).longValue",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner=new Scanner(System.in);\n\n\t\tBigDecimal a = BigDecimal.valueOf(scanner.nextLong());\n\t\tBigDecimal b = BigDecimal.valueOf(scanner.nextDouble());\n\t\tSystem.out.println(a.multiply(b).longValue());\n\n\n\n\t\tscanner.close();\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner=new Scanner(System.in);\n\n\t\tBigDecimal a = BigDecimal.valueOf(scanner.nextLong());\n\t\tBigDecimal b = BigDecimal.valueOf(scanner.nextDouble());\n\t\tSystem.out.println(a.multiply(b).longValue());\n\n\n\n\t\tscanner.close();\n\n\t}\n\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner=new Scanner(System.in);
BigDecimal a = BigDecimal.valueOf(scanner.nextLong());
BigDecimal b = BigDecimal.valueOf(scanner.nextDouble());
System.out.println(a.multiply(b).longValue());
scanner.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
2,
4,
18,
13,
17,
17,
17,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
4,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
4,
18,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
29,
17,
30,
29,
2,
13,
4,
13,
2,
13,
17,
23,
13,
12,
13,
30,
29,
8,
2,
2,
13,
17,
2,
13,
17,
13,
2,
4,
13,
2,
13,
17,
4,
13,
2,
13,
17,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
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,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
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,
13,
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,
13,
23,
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,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
406,
8
],
[
406,
9
],
[
9,
10
],
[
9,
11
],
[
406,
12
],
[
12,
13
],
[
12,
14
],
[
406,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
18,
22
],
[
17,
23
],
[
406,
24
],
[
24,
25
],
[
24,
26
],
[
406,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
29,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
27,
47
],
[
47,
48
],
[
406,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
406,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
406,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
406,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
406,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
406,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
94,
96
],
[
89,
97
],
[
97,
98
],
[
98,
99
],
[
89,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
86,
109
],
[
109,
110
],
[
406,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
120,
122
],
[
115,
123
],
[
115,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
127,
129
],
[
124,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
132,
134
],
[
111,
135
],
[
135,
136
],
[
406,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
145,
147
],
[
145,
148
],
[
137,
149
],
[
149,
150
],
[
137,
151
],
[
151,
152
],
[
406,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
161,
162
],
[
161,
163
],
[
161,
164
],
[
153,
165
],
[
165,
166
],
[
153,
167
],
[
167,
168
],
[
406,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
173,
178
],
[
178,
179
],
[
178,
180
],
[
178,
181
],
[
181,
182
],
[
181,
183
],
[
169,
184
],
[
184,
185
],
[
169,
186
],
[
186,
187
],
[
406,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
192,
196
],
[
192,
197
],
[
197,
198
],
[
197,
199
],
[
197,
200
],
[
200,
201
],
[
200,
202
],
[
188,
203
],
[
203,
204
],
[
188,
205
],
[
205,
206
],
[
406,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
210,
215
],
[
207,
216
],
[
216,
217
],
[
406,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
221,
226
],
[
218,
227
],
[
227,
228
],
[
406,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
232,
237
],
[
229,
238
],
[
238,
239
],
[
406,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
243,
248
],
[
240,
249
],
[
249,
250
],
[
406,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
254,
259
],
[
251,
260
],
[
260,
261
],
[
406,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
265,
270
],
[
270,
271
],
[
271,
272
],
[
262,
273
],
[
273,
274
],
[
406,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
278,
283
],
[
275,
284
],
[
284,
285
],
[
406,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
289,
294
],
[
286,
295
],
[
295,
296
],
[
406,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
300,
305
],
[
297,
306
],
[
306,
307
],
[
406,
308
],
[
308,
309
],
[
308,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
311,
316
],
[
308,
317
],
[
317,
318
],
[
406,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
322,
327
],
[
319,
328
],
[
328,
329
],
[
406,
330
],
[
330,
331
],
[
330,
332
],
[
332,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
334,
337
],
[
334,
338
],
[
330,
339
],
[
339,
340
],
[
330,
341
],
[
341,
342
],
[
406,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
348,
349
],
[
347,
350
],
[
347,
351
],
[
343,
352
],
[
352,
353
],
[
343,
354
],
[
354,
355
],
[
406,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
361,
362
],
[
360,
363
],
[
360,
364
],
[
356,
365
],
[
365,
366
],
[
356,
367
],
[
367,
368
],
[
406,
369
],
[
369,
370
],
[
369,
371
],
[
371,
372
],
[
372,
373
],
[
373,
374
],
[
374,
375
],
[
373,
376
],
[
373,
377
],
[
369,
378
],
[
378,
379
],
[
369,
380
],
[
380,
381
],
[
0,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
382,
386
],
[
386,
387
],
[
382,
388
],
[
388,
389
],
[
388,
390
],
[
390,
391
],
[
391,
392
],
[
392,
393
],
[
392,
394
],
[
391,
395
],
[
390,
396
],
[
396,
397
],
[
397,
398
],
[
397,
399
],
[
396,
400
],
[
388,
401
],
[
401,
402
],
[
388,
403
],
[
403,
404
],
[
0,
405
],
[
405,
406
],
[
405,
407
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\t//\t\tint n = ni();\n\t\t//\n\t\t//\t\tlong ans = 1l;\n\t\t//\n\t\t//\t\tlong limit = (long) Math.pow(10, 18);\n\t\t//\n\t\t//\t\tboolean minusflg = false;\n\t\t//\t\tboolean zeroflg = false;\n\t\t//\n\t\t//\t\tfor (int i = 0; i < n; i++) {\n\t\t//\t\t\tans *= nl();\n\t\t//\n\t\t//\t\t\tif (ans < 0l) {\n\t\t//\t\t\t\tminusflg = true;\n\t\t//\t\t\t}\n\t\t//\n\t\t//\t\t\tif (ans == 0l) {\n\t\t//\t\t\t\tzeroflg = true;\n\t\t//\t\t\t\tbreak;\n\t\t//\t\t\t}\n\t\t//\n\t\t//\t\t}\n\t\t//\n\t\t//\t\tif (zeroflg) {\n\t\t//\t\t\tans = 0l;\n\t\t//\t\t} else if (minusflg || ans > limit) {\n\t\t//\t\t\tans = -1l;\n\t\t//\t\t}\n\t\t//\t\tout(ans);\n\n\t\tBigDecimal a = new BigDecimal(n());\n\t\tBigDecimal b = new BigDecimal(n());\n\n\t\tBigDecimal ans = a.multiply(b);\n\n\t\tout(ans.toBigInteger());\n\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\tstatic int ni() {\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(String info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(int info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(double info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(long info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(char info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}\n\n\tstatic void outn(String info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(int info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(double info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(long info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(char info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic int max(int a, int b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic int min(int a, int b) {\n\t\treturn Math.min(a, b);\n\t}\n\n\tstatic long min(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}\n}\n\nclass XY {\n\tint h;\n\tint c;\n\n\tXY(int h, int c) {\n\t\tthis.h = h;\n\t\tthis.c = c;\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\t//\t\tint n = ni();\n\t\t//\n\t\t//\t\tlong ans = 1l;\n\t\t//\n\t\t//\t\tlong limit = (long) Math.pow(10, 18);\n\t\t//\n\t\t//\t\tboolean minusflg = false;\n\t\t//\t\tboolean zeroflg = false;\n\t\t//\n\t\t//\t\tfor (int i = 0; i < n; i++) {\n\t\t//\t\t\tans *= nl();\n\t\t//\n\t\t//\t\t\tif (ans < 0l) {\n\t\t//\t\t\t\tminusflg = true;\n\t\t//\t\t\t}\n\t\t//\n\t\t//\t\t\tif (ans == 0l) {\n\t\t//\t\t\t\tzeroflg = true;\n\t\t//\t\t\t\tbreak;\n\t\t//\t\t\t}\n\t\t//\n\t\t//\t\t}\n\t\t//\n\t\t//\t\tif (zeroflg) {\n\t\t//\t\t\tans = 0l;\n\t\t//\t\t} else if (minusflg || ans > limit) {\n\t\t//\t\t\tans = -1l;\n\t\t//\t\t}\n\t\t//\t\tout(ans);\n\n\t\tBigDecimal a = new BigDecimal(n());\n\t\tBigDecimal b = new BigDecimal(n());\n\n\t\tBigDecimal ans = a.multiply(b);\n\n\t\tout(ans.toBigInteger());\n\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\tstatic int ni() {\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(String info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(int info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(double info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(long info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(char info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}\n\n\tstatic void outn(String info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(int info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(double info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(long info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(char info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic int max(int a, int b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic int min(int a, int b) {\n\t\treturn Math.min(a, b);\n\t}\n\n\tstatic long min(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}\n}",
"Main",
"public static String Y = \"Yes\";",
"Y",
"\"Yes\"",
"public static String N = \"No\";",
"N",
"\"No\"",
"public static long MOD = (long) (Math.pow(10, 9) + 7);",
"MOD",
"(long) (Math.pow(10, 9) + 7)",
"Math.pow(10, 9)",
"Math.pow",
"Math",
"10",
"9",
"7",
"public static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\n\t\t//\t\tint n = ni();\n\t\t//\n\t\t//\t\tlong ans = 1l;\n\t\t//\n\t\t//\t\tlong limit = (long) Math.pow(10, 18);\n\t\t//\n\t\t//\t\tboolean minusflg = false;\n\t\t//\t\tboolean zeroflg = false;\n\t\t//\n\t\t//\t\tfor (int i = 0; i < n; i++) {\n\t\t//\t\t\tans *= nl();\n\t\t//\n\t\t//\t\t\tif (ans < 0l) {\n\t\t//\t\t\t\tminusflg = true;\n\t\t//\t\t\t}\n\t\t//\n\t\t//\t\t\tif (ans == 0l) {\n\t\t//\t\t\t\tzeroflg = true;\n\t\t//\t\t\t\tbreak;\n\t\t//\t\t\t}\n\t\t//\n\t\t//\t\t}\n\t\t//\n\t\t//\t\tif (zeroflg) {\n\t\t//\t\t\tans = 0l;\n\t\t//\t\t} else if (minusflg || ans > limit) {\n\t\t//\t\t\tans = -1l;\n\t\t//\t\t}\n\t\t//\t\tout(ans);\n\n\t\tBigDecimal a = new BigDecimal(n());\n\t\tBigDecimal b = new BigDecimal(n());\n\n\t\tBigDecimal ans = a.multiply(b);\n\n\t\tout(ans.toBigInteger());\n\n\t}",
"main",
"{\n\n\t\t//\t\tint n = ni();\n\t\t//\n\t\t//\t\tlong ans = 1l;\n\t\t//\n\t\t//\t\tlong limit = (long) Math.pow(10, 18);\n\t\t//\n\t\t//\t\tboolean minusflg = false;\n\t\t//\t\tboolean zeroflg = false;\n\t\t//\n\t\t//\t\tfor (int i = 0; i < n; i++) {\n\t\t//\t\t\tans *= nl();\n\t\t//\n\t\t//\t\t\tif (ans < 0l) {\n\t\t//\t\t\t\tminusflg = true;\n\t\t//\t\t\t}\n\t\t//\n\t\t//\t\t\tif (ans == 0l) {\n\t\t//\t\t\t\tzeroflg = true;\n\t\t//\t\t\t\tbreak;\n\t\t//\t\t\t}\n\t\t//\n\t\t//\t\t}\n\t\t//\n\t\t//\t\tif (zeroflg) {\n\t\t//\t\t\tans = 0l;\n\t\t//\t\t} else if (minusflg || ans > limit) {\n\t\t//\t\t\tans = -1l;\n\t\t//\t\t}\n\t\t//\t\tout(ans);\n\n\t\tBigDecimal a = new BigDecimal(n());\n\t\tBigDecimal b = new BigDecimal(n());\n\n\t\tBigDecimal ans = a.multiply(b);\n\n\t\tout(ans.toBigInteger());\n\n\t}",
"BigDecimal a = new BigDecimal(n());",
"a",
"new BigDecimal(n())",
"BigDecimal b = new BigDecimal(n());",
"b",
"new BigDecimal(n())",
"BigDecimal ans = a.multiply(b);",
"ans",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"out(ans.toBigInteger())",
"out",
"ans.toBigInteger()",
"ans.toBigInteger",
"ans",
"String[] args",
"args",
"/*\n\t * 以下メソッド集\n\t */\n\tstatic int ni() {\n\t\treturn sc.nextInt();\n\t}",
"ni",
"{\n\t\treturn sc.nextInt();\n\t}",
"return sc.nextInt();",
"sc.nextInt()",
"sc.nextInt",
"sc",
"static long nl() {\n\t\treturn sc.nextLong();\n\t}",
"nl",
"{\n\t\treturn sc.nextLong();\n\t}",
"return sc.nextLong();",
"sc.nextLong()",
"sc.nextLong",
"sc",
"static double nd() {\n\t\treturn sc.nextDouble();\n\t}",
"nd",
"{\n\t\treturn sc.nextDouble();\n\t}",
"return sc.nextDouble();",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"static String n() {\n\t\treturn sc.next();\n\t}",
"n",
"{\n\t\treturn sc.next();\n\t}",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"static char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}",
"nc",
"{\n\t\treturn sc.next().toCharArray();\n\t}",
"return sc.next().toCharArray();",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"static int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}",
"kaijo",
"{\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}",
"if (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}",
"n == 0 || n == 1",
"n == 0",
"n",
"0",
"n == 1",
"n",
"1",
"{\n\t\t\treturn 1;\n\t\t}",
"return 1;",
"1",
"{\n\t\t\treturn n * kaijo(n - 1);\n\t\t}",
"return n * kaijo(n - 1);",
"n * kaijo(n - 1)",
"n",
"kaijo(n - 1)",
"kaijo",
"n - 1",
"n",
"1",
"int n",
"n",
"static int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}",
"fib",
"{\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}",
"return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);",
"(n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1)",
"(n == 1 || n == 0)",
"n == 1",
"n",
"1",
"n == 0",
"n",
"0",
"n",
"fib(n - 2) + fib(n - 1)",
"fib(n - 2)",
"fib",
"n - 2",
"n",
"2",
"fib(n - 1)",
"fib",
"n - 1",
"n",
"1",
"int n",
"n",
"static long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}",
"lcm",
"{\n\n\t\treturn m * n / gcd(m, n);\n\t}",
"return m * n / gcd(m, n);",
"m * n / gcd(m, n)",
"m * n",
"m",
"n",
"gcd(m, n)",
"gcd",
"m",
"n",
"long m",
"m",
"long n",
"n",
"static int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}",
"lcm",
"{\n\n\t\treturn m * n / gcd(m, n);\n\t}",
"return m * n / gcd(m, n);",
"m * n / gcd(m, n)",
"m * n",
"m",
"n",
"gcd(m, n)",
"gcd",
"m",
"n",
"int m",
"m",
"int n",
"n",
"static long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}",
"gcd",
"{\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}",
"return (b == 0) ? a : gcd(b, a % b);",
"(b == 0) ? a : gcd(b, a % b)",
"(b == 0)",
"b",
"0",
"a",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}",
"gcd",
"{\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}",
"return (b == 0) ? a : gcd(b, a % b);",
"(b == 0) ? a : gcd(b, a % b)",
"(b == 0)",
"b",
"0",
"a",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static void out(String info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"String info",
"info",
"static void out(int info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"int info",
"info",
"static void out(double info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"double info",
"info",
"static void out(long info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"long info",
"info",
"static void out(char info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"char info",
"info",
"static void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}",
"out",
"{\n\t\tSystem.out.println(obj.toString());\n\t}",
"System.out.println(obj.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"obj.toString()",
"obj.toString",
"obj",
"Object obj",
"obj",
"static void outn(String info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"String info",
"info",
"static void outn(int info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"int info",
"info",
"static void outn(double info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"double info",
"info",
"static void outn(long info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"long info",
"info",
"static void outn(char info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"char info",
"info",
"static int max(int a, int b) {\n\t\treturn Math.max(a, b);\n\t}",
"max",
"{\n\t\treturn Math.max(a, b);\n\t}",
"return Math.max(a, b);",
"Math.max(a, b)",
"Math.max",
"Math",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}",
"max",
"{\n\t\treturn Math.max(a, b);\n\t}",
"return Math.max(a, b);",
"Math.max(a, b)",
"Math.max",
"Math",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static int min(int a, int b) {\n\t\treturn Math.min(a, b);\n\t}",
"min",
"{\n\t\treturn Math.min(a, b);\n\t}",
"return Math.min(a, b);",
"Math.min(a, b)",
"Math.min",
"Math",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static long min(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}",
"min",
"{\n\t\treturn Math.min(a, b);\n\t}",
"return Math.min(a, b);",
"Math.min(a, b)",
"Math.min",
"Math",
"a",
"b",
"long a",
"a",
"long b",
"b",
"class XY {\n\tint h;\n\tint c;\n\n\tXY(int h, int c) {\n\t\tthis.h = h;\n\t\tthis.c = c;\n\t}\n}",
"XY",
"int h;",
"h",
"int c;",
"c",
"XY(int h, int c) {\n\t\tthis.h = h;\n\t\tthis.c = c;\n\t}",
"XY",
"{\n\t\tthis.h = h;\n\t\tthis.c = c;\n\t}",
"this.h = h",
"this.h",
"this",
"this.h",
"h",
"this.c = c",
"this.c",
"this",
"this.c",
"c",
"int h",
"h",
"int c",
"c",
"public class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\t//\t\tint n = ni();\n\t\t//\n\t\t//\t\tlong ans = 1l;\n\t\t//\n\t\t//\t\tlong limit = (long) Math.pow(10, 18);\n\t\t//\n\t\t//\t\tboolean minusflg = false;\n\t\t//\t\tboolean zeroflg = false;\n\t\t//\n\t\t//\t\tfor (int i = 0; i < n; i++) {\n\t\t//\t\t\tans *= nl();\n\t\t//\n\t\t//\t\t\tif (ans < 0l) {\n\t\t//\t\t\t\tminusflg = true;\n\t\t//\t\t\t}\n\t\t//\n\t\t//\t\t\tif (ans == 0l) {\n\t\t//\t\t\t\tzeroflg = true;\n\t\t//\t\t\t\tbreak;\n\t\t//\t\t\t}\n\t\t//\n\t\t//\t\t}\n\t\t//\n\t\t//\t\tif (zeroflg) {\n\t\t//\t\t\tans = 0l;\n\t\t//\t\t} else if (minusflg || ans > limit) {\n\t\t//\t\t\tans = -1l;\n\t\t//\t\t}\n\t\t//\t\tout(ans);\n\n\t\tBigDecimal a = new BigDecimal(n());\n\t\tBigDecimal b = new BigDecimal(n());\n\n\t\tBigDecimal ans = a.multiply(b);\n\n\t\tout(ans.toBigInteger());\n\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\tstatic int ni() {\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(String info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(int info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(double info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(long info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(char info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}\n\n\tstatic void outn(String info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(int info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(double info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(long info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(char info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic int max(int a, int b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic int min(int a, int b) {\n\t\treturn Math.min(a, b);\n\t}\n\n\tstatic long min(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}\n}",
"public class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\t//\t\tint n = ni();\n\t\t//\n\t\t//\t\tlong ans = 1l;\n\t\t//\n\t\t//\t\tlong limit = (long) Math.pow(10, 18);\n\t\t//\n\t\t//\t\tboolean minusflg = false;\n\t\t//\t\tboolean zeroflg = false;\n\t\t//\n\t\t//\t\tfor (int i = 0; i < n; i++) {\n\t\t//\t\t\tans *= nl();\n\t\t//\n\t\t//\t\t\tif (ans < 0l) {\n\t\t//\t\t\t\tminusflg = true;\n\t\t//\t\t\t}\n\t\t//\n\t\t//\t\t\tif (ans == 0l) {\n\t\t//\t\t\t\tzeroflg = true;\n\t\t//\t\t\t\tbreak;\n\t\t//\t\t\t}\n\t\t//\n\t\t//\t\t}\n\t\t//\n\t\t//\t\tif (zeroflg) {\n\t\t//\t\t\tans = 0l;\n\t\t//\t\t} else if (minusflg || ans > limit) {\n\t\t//\t\t\tans = -1l;\n\t\t//\t\t}\n\t\t//\t\tout(ans);\n\n\t\tBigDecimal a = new BigDecimal(n());\n\t\tBigDecimal b = new BigDecimal(n());\n\n\t\tBigDecimal ans = a.multiply(b);\n\n\t\tout(ans.toBigInteger());\n\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\tstatic int ni() {\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(String info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(int info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(double info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(long info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(char info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}\n\n\tstatic void outn(String info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(int info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(double info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(long info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(char info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic int max(int a, int b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic int min(int a, int b) {\n\t\treturn Math.min(a, b);\n\t}\n\n\tstatic long min(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static String Y = "Yes";
public static String N = "No";
public static long MOD = (long) (Math.pow(10, 9) + 7);
public static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
// int n = ni();
//
// long ans = 1l;
//
// long limit = (long) Math.pow(10, 18);
//
// boolean minusflg = false;
// boolean zeroflg = false;
//
// for (int i = 0; i < n; i++) {
// ans *= nl();
//
// if (ans < 0l) {
// minusflg = true;
// }
//
// if (ans == 0l) {
// zeroflg = true;
// break;
// }
//
// }
//
// if (zeroflg) {
// ans = 0l;
// } else if (minusflg || ans > limit) {
// ans = -1l;
// }
// out(ans);
BigDecimal a = new BigDecimal(n());
BigDecimal b = new BigDecimal(n());
BigDecimal ans = a.multiply(b);
out(ans.toBigInteger());
}
/*
* 以下メソッド集
*/
static int ni() {
return sc.nextInt();
}
static long nl() {
return sc.nextLong();
}
static double nd() {
return sc.nextDouble();
}
static String n() {
return sc.next();
}
static char[] nc() {
return sc.next().toCharArray();
}
static int kaijo(int n) {
if (n == 0 || n == 1) {
return 1;
} else {
return n * kaijo(n - 1);
}
}
static int fib(int n) {
return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);
}
static long lcm(long m, long n) {
return m * n / gcd(m, n);
}
static int lcm(int m, int n) {
return m * n / gcd(m, n);
}
static long gcd(long a, long b) {
return (b == 0) ? a : gcd(b, a % b);
}
static int gcd(int a, int b) {
return (b == 0) ? a : gcd(b, a % b);
}
static void out(String info) {
System.out.println(info);
}
static void out(int info) {
System.out.println(info);
}
static void out(double info) {
System.out.println(info);
}
static void out(long info) {
System.out.println(info);
}
static void out(char info) {
System.out.println(info);
}
static void out(Object obj) {
System.out.println(obj.toString());
}
static void outn(String info) {
System.out.print(info);
}
static void outn(int info) {
System.out.print(info);
}
static void outn(double info) {
System.out.print(info);
}
static void outn(long info) {
System.out.print(info);
}
static void outn(char info) {
System.out.print(info);
}
static int max(int a, int b) {
return Math.max(a, b);
}
static long max(long a, long b) {
return Math.max(a, b);
}
static int min(int a, int b) {
return Math.min(a, b);
}
static long min(long a, long b) {
return Math.min(a, b);
}
}
class XY {
int h;
int c;
XY(int h, int c) {
this.h = h;
this.c = c;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
12,
13,
30,
4,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
29,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
14,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
14,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
439,
17
],
[
439,
18
],
[
18,
19
],
[
18,
20
],
[
439,
21
],
[
21,
22
],
[
21,
23
],
[
439,
24
],
[
24,
25
],
[
439,
26
],
[
26,
27
],
[
439,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
30,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
30,
47
],
[
47,
48
],
[
47,
49
],
[
30,
50
],
[
50,
51
],
[
50,
52
],
[
30,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
30,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
30,
65
],
[
65,
66
],
[
66,
67
],
[
28,
68
],
[
68,
69
],
[
439,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
70,
77
],
[
77,
78
],
[
77,
79
],
[
70,
81
],
[
81,
82
],
[
81,
83
],
[
70,
84
],
[
84,
85
],
[
84,
86
],
[
70,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
95,
96
],
[
90,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
101,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
97,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
120,
121
],
[
89,
122
],
[
122,
123
],
[
70,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
127,
135
],
[
135,
136
],
[
136,
137
],
[
70,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
146,
147
],
[
146,
148
],
[
138,
149
],
[
149,
150
],
[
70,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
155,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
161,
163
],
[
154,
164
],
[
164,
165
],
[
70,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
171,
172
],
[
172,
173
],
[
70,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
177,
181
],
[
181,
182
],
[
176,
183
],
[
183,
184
],
[
183,
185
],
[
176,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
176,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
190,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
195,
198
],
[
194,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
176,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
70,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
210,
214
],
[
214,
215
],
[
209,
216
],
[
216,
217
],
[
216,
218
],
[
209,
219
],
[
219,
220
],
[
219,
221
],
[
209,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
209,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
230,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
209,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
239,
243
],
[
243,
244
],
[
243,
245
],
[
238,
246
],
[
246,
247
],
[
247,
248
],
[
209,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
253,
257
],
[
257,
258
],
[
257,
259
],
[
252,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
260,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
266,
268
],
[
252,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
270,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
269,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
281,
285
],
[
269,
286
],
[
286,
287
],
[
287,
288
],
[
251,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
70,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
70,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
303,
306
],
[
306,
307
],
[
70,
308
],
[
308,
309
],
[
308,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
317,
318
],
[
317,
319
],
[
313,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
322,
324
],
[
320,
325
],
[
325,
326
],
[
325,
327
],
[
320,
328
],
[
328,
329
],
[
329,
330
],
[
320,
331
],
[
332,
332
],
[
332,
333
],
[
333,
334
],
[
334,
335
],
[
334,
336
],
[
333,
337
],
[
337,
338
],
[
338,
339
],
[
313,
340
],
[
340,
341
],
[
311,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
342,
347
],
[
347,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
347,
352
],
[
352,
353
],
[
352,
354
],
[
347,
355
],
[
355,
356
],
[
356,
357
],
[
347,
358
],
[
359,
359
],
[
359,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
360,
364
],
[
364,
365
],
[
365,
366
],
[
342,
367
],
[
367,
368
],
[
308,
369
],
[
369,
370
],
[
308,
371
],
[
371,
372
],
[
70,
373
],
[
373,
374
],
[
373,
375
],
[
375,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
382,
383
],
[
382,
384
],
[
378,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
387,
389
],
[
385,
390
],
[
390,
391
],
[
390,
392
],
[
385,
393
],
[
393,
394
],
[
394,
395
],
[
385,
396
],
[
397,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
398,
402
],
[
402,
403
],
[
403,
404
],
[
378,
405
],
[
405,
406
],
[
376,
407
],
[
407,
408
],
[
408,
409
],
[
408,
410
],
[
407,
412
],
[
412,
413
],
[
413,
414
],
[
414,
415
],
[
414,
416
],
[
412,
417
],
[
417,
418
],
[
417,
419
],
[
412,
420
],
[
420,
421
],
[
421,
422
],
[
412,
423
],
[
424,
424
],
[
424,
425
],
[
425,
426
],
[
426,
427
],
[
426,
428
],
[
425,
429
],
[
429,
430
],
[
430,
431
],
[
407,
432
],
[
432,
433
],
[
373,
434
],
[
434,
435
],
[
373,
436
],
[
436,
437
],
[
0,
438
],
[
438,
439
],
[
438,
440
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.math.BigDecimal;\nimport java.util.NoSuchElementException;\n\n\npublic class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\tstatic String s;\n\t//static Queue <Long> q = new ArrayDeque <Long>();\n\t//static List<ArrayList<Integer>> e;\n\t//static LinkedList<Integer> adj[]; \n\n\tpublic static void main(String[] args) {\n\t\tlong aa = sc.nextLong();\n\t\tString a = Long.toString(aa);\n\t\tString b = sc.next();\n\t\t\n\t\tBigDecimal A = new BigDecimal(a);\n\t\tBigDecimal B = new BigDecimal(b);\n\t\t\n\t\n\t\tBigDecimal res = A.multiply(B);\n\t\t\n\t\tout.println((long)res.longValue());\n\t\tout.flush();\n\t}\n\t\n\t\n\t\n\t\tstatic class FastScanner {\n\t\t private final InputStream in = System.in;\n\t\t private final byte[] buffer = new byte[1024];\n\t\t private int ptr = 0;\n\t\t private int buflen = 0;\n\n\t\t private boolean hasNextByte() {\n\t\t if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }\n\n\t\t private int readByte() {\n\t\t if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;\n\t\t }\n\n\t\t private static boolean isPrintableChar(int c) {\n\t\t return 33 <= c && c <= 126;\n\t\t }\n\n\t\t private void skipUnprintable() {\n\t\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t\t }\n\n\t\t public boolean hasNext() {\n\t\t skipUnprintable();\n\t\t return hasNextByte();\n\t\t }\n\n\t\t public String next() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int b = readByte();\n\t\t while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }\n\t\t return sb.toString();\n\t\t }\n\n\t\t public long nextLong() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t long n = 0;\n\t\t boolean minus = false;\n\t\t int b = readByte();\n\t\t if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }\n\t\t if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return (int) nextLong();\n\t\t }\n\t\t \n\t\t public double nextDouble(){\n\t\t \treturn Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\n\t\t public long[] nextLongArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t }\n\n\t\t}\t \n\n\n",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\tstatic String s;\n\t//static Queue <Long> q = new ArrayDeque <Long>();\n\t//static List<ArrayList<Integer>> e;\n\t//static LinkedList<Integer> adj[]; \n\n\tpublic static void main(String[] args) {\n\t\tlong aa = sc.nextLong();\n\t\tString a = Long.toString(aa);\n\t\tString b = sc.next();\n\t\t\n\t\tBigDecimal A = new BigDecimal(a);\n\t\tBigDecimal B = new BigDecimal(b);\n\t\t\n\t\n\t\tBigDecimal res = A.multiply(B);\n\t\t\n\t\tout.println((long)res.longValue());\n\t\tout.flush();\n\t}\n\t\n\t\n\t\n\t\tstatic class FastScanner {\n\t\t private final InputStream in = System.in;\n\t\t private final byte[] buffer = new byte[1024];\n\t\t private int ptr = 0;\n\t\t private int buflen = 0;\n\n\t\t private boolean hasNextByte() {\n\t\t if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }\n\n\t\t private int readByte() {\n\t\t if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;\n\t\t }\n\n\t\t private static boolean isPrintableChar(int c) {\n\t\t return 33 <= c && c <= 126;\n\t\t }\n\n\t\t private void skipUnprintable() {\n\t\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t\t }\n\n\t\t public boolean hasNext() {\n\t\t skipUnprintable();\n\t\t return hasNextByte();\n\t\t }\n\n\t\t public String next() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int b = readByte();\n\t\t while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }\n\t\t return sb.toString();\n\t\t }\n\n\t\t public long nextLong() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t long n = 0;\n\t\t boolean minus = false;\n\t\t int b = readByte();\n\t\t if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }\n\t\t if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return (int) nextLong();\n\t\t }\n\t\t \n\t\t public double nextDouble(){\n\t\t \treturn Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\n\t\t public long[] nextLongArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t }\n\n\t\t}",
"Main",
"static FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"static int n;",
"n",
"static String s;",
"s",
"public static void main(String[] args) {\n\t\tlong aa = sc.nextLong();\n\t\tString a = Long.toString(aa);\n\t\tString b = sc.next();\n\t\t\n\t\tBigDecimal A = new BigDecimal(a);\n\t\tBigDecimal B = new BigDecimal(b);\n\t\t\n\t\n\t\tBigDecimal res = A.multiply(B);\n\t\t\n\t\tout.println((long)res.longValue());\n\t\tout.flush();\n\t}",
"main",
"{\n\t\tlong aa = sc.nextLong();\n\t\tString a = Long.toString(aa);\n\t\tString b = sc.next();\n\t\t\n\t\tBigDecimal A = new BigDecimal(a);\n\t\tBigDecimal B = new BigDecimal(b);\n\t\t\n\t\n\t\tBigDecimal res = A.multiply(B);\n\t\t\n\t\tout.println((long)res.longValue());\n\t\tout.flush();\n\t}",
"long aa = sc.nextLong();",
"aa",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String a = Long.toString(aa);",
"a",
"Long.toString(aa)",
"Long.toString",
"Long",
"aa",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"BigDecimal A = new BigDecimal(a);",
"A",
"new BigDecimal(a)",
"BigDecimal B = new BigDecimal(b);",
"B",
"new BigDecimal(b)",
"BigDecimal res = A.multiply(B);",
"res",
"A.multiply(B)",
"A.multiply",
"A",
"B",
"out.println((long)res.longValue())",
"out.println",
"out",
"(long)res.longValue()",
"res.longValue",
"res",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"static class FastScanner {\n\t\t private final InputStream in = System.in;\n\t\t private final byte[] buffer = new byte[1024];\n\t\t private int ptr = 0;\n\t\t private int buflen = 0;\n\n\t\t private boolean hasNextByte() {\n\t\t if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }\n\n\t\t private int readByte() {\n\t\t if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;\n\t\t }\n\n\t\t private static boolean isPrintableChar(int c) {\n\t\t return 33 <= c && c <= 126;\n\t\t }\n\n\t\t private void skipUnprintable() {\n\t\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t\t }\n\n\t\t public boolean hasNext() {\n\t\t skipUnprintable();\n\t\t return hasNextByte();\n\t\t }\n\n\t\t public String next() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int b = readByte();\n\t\t while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }\n\t\t return sb.toString();\n\t\t }\n\n\t\t public long nextLong() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t long n = 0;\n\t\t boolean minus = false;\n\t\t int b = readByte();\n\t\t if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }\n\t\t if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return (int) nextLong();\n\t\t }\n\t\t \n\t\t public double nextDouble(){\n\t\t \treturn Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\n\t\t public long[] nextLongArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t }",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n\t\t if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }",
"hasNextByte",
"{\n\t\t if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }",
"if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }",
"ptr < buflen",
"ptr",
"buflen",
"{\n\t\t return true;\n\t\t }",
"return true;",
"true",
"{\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }",
"ptr = 0",
"ptr",
"0",
"try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }",
"catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }",
"IOException e",
"{\n\t\t e.printStackTrace();\n\t\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t buflen = in.read(buffer);\n\t\t }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n\t\t return false;\n\t\t }",
"buflen <= 0",
"buflen",
"0",
"{\n\t\t return false;\n\t\t }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n\t\t if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;\n\t\t }",
"readByte",
"{\n\t\t if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;\n\t\t }",
"if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n\t\t return 33 <= c && c <= 126;\n\t\t }",
"isPrintableChar",
"{\n\t\t return 33 <= c && c <= 126;\n\t\t }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"private void skipUnprintable() {\n\t\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t\t }",
"skipUnprintable",
"{\n\t\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t\t }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"public boolean hasNext() {\n\t\t skipUnprintable();\n\t\t return hasNextByte();\n\t\t }",
"hasNext",
"{\n\t\t skipUnprintable();\n\t\t return hasNextByte();\n\t\t }",
"skipUnprintable()",
"skipUnprintable",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int b = readByte();\n\t\t while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }\n\t\t return sb.toString();\n\t\t }",
"next",
"{\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int b = readByte();\n\t\t while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }\n\t\t return sb.toString();\n\t\t }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t long n = 0;\n\t\t boolean minus = false;\n\t\t int b = readByte();\n\t\t if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }\n\t\t if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }\n\t\t }",
"nextLong",
"{\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t long n = 0;\n\t\t boolean minus = false;\n\t\t int b = readByte();\n\t\t if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }\n\t\t if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }\n\t\t }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }",
"b == '-'",
"b",
"'-'",
"{\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n\t\t throw new NumberFormatException();\n\t\t }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }",
"true",
"{\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }",
"if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t\t return minus ? -n : n;\n\t\t }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n\t\t throw new NumberFormatException();\n\t\t }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n\t\t return (int) nextLong();\n\t\t }",
"nextInt",
"{\n\t\t return (int) nextLong();\n\t\t }",
"return (int) nextLong();",
"(int) nextLong()",
"nextLong",
"public 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",
"public int[] nextIntArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }",
"nextIntArray",
"{\n\t\t if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }",
"if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }",
"oneBased",
"{\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }",
"int[] array = new int[N + 1];",
"array",
"new int[N + 1]",
"N + 1",
"N",
"1",
"for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t array[i] = sc.nextInt();\n\t\t }",
"{\n\t\t array[i] = sc.nextInt();\n\t\t }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return array;",
"array",
"{\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }",
"int[] array = new int[N];",
"array",
"new int[N]",
"N",
"for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t array[i] = sc.nextInt();\n\t\t }",
"{\n\t\t array[i] = sc.nextInt();\n\t\t }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return array;",
"array",
"int N",
"N",
"boolean oneBased",
"oneBased",
"public long[] nextLongArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }",
"nextLongArray",
"{\n\t\t if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }",
"if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }",
"oneBased",
"{\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }",
"long[] array = new long[N + 1];",
"array",
"new long[N + 1]",
"N + 1",
"N",
"1",
"for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t array[i] = sc.nextLong();\n\t\t }",
"{\n\t\t array[i] = sc.nextLong();\n\t\t }",
"array[i] = sc.nextLong()",
"array[i]",
"array",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"return array;",
"array",
"{\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }",
"long[] array = new long[N];",
"array",
"new long[N]",
"N",
"for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t array[i] = sc.nextLong();\n\t\t }",
"{\n\t\t array[i] = sc.nextLong();\n\t\t }",
"array[i] = sc.nextLong()",
"array[i]",
"array",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"return array;",
"array",
"int N",
"N",
"boolean oneBased",
"oneBased",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\tstatic String s;\n\t//static Queue <Long> q = new ArrayDeque <Long>();\n\t//static List<ArrayList<Integer>> e;\n\t//static LinkedList<Integer> adj[]; \n\n\tpublic static void main(String[] args) {\n\t\tlong aa = sc.nextLong();\n\t\tString a = Long.toString(aa);\n\t\tString b = sc.next();\n\t\t\n\t\tBigDecimal A = new BigDecimal(a);\n\t\tBigDecimal B = new BigDecimal(b);\n\t\t\n\t\n\t\tBigDecimal res = A.multiply(B);\n\t\t\n\t\tout.println((long)res.longValue());\n\t\tout.flush();\n\t}\n\t\n\t\n\t\n\t\tstatic class FastScanner {\n\t\t private final InputStream in = System.in;\n\t\t private final byte[] buffer = new byte[1024];\n\t\t private int ptr = 0;\n\t\t private int buflen = 0;\n\n\t\t private boolean hasNextByte() {\n\t\t if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }\n\n\t\t private int readByte() {\n\t\t if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;\n\t\t }\n\n\t\t private static boolean isPrintableChar(int c) {\n\t\t return 33 <= c && c <= 126;\n\t\t }\n\n\t\t private void skipUnprintable() {\n\t\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t\t }\n\n\t\t public boolean hasNext() {\n\t\t skipUnprintable();\n\t\t return hasNextByte();\n\t\t }\n\n\t\t public String next() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int b = readByte();\n\t\t while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }\n\t\t return sb.toString();\n\t\t }\n\n\t\t public long nextLong() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t long n = 0;\n\t\t boolean minus = false;\n\t\t int b = readByte();\n\t\t if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }\n\t\t if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return (int) nextLong();\n\t\t }\n\t\t \n\t\t public double nextDouble(){\n\t\t \treturn Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\n\t\t public long[] nextLongArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t }\n\n\t\t}",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\tstatic String s;\n\t//static Queue <Long> q = new ArrayDeque <Long>();\n\t//static List<ArrayList<Integer>> e;\n\t//static LinkedList<Integer> adj[]; \n\n\tpublic static void main(String[] args) {\n\t\tlong aa = sc.nextLong();\n\t\tString a = Long.toString(aa);\n\t\tString b = sc.next();\n\t\t\n\t\tBigDecimal A = new BigDecimal(a);\n\t\tBigDecimal B = new BigDecimal(b);\n\t\t\n\t\n\t\tBigDecimal res = A.multiply(B);\n\t\t\n\t\tout.println((long)res.longValue());\n\t\tout.flush();\n\t}\n\t\n\t\n\t\n\t\tstatic class FastScanner {\n\t\t private final InputStream in = System.in;\n\t\t private final byte[] buffer = new byte[1024];\n\t\t private int ptr = 0;\n\t\t private int buflen = 0;\n\n\t\t private boolean hasNextByte() {\n\t\t if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }\n\n\t\t private int readByte() {\n\t\t if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;\n\t\t }\n\n\t\t private static boolean isPrintableChar(int c) {\n\t\t return 33 <= c && c <= 126;\n\t\t }\n\n\t\t private void skipUnprintable() {\n\t\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t\t }\n\n\t\t public boolean hasNext() {\n\t\t skipUnprintable();\n\t\t return hasNextByte();\n\t\t }\n\n\t\t public String next() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int b = readByte();\n\t\t while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }\n\t\t return sb.toString();\n\t\t }\n\n\t\t public long nextLong() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t long n = 0;\n\t\t boolean minus = false;\n\t\t int b = readByte();\n\t\t if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }\n\t\t if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return (int) nextLong();\n\t\t }\n\t\t \n\t\t public double nextDouble(){\n\t\t \treturn Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\n\t\t public long[] nextLongArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t }\n\n\t\t}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.math.BigDecimal;
import java.util.NoSuchElementException;
public class Main{
static FastScanner sc = new FastScanner();
static PrintWriter out = new PrintWriter(System.out);
static int n;
static String s;
//static Queue <Long> q = new ArrayDeque <Long>();
//static List<ArrayList<Integer>> e;
//static LinkedList<Integer> adj[];
public static void main(String[] args) {
long aa = sc.nextLong();
String a = Long.toString(aa);
String b = sc.next();
BigDecimal A = new BigDecimal(a);
BigDecimal B = new BigDecimal(b);
BigDecimal res = A.multiply(B);
out.println((long)res.longValue());
out.flush();
}
static class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte()) return buffer[ptr++];
else return -1;
}
private static boolean isPrintableChar(int c) {
return 33 <= c && c <= 126;
}
private void skipUnprintable() {
while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
}
public boolean hasNext() {
skipUnprintable();
return hasNextByte();
}
public String next() {
if (!hasNext()) throw new NoSuchElementException();
StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext()) throw new NoSuchElementException();
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
return (int) nextLong();
}
public double nextDouble(){
return Double.parseDouble(next());
}
public int[] nextIntArray(int N, boolean oneBased) {
if (oneBased) {
int[] array = new int[N + 1];
for (int i = 1; i <= N; i++) {
array[i] = sc.nextInt();
}
return array;
} else {
int[] array = new int[N];
for (int i = 0; i < N; i++) {
array[i] = sc.nextInt();
}
return array;
}
}
public long[] nextLongArray(int N, boolean oneBased) {
if (oneBased) {
long[] array = new long[N + 1];
for (int i = 1; i <= N; i++) {
array[i] = sc.nextLong();
}
return array;
} else {
long[] array = new long[N];
for (int i = 0; i < N; i++) {
array[i] = sc.nextLong();
}
return array;
}
}
}
}
|
[
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,
4,
18,
13,
41,
13,
2,
13,
17,
41,
13,
2,
13,
13,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
20,
20,
20,
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
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
48,
54
],
[
9,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tsc.close();\n\t\tlong d = (long)(b *1000);\n\t\tlong c = a*d;\n\t\t;\n\t\tc = c /100;\n\t\tSystem.out.println(new BigDecimal(a).multiply(new BigDecimal(d)).divideToIntegralValue(new BigDecimal(\"1000\")));\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tsc.close();\n\t\tlong d = (long)(b *1000);\n\t\tlong c = a*d;\n\t\t;\n\t\tc = c /100;\n\t\tSystem.out.println(new BigDecimal(a).multiply(new BigDecimal(d)).divideToIntegralValue(new BigDecimal(\"1000\")));\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tsc.close();\n\t\tlong d = (long)(b *1000);\n\t\tlong c = a*d;\n\t\t;\n\t\tc = c /100;\n\t\tSystem.out.println(new BigDecimal(a).multiply(new BigDecimal(d)).divideToIntegralValue(new BigDecimal(\"1000\")));\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tsc.close();\n\t\tlong d = (long)(b *1000);\n\t\tlong c = a*d;\n\t\t;\n\t\tc = c /100;\n\t\tSystem.out.println(new BigDecimal(a).multiply(new BigDecimal(d)).divideToIntegralValue(new BigDecimal(\"1000\")));\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double b = sc.nextDouble();",
"b",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"sc.close()",
"sc.close",
"sc",
"long d = (long)(b *1000);",
"d",
"(long)(b *1000)",
"b",
"1000",
"long c = a*d;",
"c",
"a*d",
"a",
"d",
"c = c /100",
"c",
"c /100",
"c",
"100",
"System.out.println(new BigDecimal(a).multiply(new BigDecimal(d)).divideToIntegralValue(new BigDecimal(\"1000\")))",
"System.out.println",
"System.out",
"System",
"System.out",
"new BigDecimal(a).multiply(new BigDecimal(d)).divideToIntegralValue(new BigDecimal(\"1000\"))",
"new BigDecimal(a).multiply(new BigDecimal(d)).divideToIntegralValue",
"new BigDecimal(a).multiply(new BigDecimal(d))",
"new BigDecimal(a).multiply",
"new BigDecimal(a)",
"new BigDecimal(d)",
"new BigDecimal(\"1000\")",
"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\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tsc.close();\n\t\tlong d = (long)(b *1000);\n\t\tlong c = a*d;\n\t\t;\n\t\tc = c /100;\n\t\tSystem.out.println(new BigDecimal(a).multiply(new BigDecimal(d)).divideToIntegralValue(new BigDecimal(\"1000\")));\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\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tsc.close();\n\t\tlong d = (long)(b *1000);\n\t\tlong c = a*d;\n\t\t;\n\t\tc = c /100;\n\t\tSystem.out.println(new BigDecimal(a).multiply(new BigDecimal(d)).divideToIntegralValue(new BigDecimal(\"1000\")));\n\t}\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
double b = sc.nextDouble();
sc.close();
long d = (long)(b *1000);
long c = a*d;
;
c = c /100;
System.out.println(new BigDecimal(a).multiply(new BigDecimal(d)).divideToIntegralValue(new BigDecimal("1000")));
}
}
|
[
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,
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,
20,
41,
13,
20,
4,
18,
13,
4,
18,
4,
18,
13,
13,
23,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
81,
20
],
[
81,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
23,
34
],
[
34,
35
],
[
34,
36
],
[
23,
37
],
[
37,
38
],
[
37,
39
],
[
23,
40
],
[
40,
41
],
[
40,
42
],
[
23,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
43,
48
],
[
23,
49
],
[
49,
50
],
[
50,
51
],
[
21,
52
],
[
52,
53
],
[
81,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
58,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
56,
74
],
[
74,
75
],
[
56,
76
],
[
76,
77
],
[
56,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.math.BigDecimal;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main\n{\n public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n BigDecimal a = new BigDecimal(\"\" + in.nextDouble());\n BigDecimal b = new BigDecimal(\"\" + in.nextDouble());\n out.println(a.multiply(b).toBigInteger());\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.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n BigDecimal a = new BigDecimal(\"\" + in.nextDouble());\n BigDecimal b = new BigDecimal(\"\" + in.nextDouble());\n out.println(a.multiply(b).toBigInteger());\n }\n\n }\n}",
"Main",
"public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\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",
"Scanner in = new Scanner(inputStream);",
"in",
"new Scanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"Task solver = new Task();",
"solver",
"new Task()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Task\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n BigDecimal a = new BigDecimal(\"\" + in.nextDouble());\n BigDecimal b = new BigDecimal(\"\" + in.nextDouble());\n out.println(a.multiply(b).toBigInteger());\n }\n\n }",
"Task",
"public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n BigDecimal a = new BigDecimal(\"\" + in.nextDouble());\n BigDecimal b = new BigDecimal(\"\" + in.nextDouble());\n out.println(a.multiply(b).toBigInteger());\n }",
"solve",
"{\n BigDecimal a = new BigDecimal(\"\" + in.nextDouble());\n BigDecimal b = new BigDecimal(\"\" + in.nextDouble());\n out.println(a.multiply(b).toBigInteger());\n }",
"BigDecimal a = new BigDecimal(\"\" + in.nextDouble());",
"a",
"new BigDecimal(\"\" + in.nextDouble())",
"BigDecimal b = new BigDecimal(\"\" + in.nextDouble());",
"b",
"new BigDecimal(\"\" + in.nextDouble())",
"out.println(a.multiply(b).toBigInteger())",
"out.println",
"out",
"a.multiply(b).toBigInteger()",
"a.multiply(b).toBigInteger",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"public class Main\n{\n public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n BigDecimal a = new BigDecimal(\"\" + in.nextDouble());\n BigDecimal b = new BigDecimal(\"\" + in.nextDouble());\n out.println(a.multiply(b).toBigInteger());\n }\n\n }\n}",
"public class Main\n{\n public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n BigDecimal a = new BigDecimal(\"\" + in.nextDouble());\n BigDecimal b = new BigDecimal(\"\" + in.nextDouble());\n out.println(a.multiply(b).toBigInteger());\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.math.BigDecimal;
import java.util.Scanner;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main
{
public static void main(String[] args)
{
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
Scanner in = new Scanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
Task solver = new Task();
solver.solve(1, in, out);
out.close();
}
static class Task
{
public void solve(int testNumber, Scanner in, PrintWriter out)
{
BigDecimal a = new BigDecimal("" + in.nextDouble());
BigDecimal b = new BigDecimal("" + in.nextDouble());
out.println(a.multiply(b).toBigInteger());
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
39,
17,
40,
17,
17,
17,
41,
13,
39,
17,
17,
40,
17,
17,
41,
13,
41,
13,
39,
40,
17,
17,
40,
17,
17,
41,
13,
39,
17,
17,
40,
17,
40,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
2,
2,
2,
13,
17,
2,
13,
13,
2,
13,
17,
2,
13,
13,
30,
29,
17,
29,
17,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
18,
13,
13,
13,
41,
13,
2,
18,
13,
13,
13,
14,
2,
4,
13,
13,
13,
40,
18,
18,
13,
13,
13,
30,
40,
13,
0,
18,
18,
13,
13,
13,
17,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
17,
17,
23,
13,
12,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
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
],
[
298,
11
],
[
298,
12
],
[
12,
13
],
[
12,
14
],
[
298,
15
],
[
15,
16
],
[
15,
17
],
[
298,
18
],
[
18,
19
],
[
298,
20
],
[
20,
21
],
[
20,
22
],
[
298,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
25,
29
],
[
25,
30
],
[
298,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
36,
37
],
[
33,
38
],
[
298,
39
],
[
39,
40
],
[
298,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
47,
48
],
[
43,
49
],
[
298,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
52,
55
],
[
55,
56
],
[
52,
57
],
[
57,
58
],
[
298,
59
],
[
59,
60
],
[
298,
61
],
[
61,
62
],
[
298,
63
],
[
63,
64
],
[
298,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
67,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
67,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
67,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
67,
89
],
[
89,
90
],
[
90,
91
],
[
65,
92
],
[
92,
93
],
[
298,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
100,
99
],
[
107,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
104,
106
],
[
107,
107
],
[
107,
108
],
[
107,
109
],
[
100,
110
],
[
110,
111
],
[
110,
112
],
[
97,
113
],
[
113,
114
],
[
114,
115
],
[
96,
116
],
[
116,
117
],
[
94,
118
],
[
118,
119
],
[
94,
120
],
[
120,
121
],
[
298,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
125,
130
],
[
130,
131
],
[
130,
132
],
[
125,
133
],
[
133,
134
],
[
134,
135
],
[
125,
136
],
[
137,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
137,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
137,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
154,
157
],
[
153,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
152,
164
],
[
164,
165
],
[
165,
166
],
[
164,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
167,
173
],
[
164,
174
],
[
174,
175
],
[
174,
176
],
[
174,
177
],
[
122,
178
],
[
178,
179
],
[
122,
180
],
[
180,
181
],
[
298,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
182,
191
],
[
191,
192
],
[
298,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
199,
200
],
[
199,
201
],
[
195,
202
],
[
202,
203
],
[
202,
204
],
[
193,
205
],
[
205,
206
],
[
193,
207
],
[
207,
208
],
[
298,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
209,
213
],
[
213,
214
],
[
209,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
209,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
225,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
224,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
234,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
223,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
209,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
253,
256
],
[
256,
257
],
[
209,
258
],
[
258,
259
],
[
258,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
262,
265
],
[
265,
266
],
[
209,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
271,
274
],
[
274,
275
],
[
209,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
278,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
282,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
278,
295
],
[
295,
296
],
[
0,
297
],
[
297,
298
],
[
297,
299
]
] |
[
"import java.io.*;\nimport java.math.*;\nimport java.util.*;\n\n\n\n\n\n\npublic class Main {\n\n static MyScanner in = new MyScanner();\n static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int N;\n static int max = 200001;\n static int [] dr = {1,-1,0,0};\n static int [] dc={0,0,-1,1};\n static boolean [][] grid;\n static int [] bishopr = {-1,1,-1,1};\n static int [] bishopc = {1,1,-1,-1};\n static long H,W,cnt;\n public static void main(String args[]) throws IOException {\n BigDecimal A = new BigDecimal(in.next());\n BigDecimal B = new BigDecimal(in.next());\n BigDecimal db = A.multiply(B);\n long answer = db.longValue();\n out.println(answer);\n out.flush();\n }\n static boolean isValid (int r, int c){\n if(r>=0&&r<H&&c>=0&&c<W){\n return true;\n }\n return false;\n }\n private static void dfs(int r, int c) {\n for(int i=0;i<4;i++){\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }\n }\n\n static boolean isEven(long a) {\n return (a&1)==0;\n }\n static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }\n \n\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\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}",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n static MyScanner in = new MyScanner();\n static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int N;\n static int max = 200001;\n static int [] dr = {1,-1,0,0};\n static int [] dc={0,0,-1,1};\n static boolean [][] grid;\n static int [] bishopr = {-1,1,-1,1};\n static int [] bishopc = {1,1,-1,-1};\n static long H,W,cnt;\n public static void main(String args[]) throws IOException {\n BigDecimal A = new BigDecimal(in.next());\n BigDecimal B = new BigDecimal(in.next());\n BigDecimal db = A.multiply(B);\n long answer = db.longValue();\n out.println(answer);\n out.flush();\n }\n static boolean isValid (int r, int c){\n if(r>=0&&r<H&&c>=0&&c<W){\n return true;\n }\n return false;\n }\n private static void dfs(int r, int c) {\n for(int i=0;i<4;i++){\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }\n }\n\n static boolean isEven(long a) {\n return (a&1)==0;\n }\n static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }\n \n\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\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}",
"Main",
"static MyScanner in = new MyScanner();",
"in",
"new MyScanner()",
"static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));",
"out",
"new PrintWriter(new OutputStreamWriter(System.out))",
"int N;",
"N",
"static int max = 200001;",
"max",
"200001",
"static int [] dr = {1,-1,0,0};",
"dr",
"{1,-1,0,0}",
"1",
"-1",
"1",
"0",
"0",
"static int [] dc={0,0,-1,1};",
"dc",
"{0,0,-1,1}",
"0",
"0",
"-1",
"1",
"1",
"static boolean [][] grid;",
"grid",
"static int [] bishopr = {-1,1,-1,1};",
"bishopr",
"{-1,1,-1,1}",
"-1",
"1",
"1",
"-1",
"1",
"1",
"static int [] bishopc = {1,1,-1,-1};",
"bishopc",
"{1,1,-1,-1}",
"1",
"1",
"-1",
"1",
"-1",
"1",
"static long H",
"H",
"W",
"W",
"cnt;",
"cnt",
"public static void main(String args[]) throws IOException {\n BigDecimal A = new BigDecimal(in.next());\n BigDecimal B = new BigDecimal(in.next());\n BigDecimal db = A.multiply(B);\n long answer = db.longValue();\n out.println(answer);\n out.flush();\n }",
"main",
"{\n BigDecimal A = new BigDecimal(in.next());\n BigDecimal B = new BigDecimal(in.next());\n BigDecimal db = A.multiply(B);\n long answer = db.longValue();\n out.println(answer);\n out.flush();\n }",
"BigDecimal A = new BigDecimal(in.next());",
"A",
"new BigDecimal(in.next())",
"BigDecimal B = new BigDecimal(in.next());",
"B",
"new BigDecimal(in.next())",
"BigDecimal db = A.multiply(B);",
"db",
"A.multiply(B)",
"A.multiply",
"A",
"B",
"long answer = db.longValue();",
"answer",
"db.longValue()",
"db.longValue",
"db",
"out.println(answer)",
"out.println",
"out",
"answer",
"out.flush()",
"out.flush",
"out",
"String args[]",
"args",
"static boolean isValid (int r, int c){\n if(r>=0&&r<H&&c>=0&&c<W){\n return true;\n }\n return false;\n }",
"isValid",
"{\n if(r>=0&&r<H&&c>=0&&c<W){\n return true;\n }\n return false;\n }",
"if(r>=0&&r<H&&c>=0&&c<W){\n return true;\n }",
"r>=0&&r<H&&c>=0&&c<W",
"c>=0",
"r>=0&&r<H&&c>=0&&c<W",
"r>=0",
"r",
"0",
"r<H",
"r",
"H",
"c>=0",
"c",
"0",
"c<W",
"c",
"W",
"{\n return true;\n }",
"return true;",
"true",
"return false;",
"false",
"int r",
"r",
"int c",
"c",
"private static void dfs(int r, int c) {\n for(int i=0;i<4;i++){\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }\n }",
"dfs",
"{\n for(int i=0;i<4;i++){\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }\n }",
"for(int i=0;i<4;i++){\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<4",
"i",
"4",
"i++",
"i++",
"i",
"{\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }",
"{\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }",
"int nr = bishopr[i] +r;",
"nr",
"bishopr[i] +r",
"bishopr[i]",
"bishopr",
"i",
"r",
"int nc = bishopc[i]+c;",
"nc",
"bishopc[i]+c",
"bishopc[i]",
"bishopc",
"i",
"c",
"if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }",
"isValid(nr, nc)&&!grid[nr][nc]",
"isValid(nr, nc)",
"isValid",
"nr",
"nc",
"!grid[nr][nc]",
"grid[nr][nc]",
"grid[nr]",
"grid",
"nr",
"nc",
"{\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }",
"cnt++",
"cnt",
"grid[nr][nc] = true",
"grid[nr][nc]",
"grid[nr]",
"grid",
"nr",
"nc",
"true",
"dfs(nr, nc)",
"dfs",
"nr",
"nc",
"int r",
"r",
"int c",
"c",
"static boolean isEven(long a) {\n return (a&1)==0;\n }",
"isEven",
"{\n return (a&1)==0;\n }",
"return (a&1)==0;",
"(a&1)==0",
"(a&1)",
"a",
"1",
"0",
"long a",
"a",
"static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }",
"swap",
"{\n\n int temmp = b;\n b=a;\n a = temmp;\n }",
"int temmp = b;",
"temmp",
"b",
"b=a",
"b",
"a",
"a = temmp",
"a",
"temmp",
"int a",
"a",
"int b",
"b",
"public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\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 }",
"MyScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"MyScanner",
"{\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 MyScanner in = new MyScanner();\n static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int N;\n static int max = 200001;\n static int [] dr = {1,-1,0,0};\n static int [] dc={0,0,-1,1};\n static boolean [][] grid;\n static int [] bishopr = {-1,1,-1,1};\n static int [] bishopc = {1,1,-1,-1};\n static long H,W,cnt;\n public static void main(String args[]) throws IOException {\n BigDecimal A = new BigDecimal(in.next());\n BigDecimal B = new BigDecimal(in.next());\n BigDecimal db = A.multiply(B);\n long answer = db.longValue();\n out.println(answer);\n out.flush();\n }\n static boolean isValid (int r, int c){\n if(r>=0&&r<H&&c>=0&&c<W){\n return true;\n }\n return false;\n }\n private static void dfs(int r, int c) {\n for(int i=0;i<4;i++){\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }\n }\n\n static boolean isEven(long a) {\n return (a&1)==0;\n }\n static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }\n \n\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\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 class Main {\n\n static MyScanner in = new MyScanner();\n static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int N;\n static int max = 200001;\n static int [] dr = {1,-1,0,0};\n static int [] dc={0,0,-1,1};\n static boolean [][] grid;\n static int [] bishopr = {-1,1,-1,1};\n static int [] bishopc = {1,1,-1,-1};\n static long H,W,cnt;\n public static void main(String args[]) throws IOException {\n BigDecimal A = new BigDecimal(in.next());\n BigDecimal B = new BigDecimal(in.next());\n BigDecimal db = A.multiply(B);\n long answer = db.longValue();\n out.println(answer);\n out.flush();\n }\n static boolean isValid (int r, int c){\n if(r>=0&&r<H&&c>=0&&c<W){\n return true;\n }\n return false;\n }\n private static void dfs(int r, int c) {\n for(int i=0;i<4;i++){\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }\n }\n\n static boolean isEven(long a) {\n return (a&1)==0;\n }\n static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }\n \n\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\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}",
"Main"
] |
import java.io.*;
import java.math.*;
import java.util.*;
public class Main {
static MyScanner in = new MyScanner();
static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
int N;
static int max = 200001;
static int [] dr = {1,-1,0,0};
static int [] dc={0,0,-1,1};
static boolean [][] grid;
static int [] bishopr = {-1,1,-1,1};
static int [] bishopc = {1,1,-1,-1};
static long H,W,cnt;
public static void main(String args[]) throws IOException {
BigDecimal A = new BigDecimal(in.next());
BigDecimal B = new BigDecimal(in.next());
BigDecimal db = A.multiply(B);
long answer = db.longValue();
out.println(answer);
out.flush();
}
static boolean isValid (int r, int c){
if(r>=0&&r<H&&c>=0&&c<W){
return true;
}
return false;
}
private static void dfs(int r, int c) {
for(int i=0;i<4;i++){
int nr = bishopr[i] +r;
int nc = bishopc[i]+c;
if(isValid(nr, nc)&&!grid[nr][nc]){
cnt++;
grid[nr][nc] = true;
dfs(nr, nc);
}
}
}
static boolean isEven(long a) {
return (a&1)==0;
}
static void swap (int a, int b){
int temmp = b;
b=a;
a = temmp;
}
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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
0,
13,
4,
18,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
61,
11
],
[
61,
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
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
14,
32
],
[
32,
33
],
[
32,
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
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
12,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] |
[
"import java.math.BigDecimal;\nimport java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n BigDecimal bd = new BigDecimal(sc.next());\n bd = bd.multiply(new BigDecimal(\"100.0\"));\n BigInteger bi = bd.toBigInteger();\n long b = Long.parseLong(bi.toString());\n long ans = (a*b)/100;\n System.out.println(ans);\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"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 long a = sc.nextLong();\n BigDecimal bd = new BigDecimal(sc.next());\n bd = bd.multiply(new BigDecimal(\"100.0\"));\n BigInteger bi = bd.toBigInteger();\n long b = Long.parseLong(bi.toString());\n long ans = (a*b)/100;\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n BigDecimal bd = new BigDecimal(sc.next());\n bd = bd.multiply(new BigDecimal(\"100.0\"));\n BigInteger bi = bd.toBigInteger();\n long b = Long.parseLong(bi.toString());\n long ans = (a*b)/100;\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n BigDecimal bd = new BigDecimal(sc.next());\n bd = bd.multiply(new BigDecimal(\"100.0\"));\n BigInteger bi = bd.toBigInteger();\n long b = Long.parseLong(bi.toString());\n long ans = (a*b)/100;\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"BigDecimal bd = new BigDecimal(sc.next());",
"bd",
"new BigDecimal(sc.next())",
"bd = bd.multiply(new BigDecimal(\"100.0\"))",
"bd",
"bd.multiply(new BigDecimal(\"100.0\"))",
"bd.multiply",
"bd",
"new BigDecimal(\"100.0\")",
"BigInteger bi = bd.toBigInteger();",
"bi",
"bd.toBigInteger()",
"bd.toBigInteger",
"bd",
"long b = Long.parseLong(bi.toString());",
"b",
"Long.parseLong(bi.toString())",
"Long.parseLong",
"Long",
"bi.toString()",
"bi.toString",
"bi",
"long ans = (a*b)/100;",
"ans",
"(a*b)/100",
"(a*b)",
"a",
"b",
"100",
"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 Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n BigDecimal bd = new BigDecimal(sc.next());\n bd = bd.multiply(new BigDecimal(\"100.0\"));\n BigInteger bi = bd.toBigInteger();\n long b = Long.parseLong(bi.toString());\n long ans = (a*b)/100;\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n BigDecimal bd = new BigDecimal(sc.next());\n bd = bd.multiply(new BigDecimal(\"100.0\"));\n BigInteger bi = bd.toBigInteger();\n long b = Long.parseLong(bi.toString());\n long ans = (a*b)/100;\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
BigDecimal bd = new BigDecimal(sc.next());
bd = bd.multiply(new BigDecimal("100.0"));
BigInteger bi = bd.toBigInteger();
long b = Long.parseLong(bi.toString());
long ans = (a*b)/100;
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,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
17,
18,
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
],
[
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
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
11,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
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.*;\nimport java.math.BigDecimal;\n\npublic class Main {\n public static void main (String args[]) {\n Scanner sc = new Scanner(System.in);\n \n String A = sc.next();\n String B = sc.next();\n BigDecimal b1 = new BigDecimal(A);\n BigDecimal b2 = new BigDecimal(B);\n BigDecimal b3 = b1.multiply(b2);\n BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN);\n System.out.println(bd1);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main {\n public static void main (String args[]) {\n Scanner sc = new Scanner(System.in);\n \n String A = sc.next();\n String B = sc.next();\n BigDecimal b1 = new BigDecimal(A);\n BigDecimal b2 = new BigDecimal(B);\n BigDecimal b3 = b1.multiply(b2);\n BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN);\n System.out.println(bd1);\n }\n}",
"Main",
"public static void main (String args[]) {\n Scanner sc = new Scanner(System.in);\n \n String A = sc.next();\n String B = sc.next();\n BigDecimal b1 = new BigDecimal(A);\n BigDecimal b2 = new BigDecimal(B);\n BigDecimal b3 = b1.multiply(b2);\n BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN);\n System.out.println(bd1);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n String A = sc.next();\n String B = sc.next();\n BigDecimal b1 = new BigDecimal(A);\n BigDecimal b2 = new BigDecimal(B);\n BigDecimal b3 = b1.multiply(b2);\n BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN);\n System.out.println(bd1);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String A = sc.next();",
"A",
"sc.next()",
"sc.next",
"sc",
"String B = sc.next();",
"B",
"sc.next()",
"sc.next",
"sc",
"BigDecimal b1 = new BigDecimal(A);",
"b1",
"new BigDecimal(A)",
"BigDecimal b2 = new BigDecimal(B);",
"b2",
"new BigDecimal(B)",
"BigDecimal b3 = b1.multiply(b2);",
"b3",
"b1.multiply(b2)",
"b1.multiply",
"b1",
"b2",
"BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN);",
"bd1",
"b3.setScale(0, BigDecimal.ROUND_DOWN)",
"b3.setScale",
"b3",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"System.out.println(bd1)",
"System.out.println",
"System.out",
"System",
"System.out",
"bd1",
"String args[]",
"args",
"public class Main {\n public static void main (String args[]) {\n Scanner sc = new Scanner(System.in);\n \n String A = sc.next();\n String B = sc.next();\n BigDecimal b1 = new BigDecimal(A);\n BigDecimal b2 = new BigDecimal(B);\n BigDecimal b3 = b1.multiply(b2);\n BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN);\n System.out.println(bd1);\n }\n}",
"public class Main {\n public static void main (String args[]) {\n Scanner sc = new Scanner(System.in);\n \n String A = sc.next();\n String B = sc.next();\n BigDecimal b1 = new BigDecimal(A);\n BigDecimal b2 = new BigDecimal(B);\n BigDecimal b3 = b1.multiply(b2);\n BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN);\n System.out.println(bd1);\n }\n}",
"Main"
] |
import java.util.*;
import java.math.BigDecimal;
public class Main {
public static void main (String args[]) {
Scanner sc = new Scanner(System.in);
String A = sc.next();
String B = sc.next();
BigDecimal b1 = new BigDecimal(A);
BigDecimal b2 = new BigDecimal(B);
BigDecimal b3 = b1.multiply(b2);
BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN);
System.out.println(bd1);
}
}
|
[
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,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
2,
4,
18,
13,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
67,
8
],
[
67,
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
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
36,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
48,
53
],
[
11,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
9,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] |
[
"import java.io.*;\nimport java.util.*;\npublic class Main\n{\n\tpublic static void main(String args[])throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tLong a = Long.parseLong(st.nextToken());\n\t\tString b = (st.nextToken());\n\t\tlong b1 = Long.parseLong(b.substring(0,b.indexOf('.'))+b.substring(b.indexOf('.')+1));\n\t\t//System.out.println(b1); \n\t\tSystem.out.println((a*b1)/100);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n\tpublic static void main(String args[])throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tLong a = Long.parseLong(st.nextToken());\n\t\tString b = (st.nextToken());\n\t\tlong b1 = Long.parseLong(b.substring(0,b.indexOf('.'))+b.substring(b.indexOf('.')+1));\n\t\t//System.out.println(b1); \n\t\tSystem.out.println((a*b1)/100);\n\t}\n}",
"Main",
"public static void main(String args[])throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tLong a = Long.parseLong(st.nextToken());\n\t\tString b = (st.nextToken());\n\t\tlong b1 = Long.parseLong(b.substring(0,b.indexOf('.'))+b.substring(b.indexOf('.')+1));\n\t\t//System.out.println(b1); \n\t\tSystem.out.println((a*b1)/100);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tLong a = Long.parseLong(st.nextToken());\n\t\tString b = (st.nextToken());\n\t\tlong b1 = Long.parseLong(b.substring(0,b.indexOf('.'))+b.substring(b.indexOf('.')+1));\n\t\t//System.out.println(b1); \n\t\tSystem.out.println((a*b1)/100);\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())",
"Long a = Long.parseLong(st.nextToken());",
"a",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"String b = (st.nextToken());",
"b",
"(st.nextToken())",
"st.nextToken",
"st",
"long b1 = Long.parseLong(b.substring(0,b.indexOf('.'))+b.substring(b.indexOf('.')+1));",
"b1",
"Long.parseLong(b.substring(0,b.indexOf('.'))+b.substring(b.indexOf('.')+1))",
"Long.parseLong",
"Long",
"b.substring(0,b.indexOf('.'))+b.substring(b.indexOf('.')+1)",
"b.substring(0,b.indexOf('.'))",
"b.substring",
"b",
"0",
"b.indexOf('.')",
"b.indexOf",
"b",
"'.'",
"b.substring(b.indexOf('.')+1)",
"b.substring",
"b",
"b.indexOf('.')+1",
"b.indexOf('.')",
"b.indexOf",
"b",
"'.'",
"1",
"System.out.println((a*b1)/100)",
"System.out.println",
"System.out",
"System",
"System.out",
"(a*b1)/100",
"(a*b1)",
"a",
"b1",
"100",
"String args[]",
"args",
"public class Main\n{\n\tpublic static void main(String args[])throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tLong a = Long.parseLong(st.nextToken());\n\t\tString b = (st.nextToken());\n\t\tlong b1 = Long.parseLong(b.substring(0,b.indexOf('.'))+b.substring(b.indexOf('.')+1));\n\t\t//System.out.println(b1); \n\t\tSystem.out.println((a*b1)/100);\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String args[])throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tLong a = Long.parseLong(st.nextToken());\n\t\tString b = (st.nextToken());\n\t\tlong b1 = Long.parseLong(b.substring(0,b.indexOf('.'))+b.substring(b.indexOf('.')+1));\n\t\t//System.out.println(b1); \n\t\tSystem.out.println((a*b1)/100);\n\t}\n}",
"Main"
] |
import java.io.*;
import java.util.*;
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());
Long a = Long.parseLong(st.nextToken());
String b = (st.nextToken());
long b1 = Long.parseLong(b.substring(0,b.indexOf('.'))+b.substring(b.indexOf('.')+1));
//System.out.println(b1);
System.out.println((a*b1)/100);
}
}
|
[
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,
0,
13,
17,
0,
13,
2,
13,
17,
41,
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
],
[
49,
8
],
[
49,
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
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
9,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"import java.util.*;\nimport java.math.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n float B = sc.nextFloat();\n\n B += 0.001;\n B = B * 100;\n\n\n long res = (long) (A * (long) B / 100);\n //long res = (A * (long)(B * 100)) / 100;\n\n System.out.println(res);\n }\n}\n\n/*\n999999999999999 9.99\n */",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n float B = sc.nextFloat();\n\n B += 0.001;\n B = B * 100;\n\n\n long res = (long) (A * (long) B / 100);\n //long res = (A * (long)(B * 100)) / 100;\n\n System.out.println(res);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n float B = sc.nextFloat();\n\n B += 0.001;\n B = B * 100;\n\n\n long res = (long) (A * (long) B / 100);\n //long res = (A * (long)(B * 100)) / 100;\n\n System.out.println(res);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n float B = sc.nextFloat();\n\n B += 0.001;\n B = B * 100;\n\n\n long res = (long) (A * (long) B / 100);\n //long res = (A * (long)(B * 100)) / 100;\n\n System.out.println(res);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long A = sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"float B = sc.nextFloat();",
"B",
"sc.nextFloat()",
"sc.nextFloat",
"sc",
"B += 0.001",
"B",
"0.001",
"B = B * 100",
"B",
"B * 100",
"B",
"100",
"long res = (long) (A * (long) B / 100);",
"res",
"(long) (A * (long) B / 100)",
"A * (long) B",
"A",
"(long) B",
"100",
"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 long A = sc.nextLong();\n float B = sc.nextFloat();\n\n B += 0.001;\n B = B * 100;\n\n\n long res = (long) (A * (long) B / 100);\n //long res = (A * (long)(B * 100)) / 100;\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 long A = sc.nextLong();\n float B = sc.nextFloat();\n\n B += 0.001;\n B = B * 100;\n\n\n long res = (long) (A * (long) B / 100);\n //long res = (A * (long)(B * 100)) / 100;\n\n System.out.println(res);\n }\n}",
"Main"
] |
import java.util.*;
import java.math.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
float B = sc.nextFloat();
B += 0.001;
B = B * 100;
long res = (long) (A * (long) B / 100);
//long res = (A * (long)(B * 100)) / 100;
System.out.println(res);
}
}
/*
999999999999999 9.99
*/
|
[
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,
4,
18,
13,
0,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
13,
41,
13,
2,
17,
2,
13,
13,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
17,
30,
4,
18,
13,
4,
18,
13,
17,
2,
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,
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,
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,
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
],
[
354,
23
],
[
354,
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
],
[
354,
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
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
74,
78
],
[
61,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
61,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
61,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
93,
97
],
[
92,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
92,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
111,
115
],
[
59,
116
],
[
116,
117
],
[
59,
118
],
[
118,
119
],
[
59,
120
],
[
120,
121
],
[
354,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
122,
126
],
[
126,
127
],
[
126,
128
],
[
122,
130
],
[
130,
131
],
[
122,
132
],
[
132,
133
],
[
122,
134
],
[
134,
135
],
[
122,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
136,
144
],
[
144,
145
],
[
122,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
149,
154
],
[
154,
155
],
[
155,
156
],
[
148,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
165,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
174,
177
],
[
161,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
148,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
122,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
193,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
193,
207
],
[
207,
208
],
[
207,
209
],
[
193,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
210,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
214,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
193,
223
],
[
223,
224
],
[
223,
225
],
[
193,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
226,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
233,
237
],
[
237,
238
],
[
237,
239
],
[
232,
240
],
[
240,
241
],
[
241,
242
],
[
231,
243
],
[
243,
244
],
[
243,
245
],
[
231,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
248,
250
],
[
231,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
193,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
122,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
261,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
266,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
261,
275
],
[
275,
276
],
[
275,
277
],
[
261,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
278,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
285,
288
],
[
284,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
290,
293
],
[
283,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
261,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
122,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
305,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
311,
314
],
[
304,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
302,
319
],
[
319,
320
],
[
122,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
324,
325
],
[
328,
326
],
[
338,
327
],
[
335,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
328,
332
],
[
332,
333
],
[
332,
334
],
[
335,
335
],
[
335,
336
],
[
335,
337
],
[
338,
338
],
[
338,
339
],
[
338,
340
],
[
328,
341
],
[
341,
342
],
[
341,
343
],
[
343,
344
],
[
321,
345
],
[
345,
346
],
[
122,
347
],
[
347,
348
],
[
347,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
0,
353
],
[
353,
354
],
[
353,
355
]
] |
[
"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 */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n long a = s.nextLong();\n String str1 = s.nextString();\n str1 = str1.replace(\".\", \"\");\n long b = Long.parseLong(str1);\n String str = \"\" + (a * b);\n if (str.length() <= 2) {\n out.println(0);\n } else {\n out.println(str.substring(0, str.length() - 2));\n }\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(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 long nextLong() {\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 long 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 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",
"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 FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n long a = s.nextLong();\n String str1 = s.nextString();\n str1 = str1.replace(\".\", \"\");\n long b = Long.parseLong(str1);\n String str = \"\" + (a * b);\n if (str.length() <= 2) {\n out.println(0);\n } else {\n out.println(str.substring(0, str.length() - 2));\n }\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(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 long nextLong() {\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 long 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 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}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CMultiplication3 solver = new CMultiplication3();\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",
"FastReader in = new FastReader(inputStream);",
"in",
"new FastReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"CMultiplication3 solver = new CMultiplication3();",
"solver",
"new CMultiplication3()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class CMultiplication3 {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n long a = s.nextLong();\n String str1 = s.nextString();\n str1 = str1.replace(\".\", \"\");\n long b = Long.parseLong(str1);\n String str = \"\" + (a * b);\n if (str.length() <= 2) {\n out.println(0);\n } else {\n out.println(str.substring(0, str.length() - 2));\n }\n }\n\n }",
"CMultiplication3",
"public void solve(int testNumber, FastReader s, PrintWriter out) {\n long a = s.nextLong();\n String str1 = s.nextString();\n str1 = str1.replace(\".\", \"\");\n long b = Long.parseLong(str1);\n String str = \"\" + (a * b);\n if (str.length() <= 2) {\n out.println(0);\n } else {\n out.println(str.substring(0, str.length() - 2));\n }\n }",
"solve",
"{\n long a = s.nextLong();\n String str1 = s.nextString();\n str1 = str1.replace(\".\", \"\");\n long b = Long.parseLong(str1);\n String str = \"\" + (a * b);\n if (str.length() <= 2) {\n out.println(0);\n } else {\n out.println(str.substring(0, str.length() - 2));\n }\n }",
"long a = s.nextLong();",
"a",
"s.nextLong()",
"s.nextLong",
"s",
"String str1 = s.nextString();",
"str1",
"s.nextString()",
"s.nextString",
"s",
"str1 = str1.replace(\".\", \"\")",
"str1",
"str1.replace(\".\", \"\")",
"str1.replace",
"str1",
"\".\"",
"\"\"",
"long b = Long.parseLong(str1);",
"b",
"Long.parseLong(str1)",
"Long.parseLong",
"Long",
"str1",
"String str = \"\" + (a * b);",
"str",
"\"\" + (a * b)",
"\"\"",
"(a * b)",
"a",
"b",
"if (str.length() <= 2) {\n out.println(0);\n } else {\n out.println(str.substring(0, str.length() - 2));\n }",
"str.length() <= 2",
"str.length()",
"str.length",
"str",
"2",
"{\n out.println(0);\n }",
"out.println(0)",
"out.println",
"out",
"0",
"{\n out.println(str.substring(0, str.length() - 2));\n }",
"out.println(str.substring(0, str.length() - 2))",
"out.println",
"out",
"str.substring(0, str.length() - 2)",
"str.substring",
"str",
"0",
"str.length() - 2",
"str.length()",
"str.length",
"str",
"2",
"int testNumber",
"testNumber",
"FastReader s",
"s",
"PrintWriter out",
"out",
"static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(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 long nextLong() {\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 long 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 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 }",
"FastReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private FastReader.SpaceCharFilter filter;",
"filter",
"public FastReader(InputStream stream) {\n this.stream = stream;\n }",
"FastReader",
"{\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 long nextLong() {\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 long 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 }",
"nextLong",
"{\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 long 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",
"long 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 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",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n long a = s.nextLong();\n String str1 = s.nextString();\n str1 = str1.replace(\".\", \"\");\n long b = Long.parseLong(str1);\n String str = \"\" + (a * b);\n if (str.length() <= 2) {\n out.println(0);\n } else {\n out.println(str.substring(0, str.length() - 2));\n }\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(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 long nextLong() {\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 long 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 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}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n long a = s.nextLong();\n String str1 = s.nextString();\n str1 = str1.replace(\".\", \"\");\n long b = Long.parseLong(str1);\n String str = \"\" + (a * b);\n if (str.length() <= 2) {\n out.println(0);\n } else {\n out.println(str.substring(0, str.length() - 2));\n }\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(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 long nextLong() {\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 long 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 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}",
"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
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
FastReader in = new FastReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
CMultiplication3 solver = new CMultiplication3();
solver.solve(1, in, out);
out.close();
}
static class CMultiplication3 {
public void solve(int testNumber, FastReader s, PrintWriter out) {
long a = s.nextLong();
String str1 = s.nextString();
str1 = str1.replace(".", "");
long b = Long.parseLong(str1);
String str = "" + (a * b);
if (str.length() <= 2) {
out.println(0);
} else {
out.println(str.substring(0, str.length() - 2));
}
}
}
static class FastReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private FastReader.SpaceCharFilter filter;
public FastReader(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 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 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);
}
}
}
|
[
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,
0,
13,
2,
2,
13,
4,
18,
13,
2,
13,
17,
17,
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
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
27,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
]
] |
[
"\nimport java.util.*;\n\nclass Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tdouble B = sc.nextDouble();\n\t\t\n\t\tlong ans = 0;\n\t\tans = A * (Math.round(B * 100)) / 100 ;\n\t\t\n\t\tSystem.out.println(ans);\n\n\t\t\n\t}\n\n}\n\n",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tdouble B = sc.nextDouble();\n\t\t\n\t\tlong ans = 0;\n\t\tans = A * (Math.round(B * 100)) / 100 ;\n\t\t\n\t\tSystem.out.println(ans);\n\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tdouble B = sc.nextDouble();\n\t\t\n\t\tlong ans = 0;\n\t\tans = A * (Math.round(B * 100)) / 100 ;\n\t\t\n\t\tSystem.out.println(ans);\n\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tdouble B = sc.nextDouble();\n\t\t\n\t\tlong ans = 0;\n\t\tans = A * (Math.round(B * 100)) / 100 ;\n\t\t\n\t\tSystem.out.println(ans);\n\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long A = sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double B = sc.nextDouble();",
"B",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"long ans = 0;",
"ans",
"0",
"ans = A * (Math.round(B * 100)) / 100",
"ans",
"A * (Math.round(B * 100)) / 100",
"A * (Math.round(B * 100))",
"A",
"(Math.round(B * 100))",
"Math.round",
"Math",
"B * 100",
"B",
"100",
"100",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
] |
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
double B = sc.nextDouble();
long ans = 0;
ans = A * (Math.round(B * 100)) / 100 ;
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,
4,
18,
13,
17,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
14,
2,
13,
17,
30,
0,
13,
4,
18,
13,
17,
2,
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
],
[
83,
5
],
[
83,
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
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
8,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
8,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
8,
54
],
[
54,
55
],
[
8,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
56,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long A = sc.nextLong();\n String strB = sc.next();\n\n int B_100 = Integer.parseInt(strB.replace(\".\", \"\"));\n\n long tmp = A*B_100;\n System.err.println(tmp);\n\n String tmpStr = Long.toString(tmp);\n int length = tmpStr.length();\n\n String result;\n if(length >= 3) {\n result = tmpStr.substring(0, length-2);\n }else {\n result = \"0\";\n }\n\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 long A = sc.nextLong();\n String strB = sc.next();\n\n int B_100 = Integer.parseInt(strB.replace(\".\", \"\"));\n\n long tmp = A*B_100;\n System.err.println(tmp);\n\n String tmpStr = Long.toString(tmp);\n int length = tmpStr.length();\n\n String result;\n if(length >= 3) {\n result = tmpStr.substring(0, length-2);\n }else {\n result = \"0\";\n }\n\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long A = sc.nextLong();\n String strB = sc.next();\n\n int B_100 = Integer.parseInt(strB.replace(\".\", \"\"));\n\n long tmp = A*B_100;\n System.err.println(tmp);\n\n String tmpStr = Long.toString(tmp);\n int length = tmpStr.length();\n\n String result;\n if(length >= 3) {\n result = tmpStr.substring(0, length-2);\n }else {\n result = \"0\";\n }\n\n System.out.println(result);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n long A = sc.nextLong();\n String strB = sc.next();\n\n int B_100 = Integer.parseInt(strB.replace(\".\", \"\"));\n\n long tmp = A*B_100;\n System.err.println(tmp);\n\n String tmpStr = Long.toString(tmp);\n int length = tmpStr.length();\n\n String result;\n if(length >= 3) {\n result = tmpStr.substring(0, length-2);\n }else {\n result = \"0\";\n }\n\n System.out.println(result);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long A = sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String strB = sc.next();",
"strB",
"sc.next()",
"sc.next",
"sc",
"int B_100 = Integer.parseInt(strB.replace(\".\", \"\"));",
"B_100",
"Integer.parseInt(strB.replace(\".\", \"\"))",
"Integer.parseInt",
"Integer",
"strB.replace(\".\", \"\")",
"strB.replace",
"strB",
"\".\"",
"\"\"",
"long tmp = A*B_100;",
"tmp",
"A*B_100",
"A",
"B_100",
"System.err.println(tmp)",
"System.err.println",
"System.err",
"System",
"System.err",
"tmp",
"String tmpStr = Long.toString(tmp);",
"tmpStr",
"Long.toString(tmp)",
"Long.toString",
"Long",
"tmp",
"int length = tmpStr.length();",
"length",
"tmpStr.length()",
"tmpStr.length",
"tmpStr",
"String result;",
"result",
"if(length >= 3) {\n result = tmpStr.substring(0, length-2);\n }else {\n result = \"0\";\n }",
"length >= 3",
"length",
"3",
"{\n result = tmpStr.substring(0, length-2);\n }",
"result = tmpStr.substring(0, length-2)",
"result",
"tmpStr.substring(0, length-2)",
"tmpStr.substring",
"tmpStr",
"0",
"length-2",
"length",
"2",
"{\n result = \"0\";\n }",
"result = \"0\"",
"result",
"\"0\"",
"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 long A = sc.nextLong();\n String strB = sc.next();\n\n int B_100 = Integer.parseInt(strB.replace(\".\", \"\"));\n\n long tmp = A*B_100;\n System.err.println(tmp);\n\n String tmpStr = Long.toString(tmp);\n int length = tmpStr.length();\n\n String result;\n if(length >= 3) {\n result = tmpStr.substring(0, length-2);\n }else {\n result = \"0\";\n }\n\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 long A = sc.nextLong();\n String strB = sc.next();\n\n int B_100 = Integer.parseInt(strB.replace(\".\", \"\"));\n\n long tmp = A*B_100;\n System.err.println(tmp);\n\n String tmpStr = Long.toString(tmp);\n int length = tmpStr.length();\n\n String result;\n if(length >= 3) {\n result = tmpStr.substring(0, length-2);\n }else {\n result = \"0\";\n }\n\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);
long A = sc.nextLong();
String strB = sc.next();
int B_100 = Integer.parseInt(strB.replace(".", ""));
long tmp = A*B_100;
System.err.println(tmp);
String tmpStr = Long.toString(tmp);
int length = tmpStr.length();
String result;
if(length >= 3) {
result = tmpStr.substring(0, length-2);
}else {
result = "0";
}
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
17,
0,
13,
20,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
0,
13,
17,
41,
13,
17,
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,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
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,
30,
0,
18,
13,
13,
4,
13,
29,
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
],
[
191,
17
],
[
191,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
18,
27
],
[
27,
28
],
[
191,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
31,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
191,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
55,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
55,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
73,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
72,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
55,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
96,
98
],
[
92,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
92,
104
],
[
104,
105
],
[
55,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
113,
114
],
[
55,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
122,
123
],
[
55,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
131,
136
],
[
136,
137
],
[
136,
138
],
[
131,
139
],
[
139,
140
],
[
140,
141
],
[
131,
142
],
[
143,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
148,
149
],
[
126,
150
],
[
150,
151
],
[
124,
152
],
[
152,
153
],
[
55,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
161,
166
],
[
166,
167
],
[
166,
168
],
[
161,
169
],
[
169,
170
],
[
170,
171
],
[
161,
172
],
[
173,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
156,
180
],
[
180,
181
],
[
154,
182
],
[
182,
183
],
[
55,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
0,
190
],
[
190,
191
],
[
190,
192
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}\n\n\tpublic void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\t\n\t\tBigDecimal a = new BigDecimal(fs.next());\n\t\tBigDecimal b = new BigDecimal(fs.next());\n\t\t\n\t\t\n\t\tlong ans = a.multiply(b).longValue();\n\t\tSystem.out.println(ans);\n\t}\n\t\n\n\tpublic class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\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.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}\n\n\tpublic void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\t\n\t\tBigDecimal a = new BigDecimal(fs.next());\n\t\tBigDecimal b = new BigDecimal(fs.next());\n\t\t\n\t\t\n\t\tlong ans = a.multiply(b).longValue();\n\t\tSystem.out.println(ans);\n\t}\n\t\n\n\tpublic class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\t}\n\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}",
"main",
"{\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}",
"Main mainObj = new Main();",
"mainObj",
"new Main()",
"mainObj.solve()",
"mainObj.solve",
"mainObj",
"String[] args",
"args",
"public void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\t\n\t\tBigDecimal a = new BigDecimal(fs.next());\n\t\tBigDecimal b = new BigDecimal(fs.next());\n\t\t\n\t\t\n\t\tlong ans = a.multiply(b).longValue();\n\t\tSystem.out.println(ans);\n\t}",
"solve",
"{\n\t\tFastScanner fs = new FastScanner();\n\t\t\n\t\tBigDecimal a = new BigDecimal(fs.next());\n\t\tBigDecimal b = new BigDecimal(fs.next());\n\t\t\n\t\t\n\t\tlong ans = a.multiply(b).longValue();\n\t\tSystem.out.println(ans);\n\t}",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"BigDecimal a = new BigDecimal(fs.next());",
"a",
"new BigDecimal(fs.next())",
"BigDecimal b = new BigDecimal(fs.next());",
"b",
"new BigDecimal(fs.next())",
"long ans = a.multiply(b).longValue();",
"ans",
"a.multiply(b).longValue()",
"a.multiply(b).longValue",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"public class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\t}",
"FastScanner",
"BufferedReader reader;",
"reader",
"private StringTokenizer st;",
"st",
"public FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"FastScanner",
"{\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"st = null",
"st",
"null",
"reader = new BufferedReader(new InputStreamReader(System.in))",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"public String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"if (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}",
"st = new StringTokenizer(reader.readLine())",
"st",
"new StringTokenizer(reader.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}",
"nextLine",
"{\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}",
"st = null",
"st",
"null",
"String readLine = null;",
"readLine",
"null",
"readLine = reader.readLine()",
"readLine",
"reader.readLine()",
"reader.readLine",
"reader",
"return readLine;",
"readLine",
"public int nextInt() throws NumberFormatException, IOException {\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 long nextLong() throws NumberFormatException, IOException {\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 int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}",
"nextIntArr",
"{\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}",
"int[] retArr = new int[n];",
"retArr",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}",
"{\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}",
"retArr[i] = nextInt()",
"retArr[i]",
"retArr",
"i",
"nextInt()",
"nextInt",
"return retArr;",
"retArr",
"int n",
"n",
"public long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}",
"nextLongArr",
"{\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}",
"long[] retArr = new long[n];",
"retArr",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}",
"{\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}",
"retArr[i] = nextLong()",
"retArr[i]",
"retArr",
"i",
"nextLong()",
"nextLong",
"return retArr;",
"retArr",
"int n",
"n",
"public void close() throws IOException {\n\t\t\treader.close();\n\t\t}",
"close",
"{\n\t\t\treader.close();\n\t\t}",
"reader.close()",
"reader.close",
"reader",
"public class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}\n\n\tpublic void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\t\n\t\tBigDecimal a = new BigDecimal(fs.next());\n\t\tBigDecimal b = new BigDecimal(fs.next());\n\t\t\n\t\t\n\t\tlong ans = a.multiply(b).longValue();\n\t\tSystem.out.println(ans);\n\t}\n\t\n\n\tpublic class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\t}\n\n\n}",
"public class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}\n\n\tpublic void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\t\n\t\tBigDecimal a = new BigDecimal(fs.next());\n\t\tBigDecimal b = new BigDecimal(fs.next());\n\t\t\n\t\t\n\t\tlong ans = a.multiply(b).longValue();\n\t\tSystem.out.println(ans);\n\t}\n\t\n\n\tpublic class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\t}\n\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
Main mainObj = new Main();
mainObj.solve();
}
public void solve() throws IOException {
FastScanner fs = new FastScanner();
BigDecimal a = new BigDecimal(fs.next());
BigDecimal b = new BigDecimal(fs.next());
long ans = a.multiply(b).longValue();
System.out.println(ans);
}
public class FastScanner {
BufferedReader reader;
private StringTokenizer st;
public FastScanner() {
st = null;
reader = new BufferedReader(new InputStreamReader(System.in));
}
public String next() throws IOException {
if (st == null || !st.hasMoreElements()) {
st = new StringTokenizer(reader.readLine());
}
return st.nextToken();
}
public String nextLine() throws IOException {
st = null;
String readLine = null;
readLine = reader.readLine();
return readLine;
}
public int nextInt() throws NumberFormatException, IOException {
return Integer.parseInt(next());
}
public long nextLong() throws NumberFormatException, IOException {
return Long.parseLong(next());
}
public int[] nextIntArr(int n) throws NumberFormatException, IOException {
int[] retArr = new int[n];
for (int i = 0; i < n; i++) {
retArr[i] = nextInt();
}
return retArr;
}
public long[] nextLongArr(int n) throws NumberFormatException, IOException {
long[] retArr = new long[n];
for (int i = 0; i < n; i++) {
retArr[i] = nextLong();
}
return retArr;
}
public void close() throws IOException {
reader.close();
}
}
}
|
[
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,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
43,
8
],
[
43,
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
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
9,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tString in[] = scan.nextLine().split(\" \");\n\t\tBigDecimal A = new BigDecimal(in[0]);\n\t\tBigDecimal B = new BigDecimal(in[1]);\n\n\t\tSystem.out.println(A.multiply(B).longValue());\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tString in[] = scan.nextLine().split(\" \");\n\t\tBigDecimal A = new BigDecimal(in[0]);\n\t\tBigDecimal B = new BigDecimal(in[1]);\n\n\t\tSystem.out.println(A.multiply(B).longValue());\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tString in[] = scan.nextLine().split(\" \");\n\t\tBigDecimal A = new BigDecimal(in[0]);\n\t\tBigDecimal B = new BigDecimal(in[1]);\n\n\t\tSystem.out.println(A.multiply(B).longValue());\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tString in[] = scan.nextLine().split(\" \");\n\t\tBigDecimal A = new BigDecimal(in[0]);\n\t\tBigDecimal B = new BigDecimal(in[1]);\n\n\t\tSystem.out.println(A.multiply(B).longValue());\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String in[] = scan.nextLine().split(\" \");",
"in",
"scan.nextLine().split(\" \")",
"scan.nextLine().split",
"scan.nextLine()",
"scan.nextLine",
"scan",
"\" \"",
"BigDecimal A = new BigDecimal(in[0]);",
"A",
"new BigDecimal(in[0])",
"BigDecimal B = new BigDecimal(in[1]);",
"B",
"new BigDecimal(in[1])",
"System.out.println(A.multiply(B).longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"A.multiply(B).longValue()",
"A.multiply(B).longValue",
"A.multiply(B)",
"A.multiply",
"A",
"B",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tString in[] = scan.nextLine().split(\" \");\n\t\tBigDecimal A = new BigDecimal(in[0]);\n\t\tBigDecimal B = new BigDecimal(in[1]);\n\n\t\tSystem.out.println(A.multiply(B).longValue());\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tString in[] = scan.nextLine().split(\" \");\n\t\tBigDecimal A = new BigDecimal(in[0]);\n\t\tBigDecimal B = new BigDecimal(in[1]);\n\n\t\tSystem.out.println(A.multiply(B).longValue());\n\t}\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String in[] = scan.nextLine().split(" ");
BigDecimal A = new BigDecimal(in[0]);
BigDecimal B = new BigDecimal(in[1]);
System.out.println(A.multiply(B).longValue());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
0,
13,
2,
4,
18,
13,
4,
18,
13,
17,
17,
17,
0,
13,
2,
4,
18,
13,
4,
18,
13,
17,
17,
17,
0,
13,
2,
4,
18,
13,
4,
18,
13,
17,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
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
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
34,
38
],
[
30,
39
],
[
8,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
42,
51
],
[
8,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
54,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] |
[
"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\tlong A = sc.nextLong();\n\t\tString B = sc.next();\n\t\tsc.close();\n\t\tint B100 = 0;\n\t\tB100 += Integer.parseInt(B.substring(0, 1)) * 100;\n\t\tB100 += Integer.parseInt(B.substring(2, 3)) * 10;\n\t\tB100 += Integer.parseInt(B.substring(3, 4)) * 1;\n\t\tSystem.out.println((long) A * B100 / 100);\n\t}\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\tlong A = sc.nextLong();\n\t\tString B = sc.next();\n\t\tsc.close();\n\t\tint B100 = 0;\n\t\tB100 += Integer.parseInt(B.substring(0, 1)) * 100;\n\t\tB100 += Integer.parseInt(B.substring(2, 3)) * 10;\n\t\tB100 += Integer.parseInt(B.substring(3, 4)) * 1;\n\t\tSystem.out.println((long) A * B100 / 100);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tString B = sc.next();\n\t\tsc.close();\n\t\tint B100 = 0;\n\t\tB100 += Integer.parseInt(B.substring(0, 1)) * 100;\n\t\tB100 += Integer.parseInt(B.substring(2, 3)) * 10;\n\t\tB100 += Integer.parseInt(B.substring(3, 4)) * 1;\n\t\tSystem.out.println((long) A * B100 / 100);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tString B = sc.next();\n\t\tsc.close();\n\t\tint B100 = 0;\n\t\tB100 += Integer.parseInt(B.substring(0, 1)) * 100;\n\t\tB100 += Integer.parseInt(B.substring(2, 3)) * 10;\n\t\tB100 += Integer.parseInt(B.substring(3, 4)) * 1;\n\t\tSystem.out.println((long) A * B100 / 100);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long A = sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String B = sc.next();",
"B",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"int B100 = 0;",
"B100",
"0",
"B100 += Integer.parseInt(B.substring(0, 1)) * 100",
"B100",
"Integer.parseInt(B.substring(0, 1)) * 100",
"Integer.parseInt(B.substring(0, 1))",
"Integer.parseInt",
"Integer",
"B.substring(0, 1)",
"B.substring",
"B",
"0",
"1",
"100",
"B100 += Integer.parseInt(B.substring(2, 3)) * 10",
"B100",
"Integer.parseInt(B.substring(2, 3)) * 10",
"Integer.parseInt(B.substring(2, 3))",
"Integer.parseInt",
"Integer",
"B.substring(2, 3)",
"B.substring",
"B",
"2",
"3",
"10",
"B100 += Integer.parseInt(B.substring(3, 4)) * 1",
"B100",
"Integer.parseInt(B.substring(3, 4)) * 1",
"Integer.parseInt(B.substring(3, 4))",
"Integer.parseInt",
"Integer",
"B.substring(3, 4)",
"B.substring",
"B",
"3",
"4",
"1",
"System.out.println((long) A * B100 / 100)",
"System.out.println",
"System.out",
"System",
"System.out",
"(long) A * B100 / 100",
"(long) A * B100",
"(long) A",
"B100",
"100",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tString B = sc.next();\n\t\tsc.close();\n\t\tint B100 = 0;\n\t\tB100 += Integer.parseInt(B.substring(0, 1)) * 100;\n\t\tB100 += Integer.parseInt(B.substring(2, 3)) * 10;\n\t\tB100 += Integer.parseInt(B.substring(3, 4)) * 1;\n\t\tSystem.out.println((long) A * B100 / 100);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tString B = sc.next();\n\t\tsc.close();\n\t\tint B100 = 0;\n\t\tB100 += Integer.parseInt(B.substring(0, 1)) * 100;\n\t\tB100 += Integer.parseInt(B.substring(2, 3)) * 10;\n\t\tB100 += Integer.parseInt(B.substring(3, 4)) * 1;\n\t\tSystem.out.println((long) A * B100 / 100);\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
String B = sc.next();
sc.close();
int B100 = 0;
B100 += Integer.parseInt(B.substring(0, 1)) * 100;
B100 += Integer.parseInt(B.substring(2, 3)) * 10;
B100 += Integer.parseInt(B.substring(3, 4)) * 1;
System.out.println((long) A * B100 / 100);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
73,
8
],
[
73,
9
],
[
9,
10
],
[
9,
11
],
[
73,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
12,
18
],
[
18,
19
],
[
73,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
33,
34
],
[
33,
35
],
[
22,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
22,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] |
[
"import java.math.BigDecimal;\nimport java.util.*;\n\npublic class Main {\n\n Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n void run() {\n\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long lb = 0;\n for (int i=0; i<1000; i++) {\n double tmp = (double)i / (double)100;\n if (tmp==b) {\n lb = i;\n }\n }\n\n// System.out.println(lb);\n\n System.out.println((a*lb)/(long)100);\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n void run() {\n\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long lb = 0;\n for (int i=0; i<1000; i++) {\n double tmp = (double)i / (double)100;\n if (tmp==b) {\n lb = i;\n }\n }\n\n// System.out.println(lb);\n\n System.out.println((a*lb)/(long)100);\n }\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"void run() {\n\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long lb = 0;\n for (int i=0; i<1000; i++) {\n double tmp = (double)i / (double)100;\n if (tmp==b) {\n lb = i;\n }\n }\n\n// System.out.println(lb);\n\n System.out.println((a*lb)/(long)100);\n }",
"run",
"{\n\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long lb = 0;\n for (int i=0; i<1000; i++) {\n double tmp = (double)i / (double)100;\n if (tmp==b) {\n lb = i;\n }\n }\n\n// System.out.println(lb);\n\n System.out.println((a*lb)/(long)100);\n }",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double b = sc.nextDouble();",
"b",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"long lb = 0;",
"lb",
"0",
"for (int i=0; i<1000; i++) {\n double tmp = (double)i / (double)100;\n if (tmp==b) {\n lb = i;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<1000",
"i",
"1000",
"i++",
"i++",
"i",
"{\n double tmp = (double)i / (double)100;\n if (tmp==b) {\n lb = i;\n }\n }",
"{\n double tmp = (double)i / (double)100;\n if (tmp==b) {\n lb = i;\n }\n }",
"double tmp = (double)i / (double)100;",
"tmp",
"(double)i / (double)100",
"(double)i",
"(double)100",
"if (tmp==b) {\n lb = i;\n }",
"tmp==b",
"tmp",
"b",
"{\n lb = i;\n }",
"lb = i",
"lb",
"i",
"System.out.println((a*lb)/(long)100)",
"System.out.println",
"System.out",
"System",
"System.out",
"(a*lb)/(long)100",
"(a*lb)",
"a",
"lb",
"(long)100",
"public class Main {\n\n Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n void run() {\n\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long lb = 0;\n for (int i=0; i<1000; i++) {\n double tmp = (double)i / (double)100;\n if (tmp==b) {\n lb = i;\n }\n }\n\n// System.out.println(lb);\n\n System.out.println((a*lb)/(long)100);\n }\n}",
"public class Main {\n\n Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n void run() {\n\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long lb = 0;\n for (int i=0; i<1000; i++) {\n double tmp = (double)i / (double)100;\n if (tmp==b) {\n lb = i;\n }\n }\n\n// System.out.println(lb);\n\n System.out.println((a*lb)/(long)100);\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.*;
public class Main {
Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
new Main().run();
}
void run() {
long a = sc.nextLong();
double b = sc.nextDouble();
long lb = 0;
for (int i=0; i<1000; i++) {
double tmp = (double)i / (double)100;
if (tmp==b) {
lb = i;
}
}
// System.out.println(lb);
System.out.println((a*lb)/(long)100);
}
}
|
[
7,
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,
2,
13,
17,
41,
13,
2,
13,
13,
4,
18,
13,
2,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
62,
8
],
[
62,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
11,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
11,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
11,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
9,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] |
[
"import java.util.*;\nimport java.io.*;\npublic class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long n = Long.parseLong(st.nextToken());\n double m = Double.parseDouble(st.nextToken());\n long res = Math.round(m*100);\n long ans = res*n;\n out.println(ans/100);\n out.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long n = Long.parseLong(st.nextToken());\n double m = Double.parseDouble(st.nextToken());\n long res = Math.round(m*100);\n long ans = res*n;\n out.println(ans/100);\n out.close();\n }\n}",
"Main",
"public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long n = Long.parseLong(st.nextToken());\n double m = Double.parseDouble(st.nextToken());\n long res = Math.round(m*100);\n long ans = res*n;\n out.println(ans/100);\n out.close();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long n = Long.parseLong(st.nextToken());\n double m = Double.parseDouble(st.nextToken());\n long res = Math.round(m*100);\n long ans = res*n;\n out.println(ans/100);\n out.close();\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())",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"long n = Long.parseLong(st.nextToken());",
"n",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"double m = Double.parseDouble(st.nextToken());",
"m",
"Double.parseDouble(st.nextToken())",
"Double.parseDouble",
"Double",
"st.nextToken()",
"st.nextToken",
"st",
"long res = Math.round(m*100);",
"res",
"Math.round(m*100)",
"Math.round",
"Math",
"m*100",
"m",
"100",
"long ans = res*n;",
"ans",
"res*n",
"res",
"n",
"out.println(ans/100)",
"out.println",
"out",
"ans/100",
"ans",
"100",
"out.close()",
"out.close",
"out",
"String[] main",
"main",
"public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long n = Long.parseLong(st.nextToken());\n double m = Double.parseDouble(st.nextToken());\n long res = Math.round(m*100);\n long ans = res*n;\n out.println(ans/100);\n out.close();\n }\n}",
"public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long n = Long.parseLong(st.nextToken());\n double m = Double.parseDouble(st.nextToken());\n long res = Math.round(m*100);\n long ans = res*n;\n out.println(ans/100);\n out.close();\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] main) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
PrintWriter out = new PrintWriter(System.out);
long n = Long.parseLong(st.nextToken());
double m = Double.parseDouble(st.nextToken());
long res = Math.round(m*100);
long ans = res*n;
out.println(ans/100);
out.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,
2,
2,
13,
17,
17,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
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
],
[
25,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"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\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong bb = (long)(b*100.0+0.5);\n\t\t\n\t\tlong ans = (a*bb)/100;\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\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\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong bb = (long)(b*100.0+0.5);\n\t\t\n\t\tlong ans = (a*bb)/100;\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong bb = (long)(b*100.0+0.5);\n\t\t\n\t\tlong ans = (a*bb)/100;\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong bb = (long)(b*100.0+0.5);\n\t\t\n\t\tlong ans = (a*bb)/100;\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double b = sc.nextDouble();",
"b",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"long bb = (long)(b*100.0+0.5);",
"bb",
"(long)(b*100.0+0.5)",
"b*100.0",
"b",
"100.0",
"0.5",
"long ans = (a*bb)/100;",
"ans",
"(a*bb)/100",
"(a*bb)",
"a",
"bb",
"100",
"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\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong bb = (long)(b*100.0+0.5);\n\t\t\n\t\tlong ans = (a*bb)/100;\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\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\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong bb = (long)(b*100.0+0.5);\n\t\t\n\t\tlong ans = (a*bb)/100;\n\t\t\n\t\tSystem.out.println(ans);\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);
long a = sc.nextLong();
double b = sc.nextDouble();
long bb = (long)(b*100.0+0.5);
long ans = (a*bb)/100;
System.out.println(ans);
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
41,
13,
2,
18,
13,
13,
17,
41,
13,
2,
18,
13,
13,
17,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
0,
13,
2,
18,
13,
13,
17,
0,
13,
17,
0,
13,
17,
0,
13,
13,
4,
18,
13,
2,
13,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
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,
12,
13,
30,
29,
18,
4,
18,
4,
13,
17,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
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,
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,
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
],
[
280,
8
],
[
280,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
280,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
280,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
280,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
30,
43
],
[
43,
44
],
[
43,
45
],
[
30,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
63,
71
],
[
71,
72
],
[
71,
73
],
[
30,
74
],
[
74,
75
],
[
74,
76
],
[
30,
77
],
[
77,
78
],
[
77,
79
],
[
30,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
83,
84
],
[
83,
85
],
[
28,
86
],
[
86,
87
],
[
28,
88
],
[
88,
89
],
[
280,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
96,
98
],
[
92,
99
],
[
99,
100
],
[
99,
101
],
[
99,
102
],
[
92,
103
],
[
103,
104
],
[
104,
105
],
[
90,
106
],
[
106,
107
],
[
280,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
108,
112
],
[
112,
113
],
[
108,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
120,
122
],
[
114,
123
],
[
123,
124
],
[
108,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
128,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
138,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
127,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
108,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
156,
159
],
[
159,
160
],
[
108,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
165,
168
],
[
168,
169
],
[
108,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
174,
177
],
[
177,
178
],
[
108,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
183,
188
],
[
108,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
191,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
196,
201
],
[
201,
202
],
[
201,
203
],
[
196,
204
],
[
204,
205
],
[
205,
206
],
[
196,
207
],
[
208,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
213
],
[
213,
214
],
[
191,
215
],
[
215,
216
],
[
189,
217
],
[
217,
218
],
[
108,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
221,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
226,
231
],
[
231,
232
],
[
231,
233
],
[
226,
234
],
[
234,
235
],
[
235,
236
],
[
226,
237
],
[
238,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
239,
243
],
[
243,
244
],
[
221,
245
],
[
245,
246
],
[
219,
247
],
[
247,
248
],
[
108,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
251,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
256,
261
],
[
261,
262
],
[
261,
263
],
[
256,
264
],
[
264,
265
],
[
265,
266
],
[
256,
267
],
[
268,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
269,
273
],
[
273,
274
],
[
251,
275
],
[
275,
276
],
[
249,
277
],
[
277,
278
],
[
0,
279
],
[
279,
280
],
[
279,
281
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static final long mod = (long)1e9+7;\n public static final long INF = Long.MAX_VALUE/2;\n public static final int inf = Integer.MAX_VALUE/2;\n\n static void solve(InputReader in, PrintWriter out){\n long a = in.nl();\n char[] c = in.ns().toCharArray();\n long b = 0;\n for (int i = 0; i < 4; i++) {\n if(i!=1){\n b += c[i]-'0';\n b *= 10;\n }\n }\n b /= 10;\n a *= b;\n out.println(a/100);\n }\n\n public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }\n public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static final long mod = (long)1e9+7;\n public static final long INF = Long.MAX_VALUE/2;\n public static final int inf = Integer.MAX_VALUE/2;\n\n static void solve(InputReader in, PrintWriter out){\n long a = in.nl();\n char[] c = in.ns().toCharArray();\n long b = 0;\n for (int i = 0; i < 4; i++) {\n if(i!=1){\n b += c[i]-'0';\n b *= 10;\n }\n }\n b /= 10;\n a *= b;\n out.println(a/100);\n }\n\n public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }\n public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }\n}",
"Main",
"public static final long mod = (long)1e9+7;",
"mod",
"(long)1e9+7",
"(long)1e9",
"7",
"public static final long INF = Long.MAX_VALUE/2;",
"INF",
"Long.MAX_VALUE/2",
"Long.MAX_VALUE",
"Long",
"Long.MAX_VALUE",
"2",
"public static final int inf = Integer.MAX_VALUE/2;",
"inf",
"Integer.MAX_VALUE/2",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"2",
"static void solve(InputReader in, PrintWriter out){\n long a = in.nl();\n char[] c = in.ns().toCharArray();\n long b = 0;\n for (int i = 0; i < 4; i++) {\n if(i!=1){\n b += c[i]-'0';\n b *= 10;\n }\n }\n b /= 10;\n a *= b;\n out.println(a/100);\n }",
"solve",
"{\n long a = in.nl();\n char[] c = in.ns().toCharArray();\n long b = 0;\n for (int i = 0; i < 4; i++) {\n if(i!=1){\n b += c[i]-'0';\n b *= 10;\n }\n }\n b /= 10;\n a *= b;\n out.println(a/100);\n }",
"long a = in.nl();",
"a",
"in.nl()",
"in.nl",
"in",
"char[] c = in.ns().toCharArray();",
"c",
"in.ns().toCharArray()",
"in.ns().toCharArray",
"in.ns()",
"in.ns",
"in",
"long b = 0;",
"b",
"0",
"for (int i = 0; i < 4; i++) {\n if(i!=1){\n b += c[i]-'0';\n b *= 10;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 4",
"i",
"4",
"i++",
"i++",
"i",
"{\n if(i!=1){\n b += c[i]-'0';\n b *= 10;\n }\n }",
"{\n if(i!=1){\n b += c[i]-'0';\n b *= 10;\n }\n }",
"if(i!=1){\n b += c[i]-'0';\n b *= 10;\n }",
"i!=1",
"i",
"1",
"{\n b += c[i]-'0';\n b *= 10;\n }",
"b += c[i]-'0'",
"b",
"c[i]-'0'",
"c[i]",
"c",
"i",
"'0'",
"b *= 10",
"b",
"10",
"b /= 10",
"b",
"10",
"a *= b",
"a",
"b",
"out.println(a/100)",
"out.println",
"out",
"a/100",
"a",
"100",
"InputReader in",
"in",
"PrintWriter out",
"out",
"public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }",
"main",
"{\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }",
"InputReader in = new InputReader(System.in);",
"in",
"new InputReader(System.in)",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"solve(in, out)",
"solve",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }",
"InputReader",
"private BufferedReader br;",
"br",
"private StringTokenizer st;",
"st",
"public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }",
"InputReader",
"{\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }",
"br = new BufferedReader(new InputStreamReader(is))",
"br",
"new BufferedReader(new InputStreamReader(is))",
"st = null",
"st",
"null",
"InputStream is",
"is",
"public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"ns",
"{\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception 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 (Exception e){\n throw new RuntimeException(e);\n }\n }",
"try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }",
"catch (Exception e){\n throw new RuntimeException(e);\n }",
"Exception 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 ni(){\n return Integer.parseInt(ns());\n }",
"ni",
"{\n return Integer.parseInt(ns());\n }",
"return Integer.parseInt(ns());",
"Integer.parseInt(ns())",
"Integer.parseInt",
"Integer",
"ns()",
"ns",
"public long nl(){\n return Long.parseLong(ns());\n }",
"nl",
"{\n return Long.parseLong(ns());\n }",
"return Long.parseLong(ns());",
"Long.parseLong(ns())",
"Long.parseLong",
"Long",
"ns()",
"ns",
"public double nd(){\n return Double.parseDouble(ns());\n }",
"nd",
"{\n return Double.parseDouble(ns());\n }",
"return Double.parseDouble(ns());",
"Double.parseDouble(ns())",
"Double.parseDouble",
"Double",
"ns()",
"ns",
"public char nc(){\n return ns().toCharArray()[0];\n }",
"nc",
"{\n return ns().toCharArray()[0];\n }",
"return ns().toCharArray()[0];",
"ns().toCharArray()[0]",
"ns().toCharArray()",
"ns().toCharArray",
"ns()",
"ns",
"0",
"public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }",
"ni",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = ni();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = ni();\n }",
"{\n a[i] = ni();\n }",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }",
"nl",
"{\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nl();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nl();\n }",
"{\n a[i] = nl();\n }",
"a[i] = nl()",
"a[i]",
"a",
"i",
"nl()",
"nl",
"return a;",
"a",
"int n",
"n",
"public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }",
"nd",
"{\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }",
"double[] a = new double[n];",
"a",
"new double[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nd();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nd();\n }",
"{\n a[i] = nd();\n }",
"a[i] = nd()",
"a[i]",
"a",
"i",
"nd()",
"nd",
"return a;",
"a",
"int n",
"n",
"public class Main {\n public static final long mod = (long)1e9+7;\n public static final long INF = Long.MAX_VALUE/2;\n public static final int inf = Integer.MAX_VALUE/2;\n\n static void solve(InputReader in, PrintWriter out){\n long a = in.nl();\n char[] c = in.ns().toCharArray();\n long b = 0;\n for (int i = 0; i < 4; i++) {\n if(i!=1){\n b += c[i]-'0';\n b *= 10;\n }\n }\n b /= 10;\n a *= b;\n out.println(a/100);\n }\n\n public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }\n public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }\n}",
"public class Main {\n public static final long mod = (long)1e9+7;\n public static final long INF = Long.MAX_VALUE/2;\n public static final int inf = Integer.MAX_VALUE/2;\n\n static void solve(InputReader in, PrintWriter out){\n long a = in.nl();\n char[] c = in.ns().toCharArray();\n long b = 0;\n for (int i = 0; i < 4; i++) {\n if(i!=1){\n b += c[i]-'0';\n b *= 10;\n }\n }\n b /= 10;\n a *= b;\n out.println(a/100);\n }\n\n public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }\n public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static final long mod = (long)1e9+7;
public static final long INF = Long.MAX_VALUE/2;
public static final int inf = Integer.MAX_VALUE/2;
static void solve(InputReader in, PrintWriter out){
long a = in.nl();
char[] c = in.ns().toCharArray();
long b = 0;
for (int i = 0; i < 4; i++) {
if(i!=1){
b += c[i]-'0';
b *= 10;
}
}
b /= 10;
a *= b;
out.println(a/100);
}
public static void main(String[] args){
InputReader in = new InputReader(System.in);
PrintWriter out = new PrintWriter(System.out);
solve(in, out);
out.close();
}
public static class InputReader{
private BufferedReader br;
private StringTokenizer st;
public InputReader(InputStream is){
br = new BufferedReader(new InputStreamReader(is));
st = null;
}
public String ns(){
if(st == null || !st.hasMoreTokens()){
try{
st = new StringTokenizer(br.readLine());
}catch (Exception e){
throw new RuntimeException(e);
}
}
return st.nextToken();
}
public int ni(){
return Integer.parseInt(ns());
}
public long nl(){
return Long.parseLong(ns());
}
public double nd(){
return Double.parseDouble(ns());
}
public char nc(){
return ns().toCharArray()[0];
}
public int[] ni(int n){
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = ni();
}
return a;
}
public long[] nl(int n){
long[] a = new long[n];
for (int i = 0; i < n; i++) {
a[i] = nl();
}
return a;
}
public double[] nd(int n){
double[] a = new double[n];
for (int i = 0; i < n; i++) {
a[i] = nd();
}
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,
2,
2,
2,
13,
17,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
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
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
24,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final long A = sc.nextLong();\n final float B = sc.nextFloat();\n long b = (long) ((B+0.0001f) * 100 / 1);\n System.out.println(A * b / 100);\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 final long A = sc.nextLong();\n final float B = sc.nextFloat();\n long b = (long) ((B+0.0001f) * 100 / 1);\n System.out.println(A * b / 100);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final long A = sc.nextLong();\n final float B = sc.nextFloat();\n long b = (long) ((B+0.0001f) * 100 / 1);\n System.out.println(A * b / 100);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n final long A = sc.nextLong();\n final float B = sc.nextFloat();\n long b = (long) ((B+0.0001f) * 100 / 1);\n System.out.println(A * b / 100);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final long A = sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"final float B = sc.nextFloat();",
"B",
"sc.nextFloat()",
"sc.nextFloat",
"sc",
"long b = (long) ((B+0.0001f) * 100 / 1);",
"b",
"(long) ((B+0.0001f) * 100 / 1)",
"(B+0.0001f) * 100",
"(B+0.0001f)",
"B",
"0.0001f",
"100",
"1",
"System.out.println(A * b / 100)",
"System.out.println",
"System.out",
"System",
"System.out",
"A * b / 100",
"A * b",
"A",
"b",
"100",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final long A = sc.nextLong();\n final float B = sc.nextFloat();\n long b = (long) ((B+0.0001f) * 100 / 1);\n System.out.println(A * b / 100);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final long A = sc.nextLong();\n final float B = sc.nextFloat();\n long b = (long) ((B+0.0001f) * 100 / 1);\n System.out.println(A * b / 100);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
final long A = sc.nextLong();
final float B = sc.nextFloat();
long b = (long) ((B+0.0001f) * 100 / 1);
System.out.println(A * b / 100);
}
}
|
[
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,
4,
18,
13,
0,
13,
4,
18,
4,
18,
13,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
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
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
30,
36
],
[
30,
37
],
[
37,
38
],
[
37,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
9,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\t\tsc.close();\n\n\t\ta = a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.println(a.toPlainString());\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\t\tsc.close();\n\n\t\ta = a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.println(a.toPlainString());\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\t\tsc.close();\n\n\t\ta = a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.println(a.toPlainString());\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\t\tsc.close();\n\n\t\ta = a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.println(a.toPlainString());\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal a = sc.nextBigDecimal();",
"a",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"BigDecimal b = sc.nextBigDecimal();",
"b",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"sc.close()",
"sc.close",
"sc",
"a = a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN)",
"a",
"a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN)",
"a.multiply(b).setScale",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"System.out.println(a.toPlainString())",
"System.out.println",
"System.out",
"System",
"System.out",
"a.toPlainString()",
"a.toPlainString",
"a",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\t\tsc.close();\n\n\t\ta = a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.println(a.toPlainString());\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\t\tsc.close();\n\n\t\ta = a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.println(a.toPlainString());\n\t}\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
BigDecimal a = sc.nextBigDecimal();
BigDecimal b = sc.nextBigDecimal();
sc.close();
a = a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN);
System.out.println(a.toPlainString());
}
}
|
[
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,
2,
13,
17,
41,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
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
],
[
24,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong a = scan.nextLong();\n\t\tdouble b = scan.nextDouble();\n\t\tdouble b2 = Math.round(b*100);\n\n\t\tlong re = (long)b2;\n\n\n\t\tSystem.out.println((long)(a*re)/100);\n\n\t\tscan.close();\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 scan = new Scanner(System.in);\n\n\t\tlong a = scan.nextLong();\n\t\tdouble b = scan.nextDouble();\n\t\tdouble b2 = Math.round(b*100);\n\n\t\tlong re = (long)b2;\n\n\n\t\tSystem.out.println((long)(a*re)/100);\n\n\t\tscan.close();\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong a = scan.nextLong();\n\t\tdouble b = scan.nextDouble();\n\t\tdouble b2 = Math.round(b*100);\n\n\t\tlong re = (long)b2;\n\n\n\t\tSystem.out.println((long)(a*re)/100);\n\n\t\tscan.close();\n\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong a = scan.nextLong();\n\t\tdouble b = scan.nextDouble();\n\t\tdouble b2 = Math.round(b*100);\n\n\t\tlong re = (long)b2;\n\n\n\t\tSystem.out.println((long)(a*re)/100);\n\n\t\tscan.close();\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long a = scan.nextLong();",
"a",
"scan.nextLong()",
"scan.nextLong",
"scan",
"double b = scan.nextDouble();",
"b",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double b2 = Math.round(b*100);",
"b2",
"Math.round(b*100)",
"Math.round",
"Math",
"b*100",
"b",
"100",
"long re = (long)b2;",
"re",
"(long)b2",
"System.out.println((long)(a*re)/100)",
"System.out.println",
"System.out",
"System",
"System.out",
"(long)(a*re)/100",
"(long)(a*re)",
"a",
"re",
"100",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong a = scan.nextLong();\n\t\tdouble b = scan.nextDouble();\n\t\tdouble b2 = Math.round(b*100);\n\n\t\tlong re = (long)b2;\n\n\n\t\tSystem.out.println((long)(a*re)/100);\n\n\t\tscan.close();\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong a = scan.nextLong();\n\t\tdouble b = scan.nextDouble();\n\t\tdouble b2 = Math.round(b*100);\n\n\t\tlong re = (long)b2;\n\n\n\t\tSystem.out.println((long)(a*re)/100);\n\n\t\tscan.close();\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);
long a = scan.nextLong();
double b = scan.nextDouble();
double b2 = Math.round(b*100);
long re = (long)b2;
System.out.println((long)(a*re)/100);
scan.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
4,
18,
13,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
0,
11
],
[
46,
12
],
[
46,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
15,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
27,
31
],
[
26,
32
],
[
15,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
13,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"\nimport java.util.*;\n interface aisatu{\n\tfinal String str=\"こんにちは\";\n\tvoid mesod();\n}\n\npublic class Main {\n\tstatic public void main(String args[]){\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tlong a=sc.nextLong();\n\t\tint b=(int)(sc.nextDouble()*100+0.01);\n\t\t\n\t\tSystem.out.print((a*b)/100);\n\t}\n\n}\n",
"import java.util.*;",
"util.*",
"java",
"interface aisatu{\n\tfinal String str=\"こんにちは\";\n\tvoid mesod();\n}",
"aisatu",
"final String str=\"こんにちは\";",
"str",
"\"こんにちは\"",
"void mesod();",
"mesod",
"public class Main {\n\tstatic public void main(String args[]){\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tlong a=sc.nextLong();\n\t\tint b=(int)(sc.nextDouble()*100+0.01);\n\t\t\n\t\tSystem.out.print((a*b)/100);\n\t}\n\n}",
"Main",
"static public void main(String args[]){\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tlong a=sc.nextLong();\n\t\tint b=(int)(sc.nextDouble()*100+0.01);\n\t\t\n\t\tSystem.out.print((a*b)/100);\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tlong a=sc.nextLong();\n\t\tint b=(int)(sc.nextDouble()*100+0.01);\n\t\t\n\t\tSystem.out.print((a*b)/100);\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a=sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int b=(int)(sc.nextDouble()*100+0.01);",
"b",
"(int)(sc.nextDouble()*100+0.01)",
"sc.nextDouble()*100",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"100",
"0.01",
"System.out.print((a*b)/100)",
"System.out.print",
"System.out",
"System",
"System.out",
"(a*b)/100",
"(a*b)",
"a",
"b",
"100",
"String args[]",
"args",
"public class Main {\n\tstatic public void main(String args[]){\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tlong a=sc.nextLong();\n\t\tint b=(int)(sc.nextDouble()*100+0.01);\n\t\t\n\t\tSystem.out.print((a*b)/100);\n\t}\n\n}",
"public class Main {\n\tstatic public void main(String args[]){\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tlong a=sc.nextLong();\n\t\tint b=(int)(sc.nextDouble()*100+0.01);\n\t\t\n\t\tSystem.out.print((a*b)/100);\n\t}\n\n}",
"Main"
] |
import java.util.*;
interface aisatu{
final String str="こんにちは";
void mesod();
}
public class Main {
static public void main(String args[]){
Scanner sc=new Scanner(System.in);
long a=sc.nextLong();
int b=(int)(sc.nextDouble()*100+0.01);
System.out.print((a*b)/100);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
4,
13,
4,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
13,
17,
42,
17,
30,
38,
5,
13,
30,
3,
30,
41,
13,
4,
18,
18,
13,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
30,
3,
30,
4,
18,
13,
13,
12,
13,
30,
4,
13,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
4,
13,
29,
4,
18,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
4,
13,
29,
4,
18,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
4,
13,
29,
20,
12,
13,
30,
4,
13,
29,
20,
23,
13,
12,
13,
30,
4,
13,
29,
20,
12,
13,
30,
42,
17,
30,
38,
5,
13,
30,
3,
30,
41,
13,
4,
18,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
40,
17,
30,
3,
12,
13,
30,
42,
17,
30,
38,
5,
13,
30,
3,
30,
41,
13,
4,
18,
18,
13,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
3,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
232,
11
],
[
232,
12
],
[
12,
13
],
[
12,
14
],
[
232,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
15,
34
],
[
34,
35
],
[
232,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
61,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
59,
72
],
[
72,
73
],
[
59,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
232,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
89,
90
],
[
232,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
100,
101
],
[
101,
102
],
[
97,
103
],
[
91,
104
],
[
104,
105
],
[
232,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
115,
116
],
[
116,
117
],
[
232,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
127,
128
],
[
128,
129
],
[
124,
130
],
[
118,
131
],
[
131,
132
],
[
232,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
139,
142
],
[
142,
143
],
[
143,
144
],
[
232,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
150,
151
],
[
232,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
154,
157
],
[
157,
158
],
[
152,
159
],
[
159,
160
],
[
232,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
166,
167
],
[
232,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
174,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
179,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
188,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
187,
196
],
[
196,
197
],
[
232,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
204,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
209,
217
],
[
217,
218
],
[
219,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
219,
223
],
[
223,
224
],
[
223,
225
],
[
219,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
217,
230
],
[
0,
231
],
[
231,
232
],
[
231,
233
]
] |
[
"import java.io.IOException;\nimport java.math.BigDecimal;\nimport java.math.BigInteger;\n\npublic class Main {\n private static final StringBuilder builder = new StringBuilder();\n public static void main(String[] args) {\n BigDecimal bd = readBigDecimal().multiply(readBigDecimal());\n System.out.print(bd.toBigInteger());\n }\n\n private static void read() {\n builder.setLength(0);\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static int readInt() {\n read();\n return Integer.parseInt(builder.toString());\n }\n\n private static int readInt(int radix) {\n read();\n return Integer.parseInt(builder.toString(), radix);\n }\n\n private static long readLong() {\n read();\n return Long.parseLong(builder.toString());\n }\n\n private static long readLong(int radix) {\n read();\n return Long.parseLong(builder.toString(), radix);\n }\n\n private static double readDouble() {\n read();\n return Double.parseDouble(builder.toString());\n }\n\n private static BigInteger readBigInteger() {\n read();\n return new BigInteger(builder.toString());\n }\n\n private static BigInteger readBigInteger(int radix) {\n read();\n return new BigInteger(builder.toString(), radix);\n }\n\n private static BigDecimal readBigDecimal() {\n read();\n return new BigDecimal(builder.toString());\n }\n\n private static void skipLine() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static void skip() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }\n }\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"public class Main {\n private static final StringBuilder builder = new StringBuilder();\n public static void main(String[] args) {\n BigDecimal bd = readBigDecimal().multiply(readBigDecimal());\n System.out.print(bd.toBigInteger());\n }\n\n private static void read() {\n builder.setLength(0);\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static int readInt() {\n read();\n return Integer.parseInt(builder.toString());\n }\n\n private static int readInt(int radix) {\n read();\n return Integer.parseInt(builder.toString(), radix);\n }\n\n private static long readLong() {\n read();\n return Long.parseLong(builder.toString());\n }\n\n private static long readLong(int radix) {\n read();\n return Long.parseLong(builder.toString(), radix);\n }\n\n private static double readDouble() {\n read();\n return Double.parseDouble(builder.toString());\n }\n\n private static BigInteger readBigInteger() {\n read();\n return new BigInteger(builder.toString());\n }\n\n private static BigInteger readBigInteger(int radix) {\n read();\n return new BigInteger(builder.toString(), radix);\n }\n\n private static BigDecimal readBigDecimal() {\n read();\n return new BigDecimal(builder.toString());\n }\n\n private static void skipLine() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static void skip() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }\n }\n\n}",
"Main",
"private static final StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"public static void main(String[] args) {\n BigDecimal bd = readBigDecimal().multiply(readBigDecimal());\n System.out.print(bd.toBigInteger());\n }",
"main",
"{\n BigDecimal bd = readBigDecimal().multiply(readBigDecimal());\n System.out.print(bd.toBigInteger());\n }",
"BigDecimal bd = readBigDecimal().multiply(readBigDecimal());",
"bd",
"readBigDecimal().multiply(readBigDecimal())",
"readBigDecimal().multiply",
"readBigDecimal()",
"readBigDecimal",
"readBigDecimal()",
"readBigDecimal",
"System.out.print(bd.toBigInteger())",
"System.out.print",
"System.out",
"System",
"System.out",
"bd.toBigInteger()",
"bd.toBigInteger",
"bd",
"String[] args",
"args",
"private static void read() {\n builder.setLength(0);\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }\n }",
"read",
"{\n builder.setLength(0);\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }\n }",
"builder.setLength(0)",
"builder.setLength",
"builder",
"0",
"while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }",
"true",
"{\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }",
"try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }",
"catch (IOException e) {\n break;\n }",
"IOException e",
"{\n break;\n }",
"break;",
"{\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n }",
"int b = System.in.read();",
"b",
"System.in.read()",
"System.in.read",
"System.in",
"System",
"System.in",
"if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }",
"b == ' ' || b == '\\n' || b == -1",
"b == ' ' || b == '\\n' || b == -1",
"b == ' '",
"b",
"' '",
"b == '\\n'",
"b",
"'\\n'",
"b == -1",
"b",
"-1",
"1",
"{\n break;\n }",
"break;",
"{\n builder.appendCodePoint(b);\n }",
"builder.appendCodePoint(b)",
"builder.appendCodePoint",
"builder",
"b",
"private static int readInt() {\n read();\n return Integer.parseInt(builder.toString());\n }",
"readInt",
"{\n read();\n return Integer.parseInt(builder.toString());\n }",
"read()",
"read",
"return Integer.parseInt(builder.toString());",
"Integer.parseInt(builder.toString())",
"Integer.parseInt",
"Integer",
"builder.toString()",
"builder.toString",
"builder",
"private static int readInt(int radix) {\n read();\n return Integer.parseInt(builder.toString(), radix);\n }",
"readInt",
"{\n read();\n return Integer.parseInt(builder.toString(), radix);\n }",
"read()",
"read",
"return Integer.parseInt(builder.toString(), radix);",
"Integer.parseInt(builder.toString(), radix)",
"Integer.parseInt",
"Integer",
"builder.toString()",
"builder.toString",
"builder",
"radix",
"int radix",
"radix",
"private static long readLong() {\n read();\n return Long.parseLong(builder.toString());\n }",
"readLong",
"{\n read();\n return Long.parseLong(builder.toString());\n }",
"read()",
"read",
"return Long.parseLong(builder.toString());",
"Long.parseLong(builder.toString())",
"Long.parseLong",
"Long",
"builder.toString()",
"builder.toString",
"builder",
"private static long readLong(int radix) {\n read();\n return Long.parseLong(builder.toString(), radix);\n }",
"readLong",
"{\n read();\n return Long.parseLong(builder.toString(), radix);\n }",
"read()",
"read",
"return Long.parseLong(builder.toString(), radix);",
"Long.parseLong(builder.toString(), radix)",
"Long.parseLong",
"Long",
"builder.toString()",
"builder.toString",
"builder",
"radix",
"int radix",
"radix",
"private static double readDouble() {\n read();\n return Double.parseDouble(builder.toString());\n }",
"readDouble",
"{\n read();\n return Double.parseDouble(builder.toString());\n }",
"read()",
"read",
"return Double.parseDouble(builder.toString());",
"Double.parseDouble(builder.toString())",
"Double.parseDouble",
"Double",
"builder.toString()",
"builder.toString",
"builder",
"private static BigInteger readBigInteger() {\n read();\n return new BigInteger(builder.toString());\n }",
"readBigInteger",
"{\n read();\n return new BigInteger(builder.toString());\n }",
"read()",
"read",
"return new BigInteger(builder.toString());",
"new BigInteger(builder.toString())",
"private static BigInteger readBigInteger(int radix) {\n read();\n return new BigInteger(builder.toString(), radix);\n }",
"readBigInteger",
"{\n read();\n return new BigInteger(builder.toString(), radix);\n }",
"read()",
"read",
"return new BigInteger(builder.toString(), radix);",
"new BigInteger(builder.toString(), radix)",
"int radix",
"radix",
"private static BigDecimal readBigDecimal() {\n read();\n return new BigDecimal(builder.toString());\n }",
"readBigDecimal",
"{\n read();\n return new BigDecimal(builder.toString());\n }",
"read()",
"read",
"return new BigDecimal(builder.toString());",
"new BigDecimal(builder.toString())",
"private static void skipLine() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }\n }",
"skipLine",
"{\n while (true) {\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }\n }",
"while (true) {\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }",
"true",
"{\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }",
"try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }",
"catch (IOException e) {\n break;\n }",
"IOException e",
"{\n break;\n }",
"break;",
"{\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n }",
"int b = System.in.read();",
"b",
"System.in.read()",
"System.in.read",
"System.in",
"System",
"System.in",
"if (b == '\\n' || b == -1) {\n break;\n }",
"b == '\\n' || b == -1",
"b == '\\n'",
"b",
"'\\n'",
"b == -1",
"b",
"-1",
"1",
"{\n break;\n }",
"break;",
"private static void skip() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }\n }",
"skip",
"{\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }\n }",
"while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }",
"true",
"{\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }",
"try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }",
"catch (IOException e) {\n break;\n }",
"IOException e",
"{\n break;\n }",
"break;",
"{\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n }",
"int b = System.in.read();",
"b",
"System.in.read()",
"System.in.read",
"System.in",
"System",
"System.in",
"if (b == ' ' || b == '\\n' || b == -1) break;",
"b == ' ' || b == '\\n' || b == -1",
"b == ' ' || b == '\\n' || b == -1",
"b == ' '",
"b",
"' '",
"b == '\\n'",
"b",
"'\\n'",
"b == -1",
"b",
"-1",
"1",
"break;",
"public class Main {\n private static final StringBuilder builder = new StringBuilder();\n public static void main(String[] args) {\n BigDecimal bd = readBigDecimal().multiply(readBigDecimal());\n System.out.print(bd.toBigInteger());\n }\n\n private static void read() {\n builder.setLength(0);\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static int readInt() {\n read();\n return Integer.parseInt(builder.toString());\n }\n\n private static int readInt(int radix) {\n read();\n return Integer.parseInt(builder.toString(), radix);\n }\n\n private static long readLong() {\n read();\n return Long.parseLong(builder.toString());\n }\n\n private static long readLong(int radix) {\n read();\n return Long.parseLong(builder.toString(), radix);\n }\n\n private static double readDouble() {\n read();\n return Double.parseDouble(builder.toString());\n }\n\n private static BigInteger readBigInteger() {\n read();\n return new BigInteger(builder.toString());\n }\n\n private static BigInteger readBigInteger(int radix) {\n read();\n return new BigInteger(builder.toString(), radix);\n }\n\n private static BigDecimal readBigDecimal() {\n read();\n return new BigDecimal(builder.toString());\n }\n\n private static void skipLine() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static void skip() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }\n }\n\n}",
"public class Main {\n private static final StringBuilder builder = new StringBuilder();\n public static void main(String[] args) {\n BigDecimal bd = readBigDecimal().multiply(readBigDecimal());\n System.out.print(bd.toBigInteger());\n }\n\n private static void read() {\n builder.setLength(0);\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static int readInt() {\n read();\n return Integer.parseInt(builder.toString());\n }\n\n private static int readInt(int radix) {\n read();\n return Integer.parseInt(builder.toString(), radix);\n }\n\n private static long readLong() {\n read();\n return Long.parseLong(builder.toString());\n }\n\n private static long readLong(int radix) {\n read();\n return Long.parseLong(builder.toString(), radix);\n }\n\n private static double readDouble() {\n read();\n return Double.parseDouble(builder.toString());\n }\n\n private static BigInteger readBigInteger() {\n read();\n return new BigInteger(builder.toString());\n }\n\n private static BigInteger readBigInteger(int radix) {\n read();\n return new BigInteger(builder.toString(), radix);\n }\n\n private static BigDecimal readBigDecimal() {\n read();\n return new BigDecimal(builder.toString());\n }\n\n private static void skipLine() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static void skip() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }\n }\n\n}",
"Main"
] |
import java.io.IOException;
import java.math.BigDecimal;
import java.math.BigInteger;
public class Main {
private static final StringBuilder builder = new StringBuilder();
public static void main(String[] args) {
BigDecimal bd = readBigDecimal().multiply(readBigDecimal());
System.out.print(bd.toBigInteger());
}
private static void read() {
builder.setLength(0);
while (true) {
try {
int b = System.in.read();
if (b == ' ' || b == '\n' || b == -1) {
break;
} else {
builder.appendCodePoint(b);
}
} catch (IOException e) {
break;
}
}
}
private static int readInt() {
read();
return Integer.parseInt(builder.toString());
}
private static int readInt(int radix) {
read();
return Integer.parseInt(builder.toString(), radix);
}
private static long readLong() {
read();
return Long.parseLong(builder.toString());
}
private static long readLong(int radix) {
read();
return Long.parseLong(builder.toString(), radix);
}
private static double readDouble() {
read();
return Double.parseDouble(builder.toString());
}
private static BigInteger readBigInteger() {
read();
return new BigInteger(builder.toString());
}
private static BigInteger readBigInteger(int radix) {
read();
return new BigInteger(builder.toString(), radix);
}
private static BigDecimal readBigDecimal() {
read();
return new BigDecimal(builder.toString());
}
private static void skipLine() {
while (true) {
try {
int b = System.in.read();
if (b == '\n' || b == -1) {
break;
}
} catch (IOException e) {
break;
}
}
}
private static void skip() {
while (true) {
try {
int b = System.in.read();
if (b == ' ' || b == '\n' || b == -1) break;
} catch (IOException e) {
break;
}
}
}
}
|
[
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,
17,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
13,
17,
18,
13,
13,
0,
13,
4,
18,
13,
4,
18,
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
],
[
66,
11
],
[
66,
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
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
39,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
14,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
12,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] |
[
"import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\t//long[] a = new long[n];\n\t\tString s = \"\";\n\t\tBigDecimal bdb = new BigDecimal(String.valueOf(b));\n\t\tBigDecimal bda = new BigDecimal(String.valueOf(a));\n\n\t\tBigDecimal bd1 = bda.multiply(bdb).setScale(0, RoundingMode.DOWN);\n\n\t\ts = bd1.toPlainString();\n\n\n\t\tsc.close();\n\t\t\tSystem.out.println(s);\n\n\n\t}\n\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"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\tString a = sc.next();\n\t\tString b = sc.next();\n\t\t//long[] a = new long[n];\n\t\tString s = \"\";\n\t\tBigDecimal bdb = new BigDecimal(String.valueOf(b));\n\t\tBigDecimal bda = new BigDecimal(String.valueOf(a));\n\n\t\tBigDecimal bd1 = bda.multiply(bdb).setScale(0, RoundingMode.DOWN);\n\n\t\ts = bd1.toPlainString();\n\n\n\t\tsc.close();\n\t\t\tSystem.out.println(s);\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\t//long[] a = new long[n];\n\t\tString s = \"\";\n\t\tBigDecimal bdb = new BigDecimal(String.valueOf(b));\n\t\tBigDecimal bda = new BigDecimal(String.valueOf(a));\n\n\t\tBigDecimal bd1 = bda.multiply(bdb).setScale(0, RoundingMode.DOWN);\n\n\t\ts = bd1.toPlainString();\n\n\n\t\tsc.close();\n\t\t\tSystem.out.println(s);\n\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\t//long[] a = new long[n];\n\t\tString s = \"\";\n\t\tBigDecimal bdb = new BigDecimal(String.valueOf(b));\n\t\tBigDecimal bda = new BigDecimal(String.valueOf(a));\n\n\t\tBigDecimal bd1 = bda.multiply(bdb).setScale(0, RoundingMode.DOWN);\n\n\t\ts = bd1.toPlainString();\n\n\n\t\tsc.close();\n\t\t\tSystem.out.println(s);\n\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"String s = \"\";",
"s",
"\"\"",
"BigDecimal bdb = new BigDecimal(String.valueOf(b));",
"bdb",
"new BigDecimal(String.valueOf(b))",
"BigDecimal bda = new BigDecimal(String.valueOf(a));",
"bda",
"new BigDecimal(String.valueOf(a))",
"BigDecimal bd1 = bda.multiply(bdb).setScale(0, RoundingMode.DOWN);",
"bd1",
"bda.multiply(bdb).setScale(0, RoundingMode.DOWN)",
"bda.multiply(bdb).setScale",
"bda.multiply(bdb)",
"bda.multiply",
"bda",
"bdb",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"s = bd1.toPlainString()",
"s",
"bd1.toPlainString()",
"bd1.toPlainString",
"bd1",
"sc.close()",
"sc.close",
"sc",
"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\tString a = sc.next();\n\t\tString b = sc.next();\n\t\t//long[] a = new long[n];\n\t\tString s = \"\";\n\t\tBigDecimal bdb = new BigDecimal(String.valueOf(b));\n\t\tBigDecimal bda = new BigDecimal(String.valueOf(a));\n\n\t\tBigDecimal bd1 = bda.multiply(bdb).setScale(0, RoundingMode.DOWN);\n\n\t\ts = bd1.toPlainString();\n\n\n\t\tsc.close();\n\t\t\tSystem.out.println(s);\n\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\t//long[] a = new long[n];\n\t\tString s = \"\";\n\t\tBigDecimal bdb = new BigDecimal(String.valueOf(b));\n\t\tBigDecimal bda = new BigDecimal(String.valueOf(a));\n\n\t\tBigDecimal bd1 = bda.multiply(bdb).setScale(0, RoundingMode.DOWN);\n\n\t\ts = bd1.toPlainString();\n\n\n\t\tsc.close();\n\t\t\tSystem.out.println(s);\n\n\n\t}\n\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String a = sc.next();
String b = sc.next();
//long[] a = new long[n];
String s = "";
BigDecimal bdb = new BigDecimal(String.valueOf(b));
BigDecimal bda = new BigDecimal(String.valueOf(a));
BigDecimal bd1 = bda.multiply(bdb).setScale(0, RoundingMode.DOWN);
s = bd1.toPlainString();
sc.close();
System.out.println(s);
}
}
|
[
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,
13,
41,
13,
4,
18,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
13,
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
],
[
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
],
[
30,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
14,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
12,
49
],
[
49,
50
]
] |
[
"import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\n// A - Multiplication 1\nclass Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal A = sc.nextBigDecimal();\n\n\t\tBigDecimal B = sc.nextBigDecimal();\n\n\t\tBigDecimal w = A.multiply(B);\n\n\t\tBigDecimal ans = w.setScale(0, RoundingMode.DOWN);\n\n\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal A = sc.nextBigDecimal();\n\n\t\tBigDecimal B = sc.nextBigDecimal();\n\n\t\tBigDecimal w = A.multiply(B);\n\n\t\tBigDecimal ans = w.setScale(0, RoundingMode.DOWN);\n\n\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal A = sc.nextBigDecimal();\n\n\t\tBigDecimal B = sc.nextBigDecimal();\n\n\t\tBigDecimal w = A.multiply(B);\n\n\t\tBigDecimal ans = w.setScale(0, RoundingMode.DOWN);\n\n\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal A = sc.nextBigDecimal();\n\n\t\tBigDecimal B = sc.nextBigDecimal();\n\n\t\tBigDecimal w = A.multiply(B);\n\n\t\tBigDecimal ans = w.setScale(0, RoundingMode.DOWN);\n\n\n\t\tSystem.out.println(ans);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal A = sc.nextBigDecimal();",
"A",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"BigDecimal B = sc.nextBigDecimal();",
"B",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"BigDecimal w = A.multiply(B);",
"w",
"A.multiply(B)",
"A.multiply",
"A",
"B",
"BigDecimal ans = w.setScale(0, RoundingMode.DOWN);",
"ans",
"w.setScale(0, RoundingMode.DOWN)",
"w.setScale",
"w",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
] |
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;
// A - Multiplication 1
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
BigDecimal A = sc.nextBigDecimal();
BigDecimal B = sc.nextBigDecimal();
BigDecimal w = A.multiply(B);
BigDecimal ans = w.setScale(0, RoundingMode.DOWN);
System.out.println(ans);
}
}
|
[
7,
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,
2,
13,
17,
0,
13,
2,
13,
13,
0,
13,
17,
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
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
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
],
[
38,
40
],
[
8,
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.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tlong a = Long.parseLong(sc.next());\n\t\tdouble b = Double.parseDouble(sc.next());\n\t\tlong c = (long)Math.round(b*100);\n\t\ta = a * c;\n\t\ta /= 100;\n\t\tSystem.out.println(a);\n\t\t\n\t}\n\n\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\n\t\tlong a = Long.parseLong(sc.next());\n\t\tdouble b = Double.parseDouble(sc.next());\n\t\tlong c = (long)Math.round(b*100);\n\t\ta = a * c;\n\t\ta /= 100;\n\t\tSystem.out.println(a);\n\t\t\n\t}\n\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tlong a = Long.parseLong(sc.next());\n\t\tdouble b = Double.parseDouble(sc.next());\n\t\tlong c = (long)Math.round(b*100);\n\t\ta = a * c;\n\t\ta /= 100;\n\t\tSystem.out.println(a);\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tlong a = Long.parseLong(sc.next());\n\t\tdouble b = Double.parseDouble(sc.next());\n\t\tlong c = (long)Math.round(b*100);\n\t\ta = a * c;\n\t\ta /= 100;\n\t\tSystem.out.println(a);\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = Long.parseLong(sc.next());",
"a",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"double b = Double.parseDouble(sc.next());",
"b",
"Double.parseDouble(sc.next())",
"Double.parseDouble",
"Double",
"sc.next()",
"sc.next",
"sc",
"long c = (long)Math.round(b*100);",
"c",
"(long)Math.round(b*100)",
"Math.round",
"Math",
"b*100",
"b",
"100",
"a = a * c",
"a",
"a * c",
"a",
"c",
"a /= 100",
"a",
"100",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"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\tlong a = Long.parseLong(sc.next());\n\t\tdouble b = Double.parseDouble(sc.next());\n\t\tlong c = (long)Math.round(b*100);\n\t\ta = a * c;\n\t\ta /= 100;\n\t\tSystem.out.println(a);\n\t\t\n\t}\n\n\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tlong a = Long.parseLong(sc.next());\n\t\tdouble b = Double.parseDouble(sc.next());\n\t\tlong c = (long)Math.round(b*100);\n\t\ta = a * c;\n\t\ta /= 100;\n\t\tSystem.out.println(a);\n\t\t\n\t}\n\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = Long.parseLong(sc.next());
double b = Double.parseDouble(sc.next());
long c = (long)Math.round(b*100);
a = a * c;
a /= 100;
System.out.println(a);
}
}
|
[
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,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
4,
18,
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
],
[
27,
30
],
[
11,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
9,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\n\t\tBigDecimal x = BigDecimal.valueOf(b);\n\t\tx.multiply(BigDecimal.valueOf(a));\n\n\t\tSystem.out.println(x.multiply(BigDecimal.valueOf(a)).longValue());\n\t}\n\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"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\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\n\t\tBigDecimal x = BigDecimal.valueOf(b);\n\t\tx.multiply(BigDecimal.valueOf(a));\n\n\t\tSystem.out.println(x.multiply(BigDecimal.valueOf(a)).longValue());\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\n\t\tBigDecimal x = BigDecimal.valueOf(b);\n\t\tx.multiply(BigDecimal.valueOf(a));\n\n\t\tSystem.out.println(x.multiply(BigDecimal.valueOf(a)).longValue());\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\n\t\tBigDecimal x = BigDecimal.valueOf(b);\n\t\tx.multiply(BigDecimal.valueOf(a));\n\n\t\tSystem.out.println(x.multiply(BigDecimal.valueOf(a)).longValue());\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double b = sc.nextDouble();",
"b",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"BigDecimal x = BigDecimal.valueOf(b);",
"x",
"BigDecimal.valueOf(b)",
"BigDecimal.valueOf",
"BigDecimal",
"b",
"x.multiply(BigDecimal.valueOf(a))",
"x.multiply",
"x",
"BigDecimal.valueOf(a)",
"BigDecimal.valueOf",
"BigDecimal",
"a",
"System.out.println(x.multiply(BigDecimal.valueOf(a)).longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"x.multiply(BigDecimal.valueOf(a)).longValue()",
"x.multiply(BigDecimal.valueOf(a)).longValue",
"x.multiply(BigDecimal.valueOf(a))",
"x.multiply",
"x",
"BigDecimal.valueOf(a)",
"BigDecimal.valueOf",
"BigDecimal",
"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\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\n\t\tBigDecimal x = BigDecimal.valueOf(b);\n\t\tx.multiply(BigDecimal.valueOf(a));\n\n\t\tSystem.out.println(x.multiply(BigDecimal.valueOf(a)).longValue());\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\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\n\t\tBigDecimal x = BigDecimal.valueOf(b);\n\t\tx.multiply(BigDecimal.valueOf(a));\n\n\t\tSystem.out.println(x.multiply(BigDecimal.valueOf(a)).longValue());\n\t}\n\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
double b = sc.nextDouble();
BigDecimal x = BigDecimal.valueOf(b);
x.multiply(BigDecimal.valueOf(a));
System.out.println(x.multiply(BigDecimal.valueOf(a)).longValue());
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
17,
18,
13,
13,
4,
18,
18,
13,
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
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
9,
53
],
[
53,
54
]
] |
[
"import java.util.*;\nimport java.math.BigDecimal;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal A = sc.nextBigDecimal();\n\t\tBigDecimal B = new BigDecimal((int)(sc.nextDouble() * 100 + 0.5));\n\t\tBigDecimal ans = A.multiply(B);\n\t\tans = ans.divide(BigDecimal.valueOf(100));\n\t\tans = ans.setScale(0, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.print(ans);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal A = sc.nextBigDecimal();\n\t\tBigDecimal B = new BigDecimal((int)(sc.nextDouble() * 100 + 0.5));\n\t\tBigDecimal ans = A.multiply(B);\n\t\tans = ans.divide(BigDecimal.valueOf(100));\n\t\tans = ans.setScale(0, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.print(ans);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal A = sc.nextBigDecimal();\n\t\tBigDecimal B = new BigDecimal((int)(sc.nextDouble() * 100 + 0.5));\n\t\tBigDecimal ans = A.multiply(B);\n\t\tans = ans.divide(BigDecimal.valueOf(100));\n\t\tans = ans.setScale(0, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.print(ans);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal A = sc.nextBigDecimal();\n\t\tBigDecimal B = new BigDecimal((int)(sc.nextDouble() * 100 + 0.5));\n\t\tBigDecimal ans = A.multiply(B);\n\t\tans = ans.divide(BigDecimal.valueOf(100));\n\t\tans = ans.setScale(0, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.print(ans);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal A = sc.nextBigDecimal();",
"A",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"BigDecimal B = new BigDecimal((int)(sc.nextDouble() * 100 + 0.5));",
"B",
"new BigDecimal((int)(sc.nextDouble() * 100 + 0.5))",
"BigDecimal ans = A.multiply(B);",
"ans",
"A.multiply(B)",
"A.multiply",
"A",
"B",
"ans = ans.divide(BigDecimal.valueOf(100))",
"ans",
"ans.divide(BigDecimal.valueOf(100))",
"ans.divide",
"ans",
"BigDecimal.valueOf(100)",
"BigDecimal.valueOf",
"BigDecimal",
"100",
"ans = ans.setScale(0, BigDecimal.ROUND_DOWN)",
"ans",
"ans.setScale(0, BigDecimal.ROUND_DOWN)",
"ans.setScale",
"ans",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"System.out.print(ans)",
"System.out.print",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
] |
import java.util.*;
import java.math.BigDecimal;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
BigDecimal A = sc.nextBigDecimal();
BigDecimal B = new BigDecimal((int)(sc.nextDouble() * 100 + 0.5));
BigDecimal ans = A.multiply(B);
ans = ans.divide(BigDecimal.valueOf(100));
ans = ans.setScale(0, BigDecimal.ROUND_DOWN);
System.out.print(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,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
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
],
[
25,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
6,
39
],
[
39,
40
]
] |
[
"import java.util.Scanner;\n\n\nclass Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n double B = sc.nextDouble();\n long b = (long) (B*(double)100+0.5);\n\n System.out.println(A*b/(long)100);\n \n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n double B = sc.nextDouble();\n long b = (long) (B*(double)100+0.5);\n\n System.out.println(A*b/(long)100);\n \n }\n}",
"Main",
"public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n double B = sc.nextDouble();\n long b = (long) (B*(double)100+0.5);\n\n System.out.println(A*b/(long)100);\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n double B = sc.nextDouble();\n long b = (long) (B*(double)100+0.5);\n\n System.out.println(A*b/(long)100);\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long A = sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double B = sc.nextDouble();",
"B",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"long b = (long) (B*(double)100+0.5);",
"b",
"(long) (B*(double)100+0.5)",
"B*(double)100",
"B",
"(double)100",
"0.5",
"System.out.println(A*b/(long)100)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*b/(long)100",
"A*b",
"A",
"b",
"(long)100",
"String args[]",
"args"
] |
import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
double B = sc.nextDouble();
long b = (long) (B*(double)100+0.5);
System.out.println(A*b/(long)100);
}
}
|
[
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,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
4,
18,
13,
13,
41,
13,
4,
18,
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
],
[
63,
20
],
[
63,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
23,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
23,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
23,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
21,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] |
[
"import java.math.BigDecimal;\nimport java.math.BigInteger;\nimport java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger myBI = new BigInteger(sc.next());\n\t\tdouble a = sc.nextDouble();\n\t\tBigDecimal bd = new BigDecimal(myBI);\n\t\tBigInteger doubleWithStringValue = bd.multiply(BigDecimal.valueOf(a)).toBigInteger();\n\t\tlong result=doubleWithStringValue.longValue();\n\t\tSystem.out.println(result);\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"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\tBigInteger myBI = new BigInteger(sc.next());\n\t\tdouble a = sc.nextDouble();\n\t\tBigDecimal bd = new BigDecimal(myBI);\n\t\tBigInteger doubleWithStringValue = bd.multiply(BigDecimal.valueOf(a)).toBigInteger();\n\t\tlong result=doubleWithStringValue.longValue();\n\t\tSystem.out.println(result);\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger myBI = new BigInteger(sc.next());\n\t\tdouble a = sc.nextDouble();\n\t\tBigDecimal bd = new BigDecimal(myBI);\n\t\tBigInteger doubleWithStringValue = bd.multiply(BigDecimal.valueOf(a)).toBigInteger();\n\t\tlong result=doubleWithStringValue.longValue();\n\t\tSystem.out.println(result);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger myBI = new BigInteger(sc.next());\n\t\tdouble a = sc.nextDouble();\n\t\tBigDecimal bd = new BigDecimal(myBI);\n\t\tBigInteger doubleWithStringValue = bd.multiply(BigDecimal.valueOf(a)).toBigInteger();\n\t\tlong result=doubleWithStringValue.longValue();\n\t\tSystem.out.println(result);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigInteger myBI = new BigInteger(sc.next());",
"myBI",
"new BigInteger(sc.next())",
"double a = sc.nextDouble();",
"a",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"BigDecimal bd = new BigDecimal(myBI);",
"bd",
"new BigDecimal(myBI)",
"BigInteger doubleWithStringValue = bd.multiply(BigDecimal.valueOf(a)).toBigInteger();",
"doubleWithStringValue",
"bd.multiply(BigDecimal.valueOf(a)).toBigInteger()",
"bd.multiply(BigDecimal.valueOf(a)).toBigInteger",
"bd.multiply(BigDecimal.valueOf(a))",
"bd.multiply",
"bd",
"BigDecimal.valueOf(a)",
"BigDecimal.valueOf",
"BigDecimal",
"a",
"long result=doubleWithStringValue.longValue();",
"result",
"doubleWithStringValue.longValue()",
"doubleWithStringValue.longValue",
"doubleWithStringValue",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger myBI = new BigInteger(sc.next());\n\t\tdouble a = sc.nextDouble();\n\t\tBigDecimal bd = new BigDecimal(myBI);\n\t\tBigInteger doubleWithStringValue = bd.multiply(BigDecimal.valueOf(a)).toBigInteger();\n\t\tlong result=doubleWithStringValue.longValue();\n\t\tSystem.out.println(result);\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger myBI = new BigInteger(sc.next());\n\t\tdouble a = sc.nextDouble();\n\t\tBigDecimal bd = new BigDecimal(myBI);\n\t\tBigInteger doubleWithStringValue = bd.multiply(BigDecimal.valueOf(a)).toBigInteger();\n\t\tlong result=doubleWithStringValue.longValue();\n\t\tSystem.out.println(result);\n\t}\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Scanner;
public class Main{
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
BigInteger myBI = new BigInteger(sc.next());
double a = sc.nextDouble();
BigDecimal bd = new BigDecimal(myBI);
BigInteger doubleWithStringValue = bd.multiply(BigDecimal.valueOf(a)).toBigInteger();
long result=doubleWithStringValue.longValue();
System.out.println(result);
}
}
|
[
7,
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,
20,
41,
13,
4,
18,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
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,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
29,
4,
18,
13,
29,
4,
18,
13,
17,
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
],
[
138,
11
],
[
138,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
14,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
14,
39
],
[
39,
40
],
[
40,
41
],
[
12,
42
],
[
42,
43
],
[
138,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
52,
61
],
[
61,
62
],
[
44,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
66,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
76,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
65,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
44,
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
],
[
103,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
92,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
44,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
126,
127
],
[
44,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
135,
136
],
[
0,
137
],
[
137,
138
],
[
137,
139
]
] |
[
"import java.io.*;\nimport java.math.BigDecimal;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n BigDecimal A = new BigDecimal(sc.next());\n BigDecimal B = new BigDecimal(sc.next());\n long ans = (A.multiply(B)).longValue();\n out.println(ans);\n\n out.flush();\n\n }\n\n static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n BigDecimal A = new BigDecimal(sc.next());\n BigDecimal B = new BigDecimal(sc.next());\n long ans = (A.multiply(B)).longValue();\n out.println(ans);\n\n out.flush();\n\n }\n\n static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n BigDecimal A = new BigDecimal(sc.next());\n BigDecimal B = new BigDecimal(sc.next());\n long ans = (A.multiply(B)).longValue();\n out.println(ans);\n\n out.flush();\n\n }",
"main",
"{\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n BigDecimal A = new BigDecimal(sc.next());\n BigDecimal B = new BigDecimal(sc.next());\n long ans = (A.multiply(B)).longValue();\n out.println(ans);\n\n out.flush();\n\n }",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"BigDecimal A = new BigDecimal(sc.next());",
"A",
"new BigDecimal(sc.next())",
"BigDecimal B = new BigDecimal(sc.next());",
"B",
"new BigDecimal(sc.next())",
"long ans = (A.multiply(B)).longValue();",
"ans",
"(A.multiply(B)).longValue()",
"(A.multiply(B)).longValue",
"(A.multiply(B))",
"A.multiply",
"A",
"B",
"out.println(ans)",
"out.println",
"out",
"ans",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }",
"FastScanner",
"{\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream in",
"in",
"public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.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 tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }",
"nextLine",
"{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n return reader.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 return reader.readLine();\n }",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"return tokenizer.nextToken(\"\\n\");",
"tokenizer.nextToken(\"\\n\")",
"tokenizer.nextToken",
"tokenizer",
"\"\\n\"",
"public 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 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",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n BigDecimal A = new BigDecimal(sc.next());\n BigDecimal B = new BigDecimal(sc.next());\n long ans = (A.multiply(B)).longValue();\n out.println(ans);\n\n out.flush();\n\n }\n\n static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n BigDecimal A = new BigDecimal(sc.next());\n BigDecimal B = new BigDecimal(sc.next());\n long ans = (A.multiply(B)).longValue();\n out.println(ans);\n\n out.flush();\n\n }\n\n static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"Main"
] |
import java.io.*;
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
FastScanner sc = new FastScanner(System.in);
PrintWriter out = new PrintWriter(System.out);
BigDecimal A = new BigDecimal(sc.next());
BigDecimal B = new BigDecimal(sc.next());
long ans = (A.multiply(B)).longValue();
out.println(ans);
out.flush();
}
static class FastScanner {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public FastScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
tokenizer = null;
}
public String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public String nextLine() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
return reader.readLine();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken("\n");
}
public long nextLong() {
return Long.parseLong(next());
}
public int nextInt() {
return Integer.parseInt(next());
}
}
}
|
[
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,
4,
18,
13,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
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,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
29,
4,
18,
13,
29,
4,
18,
13,
17,
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,
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,
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
],
[
217,
17
],
[
217,
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
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
20,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
18,
54
],
[
54,
55
],
[
217,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
64,
73
],
[
73,
74
],
[
56,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
78,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
88,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
77,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
56,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
105,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
115,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
104,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
56,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
138,
139
],
[
56,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
144,
147
],
[
147,
148
],
[
56,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
153,
156
],
[
156,
157
],
[
56,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
165,
170
],
[
170,
171
],
[
170,
172
],
[
165,
173
],
[
173,
174
],
[
174,
175
],
[
165,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
181,
182
],
[
160,
183
],
[
183,
184
],
[
158,
185
],
[
185,
186
],
[
56,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
194,
199
],
[
199,
200
],
[
199,
201
],
[
194,
202
],
[
202,
203
],
[
203,
204
],
[
194,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
206,
210
],
[
210,
211
],
[
189,
212
],
[
212,
213
],
[
187,
214
],
[
214,
215
],
[
0,
216
],
[
216,
217
],
[
216,
218
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n long a = sc.nextLong();\n String b = sc.next();\n long bn = Long.parseLong(b.replace(\".\", \"\"));\n System.out.println((a * bn) / 100L);\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.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n long a = sc.nextLong();\n String b = sc.next();\n long bn = Long.parseLong(b.replace(\".\", \"\"));\n System.out.println((a * bn) / 100L);\n }\n}",
"Main",
"public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n long a = sc.nextLong();\n String b = sc.next();\n long bn = Long.parseLong(b.replace(\".\", \"\"));\n System.out.println((a * bn) / 100L);\n }",
"main",
"{\n FastScanner sc = new FastScanner(System.in);\n long a = sc.nextLong();\n String b = sc.next();\n long bn = Long.parseLong(b.replace(\".\", \"\"));\n System.out.println((a * bn) / 100L);\n }",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"long bn = Long.parseLong(b.replace(\".\", \"\"));",
"bn",
"Long.parseLong(b.replace(\".\", \"\"))",
"Long.parseLong",
"Long",
"b.replace(\".\", \"\")",
"b.replace",
"b",
"\".\"",
"\"\"",
"System.out.println((a * bn) / 100L)",
"System.out.println",
"System.out",
"System",
"System.out",
"(a * bn) / 100L",
"(a * bn)",
"a",
"bn",
"100L",
"String[] args",
"args",
"private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }",
"FastScanner",
"{\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream in",
"in",
"public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.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 tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }",
"nextLine",
"{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n return reader.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 return reader.readLine();\n }",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"return tokenizer.nextToken(\"\\n\");",
"tokenizer.nextToken(\"\\n\")",
"tokenizer.nextToken",
"tokenizer",
"\"\\n\"",
"public 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 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",
"public 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",
"public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"nextIntArray",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n 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 long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"nextLongArray",
"{\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n 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 private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n long a = sc.nextLong();\n String b = sc.next();\n long bn = Long.parseLong(b.replace(\".\", \"\"));\n System.out.println((a * bn) / 100L);\n }\n}",
"public class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n long a = sc.nextLong();\n String b = sc.next();\n long bn = Long.parseLong(b.replace(\".\", \"\"));\n System.out.println((a * bn) / 100L);\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
private static class FastScanner {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public FastScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
tokenizer = null;
}
public String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public String nextLine() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
return reader.readLine();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken("\n");
}
public long nextLong() {
return Long.parseLong(next());
}
public int nextInt() {
return Integer.parseInt(next());
}
public double nextDouble() {
return Double.parseDouble(next());
}
public int[] nextIntArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
public long[] nextLongArray(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nextLong();
return a;
}
}
public static void main(String[] args) {
FastScanner sc = new FastScanner(System.in);
long a = sc.nextLong();
String b = sc.next();
long bn = Long.parseLong(b.replace(".", ""));
System.out.println((a * bn) / 100L);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
4,
18,
13,
17,
41,
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
],
[
45,
5
],
[
45,
6
],
[
6,
7
],
[
6,
8
],
[
45,
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
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
9,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tstatic double eps=1.0E-14;\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn=new Scanner(System.in);\n\t\tlong a =scn.nextLong();\n\t\tlong b =(long)((eps+scn.nextDouble())*100);\n\t\tlong c =a*b/100;\n\t\tSystem.out.println(c);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tstatic double eps=1.0E-14;\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn=new Scanner(System.in);\n\t\tlong a =scn.nextLong();\n\t\tlong b =(long)((eps+scn.nextDouble())*100);\n\t\tlong c =a*b/100;\n\t\tSystem.out.println(c);\n\n\t}\n\n}",
"Main",
"static double eps=1.0E-14;",
"eps",
"1.0E-14",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn=new Scanner(System.in);\n\t\tlong a =scn.nextLong();\n\t\tlong b =(long)((eps+scn.nextDouble())*100);\n\t\tlong c =a*b/100;\n\t\tSystem.out.println(c);\n\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn=new Scanner(System.in);\n\t\tlong a =scn.nextLong();\n\t\tlong b =(long)((eps+scn.nextDouble())*100);\n\t\tlong c =a*b/100;\n\t\tSystem.out.println(c);\n\n\t}",
"Scanner scn=new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"long a =scn.nextLong();",
"a",
"scn.nextLong()",
"scn.nextLong",
"scn",
"long b =(long)((eps+scn.nextDouble())*100);",
"b",
"(long)((eps+scn.nextDouble())*100)",
"(eps+scn.nextDouble())",
"eps",
"scn.nextDouble()",
"scn.nextDouble",
"scn",
"100",
"long c =a*b/100;",
"c",
"a*b/100",
"a*b",
"a",
"b",
"100",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args",
"public class Main {\n\tstatic double eps=1.0E-14;\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn=new Scanner(System.in);\n\t\tlong a =scn.nextLong();\n\t\tlong b =(long)((eps+scn.nextDouble())*100);\n\t\tlong c =a*b/100;\n\t\tSystem.out.println(c);\n\n\t}\n\n}",
"public class Main {\n\tstatic double eps=1.0E-14;\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn=new Scanner(System.in);\n\t\tlong a =scn.nextLong();\n\t\tlong b =(long)((eps+scn.nextDouble())*100);\n\t\tlong c =a*b/100;\n\t\tSystem.out.println(c);\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
static double eps=1.0E-14;
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scn=new Scanner(System.in);
long a =scn.nextLong();
long b =(long)((eps+scn.nextDouble())*100);
long c =a*b/100;
System.out.println(c);
}
}
|
[
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,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
17,
30,
9,
0,
13,
4,
18,
13,
13,
41,
13,
4,
18,
20,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
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
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
40,
47
],
[
47,
48
],
[
39,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
8,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] |
[
"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\n\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tString d = \"\";\n\t\t\n\t\tfor(int i = 0; i< b.length(); i++) {\n\t\t\tif(b.charAt(i) == '.') {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\td+=b.charAt(i);\n\t\t}\n\t\tint c= new Integer(d).intValue();\n\t\tSystem.out.println(a*c/100);\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\t\n\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tString d = \"\";\n\t\t\n\t\tfor(int i = 0; i< b.length(); i++) {\n\t\t\tif(b.charAt(i) == '.') {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\td+=b.charAt(i);\n\t\t}\n\t\tint c= new Integer(d).intValue();\n\t\tSystem.out.println(a*c/100);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tString d = \"\";\n\t\t\n\t\tfor(int i = 0; i< b.length(); i++) {\n\t\t\tif(b.charAt(i) == '.') {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\td+=b.charAt(i);\n\t\t}\n\t\tint c= new Integer(d).intValue();\n\t\tSystem.out.println(a*c/100);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tString d = \"\";\n\t\t\n\t\tfor(int i = 0; i< b.length(); i++) {\n\t\t\tif(b.charAt(i) == '.') {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\td+=b.charAt(i);\n\t\t}\n\t\tint c= new Integer(d).intValue();\n\t\tSystem.out.println(a*c/100);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"String d = \"\";",
"d",
"\"\"",
"for(int i = 0; i< b.length(); i++) {\n\t\t\tif(b.charAt(i) == '.') {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\td+=b.charAt(i);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i< b.length()",
"i",
"b.length()",
"b.length",
"b",
"i++",
"i++",
"i",
"{\n\t\t\tif(b.charAt(i) == '.') {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\td+=b.charAt(i);\n\t\t}",
"{\n\t\t\tif(b.charAt(i) == '.') {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\td+=b.charAt(i);\n\t\t}",
"if(b.charAt(i) == '.') {\n\t\t\t\tcontinue;\n\t\t\t}",
"b.charAt(i) == '.'",
"b.charAt(i)",
"b.charAt",
"b",
"i",
"'.'",
"{\n\t\t\t\tcontinue;\n\t\t\t}",
"continue;",
"d+=b.charAt(i)",
"d",
"b.charAt(i)",
"b.charAt",
"b",
"i",
"int c= new Integer(d).intValue();",
"c",
"new Integer(d).intValue()",
"new Integer(d).intValue",
"new Integer(d)",
"System.out.println(a*c/100)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*c/100",
"a*c",
"a",
"c",
"100",
"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\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tString d = \"\";\n\t\t\n\t\tfor(int i = 0; i< b.length(); i++) {\n\t\t\tif(b.charAt(i) == '.') {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\td+=b.charAt(i);\n\t\t}\n\t\tint c= new Integer(d).intValue();\n\t\tSystem.out.println(a*c/100);\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\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tString d = \"\";\n\t\t\n\t\tfor(int i = 0; i< b.length(); i++) {\n\t\t\tif(b.charAt(i) == '.') {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\td+=b.charAt(i);\n\t\t}\n\t\tint c= new Integer(d).intValue();\n\t\tSystem.out.println(a*c/100);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
String b = sc.next();
String d = "";
for(int i = 0; i< b.length(); i++) {
if(b.charAt(i) == '.') {
continue;
}
d+=b.charAt(i);
}
int c= new Integer(d).intValue();
System.out.println(a*c/100);
}
}
|
[
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,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
17,
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
],
[
58,
23
],
[
58,
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
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
45,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
24,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.Map;\nimport java.util.Scanner;\nimport java.util.Set;\n\npublic class Main {\n\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal n = sc.nextBigDecimal();\n\t\tBigDecimal m = sc.nextBigDecimal();\n\t\t\n\t\tSystem.out.println(n.multiply(m).setScale(0, BigDecimal.ROUND_DOWN));\n\t}\n\n}\n",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Set;",
"Set",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal n = sc.nextBigDecimal();\n\t\tBigDecimal m = sc.nextBigDecimal();\n\t\t\n\t\tSystem.out.println(n.multiply(m).setScale(0, BigDecimal.ROUND_DOWN));\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal n = sc.nextBigDecimal();\n\t\tBigDecimal m = sc.nextBigDecimal();\n\t\t\n\t\tSystem.out.println(n.multiply(m).setScale(0, BigDecimal.ROUND_DOWN));\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal n = sc.nextBigDecimal();\n\t\tBigDecimal m = sc.nextBigDecimal();\n\t\t\n\t\tSystem.out.println(n.multiply(m).setScale(0, BigDecimal.ROUND_DOWN));\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal n = sc.nextBigDecimal();",
"n",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"BigDecimal m = sc.nextBigDecimal();",
"m",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"System.out.println(n.multiply(m).setScale(0, BigDecimal.ROUND_DOWN))",
"System.out.println",
"System.out",
"System",
"System.out",
"n.multiply(m).setScale(0, BigDecimal.ROUND_DOWN)",
"n.multiply(m).setScale",
"n.multiply(m)",
"n.multiply",
"n",
"m",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal n = sc.nextBigDecimal();\n\t\tBigDecimal m = sc.nextBigDecimal();\n\t\t\n\t\tSystem.out.println(n.multiply(m).setScale(0, BigDecimal.ROUND_DOWN));\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\tBigDecimal n = sc.nextBigDecimal();\n\t\tBigDecimal m = sc.nextBigDecimal();\n\t\t\n\t\tSystem.out.println(n.multiply(m).setScale(0, BigDecimal.ROUND_DOWN));\n\t}\n\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Scanner;
import java.util.Set;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
BigDecimal n = sc.nextBigDecimal();
BigDecimal m = sc.nextBigDecimal();
System.out.println(n.multiply(m).setScale(0, BigDecimal.ROUND_DOWN));
}
}
|
[
7,
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,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
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,
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,
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,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
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
],
[
277,
14
],
[
277,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
20,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
17,
28
],
[
28,
29
],
[
28,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
17,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
37,
42
],
[
17,
43
],
[
43,
44
],
[
44,
45
],
[
15,
46
],
[
46,
47
],
[
277,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
52,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
64,
65
],
[
52,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
52,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
52,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
50,
87
],
[
87,
88
],
[
50,
89
],
[
89,
90
],
[
50,
91
],
[
91,
92
],
[
277,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
93,
97
],
[
97,
98
],
[
97,
99
],
[
93,
101
],
[
101,
102
],
[
93,
103
],
[
103,
104
],
[
93,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
105,
113
],
[
113,
114
],
[
93,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
118,
123
],
[
123,
124
],
[
117,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
133,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
129,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
151,
152
],
[
117,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
93,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
160,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
160,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
176,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
182,
185
],
[
181,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
160,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
93,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
196,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
196,
209
],
[
209,
210
],
[
209,
211
],
[
196,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
216,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
196,
225
],
[
225,
226
],
[
225,
227
],
[
196,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
228,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
233,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
239,
241
],
[
233,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
196,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
93,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
257,
255
],
[
267,
256
],
[
264,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
257,
261
],
[
261,
262
],
[
261,
263
],
[
264,
264
],
[
264,
265
],
[
264,
266
],
[
267,
267
],
[
267,
268
],
[
267,
269
],
[
257,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
250,
274
],
[
274,
275
],
[
0,
276
],
[
276,
277
],
[
276,
278
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Spandan Mishra\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 CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long a = in.readLong();\n double d = Double.parseDouble(in.readString());\n\n long b = (long) Math.round(d * 100);\n\n long ans = a * b;\n\n System.out.println(ans / 100);\n\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\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String readString() {\n final StringBuilder stringBuilder = new StringBuilder();\n int c = read();\n while (isSpaceChar(c))\n c = read();\n do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));\n return stringBuilder.toString();\n }\n\n public long readLong() {\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 do {\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 return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}\n",
"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",
"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 CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long a = in.readLong();\n double d = Double.parseDouble(in.readString());\n\n long b = (long) Math.round(d * 100);\n\n long ans = a * b;\n\n System.out.println(ans / 100);\n\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\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String readString() {\n final StringBuilder stringBuilder = new StringBuilder();\n int c = read();\n while (isSpaceChar(c))\n c = read();\n do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));\n return stringBuilder.toString();\n }\n\n public long readLong() {\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 do {\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 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 CMultiplication3 solver = new CMultiplication3();\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 CMultiplication3 solver = new CMultiplication3();\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)",
"CMultiplication3 solver = new CMultiplication3();",
"solver",
"new CMultiplication3()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class CMultiplication3 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long a = in.readLong();\n double d = Double.parseDouble(in.readString());\n\n long b = (long) Math.round(d * 100);\n\n long ans = a * b;\n\n System.out.println(ans / 100);\n\n\n }\n\n }",
"CMultiplication3",
"public void solve(int testNumber, InputReader in, PrintWriter out) {\n long a = in.readLong();\n double d = Double.parseDouble(in.readString());\n\n long b = (long) Math.round(d * 100);\n\n long ans = a * b;\n\n System.out.println(ans / 100);\n\n\n }",
"solve",
"{\n long a = in.readLong();\n double d = Double.parseDouble(in.readString());\n\n long b = (long) Math.round(d * 100);\n\n long ans = a * b;\n\n System.out.println(ans / 100);\n\n\n }",
"long a = in.readLong();",
"a",
"in.readLong()",
"in.readLong",
"in",
"double d = Double.parseDouble(in.readString());",
"d",
"Double.parseDouble(in.readString())",
"Double.parseDouble",
"Double",
"in.readString()",
"in.readString",
"in",
"long b = (long) Math.round(d * 100);",
"b",
"(long) Math.round(d * 100)",
"Math.round",
"Math",
"d * 100",
"d",
"100",
"long ans = a * b;",
"ans",
"a * b",
"a",
"b",
"System.out.println(ans / 100)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans / 100",
"ans",
"100",
"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 RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String readString() {\n final StringBuilder stringBuilder = new StringBuilder();\n int c = read();\n while (isSpaceChar(c))\n c = read();\n do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));\n return stringBuilder.toString();\n }\n\n public long readLong() {\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 do {\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 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 RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (numChars == -1)\n throw new RuntimeException();",
"numChars == -1",
"numChars",
"-1",
"1",
"throw new RuntimeException();",
"new RuntimeException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\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 RuntimeException();\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 RuntimeException();\n }",
"catch (IOException e) {\n throw new RuntimeException();\n }",
"IOException e",
"{\n throw new RuntimeException();\n }",
"throw new RuntimeException();",
"new RuntimeException()",
"{\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 readString() {\n final StringBuilder stringBuilder = new StringBuilder();\n int c = read();\n while (isSpaceChar(c))\n c = read();\n do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));\n return stringBuilder.toString();\n }",
"readString",
"{\n final StringBuilder stringBuilder = new StringBuilder();\n int c = read();\n while (isSpaceChar(c))\n c = read();\n do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));\n return stringBuilder.toString();\n }",
"final StringBuilder stringBuilder = new StringBuilder();",
"stringBuilder",
"new StringBuilder()",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n stringBuilder.append((char) c);\n c = read();\n }",
"stringBuilder.append((char) c)",
"stringBuilder.append",
"stringBuilder",
"(char) c",
"c = read()",
"c",
"read()",
"read",
"return stringBuilder.toString();",
"stringBuilder.toString()",
"stringBuilder.toString",
"stringBuilder",
"public long readLong() {\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 do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"readLong",
"{\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 do {\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();",
"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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res *= 10;\n res += c - '0';\n c = read();\n }",
"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 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 CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long a = in.readLong();\n double d = Double.parseDouble(in.readString());\n\n long b = (long) Math.round(d * 100);\n\n long ans = a * b;\n\n System.out.println(ans / 100);\n\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\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String readString() {\n final StringBuilder stringBuilder = new StringBuilder();\n int c = read();\n while (isSpaceChar(c))\n c = read();\n do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));\n return stringBuilder.toString();\n }\n\n public long readLong() {\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 do {\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 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 CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long a = in.readLong();\n double d = Double.parseDouble(in.readString());\n\n long b = (long) Math.round(d * 100);\n\n long ans = a * b;\n\n System.out.println(ans / 100);\n\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\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String readString() {\n final StringBuilder stringBuilder = new StringBuilder();\n int c = read();\n while (isSpaceChar(c))\n c = read();\n do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));\n return stringBuilder.toString();\n }\n\n public long readLong() {\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 do {\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 return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Spandan Mishra
*/
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);
CMultiplication3 solver = new CMultiplication3();
solver.solve(1, in, out);
out.close();
}
static class CMultiplication3 {
public void solve(int testNumber, InputReader in, PrintWriter out) {
long a = in.readLong();
double d = Double.parseDouble(in.readString());
long b = (long) Math.round(d * 100);
long ans = a * b;
System.out.println(ans / 100);
}
}
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 RuntimeException();
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new RuntimeException();
}
if (numChars <= 0)
return -1;
}
return buf[curChar++];
}
public String readString() {
final StringBuilder stringBuilder = new StringBuilder();
int c = read();
while (isSpaceChar(c))
c = read();
do {
stringBuilder.append((char) c);
c = read();
} while (!isSpaceChar(c));
return stringBuilder.toString();
}
public long readLong() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public 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,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
17,
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
],
[
42,
11
],
[
42,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
29,
35
],
[
29,
36
],
[
36,
37
],
[
36,
38
],
[
12,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = new BigDecimal(sc.next());\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tSystem.out.println(a.multiply(b).setScale(0, RoundingMode.DOWN));\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = new BigDecimal(sc.next());\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tSystem.out.println(a.multiply(b).setScale(0, RoundingMode.DOWN));\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = new BigDecimal(sc.next());\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tSystem.out.println(a.multiply(b).setScale(0, RoundingMode.DOWN));\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = new BigDecimal(sc.next());\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tSystem.out.println(a.multiply(b).setScale(0, RoundingMode.DOWN));\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal a = new BigDecimal(sc.next());",
"a",
"new BigDecimal(sc.next())",
"BigDecimal b = new BigDecimal(sc.next());",
"b",
"new BigDecimal(sc.next())",
"System.out.println(a.multiply(b).setScale(0, RoundingMode.DOWN))",
"System.out.println",
"System.out",
"System",
"System.out",
"a.multiply(b).setScale(0, RoundingMode.DOWN)",
"a.multiply(b).setScale",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = new BigDecimal(sc.next());\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tSystem.out.println(a.multiply(b).setScale(0, RoundingMode.DOWN));\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = new BigDecimal(sc.next());\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tSystem.out.println(a.multiply(b).setScale(0, RoundingMode.DOWN));\n\t}\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
BigDecimal a = new BigDecimal(sc.next());
BigDecimal b = new BigDecimal(sc.next());
System.out.println(a.multiply(b).setScale(0, RoundingMode.DOWN));
}
}
|
[
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,
17,
17,
41,
13,
17,
0,
13,
2,
2,
13,
4,
18,
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
],
[
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
],
[
30,
33
],
[
30,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
40,
47
],
[
14,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
12,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] |
[
"import java.util.*;\nimport java.io.*;\nimport static java.lang.Math.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tString B = b.replace(\".\", \"\");\n\t\t\n\t\t// 計算\n\t\tlong result = 0;\n\t\tresult = (a*Long.valueOf(B))/100;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tString B = b.replace(\".\", \"\");\n\t\t\n\t\t// 計算\n\t\tlong result = 0;\n\t\tresult = (a*Long.valueOf(B))/100;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tString B = b.replace(\".\", \"\");\n\t\t\n\t\t// 計算\n\t\tlong result = 0;\n\t\tresult = (a*Long.valueOf(B))/100;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tString B = b.replace(\".\", \"\");\n\t\t\n\t\t// 計算\n\t\tlong result = 0;\n\t\tresult = (a*Long.valueOf(B))/100;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"String B = b.replace(\".\", \"\");",
"B",
"b.replace(\".\", \"\")",
"b.replace",
"b",
"\".\"",
"\"\"",
"long result = 0;",
"result",
"0",
"result = (a*Long.valueOf(B))/100",
"result",
"(a*Long.valueOf(B))/100",
"(a*Long.valueOf(B))",
"a",
"Long.valueOf(B)",
"Long.valueOf",
"Long",
"B",
"100",
"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) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tString B = b.replace(\".\", \"\");\n\t\t\n\t\t// 計算\n\t\tlong result = 0;\n\t\tresult = (a*Long.valueOf(B))/100;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}\n\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tString B = b.replace(\".\", \"\");\n\t\t\n\t\t// 計算\n\t\tlong result = 0;\n\t\tresult = (a*Long.valueOf(B))/100;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}\n\n}",
"Main"
] |
import java.util.*;
import java.io.*;
import static java.lang.Math.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
// 入力
long a = sc.nextLong();
String b = sc.next();
String B = b.replace(".", "");
// 計算
long result = 0;
result = (a*Long.valueOf(B))/100;
// 出力
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
18,
4,
18,
13,
13,
41,
13,
4,
18,
13,
17,
29,
8,
2,
13,
40,
17,
13,
4,
18,
13,
17,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
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
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
27,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
9,
38
],
[
38,
39
],
[
9,
40
],
[
40,
41
],
[
66,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
44,
51
],
[
51,
52
],
[
51,
53
],
[
44,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
59,
62
],
[
42,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\npublic class Main {\n\n public static String solve(BigDecimal a, BigDecimal b) {\n String result = a.multiply(b).toString();\n int decimalIndex = result.indexOf('.');\n return decimalIndex == -1 ? result : result.substring(0, decimalIndex);\n }\n\n public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n BigDecimal a = new BigDecimal(sn.next());\n BigDecimal b = new BigDecimal((sn.next()));\n System.out.println(solve(a,b));\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static String solve(BigDecimal a, BigDecimal b) {\n String result = a.multiply(b).toString();\n int decimalIndex = result.indexOf('.');\n return decimalIndex == -1 ? result : result.substring(0, decimalIndex);\n }\n\n public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n BigDecimal a = new BigDecimal(sn.next());\n BigDecimal b = new BigDecimal((sn.next()));\n System.out.println(solve(a,b));\n }\n}",
"Main",
"public static String solve(BigDecimal a, BigDecimal b) {\n String result = a.multiply(b).toString();\n int decimalIndex = result.indexOf('.');\n return decimalIndex == -1 ? result : result.substring(0, decimalIndex);\n }",
"solve",
"{\n String result = a.multiply(b).toString();\n int decimalIndex = result.indexOf('.');\n return decimalIndex == -1 ? result : result.substring(0, decimalIndex);\n }",
"String result = a.multiply(b).toString();",
"result",
"a.multiply(b).toString()",
"a.multiply(b).toString",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"int decimalIndex = result.indexOf('.');",
"decimalIndex",
"result.indexOf('.')",
"result.indexOf",
"result",
"'.'",
"return decimalIndex == -1 ? result : result.substring(0, decimalIndex);",
"decimalIndex == -1 ? result : result.substring(0, decimalIndex)",
"decimalIndex == -1",
"decimalIndex",
"-1",
"1",
"result",
"result.substring(0, decimalIndex)",
"result.substring",
"result",
"0",
"decimalIndex",
"BigDecimal a",
"a",
"BigDecimal b",
"b",
"public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n BigDecimal a = new BigDecimal(sn.next());\n BigDecimal b = new BigDecimal((sn.next()));\n System.out.println(solve(a,b));\n }",
"main",
"{\n Scanner sn = new Scanner(System.in);\n BigDecimal a = new BigDecimal(sn.next());\n BigDecimal b = new BigDecimal((sn.next()));\n System.out.println(solve(a,b));\n }",
"Scanner sn = new Scanner(System.in);",
"sn",
"new Scanner(System.in)",
"BigDecimal a = new BigDecimal(sn.next());",
"a",
"new BigDecimal(sn.next())",
"BigDecimal b = new BigDecimal((sn.next()));",
"b",
"new BigDecimal((sn.next()))",
"System.out.println(solve(a,b))",
"System.out.println",
"System.out",
"System",
"System.out",
"solve(a,b)",
"solve",
"a",
"b",
"String[] args",
"args",
"public class Main {\n\n public static String solve(BigDecimal a, BigDecimal b) {\n String result = a.multiply(b).toString();\n int decimalIndex = result.indexOf('.');\n return decimalIndex == -1 ? result : result.substring(0, decimalIndex);\n }\n\n public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n BigDecimal a = new BigDecimal(sn.next());\n BigDecimal b = new BigDecimal((sn.next()));\n System.out.println(solve(a,b));\n }\n}",
"public class Main {\n\n public static String solve(BigDecimal a, BigDecimal b) {\n String result = a.multiply(b).toString();\n int decimalIndex = result.indexOf('.');\n return decimalIndex == -1 ? result : result.substring(0, decimalIndex);\n }\n\n public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n BigDecimal a = new BigDecimal(sn.next());\n BigDecimal b = new BigDecimal((sn.next()));\n System.out.println(solve(a,b));\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static String solve(BigDecimal a, BigDecimal b) {
String result = a.multiply(b).toString();
int decimalIndex = result.indexOf('.');
return decimalIndex == -1 ? result : result.substring(0, decimalIndex);
}
public static void main(String[] args) {
Scanner sn = new Scanner(System.in);
BigDecimal a = new BigDecimal(sn.next());
BigDecimal b = new BigDecimal((sn.next()));
System.out.println(solve(a,b));
}
}
|
[
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,
4,
18,
13,
41,
13,
20,
41,
13,
20,
4,
13,
4,
18,
4,
18,
13,
13,
23,
13,
12,
13,
30,
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
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
9,
42
],
[
42,
43
],
[
56,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
44,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tString B = sc.next(); // 文字列で受け取る\n\t\tsc.close();\n\t\tBigDecimal a = new BigDecimal(A);\n\t\tBigDecimal b = new BigDecimal(B);\n\t\tprtln(a.multiply(b).toBigInteger());\n\t}\n\n\tpublic static <T> void prtln(T t) { System.out.println(t); }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tString B = sc.next(); // 文字列で受け取る\n\t\tsc.close();\n\t\tBigDecimal a = new BigDecimal(A);\n\t\tBigDecimal b = new BigDecimal(B);\n\t\tprtln(a.multiply(b).toBigInteger());\n\t}\n\n\tpublic static <T> void prtln(T t) { System.out.println(t); }\n}",
"Main",
"public static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tString B = sc.next(); // 文字列で受け取る\n\t\tsc.close();\n\t\tBigDecimal a = new BigDecimal(A);\n\t\tBigDecimal b = new BigDecimal(B);\n\t\tprtln(a.multiply(b).toBigInteger());\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tString B = sc.next(); // 文字列で受け取る\n\t\tsc.close();\n\t\tBigDecimal a = new BigDecimal(A);\n\t\tBigDecimal b = new BigDecimal(B);\n\t\tprtln(a.multiply(b).toBigInteger());\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long A = sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String B = sc.next();",
"B",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"BigDecimal a = new BigDecimal(A);",
"a",
"new BigDecimal(A)",
"BigDecimal b = new BigDecimal(B);",
"b",
"new BigDecimal(B)",
"prtln(a.multiply(b).toBigInteger())",
"prtln",
"a.multiply(b).toBigInteger()",
"a.multiply(b).toBigInteger",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"final String[] args",
"args",
"public static <T> void prtln(T t) { System.out.println(t); }",
"prtln",
"{ System.out.println(t); }",
"System.out.println(t)",
"System.out.println",
"System.out",
"System",
"System.out",
"t",
"T t",
"t",
"public class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tString B = sc.next(); // 文字列で受け取る\n\t\tsc.close();\n\t\tBigDecimal a = new BigDecimal(A);\n\t\tBigDecimal b = new BigDecimal(B);\n\t\tprtln(a.multiply(b).toBigInteger());\n\t}\n\n\tpublic static <T> void prtln(T t) { System.out.println(t); }\n}",
"public class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A = sc.nextLong();\n\t\tString B = sc.next(); // 文字列で受け取る\n\t\tsc.close();\n\t\tBigDecimal a = new BigDecimal(A);\n\t\tBigDecimal b = new BigDecimal(B);\n\t\tprtln(a.multiply(b).toBigInteger());\n\t}\n\n\tpublic static <T> void prtln(T t) { System.out.println(t); }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(final String[] args) {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
String B = sc.next(); // 文字列で受け取る
sc.close();
BigDecimal a = new BigDecimal(A);
BigDecimal b = new BigDecimal(B);
prtln(a.multiply(b).toBigInteger());
}
public static <T> void prtln(T t) { System.out.println(t); }
}
|
[
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,
4,
18,
13,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
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
],
[
52,
11
],
[
52,
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
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
30,
36
],
[
30,
37
],
[
37,
38
],
[
37,
39
],
[
14,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
14,
46
],
[
46,
47
],
[
47,
48
],
[
12,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] |
[
"import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal a = scan.nextBigDecimal();\n\t\tBigDecimal b = scan.nextBigDecimal();\n\n\t\tBigDecimal ans = a.multiply(b).setScale(0, RoundingMode.DOWN);\n\t\tSystem.out.println(ans);\n\n\t\tscan.close();\n\n\t}\n\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal a = scan.nextBigDecimal();\n\t\tBigDecimal b = scan.nextBigDecimal();\n\n\t\tBigDecimal ans = a.multiply(b).setScale(0, RoundingMode.DOWN);\n\t\tSystem.out.println(ans);\n\n\t\tscan.close();\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal a = scan.nextBigDecimal();\n\t\tBigDecimal b = scan.nextBigDecimal();\n\n\t\tBigDecimal ans = a.multiply(b).setScale(0, RoundingMode.DOWN);\n\t\tSystem.out.println(ans);\n\n\t\tscan.close();\n\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal a = scan.nextBigDecimal();\n\t\tBigDecimal b = scan.nextBigDecimal();\n\n\t\tBigDecimal ans = a.multiply(b).setScale(0, RoundingMode.DOWN);\n\t\tSystem.out.println(ans);\n\n\t\tscan.close();\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"BigDecimal a = scan.nextBigDecimal();",
"a",
"scan.nextBigDecimal()",
"scan.nextBigDecimal",
"scan",
"BigDecimal b = scan.nextBigDecimal();",
"b",
"scan.nextBigDecimal()",
"scan.nextBigDecimal",
"scan",
"BigDecimal ans = a.multiply(b).setScale(0, RoundingMode.DOWN);",
"ans",
"a.multiply(b).setScale(0, RoundingMode.DOWN)",
"a.multiply(b).setScale",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal a = scan.nextBigDecimal();\n\t\tBigDecimal b = scan.nextBigDecimal();\n\n\t\tBigDecimal ans = a.multiply(b).setScale(0, RoundingMode.DOWN);\n\t\tSystem.out.println(ans);\n\n\t\tscan.close();\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal a = scan.nextBigDecimal();\n\t\tBigDecimal b = scan.nextBigDecimal();\n\n\t\tBigDecimal ans = a.multiply(b).setScale(0, RoundingMode.DOWN);\n\t\tSystem.out.println(ans);\n\n\t\tscan.close();\n\n\t}\n\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
BigDecimal a = scan.nextBigDecimal();
BigDecimal b = scan.nextBigDecimal();
BigDecimal ans = a.multiply(b).setScale(0, RoundingMode.DOWN);
System.out.println(ans);
scan.close();
}
}
|
[
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,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
4,
18,
13,
13,
17,
18,
13,
13,
4,
18,
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,
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
],
[
152,
14
],
[
152,
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
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
17,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
17,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
49,
55
],
[
49,
56
],
[
56,
57
],
[
56,
58
],
[
17,
59
],
[
59,
60
],
[
60,
61
],
[
15,
62
],
[
62,
63
],
[
152,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
80,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
74,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
64,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
102,
103
],
[
64,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
111,
119
],
[
119,
120
],
[
120,
121
],
[
111,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
106,
129
],
[
129,
130
],
[
104,
131
],
[
131,
132
],
[
64,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
137,
140
],
[
140,
141
],
[
64,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
146,
149
],
[
149,
150
],
[
0,
151
],
[
151,
152
],
[
151,
153
]
] |
[
"/* package codechef; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\nimport java.math.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\npublic class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\t\tlong a=fs.nextLong();\n\t\tdouble b=fs.nextDouble();\n\t\t\n\t BigDecimal bg1 = BigDecimal.valueOf(a);\n BigDecimal bg2 = BigDecimal.valueOf(b);\n out.println(bg1.multiply(bg2).setScale(0, RoundingMode.DOWN));\n\t\tout.close();\n\t\t\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\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\t\tlong a=fs.nextLong();\n\t\tdouble b=fs.nextDouble();\n\t\t\n\t BigDecimal bg1 = BigDecimal.valueOf(a);\n BigDecimal bg2 = BigDecimal.valueOf(b);\n out.println(bg1.multiply(bg2).setScale(0, RoundingMode.DOWN));\n\t\tout.close();\n\t\t\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\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}\n}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\t\tlong a=fs.nextLong();\n\t\tdouble b=fs.nextDouble();\n\t\t\n\t BigDecimal bg1 = BigDecimal.valueOf(a);\n BigDecimal bg2 = BigDecimal.valueOf(b);\n out.println(bg1.multiply(bg2).setScale(0, RoundingMode.DOWN));\n\t\tout.close();\n\t\t\n\t\n\t}",
"main",
"{\n\t\t// your code goes here\n\t\t\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\t\tlong a=fs.nextLong();\n\t\tdouble b=fs.nextDouble();\n\t\t\n\t BigDecimal bg1 = BigDecimal.valueOf(a);\n BigDecimal bg2 = BigDecimal.valueOf(b);\n out.println(bg1.multiply(bg2).setScale(0, RoundingMode.DOWN));\n\t\tout.close();\n\t\t\n\t\n\t}",
"PrintWriter out=new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"FastScanner fs=new FastScanner();",
"fs",
"new FastScanner()",
"long a=fs.nextLong();",
"a",
"fs.nextLong()",
"fs.nextLong",
"fs",
"double b=fs.nextDouble();",
"b",
"fs.nextDouble()",
"fs.nextDouble",
"fs",
"BigDecimal bg1 = BigDecimal.valueOf(a);",
"bg1",
"BigDecimal.valueOf(a)",
"BigDecimal.valueOf",
"BigDecimal",
"a",
"BigDecimal bg2 = BigDecimal.valueOf(b);",
"bg2",
"BigDecimal.valueOf(b)",
"BigDecimal.valueOf",
"BigDecimal",
"b",
"out.println(bg1.multiply(bg2).setScale(0, RoundingMode.DOWN))",
"out.println",
"out",
"bg1.multiply(bg2).setScale(0, RoundingMode.DOWN)",
"bg1.multiply(bg2).setScale",
"bg1.multiply(bg2)",
"bg1.multiply",
"bg1",
"bg2",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"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\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\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(\"\")",
"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",
"double nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t return Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\t\tlong a=fs.nextLong();\n\t\tdouble b=fs.nextDouble();\n\t\t\n\t BigDecimal bg1 = BigDecimal.valueOf(a);\n BigDecimal bg2 = BigDecimal.valueOf(b);\n out.println(bg1.multiply(bg2).setScale(0, RoundingMode.DOWN));\n\t\tout.close();\n\t\t\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\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}\n}\n}",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\t\tlong a=fs.nextLong();\n\t\tdouble b=fs.nextDouble();\n\t\t\n\t BigDecimal bg1 = BigDecimal.valueOf(a);\n BigDecimal bg2 = BigDecimal.valueOf(b);\n out.println(bg1.multiply(bg2).setScale(0, RoundingMode.DOWN));\n\t\tout.close();\n\t\t\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\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}\n}\n}",
"Main"
] |
/* package codechef; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.math.*;
/* Name of the class has to be "Main" only if the class is public. */
public class Main
{
public static void main (String[] args) throws java.lang.Exception
{
// your code goes here
PrintWriter out=new PrintWriter(System.out);
FastScanner fs=new FastScanner();
long a=fs.nextLong();
double b=fs.nextDouble();
BigDecimal bg1 = BigDecimal.valueOf(a);
BigDecimal bg2 = BigDecimal.valueOf(b);
out.println(bg1.multiply(bg2).setScale(0, RoundingMode.DOWN));
out.close();
}
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());
}
double nextDouble(){
return Double.parseDouble(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,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
17,
2,
2,
13,
2,
13,
17,
17,
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
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
43,
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 long A = sc.nextLong();\n double B = sc.nextDouble();\n int b = (int)Math.floor(B*100+0.5);\n System.out.println(A*(b/100)+(A*(b%100))/100);\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 long A = sc.nextLong();\n double B = sc.nextDouble();\n int b = (int)Math.floor(B*100+0.5);\n System.out.println(A*(b/100)+(A*(b%100))/100);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n double B = sc.nextDouble();\n int b = (int)Math.floor(B*100+0.5);\n System.out.println(A*(b/100)+(A*(b%100))/100);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n double B = sc.nextDouble();\n int b = (int)Math.floor(B*100+0.5);\n System.out.println(A*(b/100)+(A*(b%100))/100);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long A = sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double B = sc.nextDouble();",
"B",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"int b = (int)Math.floor(B*100+0.5);",
"b",
"(int)Math.floor(B*100+0.5)",
"Math.floor",
"Math",
"B*100+0.5",
"B*100",
"B",
"100",
"0.5",
"System.out.println(A*(b/100)+(A*(b%100))/100)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*(b/100)+(A*(b%100))/100",
"A*(b/100)",
"A",
"(b/100)",
"b",
"100",
"(A*(b%100))/100",
"(A*(b%100))",
"A",
"(b%100)",
"b",
"100",
"100",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n double B = sc.nextDouble();\n int b = (int)Math.floor(B*100+0.5);\n System.out.println(A*(b/100)+(A*(b%100))/100);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n double B = sc.nextDouble();\n int b = (int)Math.floor(B*100+0.5);\n System.out.println(A*(b/100)+(A*(b%100))/100);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
double B = sc.nextDouble();
int b = (int)Math.floor(B*100+0.5);
System.out.println(A*(b/100)+(A*(b%100))/100);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
17,
17,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
17,
2,
4,
18,
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
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
41,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
40,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
63,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n double B = sc.nextDouble();\n long b = (long)((B*100.0)+0.5);\n final long ans = A*b;\n String ansstr = String.valueOf(ans);\n if(ansstr.length() <= 2){\n System.out.println(\"0\");\n }else {\n System.out.println(ansstr.substring(0, ansstr.length() - 2));\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 long A = sc.nextLong();\n double B = sc.nextDouble();\n long b = (long)((B*100.0)+0.5);\n final long ans = A*b;\n String ansstr = String.valueOf(ans);\n if(ansstr.length() <= 2){\n System.out.println(\"0\");\n }else {\n System.out.println(ansstr.substring(0, ansstr.length() - 2));\n }\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n double B = sc.nextDouble();\n long b = (long)((B*100.0)+0.5);\n final long ans = A*b;\n String ansstr = String.valueOf(ans);\n if(ansstr.length() <= 2){\n System.out.println(\"0\");\n }else {\n System.out.println(ansstr.substring(0, ansstr.length() - 2));\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n double B = sc.nextDouble();\n long b = (long)((B*100.0)+0.5);\n final long ans = A*b;\n String ansstr = String.valueOf(ans);\n if(ansstr.length() <= 2){\n System.out.println(\"0\");\n }else {\n System.out.println(ansstr.substring(0, ansstr.length() - 2));\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long A = sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double B = sc.nextDouble();",
"B",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"long b = (long)((B*100.0)+0.5);",
"b",
"(long)((B*100.0)+0.5)",
"(B*100.0)",
"B",
"100.0",
"0.5",
"final long ans = A*b;",
"ans",
"A*b",
"A",
"b",
"String ansstr = String.valueOf(ans);",
"ansstr",
"String.valueOf(ans)",
"String.valueOf",
"String",
"ans",
"if(ansstr.length() <= 2){\n System.out.println(\"0\");\n }else {\n System.out.println(ansstr.substring(0, ansstr.length() - 2));\n }",
"ansstr.length() <= 2",
"ansstr.length()",
"ansstr.length",
"ansstr",
"2",
"{\n System.out.println(\"0\");\n }",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"{\n System.out.println(ansstr.substring(0, ansstr.length() - 2));\n }",
"System.out.println(ansstr.substring(0, ansstr.length() - 2))",
"System.out.println",
"System.out",
"System",
"System.out",
"ansstr.substring(0, ansstr.length() - 2)",
"ansstr.substring",
"ansstr",
"0",
"ansstr.length() - 2",
"ansstr.length()",
"ansstr.length",
"ansstr",
"2",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n double B = sc.nextDouble();\n long b = (long)((B*100.0)+0.5);\n final long ans = A*b;\n String ansstr = String.valueOf(ans);\n if(ansstr.length() <= 2){\n System.out.println(\"0\");\n }else {\n System.out.println(ansstr.substring(0, ansstr.length() - 2));\n }\n }\n}",
"public class Main {\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n double B = sc.nextDouble();\n long b = (long)((B*100.0)+0.5);\n final long ans = A*b;\n String ansstr = String.valueOf(ans);\n if(ansstr.length() <= 2){\n System.out.println(\"0\");\n }else {\n System.out.println(ansstr.substring(0, ansstr.length() - 2));\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
double B = sc.nextDouble();
long b = (long)((B*100.0)+0.5);
final long ans = A*b;
String ansstr = String.valueOf(ans);
if(ansstr.length() <= 2){
System.out.println("0");
}else {
System.out.println(ansstr.substring(0, ansstr.length() - 2));
}
}
}
|
[
7,
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,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
13,
2,
2,
13,
13,
17,
23,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
86,
17
],
[
86,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
20,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
40,
45
],
[
20,
46
],
[
46,
47
],
[
47,
48
],
[
18,
49
],
[
49,
50
],
[
86,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
66,
70
],
[
55,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
53,
79
],
[
79,
80
],
[
53,
81
],
[
81,
82
],
[
53,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author silviase\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n long d = Math.round(in.nextDouble() * 100);\n out.println(x * d / 100);\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.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n long d = Math.round(in.nextDouble() * 100);\n out.println(x * d / 100);\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CMultiplication3 solver = new CMultiplication3();\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",
"Scanner in = new Scanner(inputStream);",
"in",
"new Scanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"CMultiplication3 solver = new CMultiplication3();",
"solver",
"new CMultiplication3()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class CMultiplication3 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n long d = Math.round(in.nextDouble() * 100);\n out.println(x * d / 100);\n }\n\n }",
"CMultiplication3",
"public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n long d = Math.round(in.nextDouble() * 100);\n out.println(x * d / 100);\n }",
"solve",
"{\n long x = in.nextLong();\n long d = Math.round(in.nextDouble() * 100);\n out.println(x * d / 100);\n }",
"long x = in.nextLong();",
"x",
"in.nextLong()",
"in.nextLong",
"in",
"long d = Math.round(in.nextDouble() * 100);",
"d",
"Math.round(in.nextDouble() * 100)",
"Math.round",
"Math",
"in.nextDouble() * 100",
"in.nextDouble()",
"in.nextDouble",
"in",
"100",
"out.println(x * d / 100)",
"out.println",
"out",
"x * d / 100",
"x * d",
"x",
"d",
"100",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n long d = Math.round(in.nextDouble() * 100);\n out.println(x * d / 100);\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 Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CMultiplication3 solver = new CMultiplication3();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CMultiplication3 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n long d = Math.round(in.nextDouble() * 100);\n out.println(x * d / 100);\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author silviase
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
Scanner in = new Scanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
CMultiplication3 solver = new CMultiplication3();
solver.solve(1, in, out);
out.close();
}
static class CMultiplication3 {
public void solve(int testNumber, Scanner in, PrintWriter out) {
long x = in.nextLong();
long d = Math.round(in.nextDouble() * 100);
out.println(x * d / 100);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
13,
4,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
40,
4,
18,
18,
13,
13,
17,
30,
0,
13,
18,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
13,
17,
30,
29,
4,
13,
13,
2,
13,
13,
30,
29,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
23,
13,
12,
13,
30,
29,
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,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
23,
13,
12,
13,
30,
29,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
356,
5
],
[
356,
6
],
[
6,
7
],
[
6,
8
],
[
356,
9
],
[
9,
10
],
[
9,
11
],
[
356,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
14,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
14,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
14,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
14,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
12,
74
],
[
74,
75
],
[
356,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
81,
81
],
[
81,
82
],
[
81,
83
],
[
81,
84
],
[
84,
85
],
[
84,
86
],
[
84,
87
],
[
76,
88
],
[
88,
89
],
[
76,
90
],
[
90,
91
],
[
356,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
95,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
103,
106
],
[
106,
107
],
[
106,
108
],
[
95,
109
],
[
109,
110
],
[
110,
111
],
[
92,
112
],
[
112,
113
],
[
92,
114
],
[
114,
115
],
[
356,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
116,
123
],
[
123,
124
],
[
356,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
125,
132
],
[
132,
133
],
[
356,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
356,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
145,
148
],
[
148,
149
],
[
149,
150
],
[
356,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
155,
158
],
[
158,
159
],
[
159,
160
],
[
356,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
165,
168
],
[
168,
169
],
[
169,
170
],
[
356,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
175,
178
],
[
171,
179
],
[
179,
180
],
[
356,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
181,
188
],
[
188,
189
],
[
356,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
190,
197
],
[
197,
198
],
[
356,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
204,
206
],
[
201,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
209,
211
],
[
201,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
212,
217
],
[
217,
218
],
[
217,
219
],
[
212,
220
],
[
220,
221
],
[
221,
222
],
[
212,
223
],
[
224,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
228,
229
],
[
227,
230
],
[
227,
231
],
[
231,
232
],
[
231,
233
],
[
201,
234
],
[
234,
235
],
[
199,
236
],
[
236,
237
],
[
356,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
243,
245
],
[
240,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
248,
250
],
[
240,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
251,
256
],
[
256,
257
],
[
256,
258
],
[
251,
259
],
[
259,
260
],
[
260,
261
],
[
251,
262
],
[
263,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
267,
268
],
[
266,
269
],
[
266,
270
],
[
270,
271
],
[
270,
272
],
[
240,
273
],
[
273,
274
],
[
238,
275
],
[
275,
276
],
[
356,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
282,
284
],
[
279,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
287,
289
],
[
279,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
290,
295
],
[
295,
296
],
[
295,
297
],
[
290,
298
],
[
298,
299
],
[
299,
300
],
[
290,
301
],
[
302,
302
],
[
302,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
306,
307
],
[
305,
308
],
[
305,
309
],
[
309,
310
],
[
309,
311
],
[
279,
312
],
[
312,
313
],
[
277,
314
],
[
314,
315
],
[
356,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
321,
323
],
[
318,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
326,
328
],
[
318,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
329,
334
],
[
334,
335
],
[
334,
336
],
[
329,
337
],
[
337,
338
],
[
338,
339
],
[
329,
340
],
[
341,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
344,
345
],
[
345,
346
],
[
344,
347
],
[
344,
348
],
[
348,
349
],
[
348,
350
],
[
318,
351
],
[
351,
352
],
[
316,
353
],
[
353,
354
],
[
0,
355
],
[
355,
356
],
[
355,
357
]
] |
[
"import java.util.*;\n\n//update 2020/1/1 23:01\n\npublic class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n long A = nextLong();\n\n String[] in = splitString(next());\n\n String c = \"\";\n\n for(int i=0;i<4;i++){\n if(!in[i].equals(\".\")){\n c += in[i];\n }\n }\n\n long B = Long.parseLong(c);\n\n long ans = A*B/100;\n\n System.out.println(ans);\n\n }\n\n static int lcm(int a,int b){\n return a*b*gcd(a,b);\n }\n\n static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }\n\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n long A = nextLong();\n\n String[] in = splitString(next());\n\n String c = \"\";\n\n for(int i=0;i<4;i++){\n if(!in[i].equals(\".\")){\n c += in[i];\n }\n }\n\n long B = Long.parseLong(c);\n\n long ans = A*B/100;\n\n System.out.println(ans);\n\n }\n\n static int lcm(int a,int b){\n return a*b*gcd(a,b);\n }\n\n static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }\n\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"public static void main(String[] args) {\n\n long A = nextLong();\n\n String[] in = splitString(next());\n\n String c = \"\";\n\n for(int i=0;i<4;i++){\n if(!in[i].equals(\".\")){\n c += in[i];\n }\n }\n\n long B = Long.parseLong(c);\n\n long ans = A*B/100;\n\n System.out.println(ans);\n\n }",
"main",
"{\n\n long A = nextLong();\n\n String[] in = splitString(next());\n\n String c = \"\";\n\n for(int i=0;i<4;i++){\n if(!in[i].equals(\".\")){\n c += in[i];\n }\n }\n\n long B = Long.parseLong(c);\n\n long ans = A*B/100;\n\n System.out.println(ans);\n\n }",
"long A = nextLong();",
"A",
"nextLong()",
"nextLong",
"String[] in = splitString(next());",
"in",
"splitString(next())",
"splitString",
"next()",
"next",
"String c = \"\";",
"c",
"\"\"",
"for(int i=0;i<4;i++){\n if(!in[i].equals(\".\")){\n c += in[i];\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<4",
"i",
"4",
"i++",
"i++",
"i",
"{\n if(!in[i].equals(\".\")){\n c += in[i];\n }\n }",
"{\n if(!in[i].equals(\".\")){\n c += in[i];\n }\n }",
"if(!in[i].equals(\".\")){\n c += in[i];\n }",
"!in[i].equals(\".\")",
"in[i].equals(\".\")",
"in[i].equals",
"in[i]",
"in",
"i",
"\".\"",
"{\n c += in[i];\n }",
"c += in[i]",
"c",
"in[i]",
"in",
"i",
"long B = Long.parseLong(c);",
"B",
"Long.parseLong(c)",
"Long.parseLong",
"Long",
"c",
"long ans = A*B/100;",
"ans",
"A*B/100",
"A*B",
"A",
"B",
"100",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"static int lcm(int a,int 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*gcd(a,b)",
"a",
"b",
"gcd(a,b)",
"gcd",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }",
"gcd",
"{\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }",
"if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }",
"a%b!=0",
"a%b",
"a",
"b",
"0",
"{\n return gcd(b,a%b);\n }",
"return gcd(b,a%b);",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"{\n return b;\n }",
"return b;",
"b",
"int a",
"a",
"int b",
"b",
"static String toSmall(String s){\n return s.toLowerCase();\n }",
"toSmall",
"{\n return s.toLowerCase();\n }",
"return s.toLowerCase();",
"s.toLowerCase()",
"s.toLowerCase",
"s",
"String s",
"s",
"static String toBig(String s){\n return s.toUpperCase();\n }",
"toBig",
"{\n return s.toUpperCase();\n }",
"return s.toUpperCase();",
"s.toUpperCase()",
"s.toUpperCase",
"s",
"String s",
"s",
"static String next(){\n return sc.next();\n }",
"next",
"{\n return sc.next();\n }",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"static int nextInt(){\n return Integer.parseInt(sc.next());\n }",
"nextInt",
"{\n return Integer.parseInt(sc.next());\n }",
"return Integer.parseInt(sc.next());",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"static long nextLong(){\n return Long.parseLong(sc.next());\n }",
"nextLong",
"{\n return Long.parseLong(sc.next());\n }",
"return Long.parseLong(sc.next());",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"static double nextDouble(){\n return Double.parseDouble(sc.next());\n }",
"nextDouble",
"{\n return Double.parseDouble(sc.next());\n }",
"return Double.parseDouble(sc.next());",
"Double.parseDouble(sc.next())",
"Double.parseDouble",
"Double",
"sc.next()",
"sc.next",
"sc",
"static String[] splitString(String s){\n return s.split(\"\");\n }",
"splitString",
"{\n return s.split(\"\");\n }",
"return s.split(\"\");",
"s.split(\"\")",
"s.split",
"s",
"\"\"",
"String s",
"s",
"static char[] splitChar(String s){\n return s.toCharArray();\n }",
"splitChar",
"{\n return s.toCharArray();\n }",
"return s.toCharArray();",
"s.toCharArray()",
"s.toCharArray",
"s",
"String s",
"s",
"static int charToInt(char a){\n return a - 48;\n }",
"charToInt",
"{\n return a - 48;\n }",
"return a - 48;",
"a - 48",
"a",
"48",
"char a",
"a",
"////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"max",
"{\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"int max = a[0];",
"max",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n max = Math.max(max,a[i]);\n }",
"{\n max = Math.max(max,a[i]);\n }",
"max = Math.max(max,a[i])",
"max",
"Math.max(max,a[i])",
"Math.max",
"Math",
"max",
"a[i]",
"a",
"i",
"return max;",
"max",
"int[] a",
"a",
"public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"max",
"{\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"long max = a[0];",
"max",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n max = Math.max(max,a[i]);\n }",
"{\n max = Math.max(max,a[i]);\n }",
"max = Math.max(max,a[i])",
"max",
"Math.max(max,a[i])",
"Math.max",
"Math",
"max",
"a[i]",
"a",
"i",
"return max;",
"max",
"long[] a",
"a",
"////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"min",
"{\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"int min = a[0];",
"min",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n min = Math.min(min,a[i]);\n }",
"{\n min = Math.min(min,a[i]);\n }",
"min = Math.min(min,a[i])",
"min",
"Math.min(min,a[i])",
"Math.min",
"Math",
"min",
"a[i]",
"a",
"i",
"return min;",
"min",
"int[] a",
"a",
"public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"min",
"{\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"long min = a[0];",
"min",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n min = Math.min(min,a[i]);\n }",
"{\n min = Math.min(min,a[i]);\n }",
"min = Math.min(min,a[i])",
"min",
"Math.min(min,a[i])",
"Math.min",
"Math",
"min",
"a[i]",
"a",
"i",
"return min;",
"min",
"long[] a",
"a",
"public class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n long A = nextLong();\n\n String[] in = splitString(next());\n\n String c = \"\";\n\n for(int i=0;i<4;i++){\n if(!in[i].equals(\".\")){\n c += in[i];\n }\n }\n\n long B = Long.parseLong(c);\n\n long ans = A*B/100;\n\n System.out.println(ans);\n\n }\n\n static int lcm(int a,int b){\n return a*b*gcd(a,b);\n }\n\n static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }\n\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"public class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n long A = nextLong();\n\n String[] in = splitString(next());\n\n String c = \"\";\n\n for(int i=0;i<4;i++){\n if(!in[i].equals(\".\")){\n c += in[i];\n }\n }\n\n long B = Long.parseLong(c);\n\n long ans = A*B/100;\n\n System.out.println(ans);\n\n }\n\n static int lcm(int a,int b){\n return a*b*gcd(a,b);\n }\n\n static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }\n\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"Main"
] |
import java.util.*;
//update 2020/1/1 23:01
public class Main{
static Scanner sc = new Scanner(System.in);
static StringBuilder sb = new StringBuilder();
public static void main(String[] args) {
long A = nextLong();
String[] in = splitString(next());
String c = "";
for(int i=0;i<4;i++){
if(!in[i].equals(".")){
c += in[i];
}
}
long B = Long.parseLong(c);
long ans = A*B/100;
System.out.println(ans);
}
static int lcm(int a,int b){
return a*b*gcd(a,b);
}
static int gcd(int a,int b){
if(a%b!=0){
return gcd(b,a%b);
}
else{
return b;
}
}
/*
static String toSmall(String s){
char c = s.charAt(0);
//if(Character.isUpperCase(c)){
if(c<=90){
c += 32;
}
return String.valueOf(c);
}
static String toBig(String s){
char c = s.charAt(0);
//if(Character.isLowerCase(c)){
if(c>=97){
c -= 32;
}
return String.valueOf(c);
}
*/
static String toSmall(String s){
return s.toLowerCase();
}
static String toBig(String s){
return s.toUpperCase();
}
static String next(){
return sc.next();
}
static int nextInt(){
return Integer.parseInt(sc.next());
}
static long nextLong(){
return Long.parseLong(sc.next());
}
static double nextDouble(){
return Double.parseDouble(sc.next());
}
static String[] splitString(String s){
return s.split("");
}
static char[] splitChar(String s){
return s.toCharArray();
}
static int charToInt(char a){
return a - 48;
}
////////////////////////////////////////////
public static int max(int[] a){
int lng = a.length;
int max = a[0];
for(int i=1;i<lng;i++){
max = Math.max(max,a[i]);
}
return max;
}
public static long max(long[] a){
int lng = a.length;
long max = a[0];
for(int i=1;i<lng;i++){
max = Math.max(max,a[i]);
}
return max;
}
////////////////////////////////////////////
////////////////////////////////////////////
public static int min(int[] a){
int lng = a.length;
int min = a[0];
for(int i=1;i<lng;i++){
min = Math.min(min,a[i]);
}
return min;
}
public static long min(long[] a){
int lng = a.length;
long min = a[0];
for(int i=1;i<lng;i++){
min = Math.min(min,a[i]);
}
return min;
}
////////////////////////////////////////////
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
0,
13,
4,
18,
13,
13,
41,
13,
4,
18,
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
],
[
41,
8
],
[
41,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
11,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
9,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n b = b.multiply(a);\n long p = b.longValue();\n\n System.out.println(p);\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n b = b.multiply(a);\n long p = b.longValue();\n\n System.out.println(p);\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n b = b.multiply(a);\n long p = b.longValue();\n\n System.out.println(p);\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n\n BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n b = b.multiply(a);\n long p = b.longValue();\n\n System.out.println(p);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal a = new BigDecimal(sc.next());",
"a",
"new BigDecimal(sc.next())",
"BigDecimal b = new BigDecimal(sc.next());",
"b",
"new BigDecimal(sc.next())",
"b = b.multiply(a)",
"b",
"b.multiply(a)",
"b.multiply",
"b",
"a",
"long p = b.longValue();",
"p",
"b.longValue()",
"b.longValue",
"b",
"System.out.println(p)",
"System.out.println",
"System.out",
"System",
"System.out",
"p",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n b = b.multiply(a);\n long p = b.longValue();\n\n System.out.println(p);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n b = b.multiply(a);\n long p = b.longValue();\n\n System.out.println(p);\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
BigDecimal a = new BigDecimal(sc.next());
BigDecimal b = new BigDecimal(sc.next());
b = b.multiply(a);
long p = b.longValue();
System.out.println(p);
}
}
|
[
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,
41,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
0,
13,
2,
4,
18,
13,
4,
18,
13,
13,
13,
0,
13,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
86,
5
],
[
86,
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
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
32,
36
],
[
28,
37
],
[
37,
38
],
[
37,
39
],
[
28,
40
],
[
40,
41
],
[
41,
42
],
[
28,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
44,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
58,
66
],
[
55,
67
],
[
67,
68
],
[
67,
69
],
[
8,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
6,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] |
[
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\n\t\tlong a = s.nextLong();\n\t\t\n\t\tString b_s = s.next();\n\t\t\n\t\tlong b = 0;\n\t\tint base = 1;\n\t\tfor ( int i = b_s.length()-1; i >= 0; i-- ) {\n\t\t char c = b_s.charAt(i);\n\t\t if (c != '.') {\n\t\t b += Character.getNumericValue(b_s.charAt(i)) * base;\n\t\t base *= 10;\n\t\t }\n\t\t}\n\t\t\n\t\tlong mul = (long)(a * b);\n\t\t\n\n\t\tSystem.out.println(mul/100);\n\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 s = new Scanner(System.in);\n\n\t\tlong a = s.nextLong();\n\t\t\n\t\tString b_s = s.next();\n\t\t\n\t\tlong b = 0;\n\t\tint base = 1;\n\t\tfor ( int i = b_s.length()-1; i >= 0; i-- ) {\n\t\t char c = b_s.charAt(i);\n\t\t if (c != '.') {\n\t\t b += Character.getNumericValue(b_s.charAt(i)) * base;\n\t\t base *= 10;\n\t\t }\n\t\t}\n\t\t\n\t\tlong mul = (long)(a * b);\n\t\t\n\n\t\tSystem.out.println(mul/100);\n\n\t\t\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\n\t\tlong a = s.nextLong();\n\t\t\n\t\tString b_s = s.next();\n\t\t\n\t\tlong b = 0;\n\t\tint base = 1;\n\t\tfor ( int i = b_s.length()-1; i >= 0; i-- ) {\n\t\t char c = b_s.charAt(i);\n\t\t if (c != '.') {\n\t\t b += Character.getNumericValue(b_s.charAt(i)) * base;\n\t\t base *= 10;\n\t\t }\n\t\t}\n\t\t\n\t\tlong mul = (long)(a * b);\n\t\t\n\n\t\tSystem.out.println(mul/100);\n\n\t\t\n\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\n\t\tlong a = s.nextLong();\n\t\t\n\t\tString b_s = s.next();\n\t\t\n\t\tlong b = 0;\n\t\tint base = 1;\n\t\tfor ( int i = b_s.length()-1; i >= 0; i-- ) {\n\t\t char c = b_s.charAt(i);\n\t\t if (c != '.') {\n\t\t b += Character.getNumericValue(b_s.charAt(i)) * base;\n\t\t base *= 10;\n\t\t }\n\t\t}\n\t\t\n\t\tlong mul = (long)(a * b);\n\t\t\n\n\t\tSystem.out.println(mul/100);\n\n\t\t\n\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"long a = s.nextLong();",
"a",
"s.nextLong()",
"s.nextLong",
"s",
"String b_s = s.next();",
"b_s",
"s.next()",
"s.next",
"s",
"long b = 0;",
"b",
"0",
"int base = 1;",
"base",
"1",
"for ( int i = b_s.length()-1; i >= 0; i-- ) {\n\t\t char c = b_s.charAt(i);\n\t\t if (c != '.') {\n\t\t b += Character.getNumericValue(b_s.charAt(i)) * base;\n\t\t base *= 10;\n\t\t }\n\t\t}",
"int i = b_s.length()-1;",
"int i = b_s.length()-1;",
"i",
"b_s.length()-1",
"b_s.length()",
"b_s.length",
"b_s",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t char c = b_s.charAt(i);\n\t\t if (c != '.') {\n\t\t b += Character.getNumericValue(b_s.charAt(i)) * base;\n\t\t base *= 10;\n\t\t }\n\t\t}",
"{\n\t\t char c = b_s.charAt(i);\n\t\t if (c != '.') {\n\t\t b += Character.getNumericValue(b_s.charAt(i)) * base;\n\t\t base *= 10;\n\t\t }\n\t\t}",
"char c = b_s.charAt(i);",
"c",
"b_s.charAt(i)",
"b_s.charAt",
"b_s",
"i",
"if (c != '.') {\n\t\t b += Character.getNumericValue(b_s.charAt(i)) * base;\n\t\t base *= 10;\n\t\t }",
"c != '.'",
"c",
"'.'",
"{\n\t\t b += Character.getNumericValue(b_s.charAt(i)) * base;\n\t\t base *= 10;\n\t\t }",
"b += Character.getNumericValue(b_s.charAt(i)) * base",
"b",
"Character.getNumericValue(b_s.charAt(i)) * base",
"Character.getNumericValue(b_s.charAt(i))",
"Character.getNumericValue",
"Character",
"b_s.charAt(i)",
"b_s.charAt",
"b_s",
"i",
"base",
"base *= 10",
"base",
"10",
"long mul = (long)(a * b);",
"mul",
"(long)(a * b)",
"a",
"b",
"System.out.println(mul/100)",
"System.out.println",
"System.out",
"System",
"System.out",
"mul/100",
"mul",
"100",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\n\t\tlong a = s.nextLong();\n\t\t\n\t\tString b_s = s.next();\n\t\t\n\t\tlong b = 0;\n\t\tint base = 1;\n\t\tfor ( int i = b_s.length()-1; i >= 0; i-- ) {\n\t\t char c = b_s.charAt(i);\n\t\t if (c != '.') {\n\t\t b += Character.getNumericValue(b_s.charAt(i)) * base;\n\t\t base *= 10;\n\t\t }\n\t\t}\n\t\t\n\t\tlong mul = (long)(a * b);\n\t\t\n\n\t\tSystem.out.println(mul/100);\n\n\t\t\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\n\t\tlong a = s.nextLong();\n\t\t\n\t\tString b_s = s.next();\n\t\t\n\t\tlong b = 0;\n\t\tint base = 1;\n\t\tfor ( int i = b_s.length()-1; i >= 0; i-- ) {\n\t\t char c = b_s.charAt(i);\n\t\t if (c != '.') {\n\t\t b += Character.getNumericValue(b_s.charAt(i)) * base;\n\t\t base *= 10;\n\t\t }\n\t\t}\n\t\t\n\t\tlong mul = (long)(a * b);\n\t\t\n\n\t\tSystem.out.println(mul/100);\n\n\t\t\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
long a = s.nextLong();
String b_s = s.next();
long b = 0;
int base = 1;
for ( int i = b_s.length()-1; i >= 0; i-- ) {
char c = b_s.charAt(i);
if (c != '.') {
b += Character.getNumericValue(b_s.charAt(i)) * base;
base *= 10;
}
}
long mul = (long)(a * b);
System.out.println(mul/100);
}
}
|
[
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,
17,
0,
13,
2,
4,
18,
13,
17,
17,
0,
13,
17,
0,
13,
2,
4,
18,
13,
17,
17,
0,
13,
17,
0,
13,
2,
4,
18,
13,
17,
17,
41,
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
],
[
74,
8
],
[
74,
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
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
30,
35
],
[
11,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
11,
47
],
[
47,
48
],
[
47,
49
],
[
11,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
52,
57
],
[
11,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
11,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
9,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] |
[
"import java.util.*;\nimport java.math.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n String b = sc.next();\n\n long B = 0;\n B += b.charAt(0) - '0';\n B *= 10;\n B += b.charAt(2) - '0';\n B *= 10;\n B += b.charAt(3) - '0';\n\n\n long res = (long) (A * B / 100);\n //long res = (A * (long)(B * 100)) / 100;\n\n System.out.println(res);\n }\n}\n\n/*\n999999999999999 9.99\n */",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n String b = sc.next();\n\n long B = 0;\n B += b.charAt(0) - '0';\n B *= 10;\n B += b.charAt(2) - '0';\n B *= 10;\n B += b.charAt(3) - '0';\n\n\n long res = (long) (A * B / 100);\n //long res = (A * (long)(B * 100)) / 100;\n\n System.out.println(res);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n String b = sc.next();\n\n long B = 0;\n B += b.charAt(0) - '0';\n B *= 10;\n B += b.charAt(2) - '0';\n B *= 10;\n B += b.charAt(3) - '0';\n\n\n long res = (long) (A * B / 100);\n //long res = (A * (long)(B * 100)) / 100;\n\n System.out.println(res);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n String b = sc.next();\n\n long B = 0;\n B += b.charAt(0) - '0';\n B *= 10;\n B += b.charAt(2) - '0';\n B *= 10;\n B += b.charAt(3) - '0';\n\n\n long res = (long) (A * B / 100);\n //long res = (A * (long)(B * 100)) / 100;\n\n System.out.println(res);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long A = sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"long B = 0;",
"B",
"0",
"B += b.charAt(0) - '0'",
"B",
"b.charAt(0) - '0'",
"b.charAt(0)",
"b.charAt",
"b",
"0",
"'0'",
"B *= 10",
"B",
"10",
"B += b.charAt(2) - '0'",
"B",
"b.charAt(2) - '0'",
"b.charAt(2)",
"b.charAt",
"b",
"2",
"'0'",
"B *= 10",
"B",
"10",
"B += b.charAt(3) - '0'",
"B",
"b.charAt(3) - '0'",
"b.charAt(3)",
"b.charAt",
"b",
"3",
"'0'",
"long res = (long) (A * B / 100);",
"res",
"(long) (A * B / 100)",
"A * B",
"A",
"B",
"100",
"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 long A = sc.nextLong();\n String b = sc.next();\n\n long B = 0;\n B += b.charAt(0) - '0';\n B *= 10;\n B += b.charAt(2) - '0';\n B *= 10;\n B += b.charAt(3) - '0';\n\n\n long res = (long) (A * B / 100);\n //long res = (A * (long)(B * 100)) / 100;\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 long A = sc.nextLong();\n String b = sc.next();\n\n long B = 0;\n B += b.charAt(0) - '0';\n B *= 10;\n B += b.charAt(2) - '0';\n B *= 10;\n B += b.charAt(3) - '0';\n\n\n long res = (long) (A * B / 100);\n //long res = (A * (long)(B * 100)) / 100;\n\n System.out.println(res);\n }\n}",
"Main"
] |
import java.util.*;
import java.math.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
String b = sc.next();
long B = 0;
B += b.charAt(0) - '0';
B *= 10;
B += b.charAt(2) - '0';
B *= 10;
B += b.charAt(3) - '0';
long res = (long) (A * B / 100);
//long res = (A * (long)(B * 100)) / 100;
System.out.println(res);
}
}
/*
999999999999999 9.99
*/
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
17,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
42,
8
],
[
42,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
26,
32
],
[
26,
33
],
[
33,
34
],
[
33,
35
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
9,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.math.BigDecimal;\nimport java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n BigDecimal a = new BigDecimal(Long.toString(scan.nextLong()));\n BigDecimal b = new BigDecimal(Double.toString(scan.nextDouble()));\n System.out.println(a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN));\n scan.close();\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n BigDecimal a = new BigDecimal(Long.toString(scan.nextLong()));\n BigDecimal b = new BigDecimal(Double.toString(scan.nextDouble()));\n System.out.println(a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN));\n scan.close();\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n BigDecimal a = new BigDecimal(Long.toString(scan.nextLong()));\n BigDecimal b = new BigDecimal(Double.toString(scan.nextDouble()));\n System.out.println(a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN));\n scan.close();\n }",
"main",
"{\n Scanner scan = new java.util.Scanner(System.in);\n BigDecimal a = new BigDecimal(Long.toString(scan.nextLong()));\n BigDecimal b = new BigDecimal(Double.toString(scan.nextDouble()));\n System.out.println(a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN));\n scan.close();\n }",
"Scanner scan = new java.util.Scanner(System.in);",
"scan",
"new java.util.Scanner(System.in)",
"BigDecimal a = new BigDecimal(Long.toString(scan.nextLong()));",
"a",
"new BigDecimal(Long.toString(scan.nextLong()))",
"BigDecimal b = new BigDecimal(Double.toString(scan.nextDouble()));",
"b",
"new BigDecimal(Double.toString(scan.nextDouble()))",
"System.out.println(a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN))",
"System.out.println",
"System.out",
"System",
"System.out",
"a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN)",
"a.multiply(b).setScale",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n BigDecimal a = new BigDecimal(Long.toString(scan.nextLong()));\n BigDecimal b = new BigDecimal(Double.toString(scan.nextDouble()));\n System.out.println(a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN));\n scan.close();\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n BigDecimal a = new BigDecimal(Long.toString(scan.nextLong()));\n BigDecimal b = new BigDecimal(Double.toString(scan.nextDouble()));\n System.out.println(a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN));\n scan.close();\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new java.util.Scanner(System.in);
BigDecimal a = new BigDecimal(Long.toString(scan.nextLong()));
BigDecimal b = new BigDecimal(Double.toString(scan.nextDouble()));
System.out.println(a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN));
scan.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,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
17,
18,
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
],
[
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
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
11,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
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.math.BigDecimal;\nimport java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tlong A = scan.nextLong();\n\t\tdouble B = scan.nextDouble();\n\t\t\n\t\tBigDecimal a = new BigDecimal(String.valueOf(A));\n\t\tBigDecimal b = new BigDecimal(String.valueOf(B));\n\t\tBigDecimal multi =a.multiply(b);\n\t\tBigDecimal multi1 = multi.setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\n\t\tSystem.out.println(multi1);\n\n\t}\n\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tlong A = scan.nextLong();\n\t\tdouble B = scan.nextDouble();\n\t\t\n\t\tBigDecimal a = new BigDecimal(String.valueOf(A));\n\t\tBigDecimal b = new BigDecimal(String.valueOf(B));\n\t\tBigDecimal multi =a.multiply(b);\n\t\tBigDecimal multi1 = multi.setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\n\t\tSystem.out.println(multi1);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tlong A = scan.nextLong();\n\t\tdouble B = scan.nextDouble();\n\t\t\n\t\tBigDecimal a = new BigDecimal(String.valueOf(A));\n\t\tBigDecimal b = new BigDecimal(String.valueOf(B));\n\t\tBigDecimal multi =a.multiply(b);\n\t\tBigDecimal multi1 = multi.setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\n\t\tSystem.out.println(multi1);\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tlong A = scan.nextLong();\n\t\tdouble B = scan.nextDouble();\n\t\t\n\t\tBigDecimal a = new BigDecimal(String.valueOf(A));\n\t\tBigDecimal b = new BigDecimal(String.valueOf(B));\n\t\tBigDecimal multi =a.multiply(b);\n\t\tBigDecimal multi1 = multi.setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\n\t\tSystem.out.println(multi1);\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long A = scan.nextLong();",
"A",
"scan.nextLong()",
"scan.nextLong",
"scan",
"double B = scan.nextDouble();",
"B",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"BigDecimal a = new BigDecimal(String.valueOf(A));",
"a",
"new BigDecimal(String.valueOf(A))",
"BigDecimal b = new BigDecimal(String.valueOf(B));",
"b",
"new BigDecimal(String.valueOf(B))",
"BigDecimal multi =a.multiply(b);",
"multi",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"BigDecimal multi1 = multi.setScale(0, BigDecimal.ROUND_DOWN);",
"multi1",
"multi.setScale(0, BigDecimal.ROUND_DOWN)",
"multi.setScale",
"multi",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"System.out.println(multi1)",
"System.out.println",
"System.out",
"System",
"System.out",
"multi1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tlong A = scan.nextLong();\n\t\tdouble B = scan.nextDouble();\n\t\t\n\t\tBigDecimal a = new BigDecimal(String.valueOf(A));\n\t\tBigDecimal b = new BigDecimal(String.valueOf(B));\n\t\tBigDecimal multi =a.multiply(b);\n\t\tBigDecimal multi1 = multi.setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\n\t\tSystem.out.println(multi1);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tlong A = scan.nextLong();\n\t\tdouble B = scan.nextDouble();\n\t\t\n\t\tBigDecimal a = new BigDecimal(String.valueOf(A));\n\t\tBigDecimal b = new BigDecimal(String.valueOf(B));\n\t\tBigDecimal multi =a.multiply(b);\n\t\tBigDecimal multi1 = multi.setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\n\t\tSystem.out.println(multi1);\n\n\t}\n\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
long A = scan.nextLong();
double B = scan.nextDouble();
BigDecimal a = new BigDecimal(String.valueOf(A));
BigDecimal b = new BigDecimal(String.valueOf(B));
BigDecimal multi =a.multiply(b);
BigDecimal multi1 = multi.setScale(0, BigDecimal.ROUND_DOWN);
System.out.println(multi1);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
18,
13,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
2,
2,
4,
18,
13,
17,
17,
17,
2,
17,
2,
4,
18,
13,
17,
17,
2,
2,
4,
18,
13,
17,
17,
17,
0,
13,
4,
18,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
4,
18,
13,
17,
4,
18,
13,
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
],
[
104,
11
],
[
104,
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
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
14,
39
],
[
39,
40
],
[
39,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
43,
50
],
[
42,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
53,
58
],
[
42,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
60,
65
],
[
59,
66
],
[
14,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
14,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
14,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
14,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
14,
98
],
[
98,
99
],
[
99,
100
],
[
12,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
] |
[
"import java.util.*;\nimport java.io.*;\nimport java.math.*;\npublic class Main{\n public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter ou = new PrintWriter(System.out);\n\t\tBigInteger n = BigInteger.ONE;\n\t\tLong a = Long.parseLong(sc.next());\n\t\tString bb = sc.next();\n\t\tlong b = ((long)bb.charAt(0) - 48) * 1000 + 100 * ((long)bb.charAt(2) - 48) + ((long)bb.charAt(3) - 48) * 10;\n\t\tn = n.multiply(BigInteger.valueOf(a));\n\t\tn = n.multiply(BigInteger.valueOf(b));\n\t\tn = n.divide(BigInteger.valueOf((long)1000));\n\t\tou.println(n);\n\t\tou.flush();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main{\n public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter ou = new PrintWriter(System.out);\n\t\tBigInteger n = BigInteger.ONE;\n\t\tLong a = Long.parseLong(sc.next());\n\t\tString bb = sc.next();\n\t\tlong b = ((long)bb.charAt(0) - 48) * 1000 + 100 * ((long)bb.charAt(2) - 48) + ((long)bb.charAt(3) - 48) * 10;\n\t\tn = n.multiply(BigInteger.valueOf(a));\n\t\tn = n.multiply(BigInteger.valueOf(b));\n\t\tn = n.divide(BigInteger.valueOf((long)1000));\n\t\tou.println(n);\n\t\tou.flush();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter ou = new PrintWriter(System.out);\n\t\tBigInteger n = BigInteger.ONE;\n\t\tLong a = Long.parseLong(sc.next());\n\t\tString bb = sc.next();\n\t\tlong b = ((long)bb.charAt(0) - 48) * 1000 + 100 * ((long)bb.charAt(2) - 48) + ((long)bb.charAt(3) - 48) * 10;\n\t\tn = n.multiply(BigInteger.valueOf(a));\n\t\tn = n.multiply(BigInteger.valueOf(b));\n\t\tn = n.divide(BigInteger.valueOf((long)1000));\n\t\tou.println(n);\n\t\tou.flush();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter ou = new PrintWriter(System.out);\n\t\tBigInteger n = BigInteger.ONE;\n\t\tLong a = Long.parseLong(sc.next());\n\t\tString bb = sc.next();\n\t\tlong b = ((long)bb.charAt(0) - 48) * 1000 + 100 * ((long)bb.charAt(2) - 48) + ((long)bb.charAt(3) - 48) * 10;\n\t\tn = n.multiply(BigInteger.valueOf(a));\n\t\tn = n.multiply(BigInteger.valueOf(b));\n\t\tn = n.divide(BigInteger.valueOf((long)1000));\n\t\tou.println(n);\n\t\tou.flush();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"PrintWriter ou = new PrintWriter(System.out);",
"ou",
"new PrintWriter(System.out)",
"BigInteger n = BigInteger.ONE;",
"n",
"BigInteger.ONE",
"BigInteger",
"BigInteger.ONE",
"Long a = Long.parseLong(sc.next());",
"a",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"String bb = sc.next();",
"bb",
"sc.next()",
"sc.next",
"sc",
"long b = ((long)bb.charAt(0) - 48) * 1000 + 100 * ((long)bb.charAt(2) - 48) + ((long)bb.charAt(3) - 48) * 10;",
"b",
"((long)bb.charAt(0) - 48) * 1000 + 100 * ((long)bb.charAt(2) - 48) + ((long)bb.charAt(3) - 48) * 10",
"((long)bb.charAt(0) - 48) * 1000 + 100 * ((long)bb.charAt(2) - 48) + ((long)bb.charAt(3) - 48) * 10",
"((long)bb.charAt(0) - 48) * 1000",
"((long)bb.charAt(0) - 48)",
"(long)bb.charAt(0)",
"bb.charAt",
"bb",
"0",
"48",
"1000",
"100 * ((long)bb.charAt(2) - 48)",
"100",
"((long)bb.charAt(2) - 48)",
"(long)bb.charAt(2)",
"bb.charAt",
"bb",
"2",
"48",
"((long)bb.charAt(3) - 48) * 10",
"((long)bb.charAt(3) - 48)",
"(long)bb.charAt(3)",
"bb.charAt",
"bb",
"3",
"48",
"10",
"n = n.multiply(BigInteger.valueOf(a))",
"n",
"n.multiply(BigInteger.valueOf(a))",
"n.multiply",
"n",
"BigInteger.valueOf(a)",
"BigInteger.valueOf",
"BigInteger",
"a",
"n = n.multiply(BigInteger.valueOf(b))",
"n",
"n.multiply(BigInteger.valueOf(b))",
"n.multiply",
"n",
"BigInteger.valueOf(b)",
"BigInteger.valueOf",
"BigInteger",
"b",
"n = n.divide(BigInteger.valueOf((long)1000))",
"n",
"n.divide(BigInteger.valueOf((long)1000))",
"n.divide",
"n",
"BigInteger.valueOf((long)1000)",
"BigInteger.valueOf",
"BigInteger",
"(long)1000",
"ou.println(n)",
"ou.println",
"ou",
"n",
"ou.flush()",
"ou.flush",
"ou",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter ou = new PrintWriter(System.out);\n\t\tBigInteger n = BigInteger.ONE;\n\t\tLong a = Long.parseLong(sc.next());\n\t\tString bb = sc.next();\n\t\tlong b = ((long)bb.charAt(0) - 48) * 1000 + 100 * ((long)bb.charAt(2) - 48) + ((long)bb.charAt(3) - 48) * 10;\n\t\tn = n.multiply(BigInteger.valueOf(a));\n\t\tn = n.multiply(BigInteger.valueOf(b));\n\t\tn = n.divide(BigInteger.valueOf((long)1000));\n\t\tou.println(n);\n\t\tou.flush();\n\t}\n}",
"public class Main{\n public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter ou = new PrintWriter(System.out);\n\t\tBigInteger n = BigInteger.ONE;\n\t\tLong a = Long.parseLong(sc.next());\n\t\tString bb = sc.next();\n\t\tlong b = ((long)bb.charAt(0) - 48) * 1000 + 100 * ((long)bb.charAt(2) - 48) + ((long)bb.charAt(3) - 48) * 10;\n\t\tn = n.multiply(BigInteger.valueOf(a));\n\t\tn = n.multiply(BigInteger.valueOf(b));\n\t\tn = n.divide(BigInteger.valueOf((long)1000));\n\t\tou.println(n);\n\t\tou.flush();\n\t}\n}",
"Main"
] |
import java.util.*;
import java.io.*;
import java.math.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
PrintWriter ou = new PrintWriter(System.out);
BigInteger n = BigInteger.ONE;
Long a = Long.parseLong(sc.next());
String bb = sc.next();
long b = ((long)bb.charAt(0) - 48) * 1000 + 100 * ((long)bb.charAt(2) - 48) + ((long)bb.charAt(3) - 48) * 10;
n = n.multiply(BigInteger.valueOf(a));
n = n.multiply(BigInteger.valueOf(b));
n = n.divide(BigInteger.valueOf((long)1000));
ou.println(n);
ou.flush();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
17,
41,
13,
39,
39,
17,
17,
39,
17,
40,
17,
39,
17,
17,
39,
40,
17,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
2,
2,
4,
18,
13,
17,
17,
17,
0,
13,
2,
2,
4,
18,
13,
17,
17,
17,
0,
13,
2,
2,
4,
18,
13,
17,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
29,
17,
41,
13,
2,
13,
13,
14,
2,
13,
2,
13,
13,
30,
29,
17,
29,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
42,
2,
13,
13,
30,
4,
13,
13,
13,
13,
40,
13,
40,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
18,
13,
13,
17,
30,
29,
17,
41,
13,
2,
18,
13,
13,
17,
42,
2,
13,
17,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
3,
40,
13,
14,
2,
13,
17,
30,
29,
17,
41,
13,
2,
18,
13,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
13,
3,
4,
13,
13,
13,
13,
4,
13,
13,
2,
13,
17,
2,
18,
13,
13,
17,
29,
17,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
13,
17,
29,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
2,
13,
17,
4,
13,
17,
23,
13,
12,
13,
30,
29,
2,
4,
18,
13,
13,
4,
18,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
13,
30,
29,
4,
13,
13,
13,
14,
2,
2,
13,
13,
17,
30,
29,
13,
29,
4,
13,
13,
2,
13,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
488,
14
],
[
488,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
17,
21
],
[
488,
22
],
[
22,
23
],
[
22,
24
],
[
488,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
27,
35
],
[
35,
36
],
[
35,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
488,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
44,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
44,
58
],
[
58,
59
],
[
58,
60
],
[
44,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
64,
69
],
[
63,
70
],
[
44,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
74,
79
],
[
73,
80
],
[
44,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
84,
89
],
[
83,
90
],
[
44,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
42,
101
],
[
101,
102
],
[
488,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
111,
113
],
[
106,
114
],
[
114,
115
],
[
115,
116
],
[
105,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
119,
121
],
[
105,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
125,
127
],
[
122,
128
],
[
128,
129
],
[
129,
130
],
[
105,
131
],
[
131,
132
],
[
103,
133
],
[
133,
134
],
[
103,
135
],
[
135,
136
],
[
488,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
142,
144
],
[
139,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
149,
150
],
[
149,
151
],
[
139,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
137,
157
],
[
157,
158
],
[
137,
159
],
[
159,
160
],
[
137,
161
],
[
161,
162
],
[
488,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
171,
174
],
[
171,
175
],
[
170,
176
],
[
176,
177
],
[
170,
178
],
[
178,
179
],
[
163,
180
],
[
180,
181
],
[
163,
182
],
[
182,
183
],
[
163,
184
],
[
184,
185
],
[
488,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
190,
194
],
[
189,
195
],
[
195,
196
],
[
196,
197
],
[
188,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
188,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
211,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
217,
219
],
[
210,
220
],
[
220,
221
],
[
209,
222
],
[
222,
223
],
[
188,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
228,
229
],
[
229,
230
],
[
188,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
233,
237
],
[
188,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
238,
247
],
[
247,
248
],
[
247,
249
],
[
238,
250
],
[
250,
251
],
[
251,
252
],
[
238,
253
],
[
254,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
260
],
[
260,
261
],
[
260,
262
],
[
255,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
263,
267
],
[
188,
268
],
[
268,
269
],
[
268,
270
],
[
268,
271
],
[
268,
272
],
[
188,
273
],
[
273,
274
],
[
273,
275
],
[
273,
276
],
[
276,
277
],
[
276,
278
],
[
273,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
279,
283
],
[
188,
284
],
[
284,
285
],
[
186,
286
],
[
286,
287
],
[
488,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
290,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
295,
300
],
[
300,
301
],
[
300,
302
],
[
295,
303
],
[
303,
304
],
[
304,
305
],
[
295,
306
],
[
307,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
308,
312
],
[
312,
313
],
[
312,
314
],
[
290,
315
],
[
315,
316
],
[
288,
317
],
[
317,
318
],
[
488,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
322,
327
],
[
319,
328
],
[
328,
329
],
[
488,
330
],
[
330,
331
],
[
330,
332
],
[
332,
333
],
[
333,
334
],
[
333,
335
],
[
333,
336
],
[
337,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
338,
343
],
[
343,
344
],
[
343,
345
],
[
332,
346
],
[
346,
347
],
[
346,
348
],
[
330,
349
],
[
349,
350
],
[
488,
351
],
[
351,
352
],
[
351,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
356,
357
],
[
357,
358
],
[
356,
359
],
[
355,
360
],
[
360,
361
],
[
361,
362
],
[
360,
363
],
[
351,
364
],
[
364,
365
],
[
488,
366
],
[
366,
367
],
[
366,
368
],
[
368,
369
],
[
369,
370
],
[
370,
371
],
[
370,
372
],
[
369,
373
],
[
373,
374
],
[
374,
375
],
[
375,
376
],
[
375,
377
],
[
375,
378
],
[
368,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
381,
383
],
[
380,
384
],
[
379,
385
],
[
385,
386
],
[
386,
387
],
[
368,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
389,
392
],
[
392,
393
],
[
392,
394
],
[
366,
395
],
[
395,
396
],
[
366,
397
],
[
397,
398
],
[
488,
399
],
[
399,
400
],
[
399,
401
],
[
401,
402
],
[
399,
403
],
[
403,
404
],
[
399,
405
],
[
405,
406
],
[
405,
407
],
[
407,
408
],
[
408,
409
],
[
408,
410
],
[
399,
411
],
[
411,
412
],
[
411,
413
],
[
413,
414
],
[
414,
415
],
[
415,
416
],
[
416,
417
],
[
416,
418
],
[
415,
419
],
[
419,
420
],
[
420,
421
],
[
421,
422
],
[
414,
423
],
[
423,
424
],
[
424,
425
],
[
425,
426
],
[
425,
427
],
[
427,
428
],
[
428,
429
],
[
429,
430
],
[
424,
431
],
[
431,
432
],
[
432,
433
],
[
432,
434
],
[
413,
435
],
[
435,
436
],
[
436,
437
],
[
437,
438
],
[
399,
439
],
[
439,
440
],
[
439,
441
],
[
441,
442
],
[
442,
443
],
[
443,
444
],
[
444,
445
],
[
443,
446
],
[
446,
447
],
[
399,
448
],
[
448,
449
],
[
448,
450
],
[
450,
451
],
[
451,
452
],
[
452,
453
],
[
453,
454
],
[
452,
455
],
[
455,
456
],
[
399,
457
],
[
457,
458
],
[
457,
459
],
[
459,
460
],
[
460,
461
],
[
461,
462
],
[
462,
463
],
[
461,
464
],
[
464,
465
],
[
399,
466
],
[
466,
467
],
[
466,
468
],
[
468,
469
],
[
469,
470
],
[
469,
471
],
[
468,
472
],
[
472,
473
],
[
473,
474
],
[
473,
475
],
[
475,
476
],
[
476,
477
],
[
477,
478
],
[
472,
479
],
[
479,
480
],
[
480,
481
],
[
480,
482
],
[
482,
483
],
[
483,
484
],
[
468,
485
],
[
485,
486
],
[
0,
487
],
[
487,
488
],
[
487,
489
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\npublic class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n long n = sc.nextLong();\n String m = sc.next();\n int b100 = 0;\n b100 += (m.charAt(0) - '0') * 100;\n b100 += (m.charAt(2) - '0') * 10;\n b100 += (m.charAt(3) - '0') * 1;\n System.out.println((long)n * b100 / 100);\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\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}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n long n = sc.nextLong();\n String m = sc.next();\n int b100 = 0;\n b100 += (m.charAt(0) - '0') * 100;\n b100 += (m.charAt(2) - '0') * 10;\n b100 += (m.charAt(3) - '0') * 1;\n System.out.println((long)n * b100 / 100);\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\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}",
"Main",
"private static final int MOD = (int) Math.pow(10, 9);",
"MOD",
"(int) Math.pow(10, 9)",
"Math.pow",
"Math",
"10",
"9",
"private static final long EIGHT = (long) 1e18;",
"EIGHT",
"(long) 1e18",
"private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};",
"DIRS",
"{{0, 1}, {0, -1}, {1, 0}, {-1, 0}}",
"{0, 1}",
"0",
"1",
"{0, -1}",
"0",
"-1",
"1",
"{1, 0}",
"1",
"0",
"{-1, 0}",
"-1",
"1",
"0",
"public static void main(String[] args) {\n FastReader sc = new FastReader();\n long n = sc.nextLong();\n String m = sc.next();\n int b100 = 0;\n b100 += (m.charAt(0) - '0') * 100;\n b100 += (m.charAt(2) - '0') * 10;\n b100 += (m.charAt(3) - '0') * 1;\n System.out.println((long)n * b100 / 100);\n }",
"main",
"{\n FastReader sc = new FastReader();\n long n = sc.nextLong();\n String m = sc.next();\n int b100 = 0;\n b100 += (m.charAt(0) - '0') * 100;\n b100 += (m.charAt(2) - '0') * 10;\n b100 += (m.charAt(3) - '0') * 1;\n System.out.println((long)n * b100 / 100);\n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String m = sc.next();",
"m",
"sc.next()",
"sc.next",
"sc",
"int b100 = 0;",
"b100",
"0",
"b100 += (m.charAt(0) - '0') * 100",
"b100",
"(m.charAt(0) - '0') * 100",
"(m.charAt(0) - '0')",
"m.charAt(0)",
"m.charAt",
"m",
"0",
"'0'",
"100",
"b100 += (m.charAt(2) - '0') * 10",
"b100",
"(m.charAt(2) - '0') * 10",
"(m.charAt(2) - '0')",
"m.charAt(2)",
"m.charAt",
"m",
"2",
"'0'",
"10",
"b100 += (m.charAt(3) - '0') * 1",
"b100",
"(m.charAt(3) - '0') * 1",
"(m.charAt(3) - '0')",
"m.charAt(3)",
"m.charAt",
"m",
"3",
"'0'",
"1",
"System.out.println((long)n * b100 / 100)",
"System.out.println",
"System.out",
"System",
"System.out",
"(long)n * b100 / 100",
"(long)n * b100",
"(long)n",
"b100",
"100",
"String[] args",
"args",
"/*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }",
"isOverflowByMul",
"{\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }",
"if (a == 0 || b == 0) {\n return false;\n }",
"a == 0 || b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n return false;\n }",
"return false;",
"false",
"long result = a * b;",
"result",
"a * b",
"a",
"b",
"if (a == result / b) {\n return false;\n }",
"a == result / b",
"a",
"result / b",
"result",
"b",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"long a",
"a",
"long b",
"b",
"static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }",
"swap",
"{\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }",
"int tmp = nums[x];",
"tmp",
"nums[x]",
"nums",
"x",
"nums[x] = nums[y]",
"nums[x]",
"nums",
"x",
"nums[y]",
"nums",
"y",
"nums[y] = tmp",
"nums[y]",
"nums",
"y",
"tmp",
"int[] nums",
"nums",
"int x",
"x",
"int y",
"y",
"static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }",
"reverse",
"{\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }",
"while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }",
"left < right",
"left",
"right",
"{\n swap(nums, left, right);\n left++;\n right--;\n }",
"swap(nums, left, right)",
"swap",
"nums",
"left",
"right",
"left++",
"left",
"right--",
"right",
"int[] nums",
"nums",
"int left",
"left",
"int right",
"right",
"static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }",
"findNextPermutation",
"{\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }",
"if (nums.length <= 1) {\n return false;\n }",
"nums.length <= 1",
"nums.length",
"nums",
"nums.length",
"1",
"{\n return false;\n }",
"return false;",
"false",
"int last = nums.length - 2;",
"last",
"nums.length - 2",
"nums.length",
"nums",
"nums.length",
"2",
"while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }",
"last >= 0",
"last",
"0",
"{\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }",
"if (nums[last] < nums[last + 1]){\n break;\n }",
"nums[last] < nums[last + 1]",
"nums[last]",
"nums",
"last",
"nums[last + 1]",
"nums",
"last + 1",
"last",
"1",
"{\n break;\n }",
"break;",
"last--",
"last",
"if (last < 0) { return false; }",
"last < 0",
"last",
"0",
"{ return false; }",
"return false;",
"false",
"int nextGenerater = nums.length - 1;",
"nextGenerater",
"nums.length - 1",
"nums.length",
"nums",
"nums.length",
"1",
"for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }",
"int i = nums.length - 1;",
"int i = nums.length - 1;",
"i",
"nums.length - 1",
"nums.length",
"nums",
"nums.length",
"1",
"i > last",
"i",
"last",
"i--",
"i--",
"i",
"{\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }",
"{\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }",
"if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }",
"nums[i] > nums[last]",
"nums[i]",
"nums",
"i",
"nums[last]",
"nums",
"last",
"{\n nextGenerater = i;\n break;\n }",
"nextGenerater = i",
"nextGenerater",
"i",
"break;",
"swap(nums, nextGenerater, last)",
"swap",
"nums",
"nextGenerater",
"last",
"reverse(nums, last + 1, nums.length - 1)",
"reverse",
"nums",
"last + 1",
"last",
"1",
"nums.length - 1",
"nums.length",
"nums",
"nums.length",
"1",
"return true;",
"true",
"int[] nums",
"nums",
"static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }",
"generateNArray",
"{\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }",
"int[] res = new int[n];",
"res",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = i + 1;\n }",
"{\n res[i] = i + 1;\n }",
"res[i] = i + 1",
"res[i]",
"res",
"i",
"i + 1",
"i",
"1",
"return res;",
"res",
"int n",
"n",
"static private void print(String s) {\n System.out.println(s);\n }",
"print",
"{\n System.out.println(s);\n }",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String s",
"s",
"static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }",
"printArray",
"{\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }",
"for (int s: e) {\n System.out.print(s + \" \");\n }",
"int s",
"e",
"{\n System.out.print(s + \" \");\n }",
"{\n System.out.print(s + \" \");\n }",
"System.out.print(s + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"s + \" \"",
"s",
"\" \"",
"print(\"\")",
"print",
"\"\"",
"int[] e",
"e",
"static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }",
"log2",
"{\n return (int)(Math.log(x) / Math.log(2));\n }",
"return (int)(Math.log(x) / Math.log(2));",
"(int)(Math.log(x) / Math.log(2))",
"Math.log(x)",
"Math.log",
"Math",
"x",
"Math.log(2)",
"Math.log",
"Math",
"2",
"int x",
"x",
"static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }",
"gcd",
"{\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }",
"if (m < n) { return gcd(n, m); }",
"m < n",
"m",
"n",
"{ return gcd(n, m); }",
"return gcd(n, m);",
"gcd(n, m)",
"gcd",
"n",
"m",
"if (m % n == 0) { return n; }",
"m % n == 0",
"m % n",
"m",
"n",
"0",
"{ return n; }",
"return n;",
"n",
"return gcd(n, m%n);",
"gcd(n, m%n)",
"gcd",
"n",
"m%n",
"m",
"n",
"long m",
"m",
"long n",
"n",
"static class FastReader {\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 private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n long n = sc.nextLong();\n String m = sc.next();\n int b100 = 0;\n b100 += (m.charAt(0) - '0') * 100;\n b100 += (m.charAt(2) - '0') * 10;\n b100 += (m.charAt(3) - '0') * 1;\n System.out.println((long)n * b100 / 100);\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\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}",
"public class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n long n = sc.nextLong();\n String m = sc.next();\n int b100 = 0;\n b100 += (m.charAt(0) - '0') * 100;\n b100 += (m.charAt(2) - '0') * 10;\n b100 += (m.charAt(3) - '0') * 1;\n System.out.println((long)n * b100 / 100);\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\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}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
private static final int MOD = (int) Math.pow(10, 9);
private static final long EIGHT = (long) 1e18;
private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};
public static void main(String[] args) {
FastReader sc = new FastReader();
long n = sc.nextLong();
String m = sc.next();
int b100 = 0;
b100 += (m.charAt(0) - '0') * 100;
b100 += (m.charAt(2) - '0') * 10;
b100 += (m.charAt(3) - '0') * 1;
System.out.println((long)n * b100 / 100);
}
/*
* Check if a * b is overflow or not
*/
static Boolean isOverflowByMul(long a, long b) {
if (a == 0 || b == 0) {
return false;
}
long result = a * b;
if (a == result / b) {
return false;
}
return true;
}
static private void swap(int[] nums, int x, int y) {
int tmp = nums[x];
nums[x] = nums[y];
nums[y] = tmp;
}
static private void reverse(int[] nums, int left, int right) {
while (left < right) {
swap(nums, left, right);
left++;
right--;
}
}
static private boolean findNextPermutation(int[] nums) {
if (nums.length <= 1) {
return false;
}
int last = nums.length - 2;
while (last >= 0) {
if (nums[last] < nums[last + 1]){
break;
}
last--;
}
if (last < 0) { return false; }
int nextGenerater = nums.length - 1;
for (int i = nums.length - 1; i > last; i--) {
if (nums[i] > nums[last]) {
nextGenerater = i;
break;
}
}
swap(nums, nextGenerater, last);
reverse(nums, last + 1, nums.length - 1);
return true;
}
static private int[] generateNArray(int n) {
int[] res = new int[n];
for (int i = 0; i < n; i++) {
res[i] = i + 1;
}
return res;
}
static private void print(String s) {
System.out.println(s);
}
static private void printArray(int[] e) {
for (int s: e) {
System.out.print(s + " ");
}
print("");
}
static private int log2(int x) {
return (int)(Math.log(x) / Math.log(2));
}
static private long gcd(long m, long n) {
if (m < n) { return gcd(n, m); }
if (m % n == 0) { return n; }
return gcd(n, m%n);
}
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;
}
}
}
|
[
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,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
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
],
[
145,
17
],
[
145,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
20,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
18,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
56,
60
],
[
60,
61
],
[
56,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
56,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
71,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
81,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
70,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
56,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
56,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
112,
113
],
[
56,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
121,
122
],
[
56,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
129,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
125,
142
],
[
142,
143
],
[
0,
144
],
[
144,
145
],
[
144,
146
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.*;\npublic class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong res = (long)(( b * 100)+0.05);\n\t\tSystem.out.println((res * a) / 100);\n\n\t}\n}\n\n\n\n\n\nclass FastReader {\n\tBufferedReader br;\n\tStringTokenizer st;\n\n\tpublic FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}\n\n\tString next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\n\tint nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}\n\n\tlong nextLong() {\n\t\treturn Long.parseLong(next());\n\t}\n\n\tdouble nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n\n\tString nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\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.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong res = (long)(( b * 100)+0.05);\n\t\tSystem.out.println((res * a) / 100);\n\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong res = (long)(( b * 100)+0.05);\n\t\tSystem.out.println((res * a) / 100);\n\n\t}",
"main",
"{\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong res = (long)(( b * 100)+0.05);\n\t\tSystem.out.println((res * a) / 100);\n\n\t}",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double b = sc.nextDouble();",
"b",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"long res = (long)(( b * 100)+0.05);",
"res",
"(long)(( b * 100)+0.05)",
"( b * 100)",
"b",
"100",
"0.05",
"System.out.println((res * a) / 100)",
"System.out.println",
"System.out",
"System",
"System.out",
"(res * a) / 100",
"(res * a)",
"res",
"a",
"100",
"String[] args",
"args",
"class FastReader {\n\tBufferedReader br;\n\tStringTokenizer st;\n\n\tpublic FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}\n\n\tString next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\n\tint nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}\n\n\tlong nextLong() {\n\t\treturn Long.parseLong(next());\n\t}\n\n\tdouble nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n\n\tString nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}\n}",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}",
"FastReader",
"{\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}",
"br = new BufferedReader(new\n\t\t InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n\t\t InputStreamReader(System.in))",
"String next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}",
"next",
"{\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}",
"while (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\tst = new StringTokenizer(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\tst = new StringTokenizer(br.readLine());\n\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\treturn Integer.parseInt(next());\n\t}",
"nextInt",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n\t\treturn Long.parseLong(next());\n\t}",
"nextLong",
"{\n\t\treturn Long.parseLong(next());\n\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}",
"nextDouble",
"{\n\t\treturn Double.parseDouble(next());\n\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}",
"nextLine",
"{\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}",
"String str = \"\";",
"str",
"\"\"",
"try {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tstr = br.readLine();\n\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong res = (long)(( b * 100)+0.05);\n\t\tSystem.out.println((res * a) / 100);\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong res = (long)(( b * 100)+0.05);\n\t\tSystem.out.println((res * a) / 100);\n\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;
public class Main {
public static void main(String[] args)throws IOException {
FastReader sc = new FastReader();
PrintWriter pw = new PrintWriter(System.out);
long a = sc.nextLong();
double b = sc.nextDouble();
long res = (long)(( b * 100)+0.05);
System.out.println((res * a) / 100);
}
}
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;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
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
],
[
25,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n long a = in.nextLong();\n double b = in.nextDouble();\n long flooredB = (long) (b * 100 + 0.5);\n System.out.println(a * flooredB / 100);\n in.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n long a = in.nextLong();\n double b = in.nextDouble();\n long flooredB = (long) (b * 100 + 0.5);\n System.out.println(a * flooredB / 100);\n in.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n long a = in.nextLong();\n double b = in.nextDouble();\n long flooredB = (long) (b * 100 + 0.5);\n System.out.println(a * flooredB / 100);\n in.close();\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n long a = in.nextLong();\n double b = in.nextDouble();\n long flooredB = (long) (b * 100 + 0.5);\n System.out.println(a * flooredB / 100);\n in.close();\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"long a = in.nextLong();",
"a",
"in.nextLong()",
"in.nextLong",
"in",
"double b = in.nextDouble();",
"b",
"in.nextDouble()",
"in.nextDouble",
"in",
"long flooredB = (long) (b * 100 + 0.5);",
"flooredB",
"(long) (b * 100 + 0.5)",
"b * 100",
"b",
"100",
"0.5",
"System.out.println(a * flooredB / 100)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * flooredB / 100",
"a * flooredB",
"a",
"flooredB",
"100",
"in.close()",
"in.close",
"in",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n long a = in.nextLong();\n double b = in.nextDouble();\n long flooredB = (long) (b * 100 + 0.5);\n System.out.println(a * flooredB / 100);\n in.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n long a = in.nextLong();\n double b = in.nextDouble();\n long flooredB = (long) (b * 100 + 0.5);\n System.out.println(a * flooredB / 100);\n in.close();\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
long a = in.nextLong();
double b = in.nextDouble();
long flooredB = (long) (b * 100 + 0.5);
System.out.println(a * flooredB / 100);
in.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
2,
2,
13,
17,
17,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
4,
13,
13,
17,
4,
18,
18,
13,
13,
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
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
8,
16
],
[
16,
17
],
[
6,
18
],
[
18,
19
],
[
59,
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
],
[
37,
38
],
[
22,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
22,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
20,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tstatic long toLong(double N) {\n\t\t\tlong num=(long)(N*100+0.001);\n\t\t\treturn num;\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A=sc.nextLong();\n\t\tdouble B=sc.nextDouble();\n\t\tsc.close();\n\t\tlong result=Math.floorDiv(A*toLong(B),100l);\n\t\tSystem.out.println(result);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tstatic long toLong(double N) {\n\t\t\tlong num=(long)(N*100+0.001);\n\t\t\treturn num;\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A=sc.nextLong();\n\t\tdouble B=sc.nextDouble();\n\t\tsc.close();\n\t\tlong result=Math.floorDiv(A*toLong(B),100l);\n\t\tSystem.out.println(result);\n\t}\n}",
"Main",
"static long toLong(double N) {\n\t\t\tlong num=(long)(N*100+0.001);\n\t\t\treturn num;\n\t}",
"toLong",
"{\n\t\t\tlong num=(long)(N*100+0.001);\n\t\t\treturn num;\n\t}",
"long num=(long)(N*100+0.001);",
"num",
"(long)(N*100+0.001)",
"N*100",
"N",
"100",
"0.001",
"return num;",
"num",
"double N",
"N",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A=sc.nextLong();\n\t\tdouble B=sc.nextDouble();\n\t\tsc.close();\n\t\tlong result=Math.floorDiv(A*toLong(B),100l);\n\t\tSystem.out.println(result);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A=sc.nextLong();\n\t\tdouble B=sc.nextDouble();\n\t\tsc.close();\n\t\tlong result=Math.floorDiv(A*toLong(B),100l);\n\t\tSystem.out.println(result);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long A=sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double B=sc.nextDouble();",
"B",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"sc.close()",
"sc.close",
"sc",
"long result=Math.floorDiv(A*toLong(B),100l);",
"result",
"Math.floorDiv(A*toLong(B),100l)",
"Math.floorDiv",
"Math",
"A*toLong(B)",
"A",
"toLong(B)",
"toLong",
"B",
"100l",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\tstatic long toLong(double N) {\n\t\t\tlong num=(long)(N*100+0.001);\n\t\t\treturn num;\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A=sc.nextLong();\n\t\tdouble B=sc.nextDouble();\n\t\tsc.close();\n\t\tlong result=Math.floorDiv(A*toLong(B),100l);\n\t\tSystem.out.println(result);\n\t}\n}",
"public class Main {\n\tstatic long toLong(double N) {\n\t\t\tlong num=(long)(N*100+0.001);\n\t\t\treturn num;\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong A=sc.nextLong();\n\t\tdouble B=sc.nextDouble();\n\t\tsc.close();\n\t\tlong result=Math.floorDiv(A*toLong(B),100l);\n\t\tSystem.out.println(result);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
static long toLong(double N) {
long num=(long)(N*100+0.001);
return num;
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long A=sc.nextLong();
double B=sc.nextDouble();
sc.close();
long result=Math.floorDiv(A*toLong(B),100l);
System.out.println(result);
}
}
|
[
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,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
55,
20
],
[
55,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
30,
32
],
[
23,
33
],
[
33,
34
],
[
33,
35
],
[
23,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
23,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
21,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\nimport java.math.BigInteger;\nimport java.util.StringTokenizer;\n\n/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choose Tools | Templates\n * and open the template in the editor.\n */\n\n/**\n *\n * @author Varun\n */\npublic class Main {\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n // TODO code application logic here\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n StringTokenizer st = new StringTokenizer(br.readLine());\n // BigInteger a = new BigInteger(st.nextToken());\n final BigDecimal a = new BigDecimal( st.nextToken() );\n final BigDecimal orig = new BigDecimal( st.nextToken() );\n //BigInteger c = new BigInteger(String.valueOf(b));\n //BigInteger d = a.multiply(c);\n //System.out.println(orig);\n BigDecimal res = a.multiply(orig);\n System.out.println(res.toBigInteger().longValueExact());\n \n // System.out.printf(\"%.f\",res);\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.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n // TODO code application logic here\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n StringTokenizer st = new StringTokenizer(br.readLine());\n // BigInteger a = new BigInteger(st.nextToken());\n final BigDecimal a = new BigDecimal( st.nextToken() );\n final BigDecimal orig = new BigDecimal( st.nextToken() );\n //BigInteger c = new BigInteger(String.valueOf(b));\n //BigInteger d = a.multiply(c);\n //System.out.println(orig);\n BigDecimal res = a.multiply(orig);\n System.out.println(res.toBigInteger().longValueExact());\n \n // System.out.printf(\"%.f\",res);\n \n }\n \n}",
"Main",
"/**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n // TODO code application logic here\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n StringTokenizer st = new StringTokenizer(br.readLine());\n // BigInteger a = new BigInteger(st.nextToken());\n final BigDecimal a = new BigDecimal( st.nextToken() );\n final BigDecimal orig = new BigDecimal( st.nextToken() );\n //BigInteger c = new BigInteger(String.valueOf(b));\n //BigInteger d = a.multiply(c);\n //System.out.println(orig);\n BigDecimal res = a.multiply(orig);\n System.out.println(res.toBigInteger().longValueExact());\n \n // System.out.printf(\"%.f\",res);\n \n }",
"main",
"{\n // TODO code application logic here\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n StringTokenizer st = new StringTokenizer(br.readLine());\n // BigInteger a = new BigInteger(st.nextToken());\n final BigDecimal a = new BigDecimal( st.nextToken() );\n final BigDecimal orig = new BigDecimal( st.nextToken() );\n //BigInteger c = new BigInteger(String.valueOf(b));\n //BigInteger d = a.multiply(c);\n //System.out.println(orig);\n BigDecimal res = a.multiply(orig);\n System.out.println(res.toBigInteger().longValueExact());\n \n // System.out.printf(\"%.f\",res);\n \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())",
"final BigDecimal a = new BigDecimal( st.nextToken() );",
"a",
"new BigDecimal( st.nextToken() )",
"final BigDecimal orig = new BigDecimal( st.nextToken() );",
"orig",
"new BigDecimal( st.nextToken() )",
"BigDecimal res = a.multiply(orig);",
"res",
"a.multiply(orig)",
"a.multiply",
"a",
"orig",
"System.out.println(res.toBigInteger().longValueExact())",
"System.out.println",
"System.out",
"System",
"System.out",
"res.toBigInteger().longValueExact()",
"res.toBigInteger().longValueExact",
"res.toBigInteger()",
"res.toBigInteger",
"res",
"String[] args",
"args",
"public class Main {\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n // TODO code application logic here\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n StringTokenizer st = new StringTokenizer(br.readLine());\n // BigInteger a = new BigInteger(st.nextToken());\n final BigDecimal a = new BigDecimal( st.nextToken() );\n final BigDecimal orig = new BigDecimal( st.nextToken() );\n //BigInteger c = new BigInteger(String.valueOf(b));\n //BigInteger d = a.multiply(c);\n //System.out.println(orig);\n BigDecimal res = a.multiply(orig);\n System.out.println(res.toBigInteger().longValueExact());\n \n // System.out.printf(\"%.f\",res);\n \n }\n \n}",
"public class Main {\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n // TODO code application logic here\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n StringTokenizer st = new StringTokenizer(br.readLine());\n // BigInteger a = new BigInteger(st.nextToken());\n final BigDecimal a = new BigDecimal( st.nextToken() );\n final BigDecimal orig = new BigDecimal( st.nextToken() );\n //BigInteger c = new BigInteger(String.valueOf(b));\n //BigInteger d = a.multiply(c);\n //System.out.println(orig);\n BigDecimal res = a.multiply(orig);\n System.out.println(res.toBigInteger().longValueExact());\n \n // System.out.printf(\"%.f\",res);\n \n }\n \n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.StringTokenizer;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Varun
*/
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args) throws IOException {
// TODO code application logic here
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
// BigInteger a = new BigInteger(st.nextToken());
final BigDecimal a = new BigDecimal( st.nextToken() );
final BigDecimal orig = new BigDecimal( st.nextToken() );
//BigInteger c = new BigInteger(String.valueOf(b));
//BigInteger d = a.multiply(c);
//System.out.println(orig);
BigDecimal res = a.multiply(orig);
System.out.println(res.toBigInteger().longValueExact());
// System.out.printf("%.f",res);
}
}
|
[
7,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
29,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
4,
13,
17,
41,
13,
4,
18,
18,
13,
17,
17,
41,
13,
20,
41,
13,
18,
13,
17,
41,
13,
2,
2,
18,
13,
17,
4,
13,
4,
18,
18,
13,
17,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
18,
4,
18,
4,
18,
13,
13,
17,
17,
14,
2,
2,
4,
18,
13,
4,
18,
18,
13,
17,
17,
30,
4,
13,
17,
29,
41,
13,
4,
18,
13,
17,
2,
4,
18,
13,
4,
18,
18,
13,
17,
4,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
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,
18,
13,
13,
29,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
20,
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,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
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,
18,
13,
13,
29,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
312,
2
],
[
312,
3
],
[
3,
4
],
[
3,
5
],
[
312,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
6,
30
],
[
30,
31
],
[
312,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
37,
41
],
[
34,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
34,
50
],
[
50,
51
],
[
50,
52
],
[
34,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
34,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
60,
72
],
[
72,
73
],
[
72,
74
],
[
34,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
34,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
83,
89
],
[
82,
90
],
[
34,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
93,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
92,
102
],
[
91,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
34,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
110,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
114,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
34,
123
],
[
123,
124
],
[
123,
125
],
[
34,
126
],
[
126,
127
],
[
127,
128
],
[
32,
129
],
[
129,
130
],
[
312,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
312,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
140,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
140,
151
],
[
151,
152
],
[
151,
153
],
[
154,
155
],
[
154,
156
],
[
140,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
157,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
164,
166
],
[
157,
167
],
[
167,
168
],
[
168,
169
],
[
157,
170
],
[
171,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
176,
177
],
[
177,
178
],
[
176,
179
],
[
179,
180
],
[
179,
181
],
[
140,
182
],
[
182,
183
],
[
312,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
186,
191
],
[
191,
192
],
[
191,
193
],
[
194,
195
],
[
194,
196
],
[
186,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
197,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
204,
206
],
[
197,
207
],
[
207,
208
],
[
208,
209
],
[
197,
210
],
[
211,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
216,
217
],
[
217,
218
],
[
216,
219
],
[
219,
220
],
[
219,
221
],
[
186,
222
],
[
222,
223
],
[
184,
224
],
[
224,
225
],
[
312,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
228,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
236,
237
],
[
235,
238
],
[
228,
239
],
[
239,
240
],
[
239,
241
],
[
242,
243
],
[
242,
244
],
[
228,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
245,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
252,
254
],
[
245,
255
],
[
255,
256
],
[
256,
257
],
[
245,
258
],
[
259,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
260,
264
],
[
264,
265
],
[
265,
266
],
[
264,
267
],
[
267,
268
],
[
267,
269
],
[
228,
270
],
[
270,
271
],
[
312,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
275,
280
],
[
272,
281
],
[
281,
282
],
[
312,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
286,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
293,
295
],
[
286,
296
],
[
296,
297
],
[
297,
298
],
[
286,
299
],
[
300,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
303,
305
],
[
301,
306
],
[
306,
307
],
[
306,
308
],
[
283,
309
],
[
309,
310
],
[
0,
311
],
[
311,
312
],
[
311,
313
]
] |
[
"public class Main {\n\n static java.util.Scanner scan = new java.util.Scanner(System.in);\n\n public static int pow(int a){\n int b = 1;\n for(int i = 0; i < a;i++){\n b *= 10;\n }\n return b;\n }\n\n public static void main(String[] args) {\n\n String[] line = line().split(\" \");\n String[] sliced_period = line[1].split(\"\\\\.\");\n\n Long[] vars = new Long[]{Long.parseLong(line[0]),Long.parseLong(sliced_period[0]),Long.parseLong(sliced_period[1])};\n\n Long first = vars[0];\n Long second = (vars[1] * (pow(sliced_period[1].length())))+vars[2];\n Long calc = first * second;\n String parse = String.valueOf(calc).split(\"\\\\.\")[0];\n\n if(parse.length() - sliced_period[1].length() <= 0){\n puts(\"0\");\n return;\n }\n\n String floor = parse.substring(0,(parse.length())-sliced_period[1].length());\n puts(floor);\n\n scan.close();\n }\n\n public static String line(){\n return scan.nextLine();\n }\n\n public static int[] lineInts(){\n String l = line();\n String[] l1 = l.split(\" \");\n int[] a = new int[l1.length];\n for(int i = 0; i < l1.length; i++){\n a[i] = Integer.parseInt(l1[i]);\n }\n return a;\n }\n\n public static int[] split_piriod_Ints(String[] a){\n String l = line();\n int[] b = new int[a.length];\n for(int i = 0; i < a.length; i++){\n b[i] = Integer.parseInt(a[i]);\n }\n return b;\n }\n\n public static long[] lineLongs(){\n String l = line();\n String[] l1 = l.split(\" \");\n long[] a = new long[l1.length];\n for(int i = 0; i < l1.length; i++){\n a[i] = Long.parseLong(l1[i]);\n }\n return a;\n }\n\n public static void puts(Object a){\n System.out.println(a);\n }\n\n public static void puts(Object... a){\n for(int i = 0; i<a.length;i++){\n System.out.println(a[i]);\n }\n }\n}",
"public class Main {\n\n static java.util.Scanner scan = new java.util.Scanner(System.in);\n\n public static int pow(int a){\n int b = 1;\n for(int i = 0; i < a;i++){\n b *= 10;\n }\n return b;\n }\n\n public static void main(String[] args) {\n\n String[] line = line().split(\" \");\n String[] sliced_period = line[1].split(\"\\\\.\");\n\n Long[] vars = new Long[]{Long.parseLong(line[0]),Long.parseLong(sliced_period[0]),Long.parseLong(sliced_period[1])};\n\n Long first = vars[0];\n Long second = (vars[1] * (pow(sliced_period[1].length())))+vars[2];\n Long calc = first * second;\n String parse = String.valueOf(calc).split(\"\\\\.\")[0];\n\n if(parse.length() - sliced_period[1].length() <= 0){\n puts(\"0\");\n return;\n }\n\n String floor = parse.substring(0,(parse.length())-sliced_period[1].length());\n puts(floor);\n\n scan.close();\n }\n\n public static String line(){\n return scan.nextLine();\n }\n\n public static int[] lineInts(){\n String l = line();\n String[] l1 = l.split(\" \");\n int[] a = new int[l1.length];\n for(int i = 0; i < l1.length; i++){\n a[i] = Integer.parseInt(l1[i]);\n }\n return a;\n }\n\n public static int[] split_piriod_Ints(String[] a){\n String l = line();\n int[] b = new int[a.length];\n for(int i = 0; i < a.length; i++){\n b[i] = Integer.parseInt(a[i]);\n }\n return b;\n }\n\n public static long[] lineLongs(){\n String l = line();\n String[] l1 = l.split(\" \");\n long[] a = new long[l1.length];\n for(int i = 0; i < l1.length; i++){\n a[i] = Long.parseLong(l1[i]);\n }\n return a;\n }\n\n public static void puts(Object a){\n System.out.println(a);\n }\n\n public static void puts(Object... a){\n for(int i = 0; i<a.length;i++){\n System.out.println(a[i]);\n }\n }\n}",
"Main",
"static java.util.Scanner scan = new java.util.Scanner(System.in);",
"scan",
"new java.util.Scanner(System.in)",
"public static int pow(int a){\n int b = 1;\n for(int i = 0; i < a;i++){\n b *= 10;\n }\n return b;\n }",
"pow",
"{\n int b = 1;\n for(int i = 0; i < a;i++){\n b *= 10;\n }\n return b;\n }",
"int b = 1;",
"b",
"1",
"for(int i = 0; i < a;i++){\n b *= 10;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a",
"i",
"a",
"i++",
"i++",
"i",
"{\n b *= 10;\n }",
"{\n b *= 10;\n }",
"b *= 10",
"b",
"10",
"return b;",
"b",
"int a",
"a",
"public static void main(String[] args) {\n\n String[] line = line().split(\" \");\n String[] sliced_period = line[1].split(\"\\\\.\");\n\n Long[] vars = new Long[]{Long.parseLong(line[0]),Long.parseLong(sliced_period[0]),Long.parseLong(sliced_period[1])};\n\n Long first = vars[0];\n Long second = (vars[1] * (pow(sliced_period[1].length())))+vars[2];\n Long calc = first * second;\n String parse = String.valueOf(calc).split(\"\\\\.\")[0];\n\n if(parse.length() - sliced_period[1].length() <= 0){\n puts(\"0\");\n return;\n }\n\n String floor = parse.substring(0,(parse.length())-sliced_period[1].length());\n puts(floor);\n\n scan.close();\n }",
"main",
"{\n\n String[] line = line().split(\" \");\n String[] sliced_period = line[1].split(\"\\\\.\");\n\n Long[] vars = new Long[]{Long.parseLong(line[0]),Long.parseLong(sliced_period[0]),Long.parseLong(sliced_period[1])};\n\n Long first = vars[0];\n Long second = (vars[1] * (pow(sliced_period[1].length())))+vars[2];\n Long calc = first * second;\n String parse = String.valueOf(calc).split(\"\\\\.\")[0];\n\n if(parse.length() - sliced_period[1].length() <= 0){\n puts(\"0\");\n return;\n }\n\n String floor = parse.substring(0,(parse.length())-sliced_period[1].length());\n puts(floor);\n\n scan.close();\n }",
"String[] line = line().split(\" \");",
"line",
"line().split(\" \")",
"line().split",
"line()",
"line",
"\" \"",
"String[] sliced_period = line[1].split(\"\\\\.\");",
"sliced_period",
"line[1].split(\"\\\\.\")",
"line[1].split",
"line[1]",
"line",
"1",
"\"\\\\.\"",
"Long[] vars = new Long[]{Long.parseLong(line[0]),Long.parseLong(sliced_period[0]),Long.parseLong(sliced_period[1])};",
"vars",
"new Long[]{Long.parseLong(line[0]),Long.parseLong(sliced_period[0]),Long.parseLong(sliced_period[1])}",
"Long first = vars[0];",
"first",
"vars[0]",
"vars",
"0",
"Long second = (vars[1] * (pow(sliced_period[1].length())))+vars[2];",
"second",
"(vars[1] * (pow(sliced_period[1].length())))+vars[2]",
"(vars[1] * (pow(sliced_period[1].length())))",
"vars[1]",
"vars",
"1",
"(pow(sliced_period[1].length()))",
"pow",
"sliced_period[1].length()",
"sliced_period[1].length",
"sliced_period[1]",
"sliced_period",
"1",
"vars[2]",
"vars",
"2",
"Long calc = first * second;",
"calc",
"first * second",
"first",
"second",
"String parse = String.valueOf(calc).split(\"\\\\.\")[0];",
"parse",
"String.valueOf(calc).split(\"\\\\.\")[0]",
"String.valueOf(calc).split(\"\\\\.\")",
"String.valueOf(calc).split",
"String.valueOf(calc)",
"String.valueOf",
"String",
"calc",
"\"\\\\.\"",
"0",
"if(parse.length() - sliced_period[1].length() <= 0){\n puts(\"0\");\n return;\n }",
"parse.length() - sliced_period[1].length() <= 0",
"parse.length() - sliced_period[1].length()",
"parse.length()",
"parse.length",
"parse",
"sliced_period[1].length()",
"sliced_period[1].length",
"sliced_period[1]",
"sliced_period",
"1",
"0",
"{\n puts(\"0\");\n return;\n }",
"puts(\"0\")",
"puts",
"\"0\"",
"return;",
"String floor = parse.substring(0,(parse.length())-sliced_period[1].length());",
"floor",
"parse.substring(0,(parse.length())-sliced_period[1].length())",
"parse.substring",
"parse",
"0",
"(parse.length())-sliced_period[1].length()",
"(parse.length())",
"parse.length",
"parse",
"sliced_period[1].length()",
"sliced_period[1].length",
"sliced_period[1]",
"sliced_period",
"1",
"puts(floor)",
"puts",
"floor",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public static String line(){\n return scan.nextLine();\n }",
"line",
"{\n return scan.nextLine();\n }",
"return scan.nextLine();",
"scan.nextLine()",
"scan.nextLine",
"scan",
"public static int[] lineInts(){\n String l = line();\n String[] l1 = l.split(\" \");\n int[] a = new int[l1.length];\n for(int i = 0; i < l1.length; i++){\n a[i] = Integer.parseInt(l1[i]);\n }\n return a;\n }",
"lineInts",
"{\n String l = line();\n String[] l1 = l.split(\" \");\n int[] a = new int[l1.length];\n for(int i = 0; i < l1.length; i++){\n a[i] = Integer.parseInt(l1[i]);\n }\n return a;\n }",
"String l = line();",
"l",
"line()",
"line",
"String[] l1 = l.split(\" \");",
"l1",
"l.split(\" \")",
"l.split",
"l",
"\" \"",
"int[] a = new int[l1.length];",
"a",
"new int[l1.length]",
"l1.length",
"l1",
"l1.length",
"for(int i = 0; i < l1.length; i++){\n a[i] = Integer.parseInt(l1[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < l1.length",
"i",
"l1.length",
"l1",
"l1.length",
"i++",
"i++",
"i",
"{\n a[i] = Integer.parseInt(l1[i]);\n }",
"{\n a[i] = Integer.parseInt(l1[i]);\n }",
"a[i] = Integer.parseInt(l1[i])",
"a[i]",
"a",
"i",
"Integer.parseInt(l1[i])",
"Integer.parseInt",
"Integer",
"l1[i]",
"l1",
"i",
"return a;",
"a",
"public static int[] split_piriod_Ints(String[] a){\n String l = line();\n int[] b = new int[a.length];\n for(int i = 0; i < a.length; i++){\n b[i] = Integer.parseInt(a[i]);\n }\n return b;\n }",
"split_piriod_Ints",
"{\n String l = line();\n int[] b = new int[a.length];\n for(int i = 0; i < a.length; i++){\n b[i] = Integer.parseInt(a[i]);\n }\n return b;\n }",
"String l = line();",
"l",
"line()",
"line",
"int[] b = new int[a.length];",
"b",
"new int[a.length]",
"a.length",
"a",
"a.length",
"for(int i = 0; i < a.length; i++){\n b[i] = Integer.parseInt(a[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n b[i] = Integer.parseInt(a[i]);\n }",
"{\n b[i] = Integer.parseInt(a[i]);\n }",
"b[i] = Integer.parseInt(a[i])",
"b[i]",
"b",
"i",
"Integer.parseInt(a[i])",
"Integer.parseInt",
"Integer",
"a[i]",
"a",
"i",
"return b;",
"b",
"String[] a",
"a",
"public static long[] lineLongs(){\n String l = line();\n String[] l1 = l.split(\" \");\n long[] a = new long[l1.length];\n for(int i = 0; i < l1.length; i++){\n a[i] = Long.parseLong(l1[i]);\n }\n return a;\n }",
"lineLongs",
"{\n String l = line();\n String[] l1 = l.split(\" \");\n long[] a = new long[l1.length];\n for(int i = 0; i < l1.length; i++){\n a[i] = Long.parseLong(l1[i]);\n }\n return a;\n }",
"String l = line();",
"l",
"line()",
"line",
"String[] l1 = l.split(\" \");",
"l1",
"l.split(\" \")",
"l.split",
"l",
"\" \"",
"long[] a = new long[l1.length];",
"a",
"new long[l1.length]",
"l1.length",
"l1",
"l1.length",
"for(int i = 0; i < l1.length; i++){\n a[i] = Long.parseLong(l1[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < l1.length",
"i",
"l1.length",
"l1",
"l1.length",
"i++",
"i++",
"i",
"{\n a[i] = Long.parseLong(l1[i]);\n }",
"{\n a[i] = Long.parseLong(l1[i]);\n }",
"a[i] = Long.parseLong(l1[i])",
"a[i]",
"a",
"i",
"Long.parseLong(l1[i])",
"Long.parseLong",
"Long",
"l1[i]",
"l1",
"i",
"return a;",
"a",
"public static void puts(Object a){\n System.out.println(a);\n }",
"puts",
"{\n System.out.println(a);\n }",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"Object a",
"a",
"public static void puts(Object... a){\n for(int i = 0; i<a.length;i++){\n System.out.println(a[i]);\n }\n }",
"puts",
"{\n for(int i = 0; i<a.length;i++){\n System.out.println(a[i]);\n }\n }",
"for(int i = 0; i<a.length;i++){\n System.out.println(a[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n System.out.println(a[i]);\n }",
"{\n System.out.println(a[i]);\n }",
"System.out.println(a[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"Object... a",
"a",
"public class Main {\n\n static java.util.Scanner scan = new java.util.Scanner(System.in);\n\n public static int pow(int a){\n int b = 1;\n for(int i = 0; i < a;i++){\n b *= 10;\n }\n return b;\n }\n\n public static void main(String[] args) {\n\n String[] line = line().split(\" \");\n String[] sliced_period = line[1].split(\"\\\\.\");\n\n Long[] vars = new Long[]{Long.parseLong(line[0]),Long.parseLong(sliced_period[0]),Long.parseLong(sliced_period[1])};\n\n Long first = vars[0];\n Long second = (vars[1] * (pow(sliced_period[1].length())))+vars[2];\n Long calc = first * second;\n String parse = String.valueOf(calc).split(\"\\\\.\")[0];\n\n if(parse.length() - sliced_period[1].length() <= 0){\n puts(\"0\");\n return;\n }\n\n String floor = parse.substring(0,(parse.length())-sliced_period[1].length());\n puts(floor);\n\n scan.close();\n }\n\n public static String line(){\n return scan.nextLine();\n }\n\n public static int[] lineInts(){\n String l = line();\n String[] l1 = l.split(\" \");\n int[] a = new int[l1.length];\n for(int i = 0; i < l1.length; i++){\n a[i] = Integer.parseInt(l1[i]);\n }\n return a;\n }\n\n public static int[] split_piriod_Ints(String[] a){\n String l = line();\n int[] b = new int[a.length];\n for(int i = 0; i < a.length; i++){\n b[i] = Integer.parseInt(a[i]);\n }\n return b;\n }\n\n public static long[] lineLongs(){\n String l = line();\n String[] l1 = l.split(\" \");\n long[] a = new long[l1.length];\n for(int i = 0; i < l1.length; i++){\n a[i] = Long.parseLong(l1[i]);\n }\n return a;\n }\n\n public static void puts(Object a){\n System.out.println(a);\n }\n\n public static void puts(Object... a){\n for(int i = 0; i<a.length;i++){\n System.out.println(a[i]);\n }\n }\n}",
"public class Main {\n\n static java.util.Scanner scan = new java.util.Scanner(System.in);\n\n public static int pow(int a){\n int b = 1;\n for(int i = 0; i < a;i++){\n b *= 10;\n }\n return b;\n }\n\n public static void main(String[] args) {\n\n String[] line = line().split(\" \");\n String[] sliced_period = line[1].split(\"\\\\.\");\n\n Long[] vars = new Long[]{Long.parseLong(line[0]),Long.parseLong(sliced_period[0]),Long.parseLong(sliced_period[1])};\n\n Long first = vars[0];\n Long second = (vars[1] * (pow(sliced_period[1].length())))+vars[2];\n Long calc = first * second;\n String parse = String.valueOf(calc).split(\"\\\\.\")[0];\n\n if(parse.length() - sliced_period[1].length() <= 0){\n puts(\"0\");\n return;\n }\n\n String floor = parse.substring(0,(parse.length())-sliced_period[1].length());\n puts(floor);\n\n scan.close();\n }\n\n public static String line(){\n return scan.nextLine();\n }\n\n public static int[] lineInts(){\n String l = line();\n String[] l1 = l.split(\" \");\n int[] a = new int[l1.length];\n for(int i = 0; i < l1.length; i++){\n a[i] = Integer.parseInt(l1[i]);\n }\n return a;\n }\n\n public static int[] split_piriod_Ints(String[] a){\n String l = line();\n int[] b = new int[a.length];\n for(int i = 0; i < a.length; i++){\n b[i] = Integer.parseInt(a[i]);\n }\n return b;\n }\n\n public static long[] lineLongs(){\n String l = line();\n String[] l1 = l.split(\" \");\n long[] a = new long[l1.length];\n for(int i = 0; i < l1.length; i++){\n a[i] = Long.parseLong(l1[i]);\n }\n return a;\n }\n\n public static void puts(Object a){\n System.out.println(a);\n }\n\n public static void puts(Object... a){\n for(int i = 0; i<a.length;i++){\n System.out.println(a[i]);\n }\n }\n}",
"Main"
] |
public class Main {
static java.util.Scanner scan = new java.util.Scanner(System.in);
public static int pow(int a){
int b = 1;
for(int i = 0; i < a;i++){
b *= 10;
}
return b;
}
public static void main(String[] args) {
String[] line = line().split(" ");
String[] sliced_period = line[1].split("\\.");
Long[] vars = new Long[]{Long.parseLong(line[0]),Long.parseLong(sliced_period[0]),Long.parseLong(sliced_period[1])};
Long first = vars[0];
Long second = (vars[1] * (pow(sliced_period[1].length())))+vars[2];
Long calc = first * second;
String parse = String.valueOf(calc).split("\\.")[0];
if(parse.length() - sliced_period[1].length() <= 0){
puts("0");
return;
}
String floor = parse.substring(0,(parse.length())-sliced_period[1].length());
puts(floor);
scan.close();
}
public static String line(){
return scan.nextLine();
}
public static int[] lineInts(){
String l = line();
String[] l1 = l.split(" ");
int[] a = new int[l1.length];
for(int i = 0; i < l1.length; i++){
a[i] = Integer.parseInt(l1[i]);
}
return a;
}
public static int[] split_piriod_Ints(String[] a){
String l = line();
int[] b = new int[a.length];
for(int i = 0; i < a.length; i++){
b[i] = Integer.parseInt(a[i]);
}
return b;
}
public static long[] lineLongs(){
String l = line();
String[] l1 = l.split(" ");
long[] a = new long[l1.length];
for(int i = 0; i < l1.length; i++){
a[i] = Long.parseLong(l1[i]);
}
return a;
}
public static void puts(Object a){
System.out.println(a);
}
public static void puts(Object... a){
for(int i = 0; i<a.length;i++){
System.out.println(a[i]);
}
}
}
|
[
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,
2,
13,
17,
41,
13,
2,
2,
13,
2,
2,
13,
17,
17,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
67,
11
],
[
67,
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
],
[
44,
46
],
[
14,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
49,
57
],
[
14,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
12,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str[] = br.readLine().split(\" \");\n\n\t\tlong a = Long.parseLong(str[0]);\n\t\tdouble b = Double.parseDouble(str[1]);\n\n\t\tlong c = (long) b * 100;\n\t\tlong d = a * (long) (b * 100 + 0.001) / 100;\n\t\tSystem.out.println(d);\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\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str[] = br.readLine().split(\" \");\n\n\t\tlong a = Long.parseLong(str[0]);\n\t\tdouble b = Double.parseDouble(str[1]);\n\n\t\tlong c = (long) b * 100;\n\t\tlong d = a * (long) (b * 100 + 0.001) / 100;\n\t\tSystem.out.println(d);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str[] = br.readLine().split(\" \");\n\n\t\tlong a = Long.parseLong(str[0]);\n\t\tdouble b = Double.parseDouble(str[1]);\n\n\t\tlong c = (long) b * 100;\n\t\tlong d = a * (long) (b * 100 + 0.001) / 100;\n\t\tSystem.out.println(d);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str[] = br.readLine().split(\" \");\n\n\t\tlong a = Long.parseLong(str[0]);\n\t\tdouble b = Double.parseDouble(str[1]);\n\n\t\tlong c = (long) b * 100;\n\t\tlong d = a * (long) (b * 100 + 0.001) / 100;\n\t\tSystem.out.println(d);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str[] = br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"long a = Long.parseLong(str[0]);",
"a",
"Long.parseLong(str[0])",
"Long.parseLong",
"Long",
"str[0]",
"str",
"0",
"double b = Double.parseDouble(str[1]);",
"b",
"Double.parseDouble(str[1])",
"Double.parseDouble",
"Double",
"str[1]",
"str",
"1",
"long c = (long) b * 100;",
"c",
"(long) b * 100",
"(long) b",
"100",
"long d = a * (long) (b * 100 + 0.001) / 100;",
"d",
"a * (long) (b * 100 + 0.001) / 100",
"a * (long) (b * 100 + 0.001)",
"a",
"(long) (b * 100 + 0.001)",
"b * 100",
"b",
"100",
"0.001",
"100",
"System.out.println(d)",
"System.out.println",
"System.out",
"System",
"System.out",
"d",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str[] = br.readLine().split(\" \");\n\n\t\tlong a = Long.parseLong(str[0]);\n\t\tdouble b = Double.parseDouble(str[1]);\n\n\t\tlong c = (long) b * 100;\n\t\tlong d = a * (long) (b * 100 + 0.001) / 100;\n\t\tSystem.out.println(d);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str[] = br.readLine().split(\" \");\n\n\t\tlong a = Long.parseLong(str[0]);\n\t\tdouble b = Double.parseDouble(str[1]);\n\n\t\tlong c = (long) b * 100;\n\t\tlong d = a * (long) (b * 100 + 0.001) / 100;\n\t\tSystem.out.println(d);\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 IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str[] = br.readLine().split(" ");
long a = Long.parseLong(str[0]);
double b = Double.parseDouble(str[1]);
long c = (long) b * 100;
long d = a * (long) (b * 100 + 0.001) / 100;
System.out.println(d);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
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
],
[
53,
8
],
[
53,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
13,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
13,
27
],
[
27,
28
],
[
27,
29
],
[
13,
30
],
[
30,
31
],
[
30,
32
],
[
13,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
13,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
13,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
9,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\n\t\t\tString a = sc.next();\n\t\t\tString b = sc.next();\n\t\t\t\n\t\t\tBigDecimal bigA = new BigDecimal(a);\n\t\t\tBigDecimal bigB = new BigDecimal(b);\n\t\t\t\n\t\t\t\n\t\t\tBigDecimal c = bigA.multiply(bigB);\n\t\t\t\n\t\t\tlong ans = c.longValue();\n\t\t\t\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\n\t\t\tString a = sc.next();\n\t\t\tString b = sc.next();\n\t\t\t\n\t\t\tBigDecimal bigA = new BigDecimal(a);\n\t\t\tBigDecimal bigB = new BigDecimal(b);\n\t\t\t\n\t\t\t\n\t\t\tBigDecimal c = bigA.multiply(bigB);\n\t\t\t\n\t\t\tlong ans = c.longValue();\n\t\t\t\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\n\t\t\tString a = sc.next();\n\t\t\tString b = sc.next();\n\t\t\t\n\t\t\tBigDecimal bigA = new BigDecimal(a);\n\t\t\tBigDecimal bigB = new BigDecimal(b);\n\t\t\t\n\t\t\t\n\t\t\tBigDecimal c = bigA.multiply(bigB);\n\t\t\t\n\t\t\tlong ans = c.longValue();\n\t\t\t\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}",
"main",
"{\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\n\t\t\tString a = sc.next();\n\t\t\tString b = sc.next();\n\t\t\t\n\t\t\tBigDecimal bigA = new BigDecimal(a);\n\t\t\tBigDecimal bigB = new BigDecimal(b);\n\t\t\t\n\t\t\t\n\t\t\tBigDecimal c = bigA.multiply(bigB);\n\t\t\t\n\t\t\tlong ans = c.longValue();\n\t\t\t\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}",
"try(Scanner sc = new Scanner(System.in)) {\n\n\t\t\tString a = sc.next();\n\t\t\tString b = sc.next();\n\t\t\t\n\t\t\tBigDecimal bigA = new BigDecimal(a);\n\t\t\tBigDecimal bigB = new BigDecimal(b);\n\t\t\t\n\t\t\t\n\t\t\tBigDecimal c = bigA.multiply(bigB);\n\t\t\t\n\t\t\tlong ans = c.longValue();\n\t\t\t\n\t\t\tSystem.out.println(ans);\n\t\t}",
"{\n\n\t\t\tString a = sc.next();\n\t\t\tString b = sc.next();\n\t\t\t\n\t\t\tBigDecimal bigA = new BigDecimal(a);\n\t\t\tBigDecimal bigB = new BigDecimal(b);\n\t\t\t\n\t\t\t\n\t\t\tBigDecimal c = bigA.multiply(bigB);\n\t\t\t\n\t\t\tlong ans = c.longValue();\n\t\t\t\n\t\t\tSystem.out.println(ans);\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"BigDecimal bigA = new BigDecimal(a);",
"bigA",
"new BigDecimal(a)",
"BigDecimal bigB = new BigDecimal(b);",
"bigB",
"new BigDecimal(b)",
"BigDecimal c = bigA.multiply(bigB);",
"c",
"bigA.multiply(bigB)",
"bigA.multiply",
"bigA",
"bigB",
"long ans = c.longValue();",
"ans",
"c.longValue()",
"c.longValue",
"c",
"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\ttry(Scanner sc = new Scanner(System.in)) {\n\n\t\t\tString a = sc.next();\n\t\t\tString b = sc.next();\n\t\t\t\n\t\t\tBigDecimal bigA = new BigDecimal(a);\n\t\t\tBigDecimal bigB = new BigDecimal(b);\n\t\t\t\n\t\t\t\n\t\t\tBigDecimal c = bigA.multiply(bigB);\n\t\t\t\n\t\t\tlong ans = c.longValue();\n\t\t\t\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\n\t\t\tString a = sc.next();\n\t\t\tString b = sc.next();\n\t\t\t\n\t\t\tBigDecimal bigA = new BigDecimal(a);\n\t\t\tBigDecimal bigB = new BigDecimal(b);\n\t\t\t\n\t\t\t\n\t\t\tBigDecimal c = bigA.multiply(bigB);\n\t\t\t\n\t\t\tlong ans = c.longValue();\n\t\t\t\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
try(Scanner sc = new Scanner(System.in)) {
String a = sc.next();
String b = sc.next();
BigDecimal bigA = new BigDecimal(a);
BigDecimal bigB = new BigDecimal(b);
BigDecimal c = bigA.multiply(bigB);
long ans = c.longValue();
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,
13,
41,
13,
4,
18,
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
],
[
48,
11
],
[
48,
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
],
[
30,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
14,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
12,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan =new Scanner(System.in);\n\t\tBigDecimal A = scan.nextBigDecimal();\n\t\tBigDecimal B= scan.nextBigDecimal();\n\t\tBigDecimal seki = B.multiply(A);\n\t\tlong C = seki.longValue();\n\t\tSystem.out.println(C);\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan =new Scanner(System.in);\n\t\tBigDecimal A = scan.nextBigDecimal();\n\t\tBigDecimal B= scan.nextBigDecimal();\n\t\tBigDecimal seki = B.multiply(A);\n\t\tlong C = seki.longValue();\n\t\tSystem.out.println(C);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan =new Scanner(System.in);\n\t\tBigDecimal A = scan.nextBigDecimal();\n\t\tBigDecimal B= scan.nextBigDecimal();\n\t\tBigDecimal seki = B.multiply(A);\n\t\tlong C = seki.longValue();\n\t\tSystem.out.println(C);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan =new Scanner(System.in);\n\t\tBigDecimal A = scan.nextBigDecimal();\n\t\tBigDecimal B= scan.nextBigDecimal();\n\t\tBigDecimal seki = B.multiply(A);\n\t\tlong C = seki.longValue();\n\t\tSystem.out.println(C);\n\t}",
"Scanner scan =new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"BigDecimal A = scan.nextBigDecimal();",
"A",
"scan.nextBigDecimal()",
"scan.nextBigDecimal",
"scan",
"BigDecimal B= scan.nextBigDecimal();",
"B",
"scan.nextBigDecimal()",
"scan.nextBigDecimal",
"scan",
"BigDecimal seki = B.multiply(A);",
"seki",
"B.multiply(A)",
"B.multiply",
"B",
"A",
"long C = seki.longValue();",
"C",
"seki.longValue()",
"seki.longValue",
"seki",
"System.out.println(C)",
"System.out.println",
"System.out",
"System",
"System.out",
"C",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan =new Scanner(System.in);\n\t\tBigDecimal A = scan.nextBigDecimal();\n\t\tBigDecimal B= scan.nextBigDecimal();\n\t\tBigDecimal seki = B.multiply(A);\n\t\tlong C = seki.longValue();\n\t\tSystem.out.println(C);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan =new Scanner(System.in);\n\t\tBigDecimal A = scan.nextBigDecimal();\n\t\tBigDecimal B= scan.nextBigDecimal();\n\t\tBigDecimal seki = B.multiply(A);\n\t\tlong C = seki.longValue();\n\t\tSystem.out.println(C);\n\t}\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan =new Scanner(System.in);
BigDecimal A = scan.nextBigDecimal();
BigDecimal B= scan.nextBigDecimal();
BigDecimal seki = B.multiply(A);
long C = seki.longValue();
System.out.println(C);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
18,
13,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
13,
20,
4,
18,
13,
4,
18,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
64,
14
],
[
64,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
15,
26
],
[
26,
27
],
[
64,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
30,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
30,
44
],
[
44,
45
],
[
44,
46
],
[
30,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
30,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
28,
59
],
[
59,
60
],
[
28,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] |
[
"import java.io.InputStream;\nimport java.io.PrintStream;\nimport java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long A = scan.nextLong();\n Double B = scan.nextDouble();\n BigDecimal BB = new BigDecimal(B.toString());\n BigDecimal BD = BB.multiply(new BigDecimal(A));\n\n os.println(BD.longValue());\n }\n}",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintStream;",
"PrintStream",
"java.io",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long A = scan.nextLong();\n Double B = scan.nextDouble();\n BigDecimal BB = new BigDecimal(B.toString());\n BigDecimal BD = BB.multiply(new BigDecimal(A));\n\n os.println(BD.longValue());\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }",
"main",
"{\n solve(System.in, System.out);\n }",
"solve(System.in, System.out)",
"solve",
"System.in",
"System",
"System.in",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long A = scan.nextLong();\n Double B = scan.nextDouble();\n BigDecimal BB = new BigDecimal(B.toString());\n BigDecimal BD = BB.multiply(new BigDecimal(A));\n\n os.println(BD.longValue());\n }",
"solve",
"{\n // Your code here!\n Scanner scan = new Scanner(is);\n long A = scan.nextLong();\n Double B = scan.nextDouble();\n BigDecimal BB = new BigDecimal(B.toString());\n BigDecimal BD = BB.multiply(new BigDecimal(A));\n\n os.println(BD.longValue());\n }",
"Scanner scan = new Scanner(is);",
"scan",
"new Scanner(is)",
"long A = scan.nextLong();",
"A",
"scan.nextLong()",
"scan.nextLong",
"scan",
"Double B = scan.nextDouble();",
"B",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"BigDecimal BB = new BigDecimal(B.toString());",
"BB",
"new BigDecimal(B.toString())",
"BigDecimal BD = BB.multiply(new BigDecimal(A));",
"BD",
"BB.multiply(new BigDecimal(A))",
"BB.multiply",
"BB",
"new BigDecimal(A)",
"os.println(BD.longValue())",
"os.println",
"os",
"BD.longValue()",
"BD.longValue",
"BD",
"InputStream is",
"is",
"PrintStream os",
"os",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long A = scan.nextLong();\n Double B = scan.nextDouble();\n BigDecimal BB = new BigDecimal(B.toString());\n BigDecimal BD = BB.multiply(new BigDecimal(A));\n\n os.println(BD.longValue());\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long A = scan.nextLong();\n Double B = scan.nextDouble();\n BigDecimal BB = new BigDecimal(B.toString());\n BigDecimal BD = BB.multiply(new BigDecimal(A));\n\n os.println(BD.longValue());\n }\n}",
"Main"
] |
import java.io.InputStream;
import java.io.PrintStream;
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
solve(System.in, System.out);
}
static void solve(InputStream is, PrintStream os) {
// Your code here!
Scanner scan = new Scanner(is);
long A = scan.nextLong();
Double B = scan.nextDouble();
BigDecimal BB = new BigDecimal(B.toString());
BigDecimal BD = BB.multiply(new BigDecimal(A));
os.println(BD.longValue());
}
}
|
[
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,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
17,
18,
13,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
30,
29,
18,
13,
40,
13,
30,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
30,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
30,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
30,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
30,
37,
20,
29,
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
],
[
356,
29
],
[
356,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
32,
39
],
[
39,
40
],
[
39,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
32,
46
],
[
46,
47
],
[
47,
48
],
[
30,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
51,
55
],
[
55,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
59,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
57,
70
],
[
70,
71
],
[
51,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
74,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
74,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
90,
94
],
[
94,
95
],
[
94,
96
],
[
72,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
99,
106
],
[
106,
107
],
[
106,
108
],
[
99,
110
],
[
110,
111
],
[
110,
112
],
[
99,
113
],
[
113,
114
],
[
113,
115
],
[
99,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
124,
125
],
[
119,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
130,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
126,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
148,
149
],
[
149,
150
],
[
118,
151
],
[
151,
152
],
[
99,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
156,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
156,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
99,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
177,
178
],
[
177,
179
],
[
169,
180
],
[
180,
181
],
[
99,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
192,
194
],
[
185,
195
],
[
195,
196
],
[
196,
197
],
[
184,
198
],
[
198,
199
],
[
199,
200
],
[
99,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
204,
208
],
[
208,
209
],
[
209,
210
],
[
203,
211
],
[
211,
212
],
[
211,
213
],
[
203,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
203,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
218,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
223,
226
],
[
222,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
203,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
99,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
238,
242
],
[
242,
243
],
[
243,
244
],
[
237,
245
],
[
245,
246
],
[
245,
247
],
[
237,
248
],
[
248,
249
],
[
248,
250
],
[
237,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
237,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
255,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
259,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
237,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
268,
272
],
[
272,
273
],
[
272,
274
],
[
267,
275
],
[
275,
276
],
[
276,
277
],
[
237,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
286,
287
],
[
286,
288
],
[
281,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
289,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
295,
297
],
[
281,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
299,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
298,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
310,
314
],
[
298,
315
],
[
315,
316
],
[
316,
317
],
[
280,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
99,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
324,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
333,
335
],
[
330,
336
],
[
336,
337
],
[
336,
338
],
[
338,
339
],
[
338,
340
],
[
329,
341
],
[
341,
342
],
[
342,
343
],
[
324,
344
],
[
344,
345
],
[
99,
346
],
[
346,
347
],
[
346,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
351,
352
],
[
350,
353
],
[
353,
354
],
[
0,
355
],
[
355,
356
],
[
355,
357
]
] |
[
"import java.text.DecimalFormat;\nimport java.util.stream.LongStream;\nimport java.util.stream.IntStream;\nimport java.io.*;\nimport java.math.BigDecimal;\nimport java.math.BigInteger;\nimport java.util.*;\nimport java.util.List;\nimport java.awt.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n AtCoder problem = new AtCoder(sc);\n problem.solve(out);\n\n out.flush();\n }\n\n}\n\nclass AtCoder {\n\n /* 変数宣言 */\n String A, B;\n\n AtCoder(FastScanner sc) {\n A = sc.next();\n B = sc.next();\n }\n\n void solve(PrintWriter out) {\n BigDecimal aDecimal=new BigDecimal(A);\n BigDecimal bDecimal=new BigDecimal(B);\n\n BigDecimal result=aDecimal.multiply(bDecimal);\n\n out.println(result.setScale(0, BigDecimal.ROUND_DOWN));\n }\n}\n\n// https://qiita.com/p_shiki37/items/a0f6aac33bf60f5f65e4\nclass FastScanner {\n\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}",
"import java.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"import java.util.stream.LongStream;",
"LongStream",
"java.util.stream",
"import java.util.stream.IntStream;",
"IntStream",
"java.util.stream",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"import java.util.List;",
"List",
"java.util",
"import java.awt.*;",
"awt.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n AtCoder problem = new AtCoder(sc);\n problem.solve(out);\n\n out.flush();\n }\n\n}",
"Main",
"public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n AtCoder problem = new AtCoder(sc);\n problem.solve(out);\n\n out.flush();\n }",
"main",
"{\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n AtCoder problem = new AtCoder(sc);\n problem.solve(out);\n\n out.flush();\n }",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"AtCoder problem = new AtCoder(sc);",
"problem",
"new AtCoder(sc)",
"problem.solve(out)",
"problem.solve",
"problem",
"out",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"class AtCoder {\n\n /* 変数宣言 */\n String A, B;\n\n AtCoder(FastScanner sc) {\n A = sc.next();\n B = sc.next();\n }\n\n void solve(PrintWriter out) {\n BigDecimal aDecimal=new BigDecimal(A);\n BigDecimal bDecimal=new BigDecimal(B);\n\n BigDecimal result=aDecimal.multiply(bDecimal);\n\n out.println(result.setScale(0, BigDecimal.ROUND_DOWN));\n }\n}",
"AtCoder",
"/* 変数宣言 */\n String A",
"A",
"B;",
"B",
"AtCoder(FastScanner sc) {\n A = sc.next();\n B = sc.next();\n }",
"AtCoder",
"{\n A = sc.next();\n B = sc.next();\n }",
"A = sc.next()",
"A",
"sc.next()",
"sc.next",
"sc",
"B = sc.next()",
"B",
"sc.next()",
"sc.next",
"sc",
"FastScanner sc",
"sc",
"void solve(PrintWriter out) {\n BigDecimal aDecimal=new BigDecimal(A);\n BigDecimal bDecimal=new BigDecimal(B);\n\n BigDecimal result=aDecimal.multiply(bDecimal);\n\n out.println(result.setScale(0, BigDecimal.ROUND_DOWN));\n }",
"solve",
"{\n BigDecimal aDecimal=new BigDecimal(A);\n BigDecimal bDecimal=new BigDecimal(B);\n\n BigDecimal result=aDecimal.multiply(bDecimal);\n\n out.println(result.setScale(0, BigDecimal.ROUND_DOWN));\n }",
"BigDecimal aDecimal=new BigDecimal(A);",
"aDecimal",
"new BigDecimal(A)",
"BigDecimal bDecimal=new BigDecimal(B);",
"bDecimal",
"new BigDecimal(B)",
"BigDecimal result=aDecimal.multiply(bDecimal);",
"result",
"aDecimal.multiply(bDecimal)",
"aDecimal.multiply",
"aDecimal",
"bDecimal",
"out.println(result.setScale(0, BigDecimal.ROUND_DOWN))",
"out.println",
"out",
"result.setScale(0, BigDecimal.ROUND_DOWN)",
"result.setScale",
"result",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"PrintWriter out",
"out",
"class FastScanner {\n\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"hasNextByte",
"{\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr < buflen",
"ptr",
"buflen",
"{\n return true;\n }",
"return true;",
"true",
"{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr = 0",
"ptr",
"0",
"try {\n buflen = in.read(buffer);\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 buflen = in.read(buffer);\n }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n return false;\n }",
"buflen <= 0",
"buflen",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }",
"readByte",
"{\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }",
"if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }",
"hasNextByte()",
"hasNextByte",
"{\n return buffer[ptr++];\n }",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }",
"isPrintableChar",
"{\n return 33 <= c && c <= 126;\n }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }",
"hasNext",
"{\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"{\n ptr++;\n }",
"ptr++",
"ptr",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"next",
"{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"if (!hasNext()) {\n throw new NoSuchElementException();\n }",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n throw new NoSuchElementException();\n }",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"nextLong",
"{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"if (!hasNext()) {\n throw new NoSuchElementException();\n }",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n throw new NoSuchElementException();\n }",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"true",
"{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n n *= 10;\n n += b - '0';\n }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n return minus ? -n : n;\n }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }",
"nextInt",
"{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }",
"long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }",
"nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE",
"nl < Integer.MIN_VALUE",
"nl",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"nl > Integer.MAX_VALUE",
"nl",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public 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",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n AtCoder problem = new AtCoder(sc);\n problem.solve(out);\n\n out.flush();\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n AtCoder problem = new AtCoder(sc);\n problem.solve(out);\n\n out.flush();\n }\n\n}",
"Main"
] |
import java.text.DecimalFormat;
import java.util.stream.LongStream;
import java.util.stream.IntStream;
import java.io.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.*;
import java.util.List;
import java.awt.*;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner();
PrintWriter out = new PrintWriter(System.out);
AtCoder problem = new AtCoder(sc);
problem.solve(out);
out.flush();
}
}
class AtCoder {
/* 変数宣言 */
String A, B;
AtCoder(FastScanner sc) {
A = sc.next();
B = sc.next();
}
void solve(PrintWriter out) {
BigDecimal aDecimal=new BigDecimal(A);
BigDecimal bDecimal=new BigDecimal(B);
BigDecimal result=aDecimal.multiply(bDecimal);
out.println(result.setScale(0, BigDecimal.ROUND_DOWN));
}
}
// https://qiita.com/p_shiki37/items/a0f6aac33bf60f5f65e4
class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte()) {
return buffer[ptr++];
} else {
return -1;
}
}
private static boolean isPrintableChar(int c) {
return 33 <= c && c <= 126;
}
public boolean hasNext() {
while (hasNextByte() && !isPrintableChar(buffer[ptr])) {
ptr++;
}
return hasNextByte();
}
public String next() {
if (!hasNext()) {
throw new NoSuchElementException();
}
StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext()) {
throw new NoSuchElementException();
}
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
long nl = nextLong();
if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {
throw new NumberFormatException();
}
return (int) nl;
}
public double nextDouble() {
return Double.parseDouble(next());
}
}
|
[
7,
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,
13,
41,
13,
4,
18,
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
],
[
41,
8
],
[
41,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
11,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
9,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] |
[
"import java.math.BigDecimal;\nimport java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal a = new BigDecimal(scan.next());\n\t\tBigDecimal b = new BigDecimal(scan.next());\n\t\tBigDecimal tmp = a.multiply(b);\n\t\tlong ans = tmp.longValue();\n\t\tSystem.out.print(ans);\n\n\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal a = new BigDecimal(scan.next());\n\t\tBigDecimal b = new BigDecimal(scan.next());\n\t\tBigDecimal tmp = a.multiply(b);\n\t\tlong ans = tmp.longValue();\n\t\tSystem.out.print(ans);\n\n\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal a = new BigDecimal(scan.next());\n\t\tBigDecimal b = new BigDecimal(scan.next());\n\t\tBigDecimal tmp = a.multiply(b);\n\t\tlong ans = tmp.longValue();\n\t\tSystem.out.print(ans);\n\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal a = new BigDecimal(scan.next());\n\t\tBigDecimal b = new BigDecimal(scan.next());\n\t\tBigDecimal tmp = a.multiply(b);\n\t\tlong ans = tmp.longValue();\n\t\tSystem.out.print(ans);\n\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"BigDecimal a = new BigDecimal(scan.next());",
"a",
"new BigDecimal(scan.next())",
"BigDecimal b = new BigDecimal(scan.next());",
"b",
"new BigDecimal(scan.next())",
"BigDecimal tmp = a.multiply(b);",
"tmp",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"long ans = tmp.longValue();",
"ans",
"tmp.longValue()",
"tmp.longValue",
"tmp",
"System.out.print(ans)",
"System.out.print",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal a = new BigDecimal(scan.next());\n\t\tBigDecimal b = new BigDecimal(scan.next());\n\t\tBigDecimal tmp = a.multiply(b);\n\t\tlong ans = tmp.longValue();\n\t\tSystem.out.print(ans);\n\n\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal a = new BigDecimal(scan.next());\n\t\tBigDecimal b = new BigDecimal(scan.next());\n\t\tBigDecimal tmp = a.multiply(b);\n\t\tlong ans = tmp.longValue();\n\t\tSystem.out.print(ans);\n\n\n\t}\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
BigDecimal a = new BigDecimal(scan.next());
BigDecimal b = new BigDecimal(scan.next());
BigDecimal tmp = a.multiply(b);
long ans = tmp.longValue();
System.out.print(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
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,
13,
4,
13,
12,
13,
30,
29,
20,
23,
13,
12,
13,
30,
29,
4,
13,
4,
13,
12,
13,
30,
29,
20,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
29,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
29,
13,
12,
13,
30,
29,
4,
18,
13,
17,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
17,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
17,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
17,
13,
23,
13,
12,
13,
30,
4,
13,
4,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
20,
41,
13,
20,
0,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
4,
13,
13,
6,
13,
41,
13,
20,
41,
13,
17,
41,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
38,
5,
13,
30,
0,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
13,
13,
30,
3,
0,
13,
4,
18,
13,
12,
13,
30,
29,
2,
13,
13,
12,
13,
30,
14,
4,
13,
30,
41,
13,
4,
18,
13,
13,
40,
13,
29,
13,
30,
37,
20,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
331,
11
],
[
331,
12
],
[
12,
13
],
[
12,
14
],
[
331,
15
],
[
15,
16
],
[
15,
17
],
[
331,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
331,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
24,
31
],
[
31,
32
],
[
331,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
33,
42
],
[
42,
43
],
[
331,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
331,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
331,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
331,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
331,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
77,
82
],
[
82,
83
],
[
331,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
331,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
92,
97
],
[
97,
98
],
[
331,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
109,
119
],
[
119,
120
],
[
120,
121
],
[
109,
122
],
[
123,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
101,
134
],
[
134,
135
],
[
331,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
138,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
146,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
146,
156
],
[
156,
157
],
[
157,
158
],
[
146,
159
],
[
160,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
164,
165
],
[
165,
166
],
[
164,
167
],
[
167,
168
],
[
168,
169
],
[
167,
170
],
[
138,
171
],
[
171,
172
],
[
331,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
177,
180
],
[
177,
181
],
[
173,
182
],
[
182,
183
],
[
331,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
188,
191
],
[
188,
192
],
[
184,
193
],
[
193,
194
],
[
331,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
199,
202
],
[
199,
203
],
[
195,
204
],
[
204,
205
],
[
331,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
210,
213
],
[
210,
214
],
[
206,
215
],
[
215,
216
],
[
331,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
219,
222
],
[
222,
223
],
[
217,
224
],
[
224,
225
],
[
331,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
228,
233
],
[
233,
234
],
[
233,
235
],
[
228,
236
],
[
236,
237
],
[
236,
238
],
[
228,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
242,
243
],
[
241,
244
],
[
228,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
248,
249
],
[
228,
250
],
[
250,
251
],
[
250,
252
],
[
331,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
255,
257
],
[
253,
258
],
[
258,
259
],
[
258,
260
],
[
253,
261
],
[
261,
262
],
[
253,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
265,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
272,
273
],
[
271,
274
],
[
274,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
274,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
285,
286
],
[
271,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
287,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
292,
295
],
[
287,
296
],
[
296,
297
],
[
265,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
301,
302
],
[
253,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
253,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
313,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
320,
321
],
[
319,
322
],
[
316,
323
],
[
323,
324
],
[
316,
325
],
[
325,
326
],
[
313,
327
],
[
327,
328
],
[
328,
329
],
[
0,
330
],
[
330,
331
],
[
330,
332
]
] |
[
"import java.util.*;\nimport java.io.*;\nimport java.math.*;\npublic class Main{\n //↓見なくていいよ!ここから------------------------------------------\n static public class InputIterator{\n ArrayList<String> inputLine = new ArrayList<String>(1024);\n int index = 0; int max;\n InputIterator(){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }\n max = inputLine.size();\n }\n public boolean hasNext(){return (index < max);}\n public String next(){\n if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ。\");\n }\n }\n }\n \n static InputIterator ii = new InputIterator();//リアクティブでは使えないので諦めてScanner使うこと\n static PrintWriter out = new PrintWriter(System.out);\n static void flush(){out.flush();}\n static void myout(Object t){out.println(t);}\n static void myerr(Object t){System.err.println(t);}\n static String next(){return ii.next();}\n static int nextInt(){return Integer.parseInt(next());}\n static long nextLong(){return Long.parseLong(next());}\n static ArrayList<String> nextStrArray(){return myHanSpSplit(next());}\n static ArrayList<String> myHanSpSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\" \")));}\n static ArrayList<String> nextCharArray(){return mySingleSplit(next());}\n static ArrayList<String> mySingleSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\"\")));}\n static ArrayList<Integer> nextIntArray(){\n ArrayList<Integer> ret = new ArrayList<Integer>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Integer.parseInt(input.get(i)));\n }\n return ret;\n }\n static ArrayList<Long> nextLongArray(){\n ArrayList<Long> ret = new ArrayList<Long>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Long.parseLong(input.get(i)));\n }\n return ret;\n }\n static String kaigyoToStr(String[] list){return String.join(\"\\n\",list);}\n static String kaigyoToStr(ArrayList<String> list){return String.join(\"\\n\",list);}\n static String hanSpToStr(String[] list){return String.join(\" \",list);}\n static String hanSpToStr(ArrayList<String> list){return String.join(\" \",list);}\n public static void main(String[] args){\n solve();\n flush();\n }\n //↑見なくていいよ!ここまで------------------------------------------\n static public void solve(){//ここがメイン関数代わり\n ArrayList<String> tmp = nextStrArray();\n BigDecimal A = new BigDecimal(tmp.get(0));\n BigDecimal B = new BigDecimal(tmp.get(1));\n A = A.multiply(B);\n Long output = A.longValue();\n myout(output);\n \n }\n //Method addition frame start\n\n //Method addition frame end\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main{\n //↓見なくていいよ!ここから------------------------------------------\n static public class InputIterator{\n ArrayList<String> inputLine = new ArrayList<String>(1024);\n int index = 0; int max;\n InputIterator(){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }\n max = inputLine.size();\n }\n public boolean hasNext(){return (index < max);}\n public String next(){\n if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ。\");\n }\n }\n }\n \n static InputIterator ii = new InputIterator();//リアクティブでは使えないので諦めてScanner使うこと\n static PrintWriter out = new PrintWriter(System.out);\n static void flush(){out.flush();}\n static void myout(Object t){out.println(t);}\n static void myerr(Object t){System.err.println(t);}\n static String next(){return ii.next();}\n static int nextInt(){return Integer.parseInt(next());}\n static long nextLong(){return Long.parseLong(next());}\n static ArrayList<String> nextStrArray(){return myHanSpSplit(next());}\n static ArrayList<String> myHanSpSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\" \")));}\n static ArrayList<String> nextCharArray(){return mySingleSplit(next());}\n static ArrayList<String> mySingleSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\"\")));}\n static ArrayList<Integer> nextIntArray(){\n ArrayList<Integer> ret = new ArrayList<Integer>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Integer.parseInt(input.get(i)));\n }\n return ret;\n }\n static ArrayList<Long> nextLongArray(){\n ArrayList<Long> ret = new ArrayList<Long>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Long.parseLong(input.get(i)));\n }\n return ret;\n }\n static String kaigyoToStr(String[] list){return String.join(\"\\n\",list);}\n static String kaigyoToStr(ArrayList<String> list){return String.join(\"\\n\",list);}\n static String hanSpToStr(String[] list){return String.join(\" \",list);}\n static String hanSpToStr(ArrayList<String> list){return String.join(\" \",list);}\n public static void main(String[] args){\n solve();\n flush();\n }\n //↑見なくていいよ!ここまで------------------------------------------\n static public void solve(){//ここがメイン関数代わり\n ArrayList<String> tmp = nextStrArray();\n BigDecimal A = new BigDecimal(tmp.get(0));\n BigDecimal B = new BigDecimal(tmp.get(1));\n A = A.multiply(B);\n Long output = A.longValue();\n myout(output);\n \n }\n //Method addition frame start\n\n //Method addition frame end\n}",
"Main",
"static InputIterator ii = new InputIterator();//リアクティブでは使えないので諦めてScanner使うこと",
"ii",
"new InputIterator()",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"static void flush(){out.flush();}",
"flush",
"{out.flush();}",
"out.flush()",
"out.flush",
"out",
"static void myout(Object t){out.println(t);}",
"myout",
"{out.println(t);}",
"out.println(t)",
"out.println",
"out",
"t",
"Object t",
"t",
"static void myerr(Object t){System.err.println(t);}",
"myerr",
"{System.err.println(t);}",
"System.err.println(t)",
"System.err.println",
"System.err",
"System",
"System.err",
"t",
"Object t",
"t",
"static String next(){return ii.next();}",
"next",
"{return ii.next();}",
"return ii.next();",
"ii.next()",
"ii.next",
"ii",
"static int nextInt(){return Integer.parseInt(next());}",
"nextInt",
"{return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"static long nextLong(){return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"static ArrayList<String> nextStrArray(){return myHanSpSplit(next());}",
"nextStrArray",
"{return myHanSpSplit(next());}",
"return myHanSpSplit(next());",
"myHanSpSplit(next())",
"myHanSpSplit",
"next()",
"next",
"static ArrayList<String> myHanSpSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\" \")));}",
"myHanSpSplit",
"{return new ArrayList<String>(Arrays.asList(str.split(\" \")));}",
"return new ArrayList<String>(Arrays.asList(str.split(\" \")));",
"new ArrayList<String>(Arrays.asList(str.split(\" \")))",
"String str",
"str",
"static ArrayList<String> nextCharArray(){return mySingleSplit(next());}",
"nextCharArray",
"{return mySingleSplit(next());}",
"return mySingleSplit(next());",
"mySingleSplit(next())",
"mySingleSplit",
"next()",
"next",
"static ArrayList<String> mySingleSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\"\")));}",
"mySingleSplit",
"{return new ArrayList<String>(Arrays.asList(str.split(\"\")));}",
"return new ArrayList<String>(Arrays.asList(str.split(\"\")));",
"new ArrayList<String>(Arrays.asList(str.split(\"\")))",
"String str",
"str",
"static ArrayList<Integer> nextIntArray(){\n ArrayList<Integer> ret = new ArrayList<Integer>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Integer.parseInt(input.get(i)));\n }\n return ret;\n }",
"nextIntArray",
"{\n ArrayList<Integer> ret = new ArrayList<Integer>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Integer.parseInt(input.get(i)));\n }\n return ret;\n }",
"ArrayList<Integer> ret = new ArrayList<Integer>();",
"ret",
"new ArrayList<Integer>()",
"ArrayList<String> input = nextStrArray();",
"input",
"nextStrArray()",
"nextStrArray",
"for(int i = 0; i < input.size(); i++){\n ret.add(Integer.parseInt(input.get(i)));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < input.size()",
"i",
"input.size()",
"input.size",
"input",
"i++",
"i++",
"i",
"{\n ret.add(Integer.parseInt(input.get(i)));\n }",
"{\n ret.add(Integer.parseInt(input.get(i)));\n }",
"ret.add(Integer.parseInt(input.get(i)))",
"ret.add",
"ret",
"Integer.parseInt(input.get(i))",
"Integer.parseInt",
"Integer",
"input.get(i)",
"input.get",
"input",
"i",
"return ret;",
"ret",
"static ArrayList<Long> nextLongArray(){\n ArrayList<Long> ret = new ArrayList<Long>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Long.parseLong(input.get(i)));\n }\n return ret;\n }",
"nextLongArray",
"{\n ArrayList<Long> ret = new ArrayList<Long>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Long.parseLong(input.get(i)));\n }\n return ret;\n }",
"ArrayList<Long> ret = new ArrayList<Long>();",
"ret",
"new ArrayList<Long>()",
"ArrayList<String> input = nextStrArray();",
"input",
"nextStrArray()",
"nextStrArray",
"for(int i = 0; i < input.size(); i++){\n ret.add(Long.parseLong(input.get(i)));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < input.size()",
"i",
"input.size()",
"input.size",
"input",
"i++",
"i++",
"i",
"{\n ret.add(Long.parseLong(input.get(i)));\n }",
"{\n ret.add(Long.parseLong(input.get(i)));\n }",
"ret.add(Long.parseLong(input.get(i)))",
"ret.add",
"ret",
"Long.parseLong(input.get(i))",
"Long.parseLong",
"Long",
"input.get(i)",
"input.get",
"input",
"i",
"return ret;",
"ret",
"static String kaigyoToStr(String[] list){return String.join(\"\\n\",list);}",
"kaigyoToStr",
"{return String.join(\"\\n\",list);}",
"return String.join(\"\\n\",list);",
"String.join(\"\\n\",list)",
"String.join",
"String",
"\"\\n\"",
"list",
"String[] list",
"list",
"static String kaigyoToStr(ArrayList<String> list){return String.join(\"\\n\",list);}",
"kaigyoToStr",
"{return String.join(\"\\n\",list);}",
"return String.join(\"\\n\",list);",
"String.join(\"\\n\",list)",
"String.join",
"String",
"\"\\n\"",
"list",
"ArrayList<String> list",
"list",
"static String hanSpToStr(String[] list){return String.join(\" \",list);}",
"hanSpToStr",
"{return String.join(\" \",list);}",
"return String.join(\" \",list);",
"String.join(\" \",list)",
"String.join",
"String",
"\" \"",
"list",
"String[] list",
"list",
"static String hanSpToStr(ArrayList<String> list){return String.join(\" \",list);}",
"hanSpToStr",
"{return String.join(\" \",list);}",
"return String.join(\" \",list);",
"String.join(\" \",list)",
"String.join",
"String",
"\" \"",
"list",
"ArrayList<String> list",
"list",
"public static void main(String[] args){\n solve();\n flush();\n }",
"main",
"{\n solve();\n flush();\n }",
"solve()",
"solve",
"flush()",
"flush",
"String[] args",
"args",
"//↑見なくていいよ!ここまで------------------------------------------\n static public void solve(){//ここがメイン関数代わり\n ArrayList<String> tmp = nextStrArray();\n BigDecimal A = new BigDecimal(tmp.get(0));\n BigDecimal B = new BigDecimal(tmp.get(1));\n A = A.multiply(B);\n Long output = A.longValue();\n myout(output);\n \n }",
"solve",
"{//ここがメイン関数代わり\n ArrayList<String> tmp = nextStrArray();\n BigDecimal A = new BigDecimal(tmp.get(0));\n BigDecimal B = new BigDecimal(tmp.get(1));\n A = A.multiply(B);\n Long output = A.longValue();\n myout(output);\n \n }",
"ArrayList<String> tmp = nextStrArray();",
"tmp",
"nextStrArray()",
"nextStrArray",
"BigDecimal A = new BigDecimal(tmp.get(0));",
"A",
"new BigDecimal(tmp.get(0))",
"BigDecimal B = new BigDecimal(tmp.get(1));",
"B",
"new BigDecimal(tmp.get(1))",
"A = A.multiply(B)",
"A",
"A.multiply(B)",
"A.multiply",
"A",
"B",
"Long output = A.longValue();",
"output",
"A.longValue()",
"A.longValue",
"A",
"myout(output)",
"myout",
"output",
"static public class InputIterator{\n ArrayList<String> inputLine = new ArrayList<String>(1024);\n int index = 0; int max;\n InputIterator(){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }\n max = inputLine.size();\n }\n public boolean hasNext(){return (index < max);}\n public String next(){\n if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ。\");\n }\n }\n }",
"InputIterator",
"ArrayList<String> inputLine = new ArrayList<String>(1024);",
"inputLine",
"new ArrayList<String>(1024)",
"int index = 0;",
"index",
"0",
"int max;",
"max",
"InputIterator(){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }\n max = inputLine.size();\n }",
"InputIterator",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }\n max = inputLine.size();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }",
"true",
"{\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }",
"String read;",
"read",
"try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }",
"catch(IOException e){\n read = null;\n }",
"IOException e",
"{\n read = null;\n }",
"read = null",
"read",
"null",
"{\n read = br.readLine();\n }",
"read = br.readLine()",
"read",
"br.readLine()",
"br.readLine",
"br",
"if(read != null){\n inputLine.add(read);\n }else{\n break;\n }",
"read != null",
"read",
"null",
"{\n inputLine.add(read);\n }",
"inputLine.add(read)",
"inputLine.add",
"inputLine",
"read",
"{\n break;\n }",
"break;",
"max = inputLine.size()",
"max",
"inputLine.size()",
"inputLine.size",
"inputLine",
"public boolean hasNext(){return (index < max);}",
"hasNext",
"{return (index < max);}",
"return (index < max);",
"(index < max)",
"index",
"max",
"public String next(){\n if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ。\");\n }\n }",
"next",
"{\n if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ。\");\n }\n }",
"if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ。\");\n }",
"hasNext()",
"hasNext",
"{\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }",
"String returnStr = inputLine.get(index);",
"returnStr",
"inputLine.get(index)",
"inputLine.get",
"inputLine",
"index",
"index++",
"index",
"return returnStr;",
"returnStr",
"{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ。\");\n }",
"throw new IndexOutOfBoundsException(\"これ以上入力はないよ。\");",
"new IndexOutOfBoundsException(\"これ以上入力はないよ。\")",
"public class Main{\n //↓見なくていいよ!ここから------------------------------------------\n static public class InputIterator{\n ArrayList<String> inputLine = new ArrayList<String>(1024);\n int index = 0; int max;\n InputIterator(){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }\n max = inputLine.size();\n }\n public boolean hasNext(){return (index < max);}\n public String next(){\n if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ。\");\n }\n }\n }\n \n static InputIterator ii = new InputIterator();//リアクティブでは使えないので諦めてScanner使うこと\n static PrintWriter out = new PrintWriter(System.out);\n static void flush(){out.flush();}\n static void myout(Object t){out.println(t);}\n static void myerr(Object t){System.err.println(t);}\n static String next(){return ii.next();}\n static int nextInt(){return Integer.parseInt(next());}\n static long nextLong(){return Long.parseLong(next());}\n static ArrayList<String> nextStrArray(){return myHanSpSplit(next());}\n static ArrayList<String> myHanSpSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\" \")));}\n static ArrayList<String> nextCharArray(){return mySingleSplit(next());}\n static ArrayList<String> mySingleSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\"\")));}\n static ArrayList<Integer> nextIntArray(){\n ArrayList<Integer> ret = new ArrayList<Integer>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Integer.parseInt(input.get(i)));\n }\n return ret;\n }\n static ArrayList<Long> nextLongArray(){\n ArrayList<Long> ret = new ArrayList<Long>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Long.parseLong(input.get(i)));\n }\n return ret;\n }\n static String kaigyoToStr(String[] list){return String.join(\"\\n\",list);}\n static String kaigyoToStr(ArrayList<String> list){return String.join(\"\\n\",list);}\n static String hanSpToStr(String[] list){return String.join(\" \",list);}\n static String hanSpToStr(ArrayList<String> list){return String.join(\" \",list);}\n public static void main(String[] args){\n solve();\n flush();\n }\n //↑見なくていいよ!ここまで------------------------------------------\n static public void solve(){//ここがメイン関数代わり\n ArrayList<String> tmp = nextStrArray();\n BigDecimal A = new BigDecimal(tmp.get(0));\n BigDecimal B = new BigDecimal(tmp.get(1));\n A = A.multiply(B);\n Long output = A.longValue();\n myout(output);\n \n }\n //Method addition frame start\n\n //Method addition frame end\n}",
"public class Main{\n //↓見なくていいよ!ここから------------------------------------------\n static public class InputIterator{\n ArrayList<String> inputLine = new ArrayList<String>(1024);\n int index = 0; int max;\n InputIterator(){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }\n max = inputLine.size();\n }\n public boolean hasNext(){return (index < max);}\n public String next(){\n if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ。\");\n }\n }\n }\n \n static InputIterator ii = new InputIterator();//リアクティブでは使えないので諦めてScanner使うこと\n static PrintWriter out = new PrintWriter(System.out);\n static void flush(){out.flush();}\n static void myout(Object t){out.println(t);}\n static void myerr(Object t){System.err.println(t);}\n static String next(){return ii.next();}\n static int nextInt(){return Integer.parseInt(next());}\n static long nextLong(){return Long.parseLong(next());}\n static ArrayList<String> nextStrArray(){return myHanSpSplit(next());}\n static ArrayList<String> myHanSpSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\" \")));}\n static ArrayList<String> nextCharArray(){return mySingleSplit(next());}\n static ArrayList<String> mySingleSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\"\")));}\n static ArrayList<Integer> nextIntArray(){\n ArrayList<Integer> ret = new ArrayList<Integer>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Integer.parseInt(input.get(i)));\n }\n return ret;\n }\n static ArrayList<Long> nextLongArray(){\n ArrayList<Long> ret = new ArrayList<Long>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Long.parseLong(input.get(i)));\n }\n return ret;\n }\n static String kaigyoToStr(String[] list){return String.join(\"\\n\",list);}\n static String kaigyoToStr(ArrayList<String> list){return String.join(\"\\n\",list);}\n static String hanSpToStr(String[] list){return String.join(\" \",list);}\n static String hanSpToStr(ArrayList<String> list){return String.join(\" \",list);}\n public static void main(String[] args){\n solve();\n flush();\n }\n //↑見なくていいよ!ここまで------------------------------------------\n static public void solve(){//ここがメイン関数代わり\n ArrayList<String> tmp = nextStrArray();\n BigDecimal A = new BigDecimal(tmp.get(0));\n BigDecimal B = new BigDecimal(tmp.get(1));\n A = A.multiply(B);\n Long output = A.longValue();\n myout(output);\n \n }\n //Method addition frame start\n\n //Method addition frame end\n}",
"Main"
] |
import java.util.*;
import java.io.*;
import java.math.*;
public class Main{
//↓見なくていいよ!ここから------------------------------------------
static public class InputIterator{
ArrayList<String> inputLine = new ArrayList<String>(1024);
int index = 0; int max;
InputIterator(){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String read;
try{
read = br.readLine();
}catch(IOException e){
read = null;
}
if(read != null){
inputLine.add(read);
}else{
break;
}
}
max = inputLine.size();
}
public boolean hasNext(){return (index < max);}
public String next(){
if(hasNext()){
String returnStr = inputLine.get(index);
index++;
return returnStr;
}else{
throw new IndexOutOfBoundsException("これ以上入力はないよ。");
}
}
}
static InputIterator ii = new InputIterator();//リアクティブでは使えないので諦めてScanner使うこと
static PrintWriter out = new PrintWriter(System.out);
static void flush(){out.flush();}
static void myout(Object t){out.println(t);}
static void myerr(Object t){System.err.println(t);}
static String next(){return ii.next();}
static int nextInt(){return Integer.parseInt(next());}
static long nextLong(){return Long.parseLong(next());}
static ArrayList<String> nextStrArray(){return myHanSpSplit(next());}
static ArrayList<String> myHanSpSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(" ")));}
static ArrayList<String> nextCharArray(){return mySingleSplit(next());}
static ArrayList<String> mySingleSplit(String str){return new ArrayList<String>(Arrays.asList(str.split("")));}
static ArrayList<Integer> nextIntArray(){
ArrayList<Integer> ret = new ArrayList<Integer>();
ArrayList<String> input = nextStrArray();
for(int i = 0; i < input.size(); i++){
ret.add(Integer.parseInt(input.get(i)));
}
return ret;
}
static ArrayList<Long> nextLongArray(){
ArrayList<Long> ret = new ArrayList<Long>();
ArrayList<String> input = nextStrArray();
for(int i = 0; i < input.size(); i++){
ret.add(Long.parseLong(input.get(i)));
}
return ret;
}
static String kaigyoToStr(String[] list){return String.join("\n",list);}
static String kaigyoToStr(ArrayList<String> list){return String.join("\n",list);}
static String hanSpToStr(String[] list){return String.join(" ",list);}
static String hanSpToStr(ArrayList<String> list){return String.join(" ",list);}
public static void main(String[] args){
solve();
flush();
}
//↑見なくていいよ!ここまで------------------------------------------
static public void solve(){//ここがメイン関数代わり
ArrayList<String> tmp = nextStrArray();
BigDecimal A = new BigDecimal(tmp.get(0));
BigDecimal B = new BigDecimal(tmp.get(1));
A = A.multiply(B);
Long output = A.longValue();
myout(output);
}
//Method addition frame start
//Method addition frame end
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
17,
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
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
27,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
48,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String[] bstr = sc.next().split(\"\\\\.\");\n long b1 = Long.valueOf(bstr[0]) * 100;\n long b2 = Long.valueOf(bstr[1]);\n System.out.println(a * (b1 + b2) / 100);\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String[] bstr = sc.next().split(\"\\\\.\");\n long b1 = Long.valueOf(bstr[0]) * 100;\n long b2 = Long.valueOf(bstr[1]);\n System.out.println(a * (b1 + b2) / 100);\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String[] bstr = sc.next().split(\"\\\\.\");\n long b1 = Long.valueOf(bstr[0]) * 100;\n long b2 = Long.valueOf(bstr[1]);\n System.out.println(a * (b1 + b2) / 100);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String[] bstr = sc.next().split(\"\\\\.\");\n long b1 = Long.valueOf(bstr[0]) * 100;\n long b2 = Long.valueOf(bstr[1]);\n System.out.println(a * (b1 + b2) / 100);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String[] bstr = sc.next().split(\"\\\\.\");",
"bstr",
"sc.next().split(\"\\\\.\")",
"sc.next().split",
"sc.next()",
"sc.next",
"sc",
"\"\\\\.\"",
"long b1 = Long.valueOf(bstr[0]) * 100;",
"b1",
"Long.valueOf(bstr[0]) * 100",
"Long.valueOf(bstr[0])",
"Long.valueOf",
"Long",
"bstr[0]",
"bstr",
"0",
"100",
"long b2 = Long.valueOf(bstr[1]);",
"b2",
"Long.valueOf(bstr[1])",
"Long.valueOf",
"Long",
"bstr[1]",
"bstr",
"1",
"System.out.println(a * (b1 + b2) / 100)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * (b1 + b2) / 100",
"a * (b1 + b2)",
"a",
"(b1 + b2)",
"b1",
"b2",
"100",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String[] bstr = sc.next().split(\"\\\\.\");\n long b1 = Long.valueOf(bstr[0]) * 100;\n long b2 = Long.valueOf(bstr[1]);\n System.out.println(a * (b1 + b2) / 100);\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String[] bstr = sc.next().split(\"\\\\.\");\n long b1 = Long.valueOf(bstr[0]) * 100;\n long b2 = Long.valueOf(bstr[1]);\n System.out.println(a * (b1 + b2) / 100);\n }\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
String[] bstr = sc.next().split("\\.");
long b1 = Long.valueOf(bstr[0]) * 100;
long b2 = Long.valueOf(bstr[1]);
System.out.println(a * (b1 + b2) / 100);
}
}
|
[
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,
20,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
17,
18,
13,
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
],
[
55,
11
],
[
55,
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
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
39,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
12,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String A = sc.next();\n BigDecimal BigA = new BigDecimal(A);\n String B = sc.next();\n BigDecimal BigB = new BigDecimal(B);\n System.out.println(BigA.multiply(BigB).setScale(0, RoundingMode.DOWN));\n sc.close();\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"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 A = sc.next();\n BigDecimal BigA = new BigDecimal(A);\n String B = sc.next();\n BigDecimal BigB = new BigDecimal(B);\n System.out.println(BigA.multiply(BigB).setScale(0, RoundingMode.DOWN));\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String A = sc.next();\n BigDecimal BigA = new BigDecimal(A);\n String B = sc.next();\n BigDecimal BigB = new BigDecimal(B);\n System.out.println(BigA.multiply(BigB).setScale(0, RoundingMode.DOWN));\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String A = sc.next();\n BigDecimal BigA = new BigDecimal(A);\n String B = sc.next();\n BigDecimal BigB = new BigDecimal(B);\n System.out.println(BigA.multiply(BigB).setScale(0, RoundingMode.DOWN));\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String A = sc.next();",
"A",
"sc.next()",
"sc.next",
"sc",
"BigDecimal BigA = new BigDecimal(A);",
"BigA",
"new BigDecimal(A)",
"String B = sc.next();",
"B",
"sc.next()",
"sc.next",
"sc",
"BigDecimal BigB = new BigDecimal(B);",
"BigB",
"new BigDecimal(B)",
"System.out.println(BigA.multiply(BigB).setScale(0, RoundingMode.DOWN))",
"System.out.println",
"System.out",
"System",
"System.out",
"BigA.multiply(BigB).setScale(0, RoundingMode.DOWN)",
"BigA.multiply(BigB).setScale",
"BigA.multiply(BigB)",
"BigA.multiply",
"BigA",
"BigB",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"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 String A = sc.next();\n BigDecimal BigA = new BigDecimal(A);\n String B = sc.next();\n BigDecimal BigB = new BigDecimal(B);\n System.out.println(BigA.multiply(BigB).setScale(0, RoundingMode.DOWN));\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String A = sc.next();\n BigDecimal BigA = new BigDecimal(A);\n String B = sc.next();\n BigDecimal BigB = new BigDecimal(B);\n System.out.println(BigA.multiply(BigB).setScale(0, RoundingMode.DOWN));\n sc.close();\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String A = sc.next();
BigDecimal BigA = new BigDecimal(A);
String B = sc.next();
BigDecimal BigB = new BigDecimal(B);
System.out.println(BigA.multiply(BigB).setScale(0, RoundingMode.DOWN));
sc.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,
13,
41,
13,
4,
18,
13,
17,
18,
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
],
[
49,
8
],
[
49,
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
],
[
27,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
9,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\t// write your code here\n\n\n Scanner scan = new Scanner(System.in);\n BigDecimal N= scan.nextBigDecimal();\n BigDecimal M= scan.nextBigDecimal();\n BigDecimal b3 = N.multiply(M);\nBigDecimal p = b3.setScale(0, BigDecimal.ROUND_DOWN);;\n System.out.println(p);\n \n\n\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\t// write your code here\n\n\n Scanner scan = new Scanner(System.in);\n BigDecimal N= scan.nextBigDecimal();\n BigDecimal M= scan.nextBigDecimal();\n BigDecimal b3 = N.multiply(M);\nBigDecimal p = b3.setScale(0, BigDecimal.ROUND_DOWN);;\n System.out.println(p);\n \n\n\n }\n}",
"Main",
"public static void main(String[] args) {\n\t// write your code here\n\n\n Scanner scan = new Scanner(System.in);\n BigDecimal N= scan.nextBigDecimal();\n BigDecimal M= scan.nextBigDecimal();\n BigDecimal b3 = N.multiply(M);\nBigDecimal p = b3.setScale(0, BigDecimal.ROUND_DOWN);;\n System.out.println(p);\n \n\n\n }",
"main",
"{\n\t// write your code here\n\n\n Scanner scan = new Scanner(System.in);\n BigDecimal N= scan.nextBigDecimal();\n BigDecimal M= scan.nextBigDecimal();\n BigDecimal b3 = N.multiply(M);\nBigDecimal p = b3.setScale(0, BigDecimal.ROUND_DOWN);;\n System.out.println(p);\n \n\n\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"BigDecimal N= scan.nextBigDecimal();",
"N",
"scan.nextBigDecimal()",
"scan.nextBigDecimal",
"scan",
"BigDecimal M= scan.nextBigDecimal();",
"M",
"scan.nextBigDecimal()",
"scan.nextBigDecimal",
"scan",
"BigDecimal b3 = N.multiply(M);",
"b3",
"N.multiply(M)",
"N.multiply",
"N",
"M",
"BigDecimal p = b3.setScale(0, BigDecimal.ROUND_DOWN);",
"p",
"b3.setScale(0, BigDecimal.ROUND_DOWN)",
"b3.setScale",
"b3",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"System.out.println(p)",
"System.out.println",
"System.out",
"System",
"System.out",
"p",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\t// write your code here\n\n\n Scanner scan = new Scanner(System.in);\n BigDecimal N= scan.nextBigDecimal();\n BigDecimal M= scan.nextBigDecimal();\n BigDecimal b3 = N.multiply(M);\nBigDecimal p = b3.setScale(0, BigDecimal.ROUND_DOWN);;\n System.out.println(p);\n \n\n\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\t// write your code here\n\n\n Scanner scan = new Scanner(System.in);\n BigDecimal N= scan.nextBigDecimal();\n BigDecimal M= scan.nextBigDecimal();\n BigDecimal b3 = N.multiply(M);\nBigDecimal p = b3.setScale(0, BigDecimal.ROUND_DOWN);;\n System.out.println(p);\n \n\n\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// write your code here
Scanner scan = new Scanner(System.in);
BigDecimal N= scan.nextBigDecimal();
BigDecimal M= scan.nextBigDecimal();
BigDecimal b3 = N.multiply(M);
BigDecimal p = b3.setScale(0, BigDecimal.ROUND_DOWN);;
System.out.println(p);
}
}
|
[
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,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
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
],
[
51,
11
],
[
51,
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
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
14,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
12,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.io.FileNotFoundException;\nimport java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tdouble A = sc.nextDouble();\n \tBigDecimal B = BigDecimal.valueOf(sc.nextDouble());\n \t//double B = sc.nextDouble();\n\n \tBigDecimal times = B.multiply(BigDecimal.valueOf(A));\n\n \tSystem.out.println(times.longValue());\n }\n}",
"import java.io.FileNotFoundException;",
"FileNotFoundException",
"java.io",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tdouble A = sc.nextDouble();\n \tBigDecimal B = BigDecimal.valueOf(sc.nextDouble());\n \t//double B = sc.nextDouble();\n\n \tBigDecimal times = B.multiply(BigDecimal.valueOf(A));\n\n \tSystem.out.println(times.longValue());\n }\n}",
"Main",
"public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tdouble A = sc.nextDouble();\n \tBigDecimal B = BigDecimal.valueOf(sc.nextDouble());\n \t//double B = sc.nextDouble();\n\n \tBigDecimal times = B.multiply(BigDecimal.valueOf(A));\n\n \tSystem.out.println(times.longValue());\n }",
"main",
"{\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tdouble A = sc.nextDouble();\n \tBigDecimal B = BigDecimal.valueOf(sc.nextDouble());\n \t//double B = sc.nextDouble();\n\n \tBigDecimal times = B.multiply(BigDecimal.valueOf(A));\n\n \tSystem.out.println(times.longValue());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double A = sc.nextDouble();",
"A",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"BigDecimal B = BigDecimal.valueOf(sc.nextDouble());",
"B",
"BigDecimal.valueOf(sc.nextDouble())",
"BigDecimal.valueOf",
"BigDecimal",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"BigDecimal times = B.multiply(BigDecimal.valueOf(A));",
"times",
"B.multiply(BigDecimal.valueOf(A))",
"B.multiply",
"B",
"BigDecimal.valueOf(A)",
"BigDecimal.valueOf",
"BigDecimal",
"A",
"System.out.println(times.longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"times.longValue()",
"times.longValue",
"times",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tdouble A = sc.nextDouble();\n \tBigDecimal B = BigDecimal.valueOf(sc.nextDouble());\n \t//double B = sc.nextDouble();\n\n \tBigDecimal times = B.multiply(BigDecimal.valueOf(A));\n\n \tSystem.out.println(times.longValue());\n }\n}",
"public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tdouble A = sc.nextDouble();\n \tBigDecimal B = BigDecimal.valueOf(sc.nextDouble());\n \t//double B = sc.nextDouble();\n\n \tBigDecimal times = B.multiply(BigDecimal.valueOf(A));\n\n \tSystem.out.println(times.longValue());\n }\n}",
"Main"
] |
import java.io.FileNotFoundException;
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws FileNotFoundException {
// File file = new File("src/in.txt");
//コード
// Scanner sc = new Scanner(file);
Scanner sc = new Scanner(System.in);
double A = sc.nextDouble();
BigDecimal B = BigDecimal.valueOf(sc.nextDouble());
//double B = sc.nextDouble();
BigDecimal times = B.multiply(BigDecimal.valueOf(A));
System.out.println(times.longValue());
}
}
|
[
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,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
0,
13,
20,
4,
18,
18,
13,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
53,
17
],
[
53,
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
],
[
30,
32
],
[
20,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
20,
39
],
[
39,
40
],
[
39,
41
],
[
20,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
18,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(in.readLine());\n BigDecimal a = new BigDecimal(st.nextToken());\n BigDecimal b = new BigDecimal(st.nextToken());\n BigDecimal mul = a.multiply(b);\n st = new StringTokenizer(mul.toString(), \".\");\n System.out.println(st.nextElement());\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.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(in.readLine());\n BigDecimal a = new BigDecimal(st.nextToken());\n BigDecimal b = new BigDecimal(st.nextToken());\n BigDecimal mul = a.multiply(b);\n st = new StringTokenizer(mul.toString(), \".\");\n System.out.println(st.nextElement());\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(in.readLine());\n BigDecimal a = new BigDecimal(st.nextToken());\n BigDecimal b = new BigDecimal(st.nextToken());\n BigDecimal mul = a.multiply(b);\n st = new StringTokenizer(mul.toString(), \".\");\n System.out.println(st.nextElement());\n }",
"main",
"{\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(in.readLine());\n BigDecimal a = new BigDecimal(st.nextToken());\n BigDecimal b = new BigDecimal(st.nextToken());\n BigDecimal mul = a.multiply(b);\n st = new StringTokenizer(mul.toString(), \".\");\n System.out.println(st.nextElement());\n }",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(in.readLine());",
"st",
"new StringTokenizer(in.readLine())",
"BigDecimal a = new BigDecimal(st.nextToken());",
"a",
"new BigDecimal(st.nextToken())",
"BigDecimal b = new BigDecimal(st.nextToken());",
"b",
"new BigDecimal(st.nextToken())",
"BigDecimal mul = a.multiply(b);",
"mul",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"st = new StringTokenizer(mul.toString(), \".\")",
"st",
"new StringTokenizer(mul.toString(), \".\")",
"System.out.println(st.nextElement())",
"System.out.println",
"System.out",
"System",
"System.out",
"st.nextElement()",
"st.nextElement",
"st",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(in.readLine());\n BigDecimal a = new BigDecimal(st.nextToken());\n BigDecimal b = new BigDecimal(st.nextToken());\n BigDecimal mul = a.multiply(b);\n st = new StringTokenizer(mul.toString(), \".\");\n System.out.println(st.nextElement());\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(in.readLine());\n BigDecimal a = new BigDecimal(st.nextToken());\n BigDecimal b = new BigDecimal(st.nextToken());\n BigDecimal mul = a.multiply(b);\n st = new StringTokenizer(mul.toString(), \".\");\n System.out.println(st.nextElement());\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(in.readLine());
BigDecimal a = new BigDecimal(st.nextToken());
BigDecimal b = new BigDecimal(st.nextToken());
BigDecimal mul = a.multiply(b);
st = new StringTokenizer(mul.toString(), ".");
System.out.println(st.nextElement());
}
}
|
[
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,
4,
18,
4,
18,
13,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
45,
8
],
[
45,
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
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
25,
31
],
[
11,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
9,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.util.*;\nimport java.util.regex.Pattern;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = Long.parseLong(sc.next().replace(\".\", \"\"));\n System.out.println(a * b / 100);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.regex.Pattern;",
"Pattern",
"java.util.regex",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = Long.parseLong(sc.next().replace(\".\", \"\"));\n System.out.println(a * b / 100);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = Long.parseLong(sc.next().replace(\".\", \"\"));\n System.out.println(a * b / 100);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = Long.parseLong(sc.next().replace(\".\", \"\"));\n System.out.println(a * b / 100);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = Long.parseLong(sc.next().replace(\".\", \"\"));",
"b",
"Long.parseLong(sc.next().replace(\".\", \"\"))",
"Long.parseLong",
"Long",
"sc.next().replace(\".\", \"\")",
"sc.next().replace",
"sc.next()",
"sc.next",
"sc",
"\".\"",
"\"\"",
"System.out.println(a * b / 100)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b / 100",
"a * b",
"a",
"b",
"100",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = Long.parseLong(sc.next().replace(\".\", \"\"));\n System.out.println(a * b / 100);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = Long.parseLong(sc.next().replace(\".\", \"\"));\n System.out.println(a * b / 100);\n }\n}",
"Main"
] |
import java.util.*;
import java.util.regex.Pattern;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = Long.parseLong(sc.next().replace(".", ""));
System.out.println(a * b / 100);
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.