node_ids
listlengths 4
1.4k
| edge_index
listlengths 1
2.22k
| text
listlengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
13,
41,
13,
4,
18,
13,
2,
4,
13,
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,
29,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
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,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
118,
5
],
[
118,
6
],
[
6,
7
],
[
118,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
10,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
10,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
10,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
10,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
39,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
44,
51
],
[
10,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
59,
63
],
[
52,
64
],
[
64,
65
],
[
65,
66
],
[
52,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
8,
78
],
[
78,
79
],
[
118,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
118,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
95,
96
],
[
118,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
105,
106
],
[
118,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
114,
115
],
[
115,
116
],
[
0,
117
],
[
117,
118
],
[
117,
119
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t long A=gl();\n\t long B=Math.round(gd()*100);\n\t long ab=A*B;\n\t String s= String.valueOf(ab);\n\n\t if (s.length()<=2) {\n\t \tSystem.out.print(\"0\");\n\t \treturn;\n\t }\n\t for (int i=0; i<s.length()-2;i++) {\n System.out.print(s.charAt(i));\n\t }\n// if (flg) {\n// \tSystem.out.print(\"YES\");\n// }else {\n// \tSystem.out.print(\"NO\");\n// }\n\n\n\t}\n\n\t// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t long A=gl();\n\t long B=Math.round(gd()*100);\n\t long ab=A*B;\n\t String s= String.valueOf(ab);\n\n\t if (s.length()<=2) {\n\t \tSystem.out.print(\"0\");\n\t \treturn;\n\t }\n\t for (int i=0; i<s.length()-2;i++) {\n System.out.print(s.charAt(i));\n\t }\n// if (flg) {\n// \tSystem.out.print(\"YES\");\n// }else {\n// \tSystem.out.print(\"NO\");\n// }\n\n\n\t}\n\n\t// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"Main",
"static Scanner scanner;",
"scanner",
"public static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t long A=gl();\n\t long B=Math.round(gd()*100);\n\t long ab=A*B;\n\t String s= String.valueOf(ab);\n\n\t if (s.length()<=2) {\n\t \tSystem.out.print(\"0\");\n\t \treturn;\n\t }\n\t for (int i=0; i<s.length()-2;i++) {\n System.out.print(s.charAt(i));\n\t }\n// if (flg) {\n// \tSystem.out.print(\"YES\");\n// }else {\n// \tSystem.out.print(\"NO\");\n// }\n\n\n\t}",
"main",
"{\n\t scanner = new Scanner(System.in);\n\n\t long A=gl();\n\t long B=Math.round(gd()*100);\n\t long ab=A*B;\n\t String s= String.valueOf(ab);\n\n\t if (s.length()<=2) {\n\t \tSystem.out.print(\"0\");\n\t \treturn;\n\t }\n\t for (int i=0; i<s.length()-2;i++) {\n System.out.print(s.charAt(i));\n\t }\n// if (flg) {\n// \tSystem.out.print(\"YES\");\n// }else {\n// \tSystem.out.print(\"NO\");\n// }\n\n\n\t}",
"scanner = new Scanner(System.in)",
"scanner",
"new Scanner(System.in)",
"long A=gl();",
"A",
"gl()",
"gl",
"long B=Math.round(gd()*100);",
"B",
"Math.round(gd()*100)",
"Math.round",
"Math",
"gd()*100",
"gd()",
"gd",
"100",
"long ab=A*B;",
"ab",
"A*B",
"A",
"B",
"String s= String.valueOf(ab);",
"s",
"String.valueOf(ab)",
"String.valueOf",
"String",
"ab",
"if (s.length()<=2) {\n\t \tSystem.out.print(\"0\");\n\t \treturn;\n\t }",
"s.length()<=2",
"s.length()",
"s.length",
"s",
"2",
"{\n\t \tSystem.out.print(\"0\");\n\t \treturn;\n\t }",
"System.out.print(\"0\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"0\"",
"return;",
"for (int i=0; i<s.length()-2;i++) {\n System.out.print(s.charAt(i));\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()-2",
"i",
"s.length()-2",
"s.length()",
"s.length",
"s",
"2",
"i++",
"i++",
"i",
"{\n System.out.print(s.charAt(i));\n\t }",
"{\n System.out.print(s.charAt(i));\n\t }",
"System.out.print(s.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"String[] args",
"args",
"// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}",
"gs",
"{\n\t\treturn scanner.next();\n\t}",
"return scanner.next();",
"scanner.next()",
"scanner.next",
"scanner",
"// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}",
"gi",
"{\n\t\treturn Integer.parseInt(scanner.next());\n\t}",
"return Integer.parseInt(scanner.next());",
"Integer.parseInt(scanner.next())",
"Integer.parseInt",
"Integer",
"scanner.next()",
"scanner.next",
"scanner",
"// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}",
"gl",
"{\n\t\treturn Long.parseLong(scanner.next());\n\t}",
"return Long.parseLong(scanner.next());",
"Long.parseLong(scanner.next())",
"Long.parseLong",
"Long",
"scanner.next()",
"scanner.next",
"scanner",
"// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}",
"gd",
"{\n\t\treturn Double.parseDouble(scanner.next());\n\t}",
"return Double.parseDouble(scanner.next());",
"Double.parseDouble(scanner.next())",
"Double.parseDouble",
"Double",
"scanner.next()",
"scanner.next",
"scanner",
"public class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t long A=gl();\n\t long B=Math.round(gd()*100);\n\t long ab=A*B;\n\t String s= String.valueOf(ab);\n\n\t if (s.length()<=2) {\n\t \tSystem.out.print(\"0\");\n\t \treturn;\n\t }\n\t for (int i=0; i<s.length()-2;i++) {\n System.out.print(s.charAt(i));\n\t }\n// if (flg) {\n// \tSystem.out.print(\"YES\");\n// }else {\n// \tSystem.out.print(\"NO\");\n// }\n\n\n\t}\n\n\t// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"public class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t long A=gl();\n\t long B=Math.round(gd()*100);\n\t long ab=A*B;\n\t String s= String.valueOf(ab);\n\n\t if (s.length()<=2) {\n\t \tSystem.out.print(\"0\");\n\t \treturn;\n\t }\n\t for (int i=0; i<s.length()-2;i++) {\n System.out.print(s.charAt(i));\n\t }\n// if (flg) {\n// \tSystem.out.print(\"YES\");\n// }else {\n// \tSystem.out.print(\"NO\");\n// }\n\n\n\t}\n\n\t// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
static Scanner scanner;
public static void main(String[] args) {
scanner = new Scanner(System.in);
long A=gl();
long B=Math.round(gd()*100);
long ab=A*B;
String s= String.valueOf(ab);
if (s.length()<=2) {
System.out.print("0");
return;
}
for (int i=0; i<s.length()-2;i++) {
System.out.print(s.charAt(i));
}
// if (flg) {
// System.out.print("YES");
// }else {
// System.out.print("NO");
// }
}
// 文字列として入力を取得
public static String gs() {
return scanner.next();
}
// intとして入力を取得
public static int gi() {
return Integer.parseInt(scanner.next());
}
// longとして入力を取得
public static long gl() {
return Long.parseLong(scanner.next());
}
// doubleとして入力を取得
public static double gd() {
return Double.parseDouble(scanner.next());
}
}
|
[
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,
4,
18,
13,
17,
40,
17,
4,
18,
18,
13,
13,
2,
2,
13,
4,
18,
13,
18,
13,
17,
2,
2,
13,
4,
18,
13,
18,
13,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
31,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
38,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
47,
56
],
[
6,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] |
[
"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 = Long.parseLong(sc.next());\n String B = sc.next();\n String[] B_array = B.split(\"\\\\.\",-1);\n System.out.println(A*Long.parseLong(B_array[0]) +(A*Integer.parseInt(B_array[1]))/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 Long A = Long.parseLong(sc.next());\n String B = sc.next();\n String[] B_array = B.split(\"\\\\.\",-1);\n System.out.println(A*Long.parseLong(B_array[0]) +(A*Integer.parseInt(B_array[1]))/100 );\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n Long A = Long.parseLong(sc.next());\n String B = sc.next();\n String[] B_array = B.split(\"\\\\.\",-1);\n System.out.println(A*Long.parseLong(B_array[0]) +(A*Integer.parseInt(B_array[1]))/100 );\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n Long A = Long.parseLong(sc.next());\n String B = sc.next();\n String[] B_array = B.split(\"\\\\.\",-1);\n System.out.println(A*Long.parseLong(B_array[0]) +(A*Integer.parseInt(B_array[1]))/100 );\n }",
"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 B = sc.next();",
"B",
"sc.next()",
"sc.next",
"sc",
"String[] B_array = B.split(\"\\\\.\",-1);",
"B_array",
"B.split(\"\\\\.\",-1)",
"B.split",
"B",
"\"\\\\.\"",
"-1",
"1",
"System.out.println(A*Long.parseLong(B_array[0]) +(A*Integer.parseInt(B_array[1]))/100 )",
"System.out.println",
"System.out",
"System",
"System.out",
"A*Long.parseLong(B_array[0]) +(A*Integer.parseInt(B_array[1]))/100",
"A*Long.parseLong(B_array[0])",
"A",
"Long.parseLong(B_array[0])",
"Long.parseLong",
"Long",
"B_array[0]",
"B_array",
"0",
"(A*Integer.parseInt(B_array[1]))/100",
"(A*Integer.parseInt(B_array[1]))",
"A",
"Integer.parseInt(B_array[1])",
"Integer.parseInt",
"Integer",
"B_array[1]",
"B_array",
"1",
"100",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n Long A = Long.parseLong(sc.next());\n String B = sc.next();\n String[] B_array = B.split(\"\\\\.\",-1);\n System.out.println(A*Long.parseLong(B_array[0]) +(A*Integer.parseInt(B_array[1]))/100 );\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n Long A = Long.parseLong(sc.next());\n String B = sc.next();\n String[] B_array = B.split(\"\\\\.\",-1);\n System.out.println(A*Long.parseLong(B_array[0]) +(A*Integer.parseInt(B_array[1]))/100 );\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());
String B = sc.next();
String[] B_array = B.split("\\.",-1);
System.out.println(A*Long.parseLong(B_array[0]) +(A*Integer.parseInt(B_array[1]))/100 );
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
4,
18,
13,
13,
14,
2,
4,
18,
13,
20,
17,
30,
0,
13,
17,
41,
13,
4,
18,
13,
14,
2,
17,
13,
30,
0,
13,
4,
18,
13,
17,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
85,
11
],
[
85,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
12,
18
],
[
18,
19
],
[
85,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
22,
29
],
[
29,
30
],
[
29,
31
],
[
22,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
22,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
22,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
46,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
22,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
22,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
73,
77
],
[
22,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] |
[
"import java.math.BigDecimal;\nimport java.util.*;\nimport java.util.regex.Pattern;\npublic class Main {\n public static void main(String[] args){\n new Main().run();\n }\n\n void run() {\n Scanner sc = new Scanner(System.in);\n BigDecimal A = new BigDecimal(sc.next());\n BigDecimal B = new BigDecimal(sc.next().replace(\".\", \"\"));\n BigDecimal mul = A.multiply(B);\n String ans = A.multiply(B).toPlainString();\n if (mul.compareTo(new BigDecimal(100)) < 0) {\n ans = \"0\";\n }\n int len = ans.length();\n if (2 < len) {\n ans = ans.substring(0, ans.length() - 2);\n }\n System.out.println(ans);\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"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 new Main().run();\n }\n\n void run() {\n Scanner sc = new Scanner(System.in);\n BigDecimal A = new BigDecimal(sc.next());\n BigDecimal B = new BigDecimal(sc.next().replace(\".\", \"\"));\n BigDecimal mul = A.multiply(B);\n String ans = A.multiply(B).toPlainString();\n if (mul.compareTo(new BigDecimal(100)) < 0) {\n ans = \"0\";\n }\n int len = ans.length();\n if (2 < len) {\n ans = ans.substring(0, ans.length() - 2);\n }\n System.out.println(ans);\n }\n}",
"Main",
"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 Scanner sc = new Scanner(System.in);\n BigDecimal A = new BigDecimal(sc.next());\n BigDecimal B = new BigDecimal(sc.next().replace(\".\", \"\"));\n BigDecimal mul = A.multiply(B);\n String ans = A.multiply(B).toPlainString();\n if (mul.compareTo(new BigDecimal(100)) < 0) {\n ans = \"0\";\n }\n int len = ans.length();\n if (2 < len) {\n ans = ans.substring(0, ans.length() - 2);\n }\n System.out.println(ans);\n }",
"run",
"{\n Scanner sc = new Scanner(System.in);\n BigDecimal A = new BigDecimal(sc.next());\n BigDecimal B = new BigDecimal(sc.next().replace(\".\", \"\"));\n BigDecimal mul = A.multiply(B);\n String ans = A.multiply(B).toPlainString();\n if (mul.compareTo(new BigDecimal(100)) < 0) {\n ans = \"0\";\n }\n int len = ans.length();\n if (2 < len) {\n ans = ans.substring(0, ans.length() - 2);\n }\n System.out.println(ans);\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().replace(\".\", \"\"));",
"B",
"new BigDecimal(sc.next().replace(\".\", \"\"))",
"BigDecimal mul = A.multiply(B);",
"mul",
"A.multiply(B)",
"A.multiply",
"A",
"B",
"String ans = A.multiply(B).toPlainString();",
"ans",
"A.multiply(B).toPlainString()",
"A.multiply(B).toPlainString",
"A.multiply(B)",
"A.multiply",
"A",
"B",
"if (mul.compareTo(new BigDecimal(100)) < 0) {\n ans = \"0\";\n }",
"mul.compareTo(new BigDecimal(100)) < 0",
"mul.compareTo(new BigDecimal(100))",
"mul.compareTo",
"mul",
"new BigDecimal(100)",
"0",
"{\n ans = \"0\";\n }",
"ans = \"0\"",
"ans",
"\"0\"",
"int len = ans.length();",
"len",
"ans.length()",
"ans.length",
"ans",
"if (2 < len) {\n ans = ans.substring(0, ans.length() - 2);\n }",
"2 < len",
"2",
"len",
"{\n ans = ans.substring(0, ans.length() - 2);\n }",
"ans = ans.substring(0, ans.length() - 2)",
"ans",
"ans.substring(0, ans.length() - 2)",
"ans.substring",
"ans",
"0",
"ans.length() - 2",
"ans.length()",
"ans.length",
"ans",
"2",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"public class Main {\n public static void main(String[] args){\n new Main().run();\n }\n\n void run() {\n Scanner sc = new Scanner(System.in);\n BigDecimal A = new BigDecimal(sc.next());\n BigDecimal B = new BigDecimal(sc.next().replace(\".\", \"\"));\n BigDecimal mul = A.multiply(B);\n String ans = A.multiply(B).toPlainString();\n if (mul.compareTo(new BigDecimal(100)) < 0) {\n ans = \"0\";\n }\n int len = ans.length();\n if (2 < len) {\n ans = ans.substring(0, ans.length() - 2);\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args){\n new Main().run();\n }\n\n void run() {\n Scanner sc = new Scanner(System.in);\n BigDecimal A = new BigDecimal(sc.next());\n BigDecimal B = new BigDecimal(sc.next().replace(\".\", \"\"));\n BigDecimal mul = A.multiply(B);\n String ans = A.multiply(B).toPlainString();\n if (mul.compareTo(new BigDecimal(100)) < 0) {\n ans = \"0\";\n }\n int len = ans.length();\n if (2 < len) {\n ans = ans.substring(0, ans.length() - 2);\n }\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.*;
import java.util.regex.Pattern;
public class Main {
public static void main(String[] args){
new Main().run();
}
void run() {
Scanner sc = new Scanner(System.in);
BigDecimal A = new BigDecimal(sc.next());
BigDecimal B = new BigDecimal(sc.next().replace(".", ""));
BigDecimal mul = A.multiply(B);
String ans = A.multiply(B).toPlainString();
if (mul.compareTo(new BigDecimal(100)) < 0) {
ans = "0";
}
int len = ans.length();
if (2 < len) {
ans = ans.substring(0, ans.length() - 2);
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
4,
18,
13,
17,
17,
17,
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,
2,
2,
13,
13,
17,
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
],
[
13,
14
],
[
12,
15
],
[
12,
16
],
[
11,
17
],
[
7,
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
],
[
39,
41
],
[
20,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
20,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
18,
55
],
[
55,
56
]
] |
[
"\timport java.util.*;\n\timport java.util.Map.Entry;\n\t \n\t \n\t class Main {\n\t\t static int mod = (int) (Math.pow(10,9)+7);\n//\t\t static int mod = (int) 998244353;\n\t\t public static void main(String[] args) {\n\t \t\n\t Scanner sc = new Scanner(System.in);\n\n\t long A = sc.nextLong();\n\t double B = sc.nextDouble();\n\t long C = Math.round(B*100);\n\t long ans=A*C/100;\n\t System.out.println(ans);\n\t }\n\t}",
"import java.util.*;",
"util.*",
"java",
"import java.util.Map.Entry;",
"Entry",
"java.util.Map",
"class Main {\n\t\t static int mod = (int) (Math.pow(10,9)+7);\n//\t\t static int mod = (int) 998244353;\n\t\t public static void main(String[] args) {\n\t \t\n\t Scanner sc = new Scanner(System.in);\n\n\t long A = sc.nextLong();\n\t double B = sc.nextDouble();\n\t long C = Math.round(B*100);\n\t long ans=A*C/100;\n\t System.out.println(ans);\n\t }\n\t}",
"Main",
"static int mod = (int) (Math.pow(10,9)+7);",
"mod",
"(int) (Math.pow(10,9)+7)",
"Math.pow(10,9)",
"Math.pow",
"Math",
"10",
"9",
"7",
"//\t\t static int mod = (int) 998244353;\n\t\t public static void main(String[] args) {\n\t \t\n\t Scanner sc = new Scanner(System.in);\n\n\t long A = sc.nextLong();\n\t double B = sc.nextDouble();\n\t long C = Math.round(B*100);\n\t long ans=A*C/100;\n\t System.out.println(ans);\n\t }",
"main",
"{\n\t \t\n\t Scanner sc = new Scanner(System.in);\n\n\t long A = sc.nextLong();\n\t double B = sc.nextDouble();\n\t long C = Math.round(B*100);\n\t long ans=A*C/100;\n\t System.out.println(ans);\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 C = Math.round(B*100);",
"C",
"Math.round(B*100)",
"Math.round",
"Math",
"B*100",
"B",
"100",
"long ans=A*C/100;",
"ans",
"A*C/100",
"A*C",
"A",
"C",
"100",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
] |
import java.util.*;
import java.util.Map.Entry;
class Main {
static int mod = (int) (Math.pow(10,9)+7);
// static int mod = (int) 998244353;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
double B = sc.nextDouble();
long C = Math.round(B*100);
long ans=A*C/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,
4,
18,
4,
18,
13,
17,
17,
17,
17,
41,
13,
14,
2,
18,
13,
13,
17,
30,
0,
13,
2,
17,
4,
18,
13,
18,
13,
17,
30,
0,
13,
2,
17,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
41,
13,
17,
0,
13,
2,
2,
13,
17,
13,
41,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
13,
2,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
98,
5
],
[
98,
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
],
[
23,
24
],
[
24,
25
],
[
21,
26
],
[
21,
27
],
[
19,
28
],
[
19,
29
],
[
8,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
32,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
49,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
68,
70
],
[
8,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
8,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
8,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
6,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n long po=sc.nextLong();\n String s[]=sc.next().replace(\".\",\"A\").split(\"A\",0);\n long a;\n if(s.length==1){\n a=100*Long.parseLong(s[0]);\n }else{\n a=100*Long.parseLong(s[0]);\n a+=Long.parseLong(s[1]);\n }\n long sum=0;\n sum=(po/100)*a;\n long aa=(po%100)*a;\n System.out.println(sum+aa/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 po=sc.nextLong();\n String s[]=sc.next().replace(\".\",\"A\").split(\"A\",0);\n long a;\n if(s.length==1){\n a=100*Long.parseLong(s[0]);\n }else{\n a=100*Long.parseLong(s[0]);\n a+=Long.parseLong(s[1]);\n }\n long sum=0;\n sum=(po/100)*a;\n long aa=(po%100)*a;\n System.out.println(sum+aa/100);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n long po=sc.nextLong();\n String s[]=sc.next().replace(\".\",\"A\").split(\"A\",0);\n long a;\n if(s.length==1){\n a=100*Long.parseLong(s[0]);\n }else{\n a=100*Long.parseLong(s[0]);\n a+=Long.parseLong(s[1]);\n }\n long sum=0;\n sum=(po/100)*a;\n long aa=(po%100)*a;\n System.out.println(sum+aa/100);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n long po=sc.nextLong();\n String s[]=sc.next().replace(\".\",\"A\").split(\"A\",0);\n long a;\n if(s.length==1){\n a=100*Long.parseLong(s[0]);\n }else{\n a=100*Long.parseLong(s[0]);\n a+=Long.parseLong(s[1]);\n }\n long sum=0;\n sum=(po/100)*a;\n long aa=(po%100)*a;\n System.out.println(sum+aa/100);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long po=sc.nextLong();",
"po",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String s[]=sc.next().replace(\".\",\"A\").split(\"A\",0);",
"s",
"sc.next().replace(\".\",\"A\").split(\"A\",0)",
"sc.next().replace(\".\",\"A\").split",
"sc.next().replace(\".\",\"A\")",
"sc.next().replace",
"sc.next()",
"sc.next",
"sc",
"\".\"",
"\"A\"",
"\"A\"",
"0",
"long a;",
"a",
"if(s.length==1){\n a=100*Long.parseLong(s[0]);\n }else{\n a=100*Long.parseLong(s[0]);\n a+=Long.parseLong(s[1]);\n }",
"s.length==1",
"s.length",
"s",
"s.length",
"1",
"{\n a=100*Long.parseLong(s[0]);\n }",
"a=100*Long.parseLong(s[0])",
"a",
"100*Long.parseLong(s[0])",
"100",
"Long.parseLong(s[0])",
"Long.parseLong",
"Long",
"s[0]",
"s",
"0",
"{\n a=100*Long.parseLong(s[0]);\n a+=Long.parseLong(s[1]);\n }",
"a=100*Long.parseLong(s[0])",
"a",
"100*Long.parseLong(s[0])",
"100",
"Long.parseLong(s[0])",
"Long.parseLong",
"Long",
"s[0]",
"s",
"0",
"a+=Long.parseLong(s[1])",
"a",
"Long.parseLong(s[1])",
"Long.parseLong",
"Long",
"s[1]",
"s",
"1",
"long sum=0;",
"sum",
"0",
"sum=(po/100)*a",
"sum",
"(po/100)*a",
"(po/100)",
"po",
"100",
"a",
"long aa=(po%100)*a;",
"aa",
"(po%100)*a",
"(po%100)",
"po",
"100",
"a",
"System.out.println(sum+aa/100)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum+aa/100",
"sum",
"aa/100",
"aa",
"100",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n long po=sc.nextLong();\n String s[]=sc.next().replace(\".\",\"A\").split(\"A\",0);\n long a;\n if(s.length==1){\n a=100*Long.parseLong(s[0]);\n }else{\n a=100*Long.parseLong(s[0]);\n a+=Long.parseLong(s[1]);\n }\n long sum=0;\n sum=(po/100)*a;\n long aa=(po%100)*a;\n System.out.println(sum+aa/100);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n long po=sc.nextLong();\n String s[]=sc.next().replace(\".\",\"A\").split(\"A\",0);\n long a;\n if(s.length==1){\n a=100*Long.parseLong(s[0]);\n }else{\n a=100*Long.parseLong(s[0]);\n a+=Long.parseLong(s[1]);\n }\n long sum=0;\n sum=(po/100)*a;\n long aa=(po%100)*a;\n System.out.println(sum+aa/100);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
long po=sc.nextLong();
String s[]=sc.next().replace(".","A").split("A",0);
long a;
if(s.length==1){
a=100*Long.parseLong(s[0]);
}else{
a=100*Long.parseLong(s[0]);
a+=Long.parseLong(s[1]);
}
long sum=0;
sum=(po/100)*a;
long aa=(po%100)*a;
System.out.println(sum+aa/100);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
0,
13,
17,
41,
13,
13,
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
],
[
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
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.*;\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\tdouble b = sc.nextDouble();\n b*=500;\n int c = (int)b;\n long d = a*c;\n\t\tSystem.out.println(d/500);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n b*=500;\n int c = (int)b;\n long d = a*c;\n\t\tSystem.out.println(d/500);\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\tdouble b = sc.nextDouble();\n b*=500;\n int c = (int)b;\n long d = a*c;\n\t\tSystem.out.println(d/500);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n b*=500;\n int c = (int)b;\n long d = a*c;\n\t\tSystem.out.println(d/500);\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",
"b*=500",
"b",
"500",
"int c = (int)b;",
"c",
"(int)b",
"long d = a*c;",
"d",
"a*c",
"a",
"c",
"System.out.println(d/500)",
"System.out.println",
"System.out",
"System",
"System.out",
"d/500",
"d",
"500",
"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\tdouble b = sc.nextDouble();\n b*=500;\n int c = (int)b;\n long d = a*c;\n\t\tSystem.out.println(d/500);\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\tdouble b = sc.nextDouble();\n b*=500;\n int c = (int)b;\n long d = a*c;\n\t\tSystem.out.println(d/500);\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();
double b = sc.nextDouble();
b*=500;
int c = (int)b;
long d = a*c;
System.out.println(d/500);
}
}
|
[
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,
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
],
[
60,
8
],
[
60,
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
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
9,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n String A = scan.next();\n String B = scan.next();\n \n BigDecimal bigA = new BigDecimal(A);\n BigDecimal bigB = new BigDecimal(B);\n \n BigDecimal seki = bigA.multiply(bigB);\n BigDecimal outputmoto = seki.setScale(0, BigDecimal.ROUND_DOWN);\n long output = outputmoto.longValue()\n;\n System.out.println(output);\n\n }\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 scan = new Scanner(System.in);\n\n String A = scan.next();\n String B = scan.next();\n \n BigDecimal bigA = new BigDecimal(A);\n BigDecimal bigB = new BigDecimal(B);\n \n BigDecimal seki = bigA.multiply(bigB);\n BigDecimal outputmoto = seki.setScale(0, BigDecimal.ROUND_DOWN);\n long output = outputmoto.longValue()\n;\n System.out.println(output);\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n String A = scan.next();\n String B = scan.next();\n \n BigDecimal bigA = new BigDecimal(A);\n BigDecimal bigB = new BigDecimal(B);\n \n BigDecimal seki = bigA.multiply(bigB);\n BigDecimal outputmoto = seki.setScale(0, BigDecimal.ROUND_DOWN);\n long output = outputmoto.longValue()\n;\n System.out.println(output);\n\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n\n String A = scan.next();\n String B = scan.next();\n \n BigDecimal bigA = new BigDecimal(A);\n BigDecimal bigB = new BigDecimal(B);\n \n BigDecimal seki = bigA.multiply(bigB);\n BigDecimal outputmoto = seki.setScale(0, BigDecimal.ROUND_DOWN);\n long output = outputmoto.longValue()\n;\n System.out.println(output);\n\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String A = scan.next();",
"A",
"scan.next()",
"scan.next",
"scan",
"String B = scan.next();",
"B",
"scan.next()",
"scan.next",
"scan",
"BigDecimal bigA = new BigDecimal(A);",
"bigA",
"new BigDecimal(A)",
"BigDecimal bigB = new BigDecimal(B);",
"bigB",
"new BigDecimal(B)",
"BigDecimal seki = bigA.multiply(bigB);",
"seki",
"bigA.multiply(bigB)",
"bigA.multiply",
"bigA",
"bigB",
"BigDecimal outputmoto = seki.setScale(0, BigDecimal.ROUND_DOWN);",
"outputmoto",
"seki.setScale(0, BigDecimal.ROUND_DOWN)",
"seki.setScale",
"seki",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"long output = outputmoto.longValue()\n;",
"output",
"outputmoto.longValue()",
"outputmoto.longValue",
"outputmoto",
"System.out.println(output)",
"System.out.println",
"System.out",
"System",
"System.out",
"output",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n String A = scan.next();\n String B = scan.next();\n \n BigDecimal bigA = new BigDecimal(A);\n BigDecimal bigB = new BigDecimal(B);\n \n BigDecimal seki = bigA.multiply(bigB);\n BigDecimal outputmoto = seki.setScale(0, BigDecimal.ROUND_DOWN);\n long output = outputmoto.longValue()\n;\n System.out.println(output);\n\n }\n\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n String A = scan.next();\n String B = scan.next();\n \n BigDecimal bigA = new BigDecimal(A);\n BigDecimal bigB = new BigDecimal(B);\n \n BigDecimal seki = bigA.multiply(bigB);\n BigDecimal outputmoto = seki.setScale(0, BigDecimal.ROUND_DOWN);\n long output = outputmoto.longValue()\n;\n System.out.println(output);\n\n }\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);
String A = scan.next();
String B = scan.next();
BigDecimal bigA = new BigDecimal(A);
BigDecimal bigB = new BigDecimal(B);
BigDecimal seki = bigA.multiply(bigB);
BigDecimal outputmoto = seki.setScale(0, BigDecimal.ROUND_DOWN);
long output = outputmoto.longValue()
;
System.out.println(output);
}
}
|
[
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,
17,
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
],
[
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
],
[
30,
36
],
[
30,
37
],
[
37,
38
],
[
37,
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 public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n BigDecimal A = sc.nextBigDecimal();\n BigDecimal B = sc.nextBigDecimal();\n \n System.out.println(A.multiply(B).setScale(0, BigDecimal.ROUND_DOWN));\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 = sc.nextBigDecimal();\n BigDecimal B = sc.nextBigDecimal();\n \n System.out.println(A.multiply(B).setScale(0, BigDecimal.ROUND_DOWN));\n }\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n BigDecimal A = sc.nextBigDecimal();\n BigDecimal B = sc.nextBigDecimal();\n \n System.out.println(A.multiply(B).setScale(0, BigDecimal.ROUND_DOWN));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n BigDecimal A = sc.nextBigDecimal();\n BigDecimal B = sc.nextBigDecimal();\n \n System.out.println(A.multiply(B).setScale(0, BigDecimal.ROUND_DOWN));\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).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",
"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 = sc.nextBigDecimal();\n BigDecimal B = sc.nextBigDecimal();\n \n System.out.println(A.multiply(B).setScale(0, BigDecimal.ROUND_DOWN));\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 = sc.nextBigDecimal();\n BigDecimal B = sc.nextBigDecimal();\n \n System.out.println(A.multiply(B).setScale(0, BigDecimal.ROUND_DOWN));\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();
System.out.println(A.multiply(B).setScale(0, BigDecimal.ROUND_DOWN));
}
}
|
[
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,
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
],
[
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
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.*;\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\tint b =(int)(sc.nextDouble()*100+0.01);\n\t\t\t\t\n\t\tSystem.out.println((a*b)/100);\n\t\t\n\t\t\n\t\tsc.close();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tint b =(int)(sc.nextDouble()*100+0.01);\n\t\t\t\t\n\t\tSystem.out.println((a*b)/100);\n\t\t\n\t\t\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\tint b =(int)(sc.nextDouble()*100+0.01);\n\t\t\t\t\n\t\tSystem.out.println((a*b)/100);\n\t\t\n\t\t\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tint b =(int)(sc.nextDouble()*100+0.01);\n\t\t\t\t\n\t\tSystem.out.println((a*b)/100);\n\t\t\n\t\t\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",
"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.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\tint b =(int)(sc.nextDouble()*100+0.01);\n\t\t\t\t\n\t\tSystem.out.println((a*b)/100);\n\t\t\n\t\t\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\tint b =(int)(sc.nextDouble()*100+0.01);\n\t\t\t\t\n\t\tSystem.out.println((a*b)/100);\n\t\t\n\t\t\n\t\tsc.close();\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();
int b =(int)(sc.nextDouble()*100+0.01);
System.out.println((a*b)/100);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
20,
14,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
17,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
4,
18,
20,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
23,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
38,
42
],
[
22,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
6,
50
],
[
50,
51
],
[
65,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
52,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic void main(Scanner sc) {\n\t\tlong a = sc.nextLong();\n\t\tlong b = new Long(sc.next().replace(\".\", \"\"));\n\n\t\tString ans = new Long(a * b).toString();\n\n\t\tif (ans.length() >= 3) {\n\t\t\tSystem.out.println(ans.substring(0, ans.length() - 2));\n\t\t} else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tnew Main().main(sc);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic void main(Scanner sc) {\n\t\tlong a = sc.nextLong();\n\t\tlong b = new Long(sc.next().replace(\".\", \"\"));\n\n\t\tString ans = new Long(a * b).toString();\n\n\t\tif (ans.length() >= 3) {\n\t\t\tSystem.out.println(ans.substring(0, ans.length() - 2));\n\t\t} else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tnew Main().main(sc);\n\t}\n}",
"Main",
"public void main(Scanner sc) {\n\t\tlong a = sc.nextLong();\n\t\tlong b = new Long(sc.next().replace(\".\", \"\"));\n\n\t\tString ans = new Long(a * b).toString();\n\n\t\tif (ans.length() >= 3) {\n\t\t\tSystem.out.println(ans.substring(0, ans.length() - 2));\n\t\t} else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\t}",
"main",
"{\n\t\tlong a = sc.nextLong();\n\t\tlong b = new Long(sc.next().replace(\".\", \"\"));\n\n\t\tString ans = new Long(a * b).toString();\n\n\t\tif (ans.length() >= 3) {\n\t\t\tSystem.out.println(ans.substring(0, ans.length() - 2));\n\t\t} else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\t}",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = new Long(sc.next().replace(\".\", \"\"));",
"b",
"new Long(sc.next().replace(\".\", \"\"))",
"String ans = new Long(a * b).toString();",
"ans",
"new Long(a * b).toString()",
"new Long(a * b).toString",
"new Long(a * b)",
"if (ans.length() >= 3) {\n\t\t\tSystem.out.println(ans.substring(0, ans.length() - 2));\n\t\t} else {\n\t\t\tSystem.out.println(0);\n\t\t}",
"ans.length() >= 3",
"ans.length()",
"ans.length",
"ans",
"3",
"{\n\t\t\tSystem.out.println(ans.substring(0, ans.length() - 2));\n\t\t}",
"System.out.println(ans.substring(0, ans.length() - 2))",
"System.out.println",
"System.out",
"System",
"System.out",
"ans.substring(0, ans.length() - 2)",
"ans.substring",
"ans",
"0",
"ans.length() - 2",
"ans.length()",
"ans.length",
"ans",
"2",
"{\n\t\t\tSystem.out.println(0);\n\t\t}",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"Scanner sc",
"sc",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tnew Main().main(sc);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tnew Main().main(sc);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"new Main().main(sc)",
"new Main().main",
"new Main()",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic void main(Scanner sc) {\n\t\tlong a = sc.nextLong();\n\t\tlong b = new Long(sc.next().replace(\".\", \"\"));\n\n\t\tString ans = new Long(a * b).toString();\n\n\t\tif (ans.length() >= 3) {\n\t\t\tSystem.out.println(ans.substring(0, ans.length() - 2));\n\t\t} else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tnew Main().main(sc);\n\t}\n}",
"public class Main {\n\tpublic void main(Scanner sc) {\n\t\tlong a = sc.nextLong();\n\t\tlong b = new Long(sc.next().replace(\".\", \"\"));\n\n\t\tString ans = new Long(a * b).toString();\n\n\t\tif (ans.length() >= 3) {\n\t\t\tSystem.out.println(ans.substring(0, ans.length() - 2));\n\t\t} else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tnew Main().main(sc);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public void main(Scanner sc) {
long a = sc.nextLong();
long b = new Long(sc.next().replace(".", ""));
String ans = new Long(a * b).toString();
if (ans.length() >= 3) {
System.out.println(ans.substring(0, ans.length() - 2));
} else {
System.out.println(0);
}
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
new Main().main(sc);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
13,
18,
13,
17,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
2,
4,
18,
13,
13,
17,
2,
4,
18,
13,
13,
17,
30,
0,
13,
2,
2,
13,
17,
2,
4,
18,
13,
13,
17,
29,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
106,
8
],
[
106,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
9,
51
],
[
51,
52
],
[
106,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
59,
69
],
[
69,
70
],
[
70,
71
],
[
59,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
76,
81
],
[
75,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
82,
87
],
[
74,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
95,
100
],
[
55,
101
],
[
101,
102
],
[
53,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
] |
[
"\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\npublic class Main {\n public static void main(String args[]) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] tokens = br.readLine().split(\" \");\n long a = Long.parseLong(tokens[0]);\n long b = convertToLong(tokens[1]);\n long ans = (a*b)/100;\n System.out.println(ans);\n }\n\n private static long convertToLong(String s){\n long num = 0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)>='0' && s.charAt(i)<='9'){\n num=num*10 + (s.charAt(i)-'0');\n }\n }\n return num;\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String args[]) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] tokens = br.readLine().split(\" \");\n long a = Long.parseLong(tokens[0]);\n long b = convertToLong(tokens[1]);\n long ans = (a*b)/100;\n System.out.println(ans);\n }\n\n private static long convertToLong(String s){\n long num = 0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)>='0' && s.charAt(i)<='9'){\n num=num*10 + (s.charAt(i)-'0');\n }\n }\n return num;\n }\n\n}",
"Main",
"public static void main(String args[]) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] tokens = br.readLine().split(\" \");\n long a = Long.parseLong(tokens[0]);\n long b = convertToLong(tokens[1]);\n long ans = (a*b)/100;\n System.out.println(ans);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] tokens = br.readLine().split(\" \");\n long a = Long.parseLong(tokens[0]);\n long b = convertToLong(tokens[1]);\n long ans = (a*b)/100;\n System.out.println(ans);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] tokens = br.readLine().split(\" \");",
"tokens",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"long a = Long.parseLong(tokens[0]);",
"a",
"Long.parseLong(tokens[0])",
"Long.parseLong",
"Long",
"tokens[0]",
"tokens",
"0",
"long b = convertToLong(tokens[1]);",
"b",
"convertToLong(tokens[1])",
"convertToLong",
"tokens[1]",
"tokens",
"1",
"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",
"private static long convertToLong(String s){\n long num = 0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)>='0' && s.charAt(i)<='9'){\n num=num*10 + (s.charAt(i)-'0');\n }\n }\n return num;\n }",
"convertToLong",
"{\n long num = 0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)>='0' && s.charAt(i)<='9'){\n num=num*10 + (s.charAt(i)-'0');\n }\n }\n return num;\n }",
"long num = 0;",
"num",
"0",
"for(int i=0;i<s.length();i++){\n if(s.charAt(i)>='0' && s.charAt(i)<='9'){\n num=num*10 + (s.charAt(i)-'0');\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if(s.charAt(i)>='0' && s.charAt(i)<='9'){\n num=num*10 + (s.charAt(i)-'0');\n }\n }",
"{\n if(s.charAt(i)>='0' && s.charAt(i)<='9'){\n num=num*10 + (s.charAt(i)-'0');\n }\n }",
"if(s.charAt(i)>='0' && s.charAt(i)<='9'){\n num=num*10 + (s.charAt(i)-'0');\n }",
"s.charAt(i)>='0' && s.charAt(i)<='9'",
"s.charAt(i)>='0'",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"'0'",
"s.charAt(i)<='9'",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"'9'",
"{\n num=num*10 + (s.charAt(i)-'0');\n }",
"num=num*10 + (s.charAt(i)-'0')",
"num",
"num*10 + (s.charAt(i)-'0')",
"num*10",
"num",
"10",
"(s.charAt(i)-'0')",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"'0'",
"return num;",
"num",
"String s",
"s",
"public class Main {\n public static void main(String args[]) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] tokens = br.readLine().split(\" \");\n long a = Long.parseLong(tokens[0]);\n long b = convertToLong(tokens[1]);\n long ans = (a*b)/100;\n System.out.println(ans);\n }\n\n private static long convertToLong(String s){\n long num = 0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)>='0' && s.charAt(i)<='9'){\n num=num*10 + (s.charAt(i)-'0');\n }\n }\n return num;\n }\n\n}",
"public class Main {\n public static void main(String args[]) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] tokens = br.readLine().split(\" \");\n long a = Long.parseLong(tokens[0]);\n long b = convertToLong(tokens[1]);\n long ans = (a*b)/100;\n System.out.println(ans);\n }\n\n private static long convertToLong(String s){\n long num = 0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)>='0' && s.charAt(i)<='9'){\n num=num*10 + (s.charAt(i)-'0');\n }\n }\n return num;\n }\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] tokens = br.readLine().split(" ");
long a = Long.parseLong(tokens[0]);
long b = convertToLong(tokens[1]);
long ans = (a*b)/100;
System.out.println(ans);
}
private static long convertToLong(String s){
long num = 0;
for(int i=0;i<s.length();i++){
if(s.charAt(i)>='0' && s.charAt(i)<='9'){
num=num*10 + (s.charAt(i)-'0');
}
}
return num;
}
}
|
[
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,
13,
41,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
4,
18,
13,
13,
0,
13,
4,
18,
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
],
[
69,
8
],
[
69,
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
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
11,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
11,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
11,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
9,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long A = Long.parseLong(scanner.next());\n double B = Double.parseDouble(scanner.next());\n scanner.close();\n\n BigDecimal num = BigDecimal.valueOf(A);\n num = num.multiply(BigDecimal.valueOf(B));\n num = num.setScale(0, BigDecimal.ROUND_DOWN);\n\n System.out.println(num.toString());\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 Scanner scanner = new Scanner(System.in);\n long A = Long.parseLong(scanner.next());\n double B = Double.parseDouble(scanner.next());\n scanner.close();\n\n BigDecimal num = BigDecimal.valueOf(A);\n num = num.multiply(BigDecimal.valueOf(B));\n num = num.setScale(0, BigDecimal.ROUND_DOWN);\n\n System.out.println(num.toString());\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long A = Long.parseLong(scanner.next());\n double B = Double.parseDouble(scanner.next());\n scanner.close();\n\n BigDecimal num = BigDecimal.valueOf(A);\n num = num.multiply(BigDecimal.valueOf(B));\n num = num.setScale(0, BigDecimal.ROUND_DOWN);\n\n System.out.println(num.toString());\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n long A = Long.parseLong(scanner.next());\n double B = Double.parseDouble(scanner.next());\n scanner.close();\n\n BigDecimal num = BigDecimal.valueOf(A);\n num = num.multiply(BigDecimal.valueOf(B));\n num = num.setScale(0, BigDecimal.ROUND_DOWN);\n\n System.out.println(num.toString());\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long A = Long.parseLong(scanner.next());",
"A",
"Long.parseLong(scanner.next())",
"Long.parseLong",
"Long",
"scanner.next()",
"scanner.next",
"scanner",
"double B = Double.parseDouble(scanner.next());",
"B",
"Double.parseDouble(scanner.next())",
"Double.parseDouble",
"Double",
"scanner.next()",
"scanner.next",
"scanner",
"scanner.close()",
"scanner.close",
"scanner",
"BigDecimal num = BigDecimal.valueOf(A);",
"num",
"BigDecimal.valueOf(A)",
"BigDecimal.valueOf",
"BigDecimal",
"A",
"num = num.multiply(BigDecimal.valueOf(B))",
"num",
"num.multiply(BigDecimal.valueOf(B))",
"num.multiply",
"num",
"BigDecimal.valueOf(B)",
"BigDecimal.valueOf",
"BigDecimal",
"B",
"num = num.setScale(0, BigDecimal.ROUND_DOWN)",
"num",
"num.setScale(0, BigDecimal.ROUND_DOWN)",
"num.setScale",
"num",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"System.out.println(num.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"num.toString()",
"num.toString",
"num",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long A = Long.parseLong(scanner.next());\n double B = Double.parseDouble(scanner.next());\n scanner.close();\n\n BigDecimal num = BigDecimal.valueOf(A);\n num = num.multiply(BigDecimal.valueOf(B));\n num = num.setScale(0, BigDecimal.ROUND_DOWN);\n\n System.out.println(num.toString());\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long A = Long.parseLong(scanner.next());\n double B = Double.parseDouble(scanner.next());\n scanner.close();\n\n BigDecimal num = BigDecimal.valueOf(A);\n num = num.multiply(BigDecimal.valueOf(B));\n num = num.setScale(0, BigDecimal.ROUND_DOWN);\n\n System.out.println(num.toString());\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);
long A = Long.parseLong(scanner.next());
double B = Double.parseDouble(scanner.next());
scanner.close();
BigDecimal num = BigDecimal.valueOf(A);
num = num.multiply(BigDecimal.valueOf(B));
num = num.setScale(0, BigDecimal.ROUND_DOWN);
System.out.println(num.toString());
}
}
|
[
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,
0,
13,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
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
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"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\tdouble b = sc.nextDouble();\n\t\tlong ib = (long) (b * 100 + 0.5);\n\t\ta *= ib;\n\t\ta /= 100;\n\t\tSystem.out.println(a);\n\t\t\n\t\tsc.close();\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\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong ib = (long) (b * 100 + 0.5);\n\t\ta *= ib;\n\t\ta /= 100;\n\t\tSystem.out.println(a);\n\t\t\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\tdouble b = sc.nextDouble();\n\t\tlong ib = (long) (b * 100 + 0.5);\n\t\ta *= ib;\n\t\ta /= 100;\n\t\tSystem.out.println(a);\n\t\t\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 ib = (long) (b * 100 + 0.5);\n\t\ta *= ib;\n\t\ta /= 100;\n\t\tSystem.out.println(a);\n\t\t\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 ib = (long) (b * 100 + 0.5);",
"ib",
"(long) (b * 100 + 0.5)",
"b * 100",
"b",
"100",
"0.5",
"a *= ib",
"a",
"ib",
"a /= 100",
"a",
"100",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"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\tdouble b = sc.nextDouble();\n\t\tlong ib = (long) (b * 100 + 0.5);\n\t\ta *= ib;\n\t\ta /= 100;\n\t\tSystem.out.println(a);\n\t\t\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\tdouble b = sc.nextDouble();\n\t\tlong ib = (long) (b * 100 + 0.5);\n\t\ta *= ib;\n\t\ta /= 100;\n\t\tSystem.out.println(a);\n\t\t\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();
double b = sc.nextDouble();
long ib = (long) (b * 100 + 0.5);
a *= ib;
a /= 100;
System.out.println(a);
sc.close();
}
}
|
[
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,
4,
18,
13,
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
],
[
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
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
30,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"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\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tsc.close();\n\t\tint bInt = Integer.valueOf(b.replace(\".\", \"\"));\n\t\tSystem.out.println(a*bInt/100);\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 sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tsc.close();\n\t\tint bInt = Integer.valueOf(b.replace(\".\", \"\"));\n\t\tSystem.out.println(a*bInt/100);\n\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\tString b = sc.next();\n\t\tsc.close();\n\t\tint bInt = Integer.valueOf(b.replace(\".\", \"\"));\n\t\tSystem.out.println(a*bInt/100);\n\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 bInt = Integer.valueOf(b.replace(\".\", \"\"));\n\t\tSystem.out.println(a*bInt/100);\n\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 bInt = Integer.valueOf(b.replace(\".\", \"\"));",
"bInt",
"Integer.valueOf(b.replace(\".\", \"\"))",
"Integer.valueOf",
"Integer",
"b.replace(\".\", \"\")",
"b.replace",
"b",
"\".\"",
"\"\"",
"System.out.println(a*bInt/100)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*bInt/100",
"a*bInt",
"a",
"bInt",
"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 bInt = Integer.valueOf(b.replace(\".\", \"\"));\n\t\tSystem.out.println(a*bInt/100);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tsc.close();\n\t\tint bInt = Integer.valueOf(b.replace(\".\", \"\"));\n\t\tSystem.out.println(a*bInt/100);\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
String b = sc.next();
sc.close();
int bInt = Integer.valueOf(b.replace(".", ""));
System.out.println(a*bInt/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,
4,
18,
13,
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,
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
],
[
63,
11
],
[
63,
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
],
[
36,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
14,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
12,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] |
[
"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\t\tScanner sc=new Scanner(System.in);\n\n\t\tdouble a=sc.nextDouble();\n\t\tdouble b=sc.nextDouble();\n\t\t\n\t\tBigDecimal a1 = new BigDecimal(String.valueOf(a));\t//BigDecimalに変換\n\t\tBigDecimal b1 = new BigDecimal(String.valueOf(b));\n\t\t\n\t\tBigDecimal c= a1.multiply(b1);\t\t//掛け算\n\t\tBigDecimal value =c.setScale(0, RoundingMode.DOWN);\t//小数点切り捨て\n\t\t\n\t\tlong l = value.longValueExact();\t//long型に格納、小数の末尾を0に\n\t\t\n\t\tSystem.out.println(l);\t\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\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tdouble a=sc.nextDouble();\n\t\tdouble b=sc.nextDouble();\n\t\t\n\t\tBigDecimal a1 = new BigDecimal(String.valueOf(a));\t//BigDecimalに変換\n\t\tBigDecimal b1 = new BigDecimal(String.valueOf(b));\n\t\t\n\t\tBigDecimal c= a1.multiply(b1);\t\t//掛け算\n\t\tBigDecimal value =c.setScale(0, RoundingMode.DOWN);\t//小数点切り捨て\n\t\t\n\t\tlong l = value.longValueExact();\t//long型に格納、小数の末尾を0に\n\t\t\n\t\tSystem.out.println(l);\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tdouble a=sc.nextDouble();\n\t\tdouble b=sc.nextDouble();\n\t\t\n\t\tBigDecimal a1 = new BigDecimal(String.valueOf(a));\t//BigDecimalに変換\n\t\tBigDecimal b1 = new BigDecimal(String.valueOf(b));\n\t\t\n\t\tBigDecimal c= a1.multiply(b1);\t\t//掛け算\n\t\tBigDecimal value =c.setScale(0, RoundingMode.DOWN);\t//小数点切り捨て\n\t\t\n\t\tlong l = value.longValueExact();\t//long型に格納、小数の末尾を0に\n\t\t\n\t\tSystem.out.println(l);\t\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tdouble a=sc.nextDouble();\n\t\tdouble b=sc.nextDouble();\n\t\t\n\t\tBigDecimal a1 = new BigDecimal(String.valueOf(a));\t//BigDecimalに変換\n\t\tBigDecimal b1 = new BigDecimal(String.valueOf(b));\n\t\t\n\t\tBigDecimal c= a1.multiply(b1);\t\t//掛け算\n\t\tBigDecimal value =c.setScale(0, RoundingMode.DOWN);\t//小数点切り捨て\n\t\t\n\t\tlong l = value.longValueExact();\t//long型に格納、小数の末尾を0に\n\t\t\n\t\tSystem.out.println(l);\t\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double a=sc.nextDouble();",
"a",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double b=sc.nextDouble();",
"b",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"BigDecimal a1 = new BigDecimal(String.valueOf(a));",
"a1",
"new BigDecimal(String.valueOf(a))",
"BigDecimal b1 = new BigDecimal(String.valueOf(b));",
"b1",
"new BigDecimal(String.valueOf(b))",
"BigDecimal c= a1.multiply(b1);",
"c",
"a1.multiply(b1)",
"a1.multiply",
"a1",
"b1",
"BigDecimal value =c.setScale(0, RoundingMode.DOWN);",
"value",
"c.setScale(0, RoundingMode.DOWN)",
"c.setScale",
"c",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"long l = value.longValueExact();",
"l",
"value.longValueExact()",
"value.longValueExact",
"value",
"System.out.println(l)",
"System.out.println",
"System.out",
"System",
"System.out",
"l",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tdouble a=sc.nextDouble();\n\t\tdouble b=sc.nextDouble();\n\t\t\n\t\tBigDecimal a1 = new BigDecimal(String.valueOf(a));\t//BigDecimalに変換\n\t\tBigDecimal b1 = new BigDecimal(String.valueOf(b));\n\t\t\n\t\tBigDecimal c= a1.multiply(b1);\t\t//掛け算\n\t\tBigDecimal value =c.setScale(0, RoundingMode.DOWN);\t//小数点切り捨て\n\t\t\n\t\tlong l = value.longValueExact();\t//long型に格納、小数の末尾を0に\n\t\t\n\t\tSystem.out.println(l);\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tdouble a=sc.nextDouble();\n\t\tdouble b=sc.nextDouble();\n\t\t\n\t\tBigDecimal a1 = new BigDecimal(String.valueOf(a));\t//BigDecimalに変換\n\t\tBigDecimal b1 = new BigDecimal(String.valueOf(b));\n\t\t\n\t\tBigDecimal c= a1.multiply(b1);\t\t//掛け算\n\t\tBigDecimal value =c.setScale(0, RoundingMode.DOWN);\t//小数点切り捨て\n\t\t\n\t\tlong l = value.longValueExact();\t//long型に格納、小数の末尾を0に\n\t\t\n\t\tSystem.out.println(l);\t\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) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc=new Scanner(System.in);
double a=sc.nextDouble();
double b=sc.nextDouble();
BigDecimal a1 = new BigDecimal(String.valueOf(a)); //BigDecimalに変換
BigDecimal b1 = new BigDecimal(String.valueOf(b));
BigDecimal c= a1.multiply(b1); //掛け算
BigDecimal value =c.setScale(0, RoundingMode.DOWN); //小数点切り捨て
long l = value.longValueExact(); //long型に格納、小数の末尾を0に
System.out.println(l);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
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,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
4,
18,
13,
13,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
29,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
29,
17,
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
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
194,
32
],
[
194,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
35,
46
],
[
46,
47
],
[
46,
48
],
[
35,
49
],
[
49,
50
],
[
49,
51
],
[
35,
52
],
[
52,
53
],
[
52,
54
],
[
35,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
55,
60
],
[
35,
61
],
[
61,
62
],
[
62,
63
],
[
33,
64
],
[
64,
65
],
[
194,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
70,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
81,
85
],
[
70,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
70,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
70,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
100,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
70,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
113,
114
],
[
114,
115
],
[
68,
116
],
[
116,
117
],
[
68,
118
],
[
118,
119
],
[
68,
120
],
[
120,
121
],
[
194,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
122,
126
],
[
126,
127
],
[
122,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
128,
134
],
[
134,
135
],
[
122,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
139,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
149,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
155,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
166,
167
],
[
155,
168
],
[
168,
169
],
[
168,
170
],
[
138,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
122,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
179,
182
],
[
182,
183
],
[
122,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
188,
191
],
[
191,
192
],
[
0,
193
],
[
193,
194
],
[
193,
195
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\nimport java.math.BigInteger;\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 */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n MyScanner in = new MyScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n C solver = new C();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class C {\n public void solve(int testNumber, MyScanner in, PrintWriter out) {\n long A = in.Long();\n long B = Math.round(in.Double() * 100);\n BigInteger a = BigInteger.valueOf(A);\n BigInteger b = BigInteger.valueOf(B);\n BigInteger ans = a.multiply(b).divide(BigInteger.valueOf(100));\n out.println(ans.toString());\n }\n\n }\n\n static class MyScanner {\n private BufferedReader in;\n private StringTokenizer st;\n\n public MyScanner(InputStream stream) {\n in = new BufferedReader(new InputStreamReader(stream));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n String rl = in.readLine();\n if (rl == null) {\n return null;\n }\n st = new StringTokenizer(rl);\n } catch (IOException e) {\n return null;\n }\n }\n return st.nextToken();\n }\n\n public long Long() {\n return Long.parseLong(next());\n }\n\n public double Double() {\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.math.BigInteger;",
"BigInteger",
"java.math",
"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 MyScanner in = new MyScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n C solver = new C();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class C {\n public void solve(int testNumber, MyScanner in, PrintWriter out) {\n long A = in.Long();\n long B = Math.round(in.Double() * 100);\n BigInteger a = BigInteger.valueOf(A);\n BigInteger b = BigInteger.valueOf(B);\n BigInteger ans = a.multiply(b).divide(BigInteger.valueOf(100));\n out.println(ans.toString());\n }\n\n }\n\n static class MyScanner {\n private BufferedReader in;\n private StringTokenizer st;\n\n public MyScanner(InputStream stream) {\n in = new BufferedReader(new InputStreamReader(stream));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n String rl = in.readLine();\n if (rl == null) {\n return null;\n }\n st = new StringTokenizer(rl);\n } catch (IOException e) {\n return null;\n }\n }\n return st.nextToken();\n }\n\n public long Long() {\n return Long.parseLong(next());\n }\n\n public double Double() {\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 MyScanner in = new MyScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n C solver = new C();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n MyScanner in = new MyScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n C solver = new C();\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",
"MyScanner in = new MyScanner(inputStream);",
"in",
"new MyScanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"C solver = new C();",
"solver",
"new C()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class C {\n public void solve(int testNumber, MyScanner in, PrintWriter out) {\n long A = in.Long();\n long B = Math.round(in.Double() * 100);\n BigInteger a = BigInteger.valueOf(A);\n BigInteger b = BigInteger.valueOf(B);\n BigInteger ans = a.multiply(b).divide(BigInteger.valueOf(100));\n out.println(ans.toString());\n }\n\n }",
"C",
"public void solve(int testNumber, MyScanner in, PrintWriter out) {\n long A = in.Long();\n long B = Math.round(in.Double() * 100);\n BigInteger a = BigInteger.valueOf(A);\n BigInteger b = BigInteger.valueOf(B);\n BigInteger ans = a.multiply(b).divide(BigInteger.valueOf(100));\n out.println(ans.toString());\n }",
"solve",
"{\n long A = in.Long();\n long B = Math.round(in.Double() * 100);\n BigInteger a = BigInteger.valueOf(A);\n BigInteger b = BigInteger.valueOf(B);\n BigInteger ans = a.multiply(b).divide(BigInteger.valueOf(100));\n out.println(ans.toString());\n }",
"long A = in.Long();",
"A",
"in.Long()",
"in.Long",
"in",
"long B = Math.round(in.Double() * 100);",
"B",
"Math.round(in.Double() * 100)",
"Math.round",
"Math",
"in.Double() * 100",
"in.Double()",
"in.Double",
"in",
"100",
"BigInteger a = BigInteger.valueOf(A);",
"a",
"BigInteger.valueOf(A)",
"BigInteger.valueOf",
"BigInteger",
"A",
"BigInteger b = BigInteger.valueOf(B);",
"b",
"BigInteger.valueOf(B)",
"BigInteger.valueOf",
"BigInteger",
"B",
"BigInteger ans = a.multiply(b).divide(BigInteger.valueOf(100));",
"ans",
"a.multiply(b).divide(BigInteger.valueOf(100))",
"a.multiply(b).divide",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"BigInteger.valueOf(100)",
"BigInteger.valueOf",
"BigInteger",
"100",
"out.println(ans.toString())",
"out.println",
"out",
"ans.toString()",
"ans.toString",
"ans",
"int testNumber",
"testNumber",
"MyScanner in",
"in",
"PrintWriter out",
"out",
"static class MyScanner {\n private BufferedReader in;\n private StringTokenizer st;\n\n public MyScanner(InputStream stream) {\n in = new BufferedReader(new InputStreamReader(stream));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n String rl = in.readLine();\n if (rl == null) {\n return null;\n }\n st = new StringTokenizer(rl);\n } catch (IOException e) {\n return null;\n }\n }\n return st.nextToken();\n }\n\n public long Long() {\n return Long.parseLong(next());\n }\n\n public double Double() {\n return Double.parseDouble(next());\n }\n\n }",
"MyScanner",
"private BufferedReader in;",
"in",
"private StringTokenizer st;",
"st",
"public MyScanner(InputStream stream) {\n in = new BufferedReader(new InputStreamReader(stream));\n }",
"MyScanner",
"{\n in = new BufferedReader(new InputStreamReader(stream));\n }",
"in = new BufferedReader(new InputStreamReader(stream))",
"in",
"new BufferedReader(new InputStreamReader(stream))",
"InputStream stream",
"stream",
"public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n String rl = in.readLine();\n if (rl == null) {\n return null;\n }\n st = new StringTokenizer(rl);\n } catch (IOException e) {\n return null;\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) {\n try {\n String rl = in.readLine();\n if (rl == null) {\n return null;\n }\n st = new StringTokenizer(rl);\n } catch (IOException e) {\n return null;\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n try {\n String rl = in.readLine();\n if (rl == null) {\n return null;\n }\n st = new StringTokenizer(rl);\n } catch (IOException e) {\n return null;\n }\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try {\n String rl = in.readLine();\n if (rl == null) {\n return null;\n }\n st = new StringTokenizer(rl);\n } catch (IOException e) {\n return null;\n }\n }",
"try {\n String rl = in.readLine();\n if (rl == null) {\n return null;\n }\n st = new StringTokenizer(rl);\n } catch (IOException e) {\n return null;\n }",
"catch (IOException e) {\n return null;\n }",
"IOException e",
"{\n return null;\n }",
"return null;",
"null",
"{\n String rl = in.readLine();\n if (rl == null) {\n return null;\n }\n st = new StringTokenizer(rl);\n }",
"String rl = in.readLine();",
"rl",
"in.readLine()",
"in.readLine",
"in",
"if (rl == null) {\n return null;\n }",
"rl == null",
"rl",
"null",
"{\n return null;\n }",
"return null;",
"null",
"st = new StringTokenizer(rl)",
"st",
"new StringTokenizer(rl)",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public long Long() {\n return Long.parseLong(next());\n }",
"Long",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public double Double() {\n return Double.parseDouble(next());\n }",
"Double",
"{\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 MyScanner in = new MyScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n C solver = new C();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class C {\n public void solve(int testNumber, MyScanner in, PrintWriter out) {\n long A = in.Long();\n long B = Math.round(in.Double() * 100);\n BigInteger a = BigInteger.valueOf(A);\n BigInteger b = BigInteger.valueOf(B);\n BigInteger ans = a.multiply(b).divide(BigInteger.valueOf(100));\n out.println(ans.toString());\n }\n\n }\n\n static class MyScanner {\n private BufferedReader in;\n private StringTokenizer st;\n\n public MyScanner(InputStream stream) {\n in = new BufferedReader(new InputStreamReader(stream));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n String rl = in.readLine();\n if (rl == null) {\n return null;\n }\n st = new StringTokenizer(rl);\n } catch (IOException e) {\n return null;\n }\n }\n return st.nextToken();\n }\n\n public long Long() {\n return Long.parseLong(next());\n }\n\n public double Double() {\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 MyScanner in = new MyScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n C solver = new C();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class C {\n public void solve(int testNumber, MyScanner in, PrintWriter out) {\n long A = in.Long();\n long B = Math.round(in.Double() * 100);\n BigInteger a = BigInteger.valueOf(A);\n BigInteger b = BigInteger.valueOf(B);\n BigInteger ans = a.multiply(b).divide(BigInteger.valueOf(100));\n out.println(ans.toString());\n }\n\n }\n\n static class MyScanner {\n private BufferedReader in;\n private StringTokenizer st;\n\n public MyScanner(InputStream stream) {\n in = new BufferedReader(new InputStreamReader(stream));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n String rl = in.readLine();\n if (rl == null) {\n return null;\n }\n st = new StringTokenizer(rl);\n } catch (IOException e) {\n return null;\n }\n }\n return st.nextToken();\n }\n\n public long Long() {\n return Long.parseLong(next());\n }\n\n public double Double() {\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.math.BigInteger;
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
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
MyScanner in = new MyScanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
C solver = new C();
solver.solve(1, in, out);
out.close();
}
static class C {
public void solve(int testNumber, MyScanner in, PrintWriter out) {
long A = in.Long();
long B = Math.round(in.Double() * 100);
BigInteger a = BigInteger.valueOf(A);
BigInteger b = BigInteger.valueOf(B);
BigInteger ans = a.multiply(b).divide(BigInteger.valueOf(100));
out.println(ans.toString());
}
}
static class MyScanner {
private BufferedReader in;
private StringTokenizer st;
public MyScanner(InputStream stream) {
in = new BufferedReader(new InputStreamReader(stream));
}
public String next() {
while (st == null || !st.hasMoreTokens()) {
try {
String rl = in.readLine();
if (rl == null) {
return null;
}
st = new StringTokenizer(rl);
} catch (IOException e) {
return null;
}
}
return st.nextToken();
}
public long Long() {
return Long.parseLong(next());
}
public double Double() {
return Double.parseDouble(next());
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
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
],
[
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
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
9,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n BigDecimal A = sc.nextBigDecimal();\n double B = sc.nextDouble();\n\n BigDecimal ans = A.multiply(BigDecimal.valueOf(B));\n System.out.println(ans.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 BigDecimal A = sc.nextBigDecimal();\n double B = sc.nextDouble();\n\n BigDecimal ans = A.multiply(BigDecimal.valueOf(B));\n System.out.println(ans.longValue());\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n BigDecimal A = sc.nextBigDecimal();\n double B = sc.nextDouble();\n\n BigDecimal ans = A.multiply(BigDecimal.valueOf(B));\n System.out.println(ans.longValue());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n BigDecimal A = sc.nextBigDecimal();\n double B = sc.nextDouble();\n\n BigDecimal ans = A.multiply(BigDecimal.valueOf(B));\n System.out.println(ans.longValue());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal A = sc.nextBigDecimal();",
"A",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"double B = sc.nextDouble();",
"B",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"BigDecimal ans = A.multiply(BigDecimal.valueOf(B));",
"ans",
"A.multiply(BigDecimal.valueOf(B))",
"A.multiply",
"A",
"BigDecimal.valueOf(B)",
"BigDecimal.valueOf",
"BigDecimal",
"B",
"System.out.println(ans.longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"ans.longValue()",
"ans.longValue",
"ans",
"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 double B = sc.nextDouble();\n\n BigDecimal ans = A.multiply(BigDecimal.valueOf(B));\n System.out.println(ans.longValue());\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 double B = sc.nextDouble();\n\n BigDecimal ans = A.multiply(BigDecimal.valueOf(B));\n System.out.println(ans.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);
BigDecimal A = sc.nextBigDecimal();
double B = sc.nextDouble();
BigDecimal ans = A.multiply(BigDecimal.valueOf(B));
System.out.println(ans.longValue());
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
17,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
17,
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
],
[
55,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
55,
12
],
[
12,
13
],
[
12,
14
],
[
55,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
15,
21
],
[
21,
22
],
[
55,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
25,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"import java.math.BigDecimal;\nimport java.util.*;\n\npublic class Main {\n\n Scanner sc = new Scanner(System.in);\n\n int MOD = 998244353;\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 = Math.round(b*100);\n\n System.out.println(a*lb/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 int MOD = 998244353;\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 = Math.round(b*100);\n\n System.out.println(a*lb/100);\n }\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int MOD = 998244353;",
"MOD",
"998244353",
"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 = Math.round(b*100);\n\n System.out.println(a*lb/100);\n }",
"run",
"{\n\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long lb = Math.round(b*100);\n\n System.out.println(a*lb/100);\n }",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double b = sc.nextDouble();",
"b",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"long lb = Math.round(b*100);",
"lb",
"Math.round(b*100)",
"Math.round",
"Math",
"b*100",
"b",
"100",
"System.out.println(a*lb/100)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*lb/100",
"a*lb",
"a",
"lb",
"100",
"public class Main {\n\n Scanner sc = new Scanner(System.in);\n\n int MOD = 998244353;\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 = Math.round(b*100);\n\n System.out.println(a*lb/100);\n }\n}",
"public class Main {\n\n Scanner sc = new Scanner(System.in);\n\n int MOD = 998244353;\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 = Math.round(b*100);\n\n System.out.println(a*lb/100);\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.*;
public class Main {
Scanner sc = new Scanner(System.in);
int MOD = 998244353;
public static void main(String[] args) {
new Main().run();
}
void run() {
long a = sc.nextLong();
double b = sc.nextDouble();
long lb = Math.round(b*100);
System.out.println(a*lb/100);
}
}
|
[
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,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
4,
18,
13,
17,
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
],
[
70,
8
],
[
70,
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
],
[
30,
31
],
[
31,
32
],
[
28,
33
],
[
28,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
11,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
11,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
9,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] |
[
"\nimport java.math.BigInteger;\nimport java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = Long.parseLong(sc.next());\n\t\tlong b = Long.parseLong(sc.next().replace(\".\", \"\"));\n\n\t\tBigInteger bigA = BigInteger.valueOf(a);\n\t\tBigInteger bigC = bigA.multiply(BigInteger.valueOf(b));\n\t\tBigInteger bigD = bigC.divide(BigInteger.valueOf(100));\n\t\t\n\t\tSystem.out.println(bigD.longValue());\n\n\t}\n\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = Long.parseLong(sc.next());\n\t\tlong b = Long.parseLong(sc.next().replace(\".\", \"\"));\n\n\t\tBigInteger bigA = BigInteger.valueOf(a);\n\t\tBigInteger bigC = bigA.multiply(BigInteger.valueOf(b));\n\t\tBigInteger bigD = bigC.divide(BigInteger.valueOf(100));\n\t\t\n\t\tSystem.out.println(bigD.longValue());\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = Long.parseLong(sc.next());\n\t\tlong b = Long.parseLong(sc.next().replace(\".\", \"\"));\n\n\t\tBigInteger bigA = BigInteger.valueOf(a);\n\t\tBigInteger bigC = bigA.multiply(BigInteger.valueOf(b));\n\t\tBigInteger bigD = bigC.divide(BigInteger.valueOf(100));\n\t\t\n\t\tSystem.out.println(bigD.longValue());\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = Long.parseLong(sc.next());\n\t\tlong b = Long.parseLong(sc.next().replace(\".\", \"\"));\n\n\t\tBigInteger bigA = BigInteger.valueOf(a);\n\t\tBigInteger bigC = bigA.multiply(BigInteger.valueOf(b));\n\t\tBigInteger bigD = bigC.divide(BigInteger.valueOf(100));\n\t\t\n\t\tSystem.out.println(bigD.longValue());\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",
"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",
"\".\"",
"\"\"",
"BigInteger bigA = BigInteger.valueOf(a);",
"bigA",
"BigInteger.valueOf(a)",
"BigInteger.valueOf",
"BigInteger",
"a",
"BigInteger bigC = bigA.multiply(BigInteger.valueOf(b));",
"bigC",
"bigA.multiply(BigInteger.valueOf(b))",
"bigA.multiply",
"bigA",
"BigInteger.valueOf(b)",
"BigInteger.valueOf",
"BigInteger",
"b",
"BigInteger bigD = bigC.divide(BigInteger.valueOf(100));",
"bigD",
"bigC.divide(BigInteger.valueOf(100))",
"bigC.divide",
"bigC",
"BigInteger.valueOf(100)",
"BigInteger.valueOf",
"BigInteger",
"100",
"System.out.println(bigD.longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"bigD.longValue()",
"bigD.longValue",
"bigD",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = Long.parseLong(sc.next());\n\t\tlong b = Long.parseLong(sc.next().replace(\".\", \"\"));\n\n\t\tBigInteger bigA = BigInteger.valueOf(a);\n\t\tBigInteger bigC = bigA.multiply(BigInteger.valueOf(b));\n\t\tBigInteger bigD = bigC.divide(BigInteger.valueOf(100));\n\t\t\n\t\tSystem.out.println(bigD.longValue());\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = Long.parseLong(sc.next());\n\t\tlong b = Long.parseLong(sc.next().replace(\".\", \"\"));\n\n\t\tBigInteger bigA = BigInteger.valueOf(a);\n\t\tBigInteger bigC = bigA.multiply(BigInteger.valueOf(b));\n\t\tBigInteger bigD = bigC.divide(BigInteger.valueOf(100));\n\t\t\n\t\tSystem.out.println(bigD.longValue());\n\n\t}\n\n}",
"Main"
] |
import java.math.BigInteger;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = Long.parseLong(sc.next());
long b = Long.parseLong(sc.next().replace(".", ""));
BigInteger bigA = BigInteger.valueOf(a);
BigInteger bigC = bigA.multiply(BigInteger.valueOf(b));
BigInteger bigD = bigC.divide(BigInteger.valueOf(100));
System.out.println(bigD.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,
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,
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
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
11,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
11,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
9,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] |
[
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\tlong a = sc.nextLong();\n\tdouble b = sc.nextDouble();\n\tsc.close();\n\tlong c = (long)Math.round(b * 100);\n\tlong d = a * c;\n\tSystem.out.println(d / 100);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\tlong a = sc.nextLong();\n\tdouble b = sc.nextDouble();\n\tsc.close();\n\tlong c = (long)Math.round(b * 100);\n\tlong d = a * c;\n\tSystem.out.println(d / 100);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\tlong a = sc.nextLong();\n\tdouble b = sc.nextDouble();\n\tsc.close();\n\tlong c = (long)Math.round(b * 100);\n\tlong d = a * c;\n\tSystem.out.println(d / 100);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\tlong a = sc.nextLong();\n\tdouble b = sc.nextDouble();\n\tsc.close();\n\tlong c = (long)Math.round(b * 100);\n\tlong d = a * c;\n\tSystem.out.println(d / 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",
"sc.close()",
"sc.close",
"sc",
"long c = (long)Math.round(b * 100);",
"c",
"(long)Math.round(b * 100)",
"Math.round",
"Math",
"b * 100",
"b",
"100",
"long d = a * c;",
"d",
"a * c",
"a",
"c",
"System.out.println(d / 100)",
"System.out.println",
"System.out",
"System",
"System.out",
"d / 100",
"d",
"100",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\tlong a = sc.nextLong();\n\tdouble b = sc.nextDouble();\n\tsc.close();\n\tlong c = (long)Math.round(b * 100);\n\tlong d = a * c;\n\tSystem.out.println(d / 100);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\tlong a = sc.nextLong();\n\tdouble b = sc.nextDouble();\n\tsc.close();\n\tlong c = (long)Math.round(b * 100);\n\tlong d = a * c;\n\tSystem.out.println(d / 100);\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
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 c = (long)Math.round(b * 100);
long d = a * c;
System.out.println(d / 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,
13,
41,
13,
4,
18,
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
],
[
48,
8
],
[
48,
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
],
[
29,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
9,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"\n\nimport java.util.*; \nimport java.math.*;\npublic class Main {\n \n\tpublic static void main(String[] args) {\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\tBigDecimal c = a.multiply(b);\n\t\tBigDecimal d = c.setScale(0,RoundingMode.FLOOR);\n\t\tSystem.out.println(d);\n\t\tsc.close();\n\t}\n \n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n \n\tpublic static void main(String[] args) {\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\tBigDecimal c = a.multiply(b);\n\t\tBigDecimal d = c.setScale(0,RoundingMode.FLOOR);\n\t\tSystem.out.println(d);\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\tBigDecimal a = new BigDecimal(sc.next());\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tBigDecimal c = a.multiply(b);\n\t\tBigDecimal d = c.setScale(0,RoundingMode.FLOOR);\n\t\tSystem.out.println(d);\n\t\tsc.close();\n\t}",
"main",
"{\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\tBigDecimal c = a.multiply(b);\n\t\tBigDecimal d = c.setScale(0,RoundingMode.FLOOR);\n\t\tSystem.out.println(d);\n\t\tsc.close();\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())",
"BigDecimal c = a.multiply(b);",
"c",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"BigDecimal d = c.setScale(0,RoundingMode.FLOOR);",
"d",
"c.setScale(0,RoundingMode.FLOOR)",
"c.setScale",
"c",
"0",
"RoundingMode.FLOOR",
"RoundingMode",
"RoundingMode.FLOOR",
"System.out.println(d)",
"System.out.println",
"System.out",
"System",
"System.out",
"d",
"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\tBigDecimal a = new BigDecimal(sc.next());\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tBigDecimal c = a.multiply(b);\n\t\tBigDecimal d = c.setScale(0,RoundingMode.FLOOR);\n\t\tSystem.out.println(d);\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\tBigDecimal a = new BigDecimal(sc.next());\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tBigDecimal c = a.multiply(b);\n\t\tBigDecimal d = c.setScale(0,RoundingMode.FLOOR);\n\t\tSystem.out.println(d);\n\t\tsc.close();\n\t}\n \n}",
"Main"
] |
import java.util.*;
import java.math.*;
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());
BigDecimal c = a.multiply(b);
BigDecimal d = c.setScale(0,RoundingMode.FLOOR);
System.out.println(d);
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
41,
13,
4,
18,
18,
13,
17,
17,
41,
13,
14,
4,
18,
18,
13,
17,
17,
30,
14,
4,
18,
18,
13,
17,
17,
30,
0,
13,
20,
30,
0,
13,
20,
30,
0,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
14,
2,
4,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
4,
18,
13,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
112,
11
],
[
112,
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
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
14,
37
],
[
37,
38
],
[
14,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
39,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
47,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
47,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
39,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
14,
66
],
[
66,
67
],
[
66,
68
],
[
14,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
14,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
76,
81
],
[
75,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
75,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
100,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
104,
108
],
[
12,
109
],
[
109,
110
],
[
0,
111
],
[
111,
112
],
[
111,
113
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.math.BigInteger;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String[] line = bufferedReader.readLine().split(\" \");\n BigInteger A = new BigInteger(line[0]);\n String[] s = line[1].split(\"\\\\.\");\n BigInteger B;\n if (s[0].equals(\"0\")) {\n if (s[1].startsWith(\"0\")) {\n B = new BigInteger(s[1].substring(1));\n } else {\n B = new BigInteger(s[1]);\n }\n } else {\n B = new BigInteger(s[0] + s[1]);\n }\n BigInteger lim = new BigInteger(\"100\");\n BigInteger res = A.multiply(B);\n if (res.compareTo(lim) < 0) {\n System.out.println(\"0\");\n } else {\n String r = res.toString();\n System.out.println(r.substring(0, r.length() - 2));\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String[] line = bufferedReader.readLine().split(\" \");\n BigInteger A = new BigInteger(line[0]);\n String[] s = line[1].split(\"\\\\.\");\n BigInteger B;\n if (s[0].equals(\"0\")) {\n if (s[1].startsWith(\"0\")) {\n B = new BigInteger(s[1].substring(1));\n } else {\n B = new BigInteger(s[1]);\n }\n } else {\n B = new BigInteger(s[0] + s[1]);\n }\n BigInteger lim = new BigInteger(\"100\");\n BigInteger res = A.multiply(B);\n if (res.compareTo(lim) < 0) {\n System.out.println(\"0\");\n } else {\n String r = res.toString();\n System.out.println(r.substring(0, r.length() - 2));\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String[] line = bufferedReader.readLine().split(\" \");\n BigInteger A = new BigInteger(line[0]);\n String[] s = line[1].split(\"\\\\.\");\n BigInteger B;\n if (s[0].equals(\"0\")) {\n if (s[1].startsWith(\"0\")) {\n B = new BigInteger(s[1].substring(1));\n } else {\n B = new BigInteger(s[1]);\n }\n } else {\n B = new BigInteger(s[0] + s[1]);\n }\n BigInteger lim = new BigInteger(\"100\");\n BigInteger res = A.multiply(B);\n if (res.compareTo(lim) < 0) {\n System.out.println(\"0\");\n } else {\n String r = res.toString();\n System.out.println(r.substring(0, r.length() - 2));\n }\n }",
"main",
"{\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String[] line = bufferedReader.readLine().split(\" \");\n BigInteger A = new BigInteger(line[0]);\n String[] s = line[1].split(\"\\\\.\");\n BigInteger B;\n if (s[0].equals(\"0\")) {\n if (s[1].startsWith(\"0\")) {\n B = new BigInteger(s[1].substring(1));\n } else {\n B = new BigInteger(s[1]);\n }\n } else {\n B = new BigInteger(s[0] + s[1]);\n }\n BigInteger lim = new BigInteger(\"100\");\n BigInteger res = A.multiply(B);\n if (res.compareTo(lim) < 0) {\n System.out.println(\"0\");\n } else {\n String r = res.toString();\n System.out.println(r.substring(0, r.length() - 2));\n }\n }",
"BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));",
"bufferedReader",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] line = bufferedReader.readLine().split(\" \");",
"line",
"bufferedReader.readLine().split(\" \")",
"bufferedReader.readLine().split",
"bufferedReader.readLine()",
"bufferedReader.readLine",
"bufferedReader",
"\" \"",
"BigInteger A = new BigInteger(line[0]);",
"A",
"new BigInteger(line[0])",
"String[] s = line[1].split(\"\\\\.\");",
"s",
"line[1].split(\"\\\\.\")",
"line[1].split",
"line[1]",
"line",
"1",
"\"\\\\.\"",
"BigInteger B;",
"B",
"if (s[0].equals(\"0\")) {\n if (s[1].startsWith(\"0\")) {\n B = new BigInteger(s[1].substring(1));\n } else {\n B = new BigInteger(s[1]);\n }\n } else {\n B = new BigInteger(s[0] + s[1]);\n }",
"s[0].equals(\"0\")",
"s[0].equals",
"s[0]",
"s",
"0",
"\"0\"",
"{\n if (s[1].startsWith(\"0\")) {\n B = new BigInteger(s[1].substring(1));\n } else {\n B = new BigInteger(s[1]);\n }\n }",
"if (s[1].startsWith(\"0\")) {\n B = new BigInteger(s[1].substring(1));\n } else {\n B = new BigInteger(s[1]);\n }",
"s[1].startsWith(\"0\")",
"s[1].startsWith",
"s[1]",
"s",
"1",
"\"0\"",
"{\n B = new BigInteger(s[1].substring(1));\n }",
"B = new BigInteger(s[1].substring(1))",
"B",
"new BigInteger(s[1].substring(1))",
"{\n B = new BigInteger(s[1]);\n }",
"B = new BigInteger(s[1])",
"B",
"new BigInteger(s[1])",
"{\n B = new BigInteger(s[0] + s[1]);\n }",
"B = new BigInteger(s[0] + s[1])",
"B",
"new BigInteger(s[0] + s[1])",
"BigInteger lim = new BigInteger(\"100\");",
"lim",
"new BigInteger(\"100\")",
"BigInteger res = A.multiply(B);",
"res",
"A.multiply(B)",
"A.multiply",
"A",
"B",
"if (res.compareTo(lim) < 0) {\n System.out.println(\"0\");\n } else {\n String r = res.toString();\n System.out.println(r.substring(0, r.length() - 2));\n }",
"res.compareTo(lim) < 0",
"res.compareTo(lim)",
"res.compareTo",
"res",
"lim",
"0",
"{\n System.out.println(\"0\");\n }",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"{\n String r = res.toString();\n System.out.println(r.substring(0, r.length() - 2));\n }",
"String r = res.toString();",
"r",
"res.toString()",
"res.toString",
"res",
"System.out.println(r.substring(0, r.length() - 2))",
"System.out.println",
"System.out",
"System",
"System.out",
"r.substring(0, r.length() - 2)",
"r.substring",
"r",
"0",
"r.length() - 2",
"r.length()",
"r.length",
"r",
"2",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String[] line = bufferedReader.readLine().split(\" \");\n BigInteger A = new BigInteger(line[0]);\n String[] s = line[1].split(\"\\\\.\");\n BigInteger B;\n if (s[0].equals(\"0\")) {\n if (s[1].startsWith(\"0\")) {\n B = new BigInteger(s[1].substring(1));\n } else {\n B = new BigInteger(s[1]);\n }\n } else {\n B = new BigInteger(s[0] + s[1]);\n }\n BigInteger lim = new BigInteger(\"100\");\n BigInteger res = A.multiply(B);\n if (res.compareTo(lim) < 0) {\n System.out.println(\"0\");\n } else {\n String r = res.toString();\n System.out.println(r.substring(0, r.length() - 2));\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String[] line = bufferedReader.readLine().split(\" \");\n BigInteger A = new BigInteger(line[0]);\n String[] s = line[1].split(\"\\\\.\");\n BigInteger B;\n if (s[0].equals(\"0\")) {\n if (s[1].startsWith(\"0\")) {\n B = new BigInteger(s[1].substring(1));\n } else {\n B = new BigInteger(s[1]);\n }\n } else {\n B = new BigInteger(s[0] + s[1]);\n }\n BigInteger lim = new BigInteger(\"100\");\n BigInteger res = A.multiply(B);\n if (res.compareTo(lim) < 0) {\n System.out.println(\"0\");\n } else {\n String r = res.toString();\n System.out.println(r.substring(0, r.length() - 2));\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigInteger;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
String[] line = bufferedReader.readLine().split(" ");
BigInteger A = new BigInteger(line[0]);
String[] s = line[1].split("\\.");
BigInteger B;
if (s[0].equals("0")) {
if (s[1].startsWith("0")) {
B = new BigInteger(s[1].substring(1));
} else {
B = new BigInteger(s[1]);
}
} else {
B = new BigInteger(s[0] + s[1]);
}
BigInteger lim = new BigInteger("100");
BigInteger res = A.multiply(B);
if (res.compareTo(lim) < 0) {
System.out.println("0");
} else {
String r = res.toString();
System.out.println(r.substring(0, r.length() - 2));
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
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,
13,
2,
2,
13,
13,
17,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
13,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
17,
0,
13,
2,
2,
13,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
20,
4,
18,
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,
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,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
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,
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,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
348,
8
],
[
348,
9
],
[
9,
10
],
[
9,
11
],
[
348,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
31,
38
],
[
30,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
12,
53
],
[
53,
54
],
[
12,
55
],
[
55,
56
],
[
12,
57
],
[
57,
58
],
[
348,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
61,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
73,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
72,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
72,
93
],
[
93,
94
],
[
93,
95
],
[
61,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
61,
103
],
[
103,
104
],
[
59,
105
],
[
105,
106
],
[
59,
107
],
[
107,
108
],
[
348,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
115,
117
],
[
111,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
123,
124
],
[
123,
125
],
[
118,
126
],
[
126,
127
],
[
127,
128
],
[
118,
129
],
[
130,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
111,
134
],
[
134,
135
],
[
135,
136
],
[
109,
137
],
[
137,
138
],
[
0,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
139,
143
],
[
143,
144
],
[
143,
145
],
[
139,
147
],
[
147,
148
],
[
139,
149
],
[
149,
150
],
[
139,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
151,
159
],
[
159,
160
],
[
139,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
164,
169
],
[
169,
170
],
[
163,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
171,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
179,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
188,
191
],
[
175,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
192,
196
],
[
196,
197
],
[
197,
198
],
[
163,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
139,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
211,
209
],
[
221,
210
],
[
218,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
211,
215
],
[
215,
216
],
[
215,
217
],
[
218,
218
],
[
218,
219
],
[
218,
220
],
[
221,
221
],
[
221,
222
],
[
221,
223
],
[
211,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
204,
228
],
[
228,
229
],
[
139,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
233,
234
],
[
235,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
235,
239
],
[
239,
240
],
[
239,
241
],
[
235,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
230,
246
],
[
246,
247
],
[
139,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
252,
255
],
[
255,
256
],
[
139,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
261,
264
],
[
264,
265
],
[
139,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
270,
273
],
[
273,
274
],
[
139,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
277,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
277,
290
],
[
290,
291
],
[
290,
292
],
[
277,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
293,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
299,
302
],
[
298,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
277,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
139,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
313,
318
],
[
318,
319
],
[
319,
320
],
[
319,
321
],
[
318,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
313,
326
],
[
326,
327
],
[
326,
328
],
[
313,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
329,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
335,
338
],
[
334,
339
],
[
339,
340
],
[
339,
341
],
[
341,
342
],
[
313,
343
],
[
343,
344
],
[
344,
345
],
[
345,
346
],
[
0,
347
],
[
347,
348
],
[
347,
349
]
] |
[
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n\n private static final int M = 1_000_000_007;\n\n public Main(FastScanner in, PrintWriter out, int test) {\n long A = in.nextLong();\n String[] B = in.next().split(\"\\\\.\");\n int b = Integer.parseInt(B[0]) * 100 + Integer.parseInt(B[1]);\n out.println(A * b / 100);\n }\n\n private long pow(int x, int p) {\n long res = 1, a = x;\n while (p > 1) {\n if (p % 2 == 1)\n res = res * a % M;\n\n a = a * a % M;\n p /= 2;\n }\n res = res * a % M;\n return res;\n }\n\n public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n // Scanner in = new Scanner(\n // new BufferedReader(new InputStreamReader(System.in)));\n FastScanner in = new FastScanner(System.in);\n\n // int T = in.nextInt();\n for (int t = 1; t <= 1; t++) {\n Main sol = new Main(in, out, t);\n }\n\n out.close();\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 {\n this.stream = stream;\n }\n\n int read()\n {\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 boolean isSpaceChar(int c)\n {\n return c==' '||c=='\\n'||c=='\\r'||c=='\\t'||c==-1;\n }\n\n boolean isEndline(int c)\n {\n return c=='\\n'||c=='\\r'||c==-1;\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n long nextLong()\n {\n return Long.parseLong(next());\n }\n\n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n String 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 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}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n private static final int M = 1_000_000_007;\n\n public Main(FastScanner in, PrintWriter out, int test) {\n long A = in.nextLong();\n String[] B = in.next().split(\"\\\\.\");\n int b = Integer.parseInt(B[0]) * 100 + Integer.parseInt(B[1]);\n out.println(A * b / 100);\n }\n\n private long pow(int x, int p) {\n long res = 1, a = x;\n while (p > 1) {\n if (p % 2 == 1)\n res = res * a % M;\n\n a = a * a % M;\n p /= 2;\n }\n res = res * a % M;\n return res;\n }\n\n public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n // Scanner in = new Scanner(\n // new BufferedReader(new InputStreamReader(System.in)));\n FastScanner in = new FastScanner(System.in);\n\n // int T = in.nextInt();\n for (int t = 1; t <= 1; t++) {\n Main sol = new Main(in, out, t);\n }\n\n out.close();\n }\n}",
"Main",
"private static final int M = 1_000_000_007;",
"M",
"1_000_000_007",
"public Main(FastScanner in, PrintWriter out, int test) {\n long A = in.nextLong();\n String[] B = in.next().split(\"\\\\.\");\n int b = Integer.parseInt(B[0]) * 100 + Integer.parseInt(B[1]);\n out.println(A * b / 100);\n }",
"Main",
"{\n long A = in.nextLong();\n String[] B = in.next().split(\"\\\\.\");\n int b = Integer.parseInt(B[0]) * 100 + Integer.parseInt(B[1]);\n out.println(A * b / 100);\n }",
"long A = in.nextLong();",
"A",
"in.nextLong()",
"in.nextLong",
"in",
"String[] B = in.next().split(\"\\\\.\");",
"B",
"in.next().split(\"\\\\.\")",
"in.next().split",
"in.next()",
"in.next",
"in",
"\"\\\\.\"",
"int b = Integer.parseInt(B[0]) * 100 + Integer.parseInt(B[1]);",
"b",
"Integer.parseInt(B[0]) * 100 + Integer.parseInt(B[1])",
"Integer.parseInt(B[0]) * 100",
"Integer.parseInt(B[0])",
"Integer.parseInt",
"Integer",
"B[0]",
"B",
"0",
"100",
"Integer.parseInt(B[1])",
"Integer.parseInt",
"Integer",
"B[1]",
"B",
"1",
"out.println(A * b / 100)",
"out.println",
"out",
"A * b / 100",
"A * b",
"A",
"b",
"100",
"FastScanner in",
"in",
"PrintWriter out",
"out",
"int test",
"test",
"private long pow(int x, int p) {\n long res = 1, a = x;\n while (p > 1) {\n if (p % 2 == 1)\n res = res * a % M;\n\n a = a * a % M;\n p /= 2;\n }\n res = res * a % M;\n return res;\n }",
"pow",
"{\n long res = 1, a = x;\n while (p > 1) {\n if (p % 2 == 1)\n res = res * a % M;\n\n a = a * a % M;\n p /= 2;\n }\n res = res * a % M;\n return res;\n }",
"long res = 1",
"res",
"1",
"a = x;",
"a",
"x",
"while (p > 1) {\n if (p % 2 == 1)\n res = res * a % M;\n\n a = a * a % M;\n p /= 2;\n }",
"p > 1",
"p",
"1",
"{\n if (p % 2 == 1)\n res = res * a % M;\n\n a = a * a % M;\n p /= 2;\n }",
"if (p % 2 == 1)\n res = res * a % M;",
"p % 2 == 1",
"p % 2",
"p",
"2",
"1",
"res = res * a % M",
"res",
"res * a % M",
"res * a",
"res",
"a",
"M",
"a = a * a % M",
"a",
"a * a % M",
"a * a",
"a",
"a",
"M",
"p /= 2",
"p",
"2",
"res = res * a % M",
"res",
"res * a % M",
"res * a",
"res",
"a",
"M",
"return res;",
"res",
"int x",
"x",
"int p",
"p",
"public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n // Scanner in = new Scanner(\n // new BufferedReader(new InputStreamReader(System.in)));\n FastScanner in = new FastScanner(System.in);\n\n // int T = in.nextInt();\n for (int t = 1; t <= 1; t++) {\n Main sol = new Main(in, out, t);\n }\n\n out.close();\n }",
"main",
"{\n PrintWriter out = new PrintWriter(System.out);\n // Scanner in = new Scanner(\n // new BufferedReader(new InputStreamReader(System.in)));\n FastScanner in = new FastScanner(System.in);\n\n // int T = in.nextInt();\n for (int t = 1; t <= 1; t++) {\n Main sol = new Main(in, out, t);\n }\n\n out.close();\n }",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"FastScanner in = new FastScanner(System.in);",
"in",
"new FastScanner(System.in)",
"for (int t = 1; t <= 1; t++) {\n Main sol = new Main(in, out, t);\n }",
"int t = 1;",
"int t = 1;",
"t",
"1",
"t <= 1",
"t",
"1",
"t++",
"t++",
"t",
"{\n Main sol = new Main(in, out, t);\n }",
"{\n Main sol = new Main(in, out, t);\n }",
"Main sol = new Main(in, out, t);",
"sol",
"new Main(in, out, t)",
"out.close()",
"out.close",
"out",
"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 {\n this.stream = stream;\n }\n\n int read()\n {\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 boolean isSpaceChar(int c)\n {\n return c==' '||c=='\\n'||c=='\\r'||c=='\\t'||c==-1;\n }\n\n boolean isEndline(int c)\n {\n return c=='\\n'||c=='\\r'||c==-1;\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n long nextLong()\n {\n return Long.parseLong(next());\n }\n\n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n String 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 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}",
"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 {\n this.stream = stream;\n }",
"FastScanner",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"int read()\n {\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",
"boolean isSpaceChar(int c)\n {\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",
"boolean isEndline(int c)\n {\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",
"int nextInt()\n {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong()\n {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble()\n {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String 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",
"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 class Main {\n\n private static final int M = 1_000_000_007;\n\n public Main(FastScanner in, PrintWriter out, int test) {\n long A = in.nextLong();\n String[] B = in.next().split(\"\\\\.\");\n int b = Integer.parseInt(B[0]) * 100 + Integer.parseInt(B[1]);\n out.println(A * b / 100);\n }\n\n private long pow(int x, int p) {\n long res = 1, a = x;\n while (p > 1) {\n if (p % 2 == 1)\n res = res * a % M;\n\n a = a * a % M;\n p /= 2;\n }\n res = res * a % M;\n return res;\n }\n\n public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n // Scanner in = new Scanner(\n // new BufferedReader(new InputStreamReader(System.in)));\n FastScanner in = new FastScanner(System.in);\n\n // int T = in.nextInt();\n for (int t = 1; t <= 1; t++) {\n Main sol = new Main(in, out, t);\n }\n\n out.close();\n }\n}",
"public class Main {\n\n private static final int M = 1_000_000_007;\n\n public Main(FastScanner in, PrintWriter out, int test) {\n long A = in.nextLong();\n String[] B = in.next().split(\"\\\\.\");\n int b = Integer.parseInt(B[0]) * 100 + Integer.parseInt(B[1]);\n out.println(A * b / 100);\n }\n\n private long pow(int x, int p) {\n long res = 1, a = x;\n while (p > 1) {\n if (p % 2 == 1)\n res = res * a % M;\n\n a = a * a % M;\n p /= 2;\n }\n res = res * a % M;\n return res;\n }\n\n public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n // Scanner in = new Scanner(\n // new BufferedReader(new InputStreamReader(System.in)));\n FastScanner in = new FastScanner(System.in);\n\n // int T = in.nextInt();\n for (int t = 1; t <= 1; t++) {\n Main sol = new Main(in, out, t);\n }\n\n out.close();\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
private static final int M = 1_000_000_007;
public Main(FastScanner in, PrintWriter out, int test) {
long A = in.nextLong();
String[] B = in.next().split("\\.");
int b = Integer.parseInt(B[0]) * 100 + Integer.parseInt(B[1]);
out.println(A * b / 100);
}
private long pow(int x, int p) {
long res = 1, a = x;
while (p > 1) {
if (p % 2 == 1)
res = res * a % M;
a = a * a % M;
p /= 2;
}
res = res * a % M;
return res;
}
public static void main(String[] args) {
PrintWriter out = new PrintWriter(System.out);
// Scanner in = new Scanner(
// new BufferedReader(new InputStreamReader(System.in)));
FastScanner in = new FastScanner(System.in);
// int T = in.nextInt();
for (int t = 1; t <= 1; t++) {
Main sol = new Main(in, out, t);
}
out.close();
}
}
class FastScanner{
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
public FastScanner(InputStream stream)
{
this.stream = stream;
}
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++];
}
boolean isSpaceChar(int c)
{
return c==' '||c=='\n'||c=='\r'||c=='\t'||c==-1;
}
boolean isEndline(int c)
{
return c=='\n'||c=='\r'||c==-1;
}
int nextInt()
{
return Integer.parseInt(next());
}
long nextLong()
{
return Long.parseLong(next());
}
double nextDouble()
{
return Double.parseDouble(next());
}
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();
}
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();
}
}
|
[
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.*;\n import java.math.BigDecimal;\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 BigDecimal b1 = new BigDecimal(a);\n BigDecimal b2 = new BigDecimal(b);\n BigDecimal c = b1.multiply(b2);\n BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);\n System.out.println(d);\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 String a = sc.next();\n String b = sc.next();\n BigDecimal b1 = new BigDecimal(a);\n BigDecimal b2 = new BigDecimal(b);\n BigDecimal c = b1.multiply(b2);\n BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);\n System.out.println(d);\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 BigDecimal b1 = new BigDecimal(a);\n BigDecimal b2 = new BigDecimal(b);\n BigDecimal c = b1.multiply(b2);\n BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);\n System.out.println(d);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n BigDecimal b1 = new BigDecimal(a);\n BigDecimal b2 = new BigDecimal(b);\n BigDecimal c = b1.multiply(b2);\n BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);\n System.out.println(d);\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 c = b1.multiply(b2);",
"c",
"b1.multiply(b2)",
"b1.multiply",
"b1",
"b2",
"BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);",
"d",
"c.setScale(0,BigDecimal.ROUND_DOWN)",
"c.setScale",
"c",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"System.out.println(d)",
"System.out.println",
"System.out",
"System",
"System.out",
"d",
"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 BigDecimal b1 = new BigDecimal(a);\n BigDecimal b2 = new BigDecimal(b);\n BigDecimal c = b1.multiply(b2);\n BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);\n System.out.println(d);\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 BigDecimal b1 = new BigDecimal(a);\n BigDecimal b2 = new BigDecimal(b);\n BigDecimal c = b1.multiply(b2);\n BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);\n System.out.println(d);\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 c = b1.multiply(b2);
BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);
System.out.println(d);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
17,
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,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
13,
29,
17,
14,
2,
2,
13,
13,
2,
13,
17,
29,
17,
41,
13,
2,
2,
18,
13,
13,
4,
13,
2,
2,
18,
13,
13,
18,
13,
2,
13,
13,
13,
2,
13,
17,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
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
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
348,
35
],
[
348,
36
],
[
36,
37
],
[
36,
38
],
[
348,
39
],
[
39,
40
],
[
348,
41
],
[
41,
42
],
[
41,
43
],
[
348,
44
],
[
44,
45
],
[
44,
46
],
[
348,
47
],
[
47,
48
],
[
47,
49
],
[
348,
50
],
[
50,
51
],
[
50,
52
],
[
348,
53
],
[
53,
54
],
[
348,
55
],
[
55,
56
],
[
348,
57
],
[
57,
58
],
[
348,
59
],
[
59,
60
],
[
348,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
63,
70
],
[
70,
71
],
[
70,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
73,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
78,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
78,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
78,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
78,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
63,
110
],
[
110,
111
],
[
111,
112
],
[
61,
113
],
[
113,
114
],
[
348,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
123,
125
],
[
118,
126
],
[
126,
127
],
[
117,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
133,
135
],
[
128,
136
],
[
136,
137
],
[
117,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
154,
156
],
[
147,
157
],
[
145,
158
],
[
158,
159
],
[
158,
160
],
[
140,
161
],
[
117,
162
],
[
162,
163
],
[
115,
164
],
[
164,
165
],
[
115,
166
],
[
166,
167
],
[
348,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
184
],
[
179,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
178,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
198
],
[
178,
199
],
[
199,
200
],
[
199,
201
],
[
170,
202
],
[
202,
203
],
[
168,
204
],
[
204,
205
],
[
168,
206
],
[
206,
207
],
[
348,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
211,
217
],
[
217,
218
],
[
210,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
220,
223
],
[
223,
224
],
[
223,
225
],
[
208,
226
],
[
226,
227
],
[
208,
228
],
[
228,
229
],
[
348,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
233,
239
],
[
239,
240
],
[
232,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
242,
245
],
[
245,
246
],
[
245,
247
],
[
230,
248
],
[
248,
249
],
[
230,
250
],
[
250,
251
],
[
348,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
255,
256
],
[
252,
257
],
[
257,
258
],
[
348,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
259,
263
],
[
263,
264
],
[
259,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
259,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
274,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
275,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
274,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
284,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
273,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
259,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
303,
306
],
[
306,
307
],
[
259,
308
],
[
308,
309
],
[
308,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
312,
315
],
[
315,
316
],
[
259,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
321,
324
],
[
324,
325
],
[
259,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
328,
332
],
[
332,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
332,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
343,
344
],
[
328,
345
],
[
345,
346
],
[
0,
347
],
[
347,
348
],
[
347,
349
]
] |
[
"import java.io.*;\nimport java.math.*;\nimport java.security.*;\nimport java.text.*;\nimport java.util.*;\nimport java.util.concurrent.*;\nimport java.util.function.*;\nimport java.util.regex.*;\nimport java.util.stream.*;\nimport static java.util.stream.Collectors.joining;\nimport static java.util.stream.Collectors.toList;\npublic class Main{\n\n static long MOD = 1000000007L;\n static long [] fac;\n static int[][] dir = new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}};\n static long lMax = 0x3f3f3f3f3f3f3f3fL;\n static int iMax = 0x3f3f3f3f;\n static HashMap <Long, Long> memo = new HashMap();\n static int n, m;\n static int[][] mat;\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n // Start writing your solution here. -------------------------------------\n //int t = sc.nextInt();\n int t = 1;\n while(t-- > 0){\n long threshold = 1000000000000000000L;\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long bb = (long)(100 * b + 0.001);\n long res = a * bb / 100;\n out.println(res);\n }\n out.close();\n }\n public static long C(int n, int m)\n {\n if(m == 0 || m == n) return 1l;\n if(m > n || m < 0) return 0l;\n long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;\n\n return res;\n }\n public static long quickPOW(long n, long m)\n {\n long ans = 1l;\n while(m > 0)\n {\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }\n return ans;\n }\n public static int gcd(int a, int b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long gcd(long a, long b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long solve(long cur){\n return 0L;\n }\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n //-----------MyScanner class for faster input----------\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 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 int nextInt() {\n return Integer.parseInt(next());\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n double nextDouble() {\n return Double.parseDouble(next());\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.security.*;",
"security.*",
"java",
"import java.text.*;",
"text.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.concurrent.*;",
"concurrent.*",
"java.util",
"import java.util.function.*;",
"function.*",
"java.util",
"import java.util.regex.*;",
"regex.*",
"java.util",
"import java.util.stream.*;",
"stream.*",
"java.util",
"import static java.util.stream.Collectors.joining;",
"import static java.util.stream.Collectors.joining;",
"import static java.util.stream.Collectors.joining;",
"import static java.util.stream.Collectors.toList;",
"import static java.util.stream.Collectors.toList;",
"import static java.util.stream.Collectors.toList;",
"public class Main{\n\n static long MOD = 1000000007L;\n static long [] fac;\n static int[][] dir = new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}};\n static long lMax = 0x3f3f3f3f3f3f3f3fL;\n static int iMax = 0x3f3f3f3f;\n static HashMap <Long, Long> memo = new HashMap();\n static int n, m;\n static int[][] mat;\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n // Start writing your solution here. -------------------------------------\n //int t = sc.nextInt();\n int t = 1;\n while(t-- > 0){\n long threshold = 1000000000000000000L;\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long bb = (long)(100 * b + 0.001);\n long res = a * bb / 100;\n out.println(res);\n }\n out.close();\n }\n public static long C(int n, int m)\n {\n if(m == 0 || m == n) return 1l;\n if(m > n || m < 0) return 0l;\n long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;\n\n return res;\n }\n public static long quickPOW(long n, long m)\n {\n long ans = 1l;\n while(m > 0)\n {\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }\n return ans;\n }\n public static int gcd(int a, int b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long gcd(long a, long b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long solve(long cur){\n return 0L;\n }\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n //-----------MyScanner class for faster input----------\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 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 int nextInt() {\n return Integer.parseInt(next());\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n double nextDouble() {\n return Double.parseDouble(next());\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 long MOD = 1000000007L;",
"MOD",
"1000000007L",
"static long [] fac;",
"fac",
"static int[][] dir = new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}};",
"dir",
"new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}}",
"static long lMax = 0x3f3f3f3f3f3f3f3fL;",
"lMax",
"0x3f3f3f3f3f3f3f3fL",
"static int iMax = 0x3f3f3f3f;",
"iMax",
"0x3f3f3f3f",
"static HashMap <Long, Long> memo = new HashMap();",
"memo",
"new HashMap()",
"static int n",
"n",
"m;",
"m",
"static int[][] mat;",
"mat",
"//-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;",
"out",
"public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n // Start writing your solution here. -------------------------------------\n //int t = sc.nextInt();\n int t = 1;\n while(t-- > 0){\n long threshold = 1000000000000000000L;\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long bb = (long)(100 * b + 0.001);\n long res = a * bb / 100;\n out.println(res);\n }\n out.close();\n }",
"main",
"{\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n // Start writing your solution here. -------------------------------------\n //int t = sc.nextInt();\n int t = 1;\n while(t-- > 0){\n long threshold = 1000000000000000000L;\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long bb = (long)(100 * b + 0.001);\n long res = a * bb / 100;\n out.println(res);\n }\n out.close();\n }",
"MyScanner sc = new MyScanner();",
"sc",
"new MyScanner()",
"out = new PrintWriter(new BufferedOutputStream(System.out))",
"out",
"new PrintWriter(new BufferedOutputStream(System.out))",
"int t = 1;",
"t",
"1",
"while(t-- > 0){\n long threshold = 1000000000000000000L;\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long bb = (long)(100 * b + 0.001);\n long res = a * bb / 100;\n out.println(res);\n }",
"t-- > 0",
"t--",
"t",
"0",
"{\n long threshold = 1000000000000000000L;\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long bb = (long)(100 * b + 0.001);\n long res = a * bb / 100;\n out.println(res);\n }",
"long threshold = 1000000000000000000L;",
"threshold",
"1000000000000000000L",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double b = sc.nextDouble();",
"b",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"long bb = (long)(100 * b + 0.001);",
"bb",
"(long)(100 * b + 0.001)",
"100 * b",
"100",
"b",
"0.001",
"long res = a * bb / 100;",
"res",
"a * bb / 100",
"a * bb",
"a",
"bb",
"100",
"out.println(res)",
"out.println",
"out",
"res",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public static long C(int n, int m)\n {\n if(m == 0 || m == n) return 1l;\n if(m > n || m < 0) return 0l;\n long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;\n\n return res;\n }",
"C",
"{\n if(m == 0 || m == n) return 1l;\n if(m > n || m < 0) return 0l;\n long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;\n\n return res;\n }",
"if(m == 0 || m == n) return 1l;",
"m == 0 || m == n",
"m == 0",
"m",
"0",
"m == n",
"m",
"n",
"return 1l;",
"1l",
"if(m > n || m < 0) return 0l;",
"m > n || m < 0",
"m > n",
"m",
"n",
"m < 0",
"m",
"0",
"return 0l;",
"0l",
"long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;",
"res",
"fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD",
"fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2)",
"fac[n]",
"fac",
"n",
"quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2)",
"quickPOW",
"(fac[m] * fac[n - m]) % MOD",
"(fac[m] * fac[n - m])",
"fac[m]",
"fac",
"m",
"fac[n - m]",
"fac",
"n - m",
"n",
"m",
"MOD",
"MOD - 2",
"MOD",
"2",
"MOD",
"return res;",
"res",
"int n",
"n",
"int m",
"m",
"public static long quickPOW(long n, long m)\n {\n long ans = 1l;\n while(m > 0)\n {\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }\n return ans;\n }",
"quickPOW",
"{\n long ans = 1l;\n while(m > 0)\n {\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }\n return ans;\n }",
"long ans = 1l;",
"ans",
"1l",
"while(m > 0)\n {\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }",
"m > 0",
"m",
"0",
"{\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }",
"if(m % 2 == 1)\n ans = (ans * n) % MOD;",
"m % 2 == 1",
"m % 2",
"m",
"2",
"1",
"ans = (ans * n) % MOD",
"ans",
"(ans * n) % MOD",
"(ans * n)",
"ans",
"n",
"MOD",
"n = (n * n) % MOD",
"n",
"(n * n) % MOD",
"(n * n)",
"n",
"n",
"MOD",
"m >>= 1",
"m",
"1",
"return ans;",
"ans",
"long n",
"n",
"long m",
"m",
"public static int gcd(int a, int b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }",
"gcd",
"{\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }",
"if(a % b == 0) return b;",
"a % b == 0",
"a % b",
"a",
"b",
"0",
"return b;",
"b",
"return gcd(b, a % b);",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"public static long gcd(long a, long b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }",
"gcd",
"{\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }",
"if(a % b == 0) return b;",
"a % b == 0",
"a % b",
"a",
"b",
"0",
"return b;",
"b",
"return gcd(b, a % b);",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"public static long solve(long cur){\n return 0L;\n }",
"solve",
"{\n return 0L;\n }",
"return 0L;",
"0L",
"long cur",
"cur",
"public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\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 int nextInt() {\n return Integer.parseInt(next());\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n double nextDouble() {\n return Double.parseDouble(next());\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 }",
"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 long MOD = 1000000007L;\n static long [] fac;\n static int[][] dir = new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}};\n static long lMax = 0x3f3f3f3f3f3f3f3fL;\n static int iMax = 0x3f3f3f3f;\n static HashMap <Long, Long> memo = new HashMap();\n static int n, m;\n static int[][] mat;\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n // Start writing your solution here. -------------------------------------\n //int t = sc.nextInt();\n int t = 1;\n while(t-- > 0){\n long threshold = 1000000000000000000L;\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long bb = (long)(100 * b + 0.001);\n long res = a * bb / 100;\n out.println(res);\n }\n out.close();\n }\n public static long C(int n, int m)\n {\n if(m == 0 || m == n) return 1l;\n if(m > n || m < 0) return 0l;\n long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;\n\n return res;\n }\n public static long quickPOW(long n, long m)\n {\n long ans = 1l;\n while(m > 0)\n {\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }\n return ans;\n }\n public static int gcd(int a, int b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long gcd(long a, long b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long solve(long cur){\n return 0L;\n }\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n //-----------MyScanner class for faster input----------\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 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 int nextInt() {\n return Integer.parseInt(next());\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n double nextDouble() {\n return Double.parseDouble(next());\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 long MOD = 1000000007L;\n static long [] fac;\n static int[][] dir = new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}};\n static long lMax = 0x3f3f3f3f3f3f3f3fL;\n static int iMax = 0x3f3f3f3f;\n static HashMap <Long, Long> memo = new HashMap();\n static int n, m;\n static int[][] mat;\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n // Start writing your solution here. -------------------------------------\n //int t = sc.nextInt();\n int t = 1;\n while(t-- > 0){\n long threshold = 1000000000000000000L;\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long bb = (long)(100 * b + 0.001);\n long res = a * bb / 100;\n out.println(res);\n }\n out.close();\n }\n public static long C(int n, int m)\n {\n if(m == 0 || m == n) return 1l;\n if(m > n || m < 0) return 0l;\n long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;\n\n return res;\n }\n public static long quickPOW(long n, long m)\n {\n long ans = 1l;\n while(m > 0)\n {\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }\n return ans;\n }\n public static int gcd(int a, int b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long gcd(long a, long b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long solve(long cur){\n return 0L;\n }\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n //-----------MyScanner class for faster input----------\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 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 int nextInt() {\n return Integer.parseInt(next());\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n double nextDouble() {\n return Double.parseDouble(next());\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.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.function.*;
import java.util.regex.*;
import java.util.stream.*;
import static java.util.stream.Collectors.joining;
import static java.util.stream.Collectors.toList;
public class Main{
static long MOD = 1000000007L;
static long [] fac;
static int[][] dir = new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}};
static long lMax = 0x3f3f3f3f3f3f3f3fL;
static int iMax = 0x3f3f3f3f;
static HashMap <Long, Long> memo = new HashMap();
static int n, m;
static int[][] mat;
public static void main(String[] args) {
MyScanner sc = new MyScanner();
out = new PrintWriter(new BufferedOutputStream(System.out));
// Start writing your solution here. -------------------------------------
//int t = sc.nextInt();
int t = 1;
while(t-- > 0){
long threshold = 1000000000000000000L;
long a = sc.nextLong();
double b = sc.nextDouble();
long bb = (long)(100 * b + 0.001);
long res = a * bb / 100;
out.println(res);
}
out.close();
}
public static long C(int n, int m)
{
if(m == 0 || m == n) return 1l;
if(m > n || m < 0) return 0l;
long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;
return res;
}
public static long quickPOW(long n, long m)
{
long ans = 1l;
while(m > 0)
{
if(m % 2 == 1)
ans = (ans * n) % MOD;
n = (n * n) % MOD;
m >>= 1;
}
return ans;
}
public static int gcd(int a, int b)
{
if(a % b == 0) return b;
return gcd(b, a % b);
}
public static long gcd(long a, long b)
{
if(a % b == 0) return b;
return gcd(b, a % b);
}
public static long solve(long cur){
return 0L;
}
//-----------PrintWriter for faster output---------------------------------
public static PrintWriter out;
//-----------MyScanner class for faster input----------
public static class MyScanner {
BufferedReader br;
StringTokenizer st;
public MyScanner() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine(){
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
//--------------------------------------------------------
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
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,
4,
18,
13,
17,
41,
13,
8,
2,
18,
13,
13,
17,
17,
4,
18,
13,
18,
13,
17,
41,
13,
2,
2,
4,
18,
13,
18,
13,
17,
17,
13,
4,
18,
13,
2,
2,
13,
13,
17,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
4,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
17,
13,
17,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
37,
20,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
29,
17,
0,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
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
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
239,
32
],
[
239,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
35,
46
],
[
46,
47
],
[
46,
48
],
[
35,
49
],
[
49,
50
],
[
49,
51
],
[
35,
52
],
[
52,
53
],
[
52,
54
],
[
35,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
55,
60
],
[
35,
61
],
[
61,
62
],
[
62,
63
],
[
33,
64
],
[
64,
65
],
[
239,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
70,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
70,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
70,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
89,
95
],
[
89,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
99,
100
],
[
99,
101
],
[
70,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
109,
110
],
[
109,
111
],
[
105,
112
],
[
104,
113
],
[
70,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
68,
122
],
[
122,
123
],
[
68,
124
],
[
124,
125
],
[
68,
126
],
[
126,
127
],
[
239,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
128,
132
],
[
132,
133
],
[
128,
134
],
[
134,
135
],
[
134,
136
],
[
128,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
137,
143
],
[
143,
144
],
[
128,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
145,
151
],
[
151,
152
],
[
128,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
161,
166
],
[
167,
167
],
[
167,
168
],
[
167,
169
],
[
167,
170
],
[
155,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
171,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
184,
188
],
[
188,
189
],
[
181,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
190,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
200
],
[
200,
201
],
[
190,
202
],
[
202,
203
],
[
202,
204
],
[
155,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
155,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
210,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
215,
220
],
[
222,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
221,
225
],
[
222,
226
],
[
155,
227
],
[
227,
228
],
[
128,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
233,
236
],
[
236,
237
],
[
0,
238
],
[
238,
239
],
[
238,
240
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.io.PrintStream;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\nimport java.io.BufferedReader;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Eric\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 in, PrintWriter out) {\n long a = in.nextLong();\n String bRaw = in.next();\n String[] parts = bRaw.split(\"\\\\.\");\n long part2 = parts.length == 1 ? 0 : Integer.parseInt(parts[1]);\n long b = Integer.parseInt(parts[0]) * 100 + part2;\n out.println(((a * b) / 100));\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public long nextLong() {\n return Long.parseLong(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.io.PrintStream;",
"PrintStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.BufferedReader;",
"BufferedReader",
"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 in, PrintWriter out) {\n long a = in.nextLong();\n String bRaw = in.next();\n String[] parts = bRaw.split(\"\\\\.\");\n long part2 = parts.length == 1 ? 0 : Integer.parseInt(parts[1]);\n long b = Integer.parseInt(parts[0]) * 100 + part2;\n out.println(((a * b) / 100));\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\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 in, PrintWriter out) {\n long a = in.nextLong();\n String bRaw = in.next();\n String[] parts = bRaw.split(\"\\\\.\");\n long part2 = parts.length == 1 ? 0 : Integer.parseInt(parts[1]);\n long b = Integer.parseInt(parts[0]) * 100 + part2;\n out.println(((a * b) / 100));\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }",
"CMultiplication3",
"public void solve(int testNumber, FastReader in, PrintWriter out) {\n long a = in.nextLong();\n String bRaw = in.next();\n String[] parts = bRaw.split(\"\\\\.\");\n long part2 = parts.length == 1 ? 0 : Integer.parseInt(parts[1]);\n long b = Integer.parseInt(parts[0]) * 100 + part2;\n out.println(((a * b) / 100));\n //out.print(\"Case #\"+ testNumber + \": \");\n }",
"solve",
"{\n long a = in.nextLong();\n String bRaw = in.next();\n String[] parts = bRaw.split(\"\\\\.\");\n long part2 = parts.length == 1 ? 0 : Integer.parseInt(parts[1]);\n long b = Integer.parseInt(parts[0]) * 100 + part2;\n out.println(((a * b) / 100));\n //out.print(\"Case #\"+ testNumber + \": \");\n }",
"long a = in.nextLong();",
"a",
"in.nextLong()",
"in.nextLong",
"in",
"String bRaw = in.next();",
"bRaw",
"in.next()",
"in.next",
"in",
"String[] parts = bRaw.split(\"\\\\.\");",
"parts",
"bRaw.split(\"\\\\.\")",
"bRaw.split",
"bRaw",
"\"\\\\.\"",
"long part2 = parts.length == 1 ? 0 : Integer.parseInt(parts[1]);",
"part2",
"parts.length == 1 ? 0 : Integer.parseInt(parts[1])",
"parts.length == 1",
"parts.length",
"parts",
"parts.length",
"1",
"0",
"Integer.parseInt(parts[1])",
"Integer.parseInt",
"Integer",
"parts[1]",
"parts",
"1",
"long b = Integer.parseInt(parts[0]) * 100 + part2;",
"b",
"Integer.parseInt(parts[0]) * 100 + part2",
"Integer.parseInt(parts[0]) * 100",
"Integer.parseInt(parts[0])",
"Integer.parseInt",
"Integer",
"parts[0]",
"parts",
"0",
"100",
"part2",
"out.println(((a * b) / 100))",
"out.println",
"out",
"((a * b) / 100)",
"(a * b)",
"a",
"b",
"100",
"int testNumber",
"testNumber",
"FastReader in",
"in",
"PrintWriter out",
"out",
"static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n }",
"FastReader",
"public BufferedReader br;",
"br",
"public StringTokenizer st;",
"st",
"String context = null;",
"context",
"null",
"public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }",
"FastReader",
"{\n this(new InputStreamReader(in));\n }",
"this(new InputStreamReader(in))",
"this",
"new InputStreamReader(in)",
"InputStream in",
"in",
"public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }",
"FastReader",
"{\n br = new BufferedReader(input);\n }",
"br = new BufferedReader(input)",
"br",
"new BufferedReader(input)",
"InputStreamReader input",
"input",
"public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }",
"next",
"{\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }",
"if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }",
"context != null",
"context",
"null",
"{\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }",
"System.err.print(\"[\" + context + \"] Wait for input ...\")",
"System.err.print",
"System.err",
"System",
"System.err",
"\"[\" + context + \"] Wait for input ...\"",
"\"[\" + context + \"] Wait for input ...\"",
"\"[\"",
"context",
"\"] Wait for input ...\"",
"while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }",
"try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }",
"catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }",
"IOException e",
"{\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"throw new RuntimeException(\"Could not read\");",
"new RuntimeException(\"Could not read\")",
"{\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n }",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"if (s == null)\n return null;",
"s == null",
"s",
"null",
"return null;",
"null",
"st = new StringTokenizer(s)",
"st",
"new StringTokenizer(s)",
"String res = st.nextToken();",
"res",
"st.nextToken()",
"st.nextToken",
"st",
"if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }",
"context != null",
"context",
"null",
"{\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }",
"System.err.println(\"[\" + context + \"] ... received : \" + res)",
"System.err.println",
"System.err",
"System",
"System.err",
"\"[\" + context + \"] ... received : \" + res",
"\"] ... received : \"",
"\"[\" + context + \"] ... received : \" + res",
"\"[\"",
"context",
"\"] ... received : \"",
"res",
"return res;",
"res",
"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 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 in, PrintWriter out) {\n long a = in.nextLong();\n String bRaw = in.next();\n String[] parts = bRaw.split(\"\\\\.\");\n long part2 = parts.length == 1 ? 0 : Integer.parseInt(parts[1]);\n long b = Integer.parseInt(parts[0]) * 100 + part2;\n out.println(((a * b) / 100));\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public long nextLong() {\n return Long.parseLong(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 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 in, PrintWriter out) {\n long a = in.nextLong();\n String bRaw = in.next();\n String[] parts = bRaw.split(\"\\\\.\");\n long part2 = parts.length == 1 ? 0 : Integer.parseInt(parts[1]);\n long b = Integer.parseInt(parts[0]) * 100 + part2;\n out.println(((a * b) / 100));\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.PrintStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
import java.io.BufferedReader;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Eric
*/
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 in, PrintWriter out) {
long a = in.nextLong();
String bRaw = in.next();
String[] parts = bRaw.split("\\.");
long part2 = parts.length == 1 ? 0 : Integer.parseInt(parts[1]);
long b = Integer.parseInt(parts[0]) * 100 + part2;
out.println(((a * b) / 100));
//out.print("Case #"+ testNumber + ": ");
}
}
static class FastReader {
public BufferedReader br;
public StringTokenizer st;
String context = null;
public FastReader(InputStream in) {
this(new InputStreamReader(in));
}
public FastReader(InputStreamReader input) {
br = new BufferedReader(input);
}
public String next() {
if (context != null) {
System.err.print("[" + context + "] Wait for input ...");
}
while (st == null || !st.hasMoreElements()) {
try {
String s = br.readLine();
if (s == null)
return null;
st = new StringTokenizer(s);
} catch (IOException e) {
e.printStackTrace();
throw new RuntimeException("Could not read");
}
}
String res = st.nextToken();
if (context != null) {
System.err.println("[" + context + "] ... received : " + res);
}
return res;
}
public long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
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,
4,
18,
13,
13,
41,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
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
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
9,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal atemp = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n String ans = atemp.multiply(b).toString();\n// System.out.println(ans);\n// System.out.println(ans.indexOf('.'));\n int index = ans.indexOf('.');\n System.out.println(ans.substring(0,index));\n\n// int n = sc.nextInt();\n// BigInteger ans = BigInteger.ONE;\n// BigInteger limit = new BigInteger(\"1000000000000000000\");\n// for(int i=0;i<n;i++){\n// BigInteger val = sc.nextBigInteger();\n// ans = ans.multiply(val);\n//// if(ans.compareTo(BigInteger.ZERO)==0){\n//// break;\n//// }\n//// if(ans.compareTo(limit)==1){\n//// break;\n//// }\n// }\n// System.out.println(ans);\n// if(ans.compareTo(limit)==1){\n// System.out.println(-1);\n// }\n// else{\n// System.out.println(ans);\n// }\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 BigDecimal atemp = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n String ans = atemp.multiply(b).toString();\n// System.out.println(ans);\n// System.out.println(ans.indexOf('.'));\n int index = ans.indexOf('.');\n System.out.println(ans.substring(0,index));\n\n// int n = sc.nextInt();\n// BigInteger ans = BigInteger.ONE;\n// BigInteger limit = new BigInteger(\"1000000000000000000\");\n// for(int i=0;i<n;i++){\n// BigInteger val = sc.nextBigInteger();\n// ans = ans.multiply(val);\n//// if(ans.compareTo(BigInteger.ZERO)==0){\n//// break;\n//// }\n//// if(ans.compareTo(limit)==1){\n//// break;\n//// }\n// }\n// System.out.println(ans);\n// if(ans.compareTo(limit)==1){\n// System.out.println(-1);\n// }\n// else{\n// System.out.println(ans);\n// }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal atemp = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n String ans = atemp.multiply(b).toString();\n// System.out.println(ans);\n// System.out.println(ans.indexOf('.'));\n int index = ans.indexOf('.');\n System.out.println(ans.substring(0,index));\n\n// int n = sc.nextInt();\n// BigInteger ans = BigInteger.ONE;\n// BigInteger limit = new BigInteger(\"1000000000000000000\");\n// for(int i=0;i<n;i++){\n// BigInteger val = sc.nextBigInteger();\n// ans = ans.multiply(val);\n//// if(ans.compareTo(BigInteger.ZERO)==0){\n//// break;\n//// }\n//// if(ans.compareTo(limit)==1){\n//// break;\n//// }\n// }\n// System.out.println(ans);\n// if(ans.compareTo(limit)==1){\n// System.out.println(-1);\n// }\n// else{\n// System.out.println(ans);\n// }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n BigDecimal atemp = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n String ans = atemp.multiply(b).toString();\n// System.out.println(ans);\n// System.out.println(ans.indexOf('.'));\n int index = ans.indexOf('.');\n System.out.println(ans.substring(0,index));\n\n// int n = sc.nextInt();\n// BigInteger ans = BigInteger.ONE;\n// BigInteger limit = new BigInteger(\"1000000000000000000\");\n// for(int i=0;i<n;i++){\n// BigInteger val = sc.nextBigInteger();\n// ans = ans.multiply(val);\n//// if(ans.compareTo(BigInteger.ZERO)==0){\n//// break;\n//// }\n//// if(ans.compareTo(limit)==1){\n//// break;\n//// }\n// }\n// System.out.println(ans);\n// if(ans.compareTo(limit)==1){\n// System.out.println(-1);\n// }\n// else{\n// System.out.println(ans);\n// }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal atemp = sc.nextBigDecimal();",
"atemp",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"BigDecimal b = sc.nextBigDecimal();",
"b",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"String ans = atemp.multiply(b).toString();",
"ans",
"atemp.multiply(b).toString()",
"atemp.multiply(b).toString",
"atemp.multiply(b)",
"atemp.multiply",
"atemp",
"b",
"int index = ans.indexOf('.');",
"index",
"ans.indexOf('.')",
"ans.indexOf",
"ans",
"'.'",
"System.out.println(ans.substring(0,index))",
"System.out.println",
"System.out",
"System",
"System.out",
"ans.substring(0,index)",
"ans.substring",
"ans",
"0",
"index",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal atemp = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n String ans = atemp.multiply(b).toString();\n// System.out.println(ans);\n// System.out.println(ans.indexOf('.'));\n int index = ans.indexOf('.');\n System.out.println(ans.substring(0,index));\n\n// int n = sc.nextInt();\n// BigInteger ans = BigInteger.ONE;\n// BigInteger limit = new BigInteger(\"1000000000000000000\");\n// for(int i=0;i<n;i++){\n// BigInteger val = sc.nextBigInteger();\n// ans = ans.multiply(val);\n//// if(ans.compareTo(BigInteger.ZERO)==0){\n//// break;\n//// }\n//// if(ans.compareTo(limit)==1){\n//// break;\n//// }\n// }\n// System.out.println(ans);\n// if(ans.compareTo(limit)==1){\n// System.out.println(-1);\n// }\n// else{\n// System.out.println(ans);\n// }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal atemp = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n String ans = atemp.multiply(b).toString();\n// System.out.println(ans);\n// System.out.println(ans.indexOf('.'));\n int index = ans.indexOf('.');\n System.out.println(ans.substring(0,index));\n\n// int n = sc.nextInt();\n// BigInteger ans = BigInteger.ONE;\n// BigInteger limit = new BigInteger(\"1000000000000000000\");\n// for(int i=0;i<n;i++){\n// BigInteger val = sc.nextBigInteger();\n// ans = ans.multiply(val);\n//// if(ans.compareTo(BigInteger.ZERO)==0){\n//// break;\n//// }\n//// if(ans.compareTo(limit)==1){\n//// break;\n//// }\n// }\n// System.out.println(ans);\n// if(ans.compareTo(limit)==1){\n// System.out.println(-1);\n// }\n// else{\n// System.out.println(ans);\n// }\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 atemp = sc.nextBigDecimal();
BigDecimal b = sc.nextBigDecimal();
String ans = atemp.multiply(b).toString();
// System.out.println(ans);
// System.out.println(ans.indexOf('.'));
int index = ans.indexOf('.');
System.out.println(ans.substring(0,index));
// int n = sc.nextInt();
// BigInteger ans = BigInteger.ONE;
// BigInteger limit = new BigInteger("1000000000000000000");
// for(int i=0;i<n;i++){
// BigInteger val = sc.nextBigInteger();
// ans = ans.multiply(val);
//// if(ans.compareTo(BigInteger.ZERO)==0){
//// break;
//// }
//// if(ans.compareTo(limit)==1){
//// break;
//// }
// }
// System.out.println(ans);
// if(ans.compareTo(limit)==1){
// System.out.println(-1);
// }
// else{
// System.out.println(ans);
// }
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
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
],
[
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
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
9,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"import java.util.Scanner;\nimport java.math.*;\npublic class Main{\n public static void main(String[] args){\n final Scanner cin=new Scanner(System.in);\n long a=cin.nextLong();\n double b=cin.nextDouble();\n long k=(long)Math.round(b*100);\n long mul=(a*k);\n System.out.print(mul/100);\n } \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.math.*;",
"math.*",
"java",
"public class Main{\n public static void main(String[] args){\n final Scanner cin=new Scanner(System.in);\n long a=cin.nextLong();\n double b=cin.nextDouble();\n long k=(long)Math.round(b*100);\n long mul=(a*k);\n System.out.print(mul/100);\n } \n}",
"Main",
"public static void main(String[] args){\n final Scanner cin=new Scanner(System.in);\n long a=cin.nextLong();\n double b=cin.nextDouble();\n long k=(long)Math.round(b*100);\n long mul=(a*k);\n System.out.print(mul/100);\n }",
"main",
"{\n final Scanner cin=new Scanner(System.in);\n long a=cin.nextLong();\n double b=cin.nextDouble();\n long k=(long)Math.round(b*100);\n long mul=(a*k);\n System.out.print(mul/100);\n }",
"final Scanner cin=new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"long a=cin.nextLong();",
"a",
"cin.nextLong()",
"cin.nextLong",
"cin",
"double b=cin.nextDouble();",
"b",
"cin.nextDouble()",
"cin.nextDouble",
"cin",
"long k=(long)Math.round(b*100);",
"k",
"(long)Math.round(b*100)",
"Math.round",
"Math",
"b*100",
"b",
"100",
"long mul=(a*k);",
"mul",
"(a*k)",
"a",
"k",
"System.out.print(mul/100)",
"System.out.print",
"System.out",
"System",
"System.out",
"mul/100",
"mul",
"100",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n final Scanner cin=new Scanner(System.in);\n long a=cin.nextLong();\n double b=cin.nextDouble();\n long k=(long)Math.round(b*100);\n long mul=(a*k);\n System.out.print(mul/100);\n } \n}",
"public class Main{\n public static void main(String[] args){\n final Scanner cin=new Scanner(System.in);\n long a=cin.nextLong();\n double b=cin.nextDouble();\n long k=(long)Math.round(b*100);\n long mul=(a*k);\n System.out.print(mul/100);\n } \n}",
"Main"
] |
import java.util.Scanner;
import java.math.*;
public class Main{
public static void main(String[] args){
final Scanner cin=new Scanner(System.in);
long a=cin.nextLong();
double b=cin.nextDouble();
long k=(long)Math.round(b*100);
long mul=(a*k);
System.out.print(mul/100);
}
}
|
[
7,
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
],
[
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
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
22,
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.*;\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().replaceAll(\"\\\\.\", \"\"));\n System.out.println(a * b / 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 long b = Long.parseLong(sc.next().replaceAll(\"\\\\.\", \"\"));\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().replaceAll(\"\\\\.\", \"\"));\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().replaceAll(\"\\\\.\", \"\"));\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().replaceAll(\"\\\\.\", \"\"));",
"b",
"Long.parseLong(sc.next().replaceAll(\"\\\\.\", \"\"))",
"Long.parseLong",
"Long",
"sc.next().replaceAll(\"\\\\.\", \"\")",
"sc.next().replaceAll",
"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().replaceAll(\"\\\\.\", \"\"));\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().replaceAll(\"\\\\.\", \"\"));\n System.out.println(a * b / 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();
long b = Long.parseLong(sc.next().replaceAll("\\.", ""));
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,
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) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n String A = scanner.next();\n String B = scanner.next();\n \n BigDecimal bA = new BigDecimal(A);\n BigDecimal bB = new BigDecimal(B);\n \n BigDecimal ans = bA.multiply(bB);\n BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN);\n \n System.out.println(Ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n String A = scanner.next();\n String B = scanner.next();\n \n BigDecimal bA = new BigDecimal(A);\n BigDecimal bB = new BigDecimal(B);\n \n BigDecimal ans = bA.multiply(bB);\n BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN);\n \n System.out.println(Ans);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n String A = scanner.next();\n String B = scanner.next();\n \n BigDecimal bA = new BigDecimal(A);\n BigDecimal bB = new BigDecimal(B);\n \n BigDecimal ans = bA.multiply(bB);\n BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN);\n \n System.out.println(Ans);\n }",
"main",
"{\n \n Scanner scanner = new Scanner(System.in);\n \n String A = scanner.next();\n String B = scanner.next();\n \n BigDecimal bA = new BigDecimal(A);\n BigDecimal bB = new BigDecimal(B);\n \n BigDecimal ans = bA.multiply(bB);\n BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN);\n \n System.out.println(Ans);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String A = scanner.next();",
"A",
"scanner.next()",
"scanner.next",
"scanner",
"String B = scanner.next();",
"B",
"scanner.next()",
"scanner.next",
"scanner",
"BigDecimal bA = new BigDecimal(A);",
"bA",
"new BigDecimal(A)",
"BigDecimal bB = new BigDecimal(B);",
"bB",
"new BigDecimal(B)",
"BigDecimal ans = bA.multiply(bB);",
"ans",
"bA.multiply(bB)",
"bA.multiply",
"bA",
"bB",
"BigDecimal 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.println(Ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"Ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n String A = scanner.next();\n String B = scanner.next();\n \n BigDecimal bA = new BigDecimal(A);\n BigDecimal bB = new BigDecimal(B);\n \n BigDecimal ans = bA.multiply(bB);\n BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN);\n \n System.out.println(Ans);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n String A = scanner.next();\n String B = scanner.next();\n \n BigDecimal bA = new BigDecimal(A);\n BigDecimal bB = new BigDecimal(B);\n \n BigDecimal ans = bA.multiply(bB);\n BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN);\n \n System.out.println(Ans);\n }\n}",
"Main"
] |
import java.util.*;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scanner = new Scanner(System.in);
String A = scanner.next();
String B = scanner.next();
BigDecimal bA = new BigDecimal(A);
BigDecimal bB = new BigDecimal(B);
BigDecimal ans = bA.multiply(bB);
BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN);
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,
17,
0,
13,
2,
2,
13,
4,
18,
13,
4,
18,
13,
17,
17,
17,
0,
13,
2,
2,
13,
4,
18,
13,
4,
18,
13,
17,
17,
17,
0,
13,
2,
13,
4,
18,
13,
4,
18,
13,
17,
17,
0,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
80,
5
],
[
80,
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
],
[
28,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
28,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
42,
52
],
[
8,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
60,
64
],
[
8,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] |
[
"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 b = sc.next();\n\t\t\n\t\tlong ans = 0;\n\t\tans += a * Long.valueOf(b.substring(0, 1)) * 100;\n\t\tans += a * Long.valueOf(b.substring(2, 3)) * 10;\n\t\tans += a * Long.valueOf(b.substring(3, 4));\n\t\tans /= 100;\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\n\t\tsc.close();\n\t}\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\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\t\n\t\tlong ans = 0;\n\t\tans += a * Long.valueOf(b.substring(0, 1)) * 100;\n\t\tans += a * Long.valueOf(b.substring(2, 3)) * 10;\n\t\tans += a * Long.valueOf(b.substring(3, 4));\n\t\tans /= 100;\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\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 b = sc.next();\n\t\t\n\t\tlong ans = 0;\n\t\tans += a * Long.valueOf(b.substring(0, 1)) * 100;\n\t\tans += a * Long.valueOf(b.substring(2, 3)) * 10;\n\t\tans += a * Long.valueOf(b.substring(3, 4));\n\t\tans /= 100;\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\n\t\tsc.close();\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\t\n\t\tlong ans = 0;\n\t\tans += a * Long.valueOf(b.substring(0, 1)) * 100;\n\t\tans += a * Long.valueOf(b.substring(2, 3)) * 10;\n\t\tans += a * Long.valueOf(b.substring(3, 4));\n\t\tans /= 100;\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\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 b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"long ans = 0;",
"ans",
"0",
"ans += a * Long.valueOf(b.substring(0, 1)) * 100",
"ans",
"a * Long.valueOf(b.substring(0, 1)) * 100",
"a * Long.valueOf(b.substring(0, 1)) * 100",
"a",
"Long.valueOf(b.substring(0, 1))",
"Long.valueOf",
"Long",
"b.substring(0, 1)",
"b.substring",
"b",
"0",
"1",
"100",
"ans += a * Long.valueOf(b.substring(2, 3)) * 10",
"ans",
"a * Long.valueOf(b.substring(2, 3)) * 10",
"a * Long.valueOf(b.substring(2, 3)) * 10",
"a",
"Long.valueOf(b.substring(2, 3))",
"Long.valueOf",
"Long",
"b.substring(2, 3)",
"b.substring",
"b",
"2",
"3",
"10",
"ans += a * Long.valueOf(b.substring(3, 4))",
"ans",
"a * Long.valueOf(b.substring(3, 4))",
"a",
"Long.valueOf(b.substring(3, 4))",
"Long.valueOf",
"Long",
"b.substring(3, 4)",
"b.substring",
"b",
"3",
"4",
"ans /= 100",
"ans",
"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\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\t\n\t\tlong ans = 0;\n\t\tans += a * Long.valueOf(b.substring(0, 1)) * 100;\n\t\tans += a * Long.valueOf(b.substring(2, 3)) * 10;\n\t\tans += a * Long.valueOf(b.substring(3, 4));\n\t\tans /= 100;\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\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 b = sc.next();\n\t\t\n\t\tlong ans = 0;\n\t\tans += a * Long.valueOf(b.substring(0, 1)) * 100;\n\t\tans += a * Long.valueOf(b.substring(2, 3)) * 10;\n\t\tans += a * Long.valueOf(b.substring(3, 4));\n\t\tans /= 100;\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\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 b = sc.next();
long ans = 0;
ans += a * Long.valueOf(b.substring(0, 1)) * 100;
ans += a * Long.valueOf(b.substring(2, 3)) * 10;
ans += a * Long.valueOf(b.substring(3, 4));
ans /= 100;
System.out.println(ans);
sc.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,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
2,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
63,
14
],
[
63,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
17,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
17,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
17,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
15,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\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\t\t\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\t\n\t\tlong a = Long.parseLong(st.nextToken());\n\t\tdouble b = Double.parseDouble(st.nextToken());\n\t\t\n\t\tlong c = (long)(b * 100.0 + 0.5);\n\t\tlong res = a * c / 100;\n\t\tSystem.out.println(res);\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\t\n\t\tlong a = Long.parseLong(st.nextToken());\n\t\tdouble b = Double.parseDouble(st.nextToken());\n\t\t\n\t\tlong c = (long)(b * 100.0 + 0.5);\n\t\tlong res = a * c / 100;\n\t\tSystem.out.println(res);\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\t\n\t\tlong a = Long.parseLong(st.nextToken());\n\t\tdouble b = Double.parseDouble(st.nextToken());\n\t\t\n\t\tlong c = (long)(b * 100.0 + 0.5);\n\t\tlong res = a * c / 100;\n\t\tSystem.out.println(res);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\t\n\t\tlong a = Long.parseLong(st.nextToken());\n\t\tdouble b = Double.parseDouble(st.nextToken());\n\t\t\n\t\tlong c = (long)(b * 100.0 + 0.5);\n\t\tlong res = a * c / 100;\n\t\tSystem.out.println(res);\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",
"double b = Double.parseDouble(st.nextToken());",
"b",
"Double.parseDouble(st.nextToken())",
"Double.parseDouble",
"Double",
"st.nextToken()",
"st.nextToken",
"st",
"long c = (long)(b * 100.0 + 0.5);",
"c",
"(long)(b * 100.0 + 0.5)",
"b * 100.0",
"b",
"100.0",
"0.5",
"long res = a * c / 100;",
"res",
"a * c / 100",
"a * c",
"a",
"c",
"100",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"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\t\t\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\t\n\t\tlong a = Long.parseLong(st.nextToken());\n\t\tdouble b = Double.parseDouble(st.nextToken());\n\t\t\n\t\tlong c = (long)(b * 100.0 + 0.5);\n\t\tlong res = a * c / 100;\n\t\tSystem.out.println(res);\n\t}\n\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\t\t\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\t\n\t\tlong a = Long.parseLong(st.nextToken());\n\t\tdouble b = Double.parseDouble(st.nextToken());\n\t\t\n\t\tlong c = (long)(b * 100.0 + 0.5);\n\t\tlong res = a * c / 100;\n\t\tSystem.out.println(res);\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
long a = Long.parseLong(st.nextToken());
double b = Double.parseDouble(st.nextToken());
long c = (long)(b * 100.0 + 0.5);
long res = a * c / 100;
System.out.println(res);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
12,
13,
30,
4,
18,
18,
13,
13,
4,
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,
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,
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,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
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
],
[
325,
20
],
[
325,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
325,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
31,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
45,
49
],
[
31,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
325,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
60,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
74,
81
],
[
81,
82
],
[
81,
83
],
[
74,
85
],
[
85,
86
],
[
85,
87
],
[
74,
88
],
[
88,
89
],
[
88,
90
],
[
74,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
94,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
105,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
101,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
124,
125
],
[
93,
126
],
[
126,
127
],
[
74,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
131,
139
],
[
139,
140
],
[
140,
141
],
[
74,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
150,
152
],
[
142,
153
],
[
153,
154
],
[
74,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
159,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
165,
167
],
[
158,
168
],
[
168,
169
],
[
157,
170
],
[
170,
171
],
[
171,
172
],
[
74,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
176,
180
],
[
180,
181
],
[
175,
182
],
[
182,
183
],
[
182,
184
],
[
175,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
175,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
194,
197
],
[
193,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
175,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
74,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
209,
213
],
[
213,
214
],
[
208,
215
],
[
215,
216
],
[
215,
217
],
[
208,
218
],
[
218,
219
],
[
218,
220
],
[
208,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
208,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
225,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
208,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
242,
243
],
[
242,
244
],
[
237,
245
],
[
245,
246
],
[
246,
247
],
[
208,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
256
],
[
256,
257
],
[
256,
258
],
[
251,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
259,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
265,
267
],
[
251,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
269,
274
],
[
274,
275
],
[
275,
276
],
[
275,
277
],
[
268,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
280,
284
],
[
268,
285
],
[
285,
286
],
[
286,
287
],
[
250,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
74,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
294,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
303,
305
],
[
300,
306
],
[
306,
307
],
[
306,
308
],
[
308,
309
],
[
308,
310
],
[
299,
311
],
[
311,
312
],
[
294,
313
],
[
313,
314
],
[
74,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
319,
322
],
[
322,
323
],
[
0,
324
],
[
324,
325
],
[
324,
326
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.NoSuchElementException;\n\n\t\npublic class Main{\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\t\n\tvoid run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tlong A=sc.nextLong();\n\t\tlong B=(long)Math.round(sc.nextDouble()*100);\n\t\tSystem.out.println(A*B/100);\n\t}\n\t\n\tvoid tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}\n}\n\nclass FastScanner {\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 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 private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\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 public long nextLong() {\n if (!hasNext()) throw new NoSuchElementException();\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 public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n \n public double nextDouble() { return Double.parseDouble(next());}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main{\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\t\n\tvoid run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tlong A=sc.nextLong();\n\t\tlong B=(long)Math.round(sc.nextDouble()*100);\n\t\tSystem.out.println(A*B/100);\n\t}\n\t\n\tvoid tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}\n}",
"Main",
"public static void main(String[] args) {\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"void run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tlong A=sc.nextLong();\n\t\tlong B=(long)Math.round(sc.nextDouble()*100);\n\t\tSystem.out.println(A*B/100);\n\t}",
"run",
"{\n\t\tFastScanner sc=new FastScanner();\n\t\tlong A=sc.nextLong();\n\t\tlong B=(long)Math.round(sc.nextDouble()*100);\n\t\tSystem.out.println(A*B/100);\n\t}",
"FastScanner sc=new FastScanner();",
"sc",
"new FastScanner()",
"long A=sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long B=(long)Math.round(sc.nextDouble()*100);",
"B",
"(long)Math.round(sc.nextDouble()*100)",
"Math.round",
"Math",
"sc.nextDouble()*100",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"100",
"System.out.println(A*B/100)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*B/100",
"A*B",
"A",
"B",
"100",
"void tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}",
"tr",
"{System.out.println(Arrays.deepToString(objects));}",
"System.out.println(Arrays.deepToString(objects))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.deepToString(objects)",
"Arrays.deepToString",
"Arrays",
"objects",
"Object...objects",
"objects",
"class FastScanner {\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 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 private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\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 public long nextLong() {\n if (!hasNext()) throw new NoSuchElementException();\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 public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n \n public double nextDouble() { return Double.parseDouble(next());}\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() { if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"readByte",
"{ if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"if (hasNextByte()) return buffer[ptr++]; else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}",
"isPrintableChar",
"{ return 33 <= c && c <= 126;}",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}",
"hasNext",
"{ while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}",
"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",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext()) throw new NoSuchElementException();\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()) throw new NoSuchElementException();\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()) 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 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()) throw new NoSuchElementException();\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()) throw new NoSuchElementException();\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()) 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 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) throw new NumberFormatException();\n return (int) nl;\n }",
"nextInt",
"{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }",
"long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();",
"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",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public double nextDouble() { return Double.parseDouble(next());}",
"nextDouble",
"{ return Double.parseDouble(next());}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main{\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\t\n\tvoid run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tlong A=sc.nextLong();\n\t\tlong B=(long)Math.round(sc.nextDouble()*100);\n\t\tSystem.out.println(A*B/100);\n\t}\n\t\n\tvoid tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}\n}",
"public class Main{\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\t\n\tvoid run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tlong A=sc.nextLong();\n\t\tlong B=(long)Math.round(sc.nextDouble()*100);\n\t\tSystem.out.println(A*B/100);\n\t}\n\t\n\tvoid tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.NoSuchElementException;
public class Main{
public static void main(String[] args) {
new Main().run();
}
void run() {
FastScanner sc=new FastScanner();
long A=sc.nextLong();
long B=(long)Math.round(sc.nextDouble()*100);
System.out.println(A*B/100);
}
void tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}
}
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,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
20,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
4,
18,
13,
13,
17,
18,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
4,
13,
40,
4,
13,
13,
30,
30,
4,
18,
13,
13,
0,
13,
4,
13,
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,
4,
13,
12,
13,
30,
11,
1,
41,
13,
2,
0,
13,
4,
13,
40,
17,
30,
30,
14,
40,
4,
13,
13,
30,
29,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
13,
17,
2,
13,
17,
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,
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
],
[
249,
20
],
[
249,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
30,
34
],
[
23,
35
],
[
35,
36
],
[
36,
37
],
[
21,
38
],
[
38,
39
],
[
249,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
42,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
53,
54
],
[
53,
55
],
[
42,
56
],
[
56,
57
],
[
56,
58
],
[
42,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
62,
68
],
[
62,
69
],
[
69,
70
],
[
69,
71
],
[
40,
72
],
[
72,
73
],
[
40,
74
],
[
74,
75
],
[
249,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
76,
84
],
[
84,
85
],
[
84,
86
],
[
76,
87
],
[
87,
88
],
[
87,
89
],
[
76,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
90,
98
],
[
98,
99
],
[
76,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
106,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
106,
116
],
[
117,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
117,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
102,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
76,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
137,
138
],
[
76,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
146,
147
],
[
76,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
155,
156
],
[
76,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
76,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
166,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
170,
175
],
[
175,
176
],
[
166,
177
],
[
178,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
179,
184
],
[
184,
185
],
[
185,
186
],
[
165,
187
],
[
187,
188
],
[
188,
189
],
[
76,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
198
],
[
198,
199
],
[
198,
200
],
[
190,
201
],
[
201,
202
],
[
76,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
206,
211
],
[
211,
212
],
[
212,
213
],
[
205,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
218,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
226,
227
],
[
222,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
231,
234
],
[
218,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
235,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
205,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
0,
248
],
[
248,
249
],
[
248,
250
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n InputStreamScanner in = new InputStreamScanner(System.in);\n new Main().solve(in, out);\n out.flush();\n }\n\n private void solve(InputStreamScanner in, PrintWriter out) {\n String a = in.next();\n String b = in.next();\n BigDecimal x = new BigDecimal(a);\n BigDecimal y = new BigDecimal(b);\n out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));\n }\n\n static class InputStreamScanner {\n\n private InputStream in;\n\n private byte[] buf = new byte[1024];\n private int len = 0;\n private int off = 0;\n\n InputStreamScanner(InputStream in)\t{\n this.in = in;\n }\n\n String next() {\n StringBuilder sb = new StringBuilder();\n for (int b = skip(); !isSpace(b);){\n sb.appendCodePoint(b);\n b = read();\n }\n return sb.toString();\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 char nextChar() {\n return (char)skip();\n }\n\n int skip() {\n for (int b; (b = read()) != -1;) {\n if (!isSpace(b)) {\n return b;\n }\n }\n return -1;\n }\n\n private boolean isSpace(int c) {\n return c < 33 || c > 126;\n }\n\n private int read() {\n if (len == -1) {\n throw new InputMismatchException(\"End of Input\");\n }\n if (off >= len){\n off = 0;\n try {\n len = in.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException(e.getMessage());\n }\n if (len <= 0) {\n return -1;\n }\n }\n return buf[off++];\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.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n InputStreamScanner in = new InputStreamScanner(System.in);\n new Main().solve(in, out);\n out.flush();\n }\n\n private void solve(InputStreamScanner in, PrintWriter out) {\n String a = in.next();\n String b = in.next();\n BigDecimal x = new BigDecimal(a);\n BigDecimal y = new BigDecimal(b);\n out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));\n }\n\n static class InputStreamScanner {\n\n private InputStream in;\n\n private byte[] buf = new byte[1024];\n private int len = 0;\n private int off = 0;\n\n InputStreamScanner(InputStream in)\t{\n this.in = in;\n }\n\n String next() {\n StringBuilder sb = new StringBuilder();\n for (int b = skip(); !isSpace(b);){\n sb.appendCodePoint(b);\n b = read();\n }\n return sb.toString();\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 char nextChar() {\n return (char)skip();\n }\n\n int skip() {\n for (int b; (b = read()) != -1;) {\n if (!isSpace(b)) {\n return b;\n }\n }\n return -1;\n }\n\n private boolean isSpace(int c) {\n return c < 33 || c > 126;\n }\n\n private int read() {\n if (len == -1) {\n throw new InputMismatchException(\"End of Input\");\n }\n if (off >= len){\n off = 0;\n try {\n len = in.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException(e.getMessage());\n }\n if (len <= 0) {\n return -1;\n }\n }\n return buf[off++];\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n InputStreamScanner in = new InputStreamScanner(System.in);\n new Main().solve(in, out);\n out.flush();\n }",
"main",
"{\n PrintWriter out = new PrintWriter(System.out);\n InputStreamScanner in = new InputStreamScanner(System.in);\n new Main().solve(in, out);\n out.flush();\n }",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"InputStreamScanner in = new InputStreamScanner(System.in);",
"in",
"new InputStreamScanner(System.in)",
"new Main().solve(in, out)",
"new Main().solve",
"new Main()",
"in",
"out",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"private void solve(InputStreamScanner in, PrintWriter out) {\n String a = in.next();\n String b = in.next();\n BigDecimal x = new BigDecimal(a);\n BigDecimal y = new BigDecimal(b);\n out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));\n }",
"solve",
"{\n String a = in.next();\n String b = in.next();\n BigDecimal x = new BigDecimal(a);\n BigDecimal y = new BigDecimal(b);\n out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));\n }",
"String a = in.next();",
"a",
"in.next()",
"in.next",
"in",
"String b = in.next();",
"b",
"in.next()",
"in.next",
"in",
"BigDecimal x = new BigDecimal(a);",
"x",
"new BigDecimal(a)",
"BigDecimal y = new BigDecimal(b);",
"y",
"new BigDecimal(b)",
"out.println(x.multiply(y).setScale(0, RoundingMode.DOWN))",
"out.println",
"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",
"InputStreamScanner in",
"in",
"PrintWriter out",
"out",
"static class InputStreamScanner {\n\n private InputStream in;\n\n private byte[] buf = new byte[1024];\n private int len = 0;\n private int off = 0;\n\n InputStreamScanner(InputStream in)\t{\n this.in = in;\n }\n\n String next() {\n StringBuilder sb = new StringBuilder();\n for (int b = skip(); !isSpace(b);){\n sb.appendCodePoint(b);\n b = read();\n }\n return sb.toString();\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 char nextChar() {\n return (char)skip();\n }\n\n int skip() {\n for (int b; (b = read()) != -1;) {\n if (!isSpace(b)) {\n return b;\n }\n }\n return -1;\n }\n\n private boolean isSpace(int c) {\n return c < 33 || c > 126;\n }\n\n private int read() {\n if (len == -1) {\n throw new InputMismatchException(\"End of Input\");\n }\n if (off >= len){\n off = 0;\n try {\n len = in.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException(e.getMessage());\n }\n if (len <= 0) {\n return -1;\n }\n }\n return buf[off++];\n }\n }",
"InputStreamScanner",
"private InputStream in;",
"in",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int len = 0;",
"len",
"0",
"private int off = 0;",
"off",
"0",
"InputStreamScanner(InputStream in)\t{\n this.in = in;\n }",
"InputStreamScanner",
"{\n this.in = in;\n }",
"this.in = in",
"this.in",
"this",
"this.in",
"in",
"InputStream in",
"in",
"String next() {\n StringBuilder sb = new StringBuilder();\n for (int b = skip(); !isSpace(b);){\n sb.appendCodePoint(b);\n b = read();\n }\n return sb.toString();\n }",
"next",
"{\n StringBuilder sb = new StringBuilder();\n for (int b = skip(); !isSpace(b);){\n sb.appendCodePoint(b);\n b = read();\n }\n return sb.toString();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int b = skip(); !isSpace(b);){\n sb.appendCodePoint(b);\n b = read();\n }",
"int b = skip();",
"int b = skip();",
"b",
"skip()",
"skip",
"!isSpace(b)",
"isSpace(b)",
"isSpace",
"b",
"{\n sb.appendCodePoint(b);\n b = read();\n }",
"{\n sb.appendCodePoint(b);\n b = read();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = read()",
"b",
"read()",
"read",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"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",
"char nextChar() {\n return (char)skip();\n }",
"nextChar",
"{\n return (char)skip();\n }",
"return (char)skip();",
"(char)skip()",
"skip",
"int skip() {\n for (int b; (b = read()) != -1;) {\n if (!isSpace(b)) {\n return b;\n }\n }\n return -1;\n }",
"skip",
"{\n for (int b; (b = read()) != -1;) {\n if (!isSpace(b)) {\n return b;\n }\n }\n return -1;\n }",
"for (int b; (b = read()) != -1;) {\n if (!isSpace(b)) {\n return b;\n }\n }",
"int b;",
"int b;",
"b",
"(b = read()) != -1",
"(b = read())",
"b",
"read()",
"read",
"-1",
"1",
"{\n if (!isSpace(b)) {\n return b;\n }\n }",
"{\n if (!isSpace(b)) {\n return b;\n }\n }",
"if (!isSpace(b)) {\n return b;\n }",
"!isSpace(b)",
"isSpace(b)",
"isSpace",
"b",
"{\n return b;\n }",
"return b;",
"b",
"return -1;",
"-1",
"1",
"private boolean isSpace(int c) {\n return c < 33 || c > 126;\n }",
"isSpace",
"{\n return c < 33 || c > 126;\n }",
"return c < 33 || c > 126;",
"c < 33 || c > 126",
"c < 33",
"c",
"33",
"c > 126",
"c",
"126",
"int c",
"c",
"private int read() {\n if (len == -1) {\n throw new InputMismatchException(\"End of Input\");\n }\n if (off >= len){\n off = 0;\n try {\n len = in.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException(e.getMessage());\n }\n if (len <= 0) {\n return -1;\n }\n }\n return buf[off++];\n }",
"read",
"{\n if (len == -1) {\n throw new InputMismatchException(\"End of Input\");\n }\n if (off >= len){\n off = 0;\n try {\n len = in.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException(e.getMessage());\n }\n if (len <= 0) {\n return -1;\n }\n }\n return buf[off++];\n }",
"if (len == -1) {\n throw new InputMismatchException(\"End of Input\");\n }",
"len == -1",
"len",
"-1",
"1",
"{\n throw new InputMismatchException(\"End of Input\");\n }",
"throw new InputMismatchException(\"End of Input\");",
"new InputMismatchException(\"End of Input\")",
"if (off >= len){\n off = 0;\n try {\n len = in.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException(e.getMessage());\n }\n if (len <= 0) {\n return -1;\n }\n }",
"off >= len",
"off",
"len",
"{\n off = 0;\n try {\n len = in.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException(e.getMessage());\n }\n if (len <= 0) {\n return -1;\n }\n }",
"off = 0",
"off",
"0",
"try {\n len = in.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException(e.getMessage());\n }",
"catch (IOException e) {\n throw new InputMismatchException(e.getMessage());\n }",
"IOException e",
"{\n throw new InputMismatchException(e.getMessage());\n }",
"throw new InputMismatchException(e.getMessage());",
"new InputMismatchException(e.getMessage())",
"{\n len = in.read(buf);\n }",
"len = in.read(buf)",
"len",
"in.read(buf)",
"in.read",
"in",
"buf",
"if (len <= 0) {\n return -1;\n }",
"len <= 0",
"len",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[off++];",
"buf[off++]",
"buf",
"off++",
"off",
"public class Main {\n public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n InputStreamScanner in = new InputStreamScanner(System.in);\n new Main().solve(in, out);\n out.flush();\n }\n\n private void solve(InputStreamScanner in, PrintWriter out) {\n String a = in.next();\n String b = in.next();\n BigDecimal x = new BigDecimal(a);\n BigDecimal y = new BigDecimal(b);\n out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));\n }\n\n static class InputStreamScanner {\n\n private InputStream in;\n\n private byte[] buf = new byte[1024];\n private int len = 0;\n private int off = 0;\n\n InputStreamScanner(InputStream in)\t{\n this.in = in;\n }\n\n String next() {\n StringBuilder sb = new StringBuilder();\n for (int b = skip(); !isSpace(b);){\n sb.appendCodePoint(b);\n b = read();\n }\n return sb.toString();\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 char nextChar() {\n return (char)skip();\n }\n\n int skip() {\n for (int b; (b = read()) != -1;) {\n if (!isSpace(b)) {\n return b;\n }\n }\n return -1;\n }\n\n private boolean isSpace(int c) {\n return c < 33 || c > 126;\n }\n\n private int read() {\n if (len == -1) {\n throw new InputMismatchException(\"End of Input\");\n }\n if (off >= len){\n off = 0;\n try {\n len = in.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException(e.getMessage());\n }\n if (len <= 0) {\n return -1;\n }\n }\n return buf[off++];\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n InputStreamScanner in = new InputStreamScanner(System.in);\n new Main().solve(in, out);\n out.flush();\n }\n\n private void solve(InputStreamScanner in, PrintWriter out) {\n String a = in.next();\n String b = in.next();\n BigDecimal x = new BigDecimal(a);\n BigDecimal y = new BigDecimal(b);\n out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));\n }\n\n static class InputStreamScanner {\n\n private InputStream in;\n\n private byte[] buf = new byte[1024];\n private int len = 0;\n private int off = 0;\n\n InputStreamScanner(InputStream in)\t{\n this.in = in;\n }\n\n String next() {\n StringBuilder sb = new StringBuilder();\n for (int b = skip(); !isSpace(b);){\n sb.appendCodePoint(b);\n b = read();\n }\n return sb.toString();\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 char nextChar() {\n return (char)skip();\n }\n\n int skip() {\n for (int b; (b = read()) != -1;) {\n if (!isSpace(b)) {\n return b;\n }\n }\n return -1;\n }\n\n private boolean isSpace(int c) {\n return c < 33 || c > 126;\n }\n\n private int read() {\n if (len == -1) {\n throw new InputMismatchException(\"End of Input\");\n }\n if (off >= len){\n off = 0;\n try {\n len = in.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException(e.getMessage());\n }\n if (len <= 0) {\n return -1;\n }\n }\n return buf[off++];\n }\n }\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.*;
public class Main {
public static void main(String[] args) {
PrintWriter out = new PrintWriter(System.out);
InputStreamScanner in = new InputStreamScanner(System.in);
new Main().solve(in, out);
out.flush();
}
private void solve(InputStreamScanner in, PrintWriter out) {
String a = in.next();
String b = in.next();
BigDecimal x = new BigDecimal(a);
BigDecimal y = new BigDecimal(b);
out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));
}
static class InputStreamScanner {
private InputStream in;
private byte[] buf = new byte[1024];
private int len = 0;
private int off = 0;
InputStreamScanner(InputStream in) {
this.in = in;
}
String next() {
StringBuilder sb = new StringBuilder();
for (int b = skip(); !isSpace(b);){
sb.appendCodePoint(b);
b = read();
}
return sb.toString();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
char nextChar() {
return (char)skip();
}
int skip() {
for (int b; (b = read()) != -1;) {
if (!isSpace(b)) {
return b;
}
}
return -1;
}
private boolean isSpace(int c) {
return c < 33 || c > 126;
}
private int read() {
if (len == -1) {
throw new InputMismatchException("End of Input");
}
if (off >= len){
off = 0;
try {
len = in.read(buf);
} catch (IOException e) {
throw new InputMismatchException(e.getMessage());
}
if (len <= 0) {
return -1;
}
}
return buf[off++];
}
}
}
|
[
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,
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
],
[
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
],
[
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\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\tint B =(int)(scan.nextDouble()*100+0.05);\n\n\t\tlong ans =(A * B) / 100;\n\t\tSystem.out.println(ans);\n\t\tscan.close();\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\tint B =(int)(scan.nextDouble()*100+0.05);\n\n\t\tlong ans =(A * B) / 100;\n\t\tSystem.out.println(ans);\n\t\tscan.close();\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\tint B =(int)(scan.nextDouble()*100+0.05);\n\n\t\tlong ans =(A * B) / 100;\n\t\tSystem.out.println(ans);\n\t\tscan.close();\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong A = scan.nextLong();\n\t\tint B =(int)(scan.nextDouble()*100+0.05);\n\n\t\tlong ans =(A * B) / 100;\n\t\tSystem.out.println(ans);\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long A = scan.nextLong();",
"A",
"scan.nextLong()",
"scan.nextLong",
"scan",
"int B =(int)(scan.nextDouble()*100+0.05);",
"B",
"(int)(scan.nextDouble()*100+0.05)",
"scan.nextDouble()*100",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"100",
"0.05",
"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",
"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\tint B =(int)(scan.nextDouble()*100+0.05);\n\n\t\tlong ans =(A * B) / 100;\n\t\tSystem.out.println(ans);\n\t\tscan.close();\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\tint B =(int)(scan.nextDouble()*100+0.05);\n\n\t\tlong ans =(A * B) / 100;\n\t\tSystem.out.println(ans);\n\t\tscan.close();\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();
int B =(int)(scan.nextDouble()*100+0.05);
long ans =(A * B) / 100;
System.out.println(ans);
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,
4,
18,
4,
18,
13,
17,
17,
41,
13,
4,
18,
20,
4,
18,
20,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
17,
4,
18,
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
],
[
71,
8
],
[
71,
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
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
11,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
11,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
9,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] |
[
"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 x = sc.nextLong();\n long y = Long.parseLong(sc.next().replace(\".\",\"\")); \n BigDecimal big = new BigDecimal(x).multiply(new BigDecimal(y).divide(new BigDecimal(\"100\")));\n String res = big.toString();\n if(res.contains(\".\")){\n \t\tres = res.substring(0, res.indexOf(\".\"));\n }\n System.out.println(res);\n }\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 x = sc.nextLong();\n long y = Long.parseLong(sc.next().replace(\".\",\"\")); \n BigDecimal big = new BigDecimal(x).multiply(new BigDecimal(y).divide(new BigDecimal(\"100\")));\n String res = big.toString();\n if(res.contains(\".\")){\n \t\tres = res.substring(0, res.indexOf(\".\"));\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 x = sc.nextLong();\n long y = Long.parseLong(sc.next().replace(\".\",\"\")); \n BigDecimal big = new BigDecimal(x).multiply(new BigDecimal(y).divide(new BigDecimal(\"100\")));\n String res = big.toString();\n if(res.contains(\".\")){\n \t\tres = res.substring(0, res.indexOf(\".\"));\n }\n System.out.println(res);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long y = Long.parseLong(sc.next().replace(\".\",\"\")); \n BigDecimal big = new BigDecimal(x).multiply(new BigDecimal(y).divide(new BigDecimal(\"100\")));\n String res = big.toString();\n if(res.contains(\".\")){\n \t\tres = res.substring(0, res.indexOf(\".\"));\n }\n System.out.println(res);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long y = Long.parseLong(sc.next().replace(\".\",\"\"));",
"y",
"Long.parseLong(sc.next().replace(\".\",\"\"))",
"Long.parseLong",
"Long",
"sc.next().replace(\".\",\"\")",
"sc.next().replace",
"sc.next()",
"sc.next",
"sc",
"\".\"",
"\"\"",
"BigDecimal big = new BigDecimal(x).multiply(new BigDecimal(y).divide(new BigDecimal(\"100\")));",
"big",
"new BigDecimal(x).multiply(new BigDecimal(y).divide(new BigDecimal(\"100\")))",
"new BigDecimal(x).multiply",
"new BigDecimal(x)",
"new BigDecimal(y).divide(new BigDecimal(\"100\"))",
"new BigDecimal(y).divide",
"new BigDecimal(y)",
"new BigDecimal(\"100\")",
"String res = big.toString();",
"res",
"big.toString()",
"big.toString",
"big",
"if(res.contains(\".\")){\n \t\tres = res.substring(0, res.indexOf(\".\"));\n }",
"res.contains(\".\")",
"res.contains",
"res",
"\".\"",
"{\n \t\tres = res.substring(0, res.indexOf(\".\"));\n }",
"res = res.substring(0, res.indexOf(\".\"))",
"res",
"res.substring(0, res.indexOf(\".\"))",
"res.substring",
"res",
"0",
"res.indexOf(\".\")",
"res.indexOf",
"res",
"\".\"",
"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 x = sc.nextLong();\n long y = Long.parseLong(sc.next().replace(\".\",\"\")); \n BigDecimal big = new BigDecimal(x).multiply(new BigDecimal(y).divide(new BigDecimal(\"100\")));\n String res = big.toString();\n if(res.contains(\".\")){\n \t\tres = res.substring(0, res.indexOf(\".\"));\n }\n System.out.println(res);\n }\n \n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long y = Long.parseLong(sc.next().replace(\".\",\"\")); \n BigDecimal big = new BigDecimal(x).multiply(new BigDecimal(y).divide(new BigDecimal(\"100\")));\n String res = big.toString();\n if(res.contains(\".\")){\n \t\tres = res.substring(0, res.indexOf(\".\"));\n }\n System.out.println(res);\n }\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 x = sc.nextLong();
long y = Long.parseLong(sc.next().replace(".",""));
BigDecimal big = new BigDecimal(x).multiply(new BigDecimal(y).divide(new BigDecimal("100")));
String res = big.toString();
if(res.contains(".")){
res = res.substring(0, res.indexOf("."));
}
System.out.println(res);
}
}
|
[
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,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
2,
2,
13,
17,
13,
41,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
78,
11
],
[
78,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
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
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
14,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
14,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
14,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
14,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
14,
66
],
[
66,
67
],
[
66,
68
],
[
14,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
12,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] |
[
"import java.io.*;\nimport java.math.*;\nimport java.util.*;\npublic class Main { \n\n\tpublic static void main(String[] args) { //\n\t\tScanner input = new Scanner(System.in);\n\t\tlong A = input.nextLong();\n\t\tString S = input.next();\n\t\tString whole = S.substring(0,1);\n\t\tString decimal = S.substring(2,4);\n\t\tlong B = Long.parseLong(whole);\n\t\tlong C = Long.parseLong(decimal);\n\t\tlong D = B*100+C;\n\t\tlong ans = A*D;\n\t\tans/=100;\n\t\tSystem.out.println(ans);\n\t}\t\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main { \n\n\tpublic static void main(String[] args) { //\n\t\tScanner input = new Scanner(System.in);\n\t\tlong A = input.nextLong();\n\t\tString S = input.next();\n\t\tString whole = S.substring(0,1);\n\t\tString decimal = S.substring(2,4);\n\t\tlong B = Long.parseLong(whole);\n\t\tlong C = Long.parseLong(decimal);\n\t\tlong D = B*100+C;\n\t\tlong ans = A*D;\n\t\tans/=100;\n\t\tSystem.out.println(ans);\n\t}\t\n}",
"Main",
"public static void main(String[] args) { //\n\t\tScanner input = new Scanner(System.in);\n\t\tlong A = input.nextLong();\n\t\tString S = input.next();\n\t\tString whole = S.substring(0,1);\n\t\tString decimal = S.substring(2,4);\n\t\tlong B = Long.parseLong(whole);\n\t\tlong C = Long.parseLong(decimal);\n\t\tlong D = B*100+C;\n\t\tlong ans = A*D;\n\t\tans/=100;\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{ //\n\t\tScanner input = new Scanner(System.in);\n\t\tlong A = input.nextLong();\n\t\tString S = input.next();\n\t\tString whole = S.substring(0,1);\n\t\tString decimal = S.substring(2,4);\n\t\tlong B = Long.parseLong(whole);\n\t\tlong C = Long.parseLong(decimal);\n\t\tlong D = B*100+C;\n\t\tlong ans = A*D;\n\t\tans/=100;\n\t\tSystem.out.println(ans);\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"long A = input.nextLong();",
"A",
"input.nextLong()",
"input.nextLong",
"input",
"String S = input.next();",
"S",
"input.next()",
"input.next",
"input",
"String whole = S.substring(0,1);",
"whole",
"S.substring(0,1)",
"S.substring",
"S",
"0",
"1",
"String decimal = S.substring(2,4);",
"decimal",
"S.substring(2,4)",
"S.substring",
"S",
"2",
"4",
"long B = Long.parseLong(whole);",
"B",
"Long.parseLong(whole)",
"Long.parseLong",
"Long",
"whole",
"long C = Long.parseLong(decimal);",
"C",
"Long.parseLong(decimal)",
"Long.parseLong",
"Long",
"decimal",
"long D = B*100+C;",
"D",
"B*100+C",
"B*100",
"B",
"100",
"C",
"long ans = A*D;",
"ans",
"A*D",
"A",
"D",
"ans/=100",
"ans",
"100",
"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) { //\n\t\tScanner input = new Scanner(System.in);\n\t\tlong A = input.nextLong();\n\t\tString S = input.next();\n\t\tString whole = S.substring(0,1);\n\t\tString decimal = S.substring(2,4);\n\t\tlong B = Long.parseLong(whole);\n\t\tlong C = Long.parseLong(decimal);\n\t\tlong D = B*100+C;\n\t\tlong ans = A*D;\n\t\tans/=100;\n\t\tSystem.out.println(ans);\n\t}\t\n}",
"public class Main { \n\n\tpublic static void main(String[] args) { //\n\t\tScanner input = new Scanner(System.in);\n\t\tlong A = input.nextLong();\n\t\tString S = input.next();\n\t\tString whole = S.substring(0,1);\n\t\tString decimal = S.substring(2,4);\n\t\tlong B = Long.parseLong(whole);\n\t\tlong C = Long.parseLong(decimal);\n\t\tlong D = B*100+C;\n\t\tlong ans = A*D;\n\t\tans/=100;\n\t\tSystem.out.println(ans);\n\t}\t\n}",
"Main"
] |
import java.io.*;
import java.math.*;
import java.util.*;
public class Main {
public static void main(String[] args) { //
Scanner input = new Scanner(System.in);
long A = input.nextLong();
String S = input.next();
String whole = S.substring(0,1);
String decimal = S.substring(2,4);
long B = Long.parseLong(whole);
long C = Long.parseLong(decimal);
long D = B*100+C;
long ans = A*D;
ans/=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,
4,
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
],
[
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
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
9,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\t\t\n\t\tBigDecimal culc = a.multiply(b);\n\t\tlong ans = culc.longValue();\n\t\tSystem.out.println(ans);\n\t\tsc.close();\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 sc = new Scanner(System.in);\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\t\t\n\t\tBigDecimal culc = a.multiply(b);\n\t\tlong ans = culc.longValue();\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\t\t\n\t\tBigDecimal culc = a.multiply(b);\n\t\tlong ans = culc.longValue();\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\t\t\n\t\tBigDecimal culc = a.multiply(b);\n\t\tlong ans = culc.longValue();\n\t\tSystem.out.println(ans);\n\t\tsc.close();\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 culc = a.multiply(b);",
"culc",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"long ans = culc.longValue();",
"ans",
"culc.longValue()",
"culc.longValue",
"culc",
"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\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\t\t\n\t\tBigDecimal culc = a.multiply(b);\n\t\tlong ans = culc.longValue();\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\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal a = sc.nextBigDecimal();\n\t\tBigDecimal b = sc.nextBigDecimal();\n\t\t\n\t\tBigDecimal culc = a.multiply(b);\n\t\tlong ans = culc.longValue();\n\t\tSystem.out.println(ans);\n\t\tsc.close();\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();
BigDecimal culc = a.multiply(b);
long ans = culc.longValue();
System.out.println(ans);
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,
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
],
[
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
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
11,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
9,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"import java.util.Scanner;\nimport java.math.BigDecimal;\n \npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal a = sc.nextBigDecimal();\n double b = sc.nextDouble();\n sc.close();\n \n BigDecimal ans = a.multiply(BigDecimal.valueOf(b));\n System.out.println(ans.longValue());\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"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 BigDecimal a = sc.nextBigDecimal();\n double b = sc.nextDouble();\n sc.close();\n \n BigDecimal ans = a.multiply(BigDecimal.valueOf(b));\n System.out.println(ans.longValue());\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal a = sc.nextBigDecimal();\n double b = sc.nextDouble();\n sc.close();\n \n BigDecimal ans = a.multiply(BigDecimal.valueOf(b));\n System.out.println(ans.longValue());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n BigDecimal a = sc.nextBigDecimal();\n double b = sc.nextDouble();\n sc.close();\n \n BigDecimal ans = a.multiply(BigDecimal.valueOf(b));\n System.out.println(ans.longValue());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal a = sc.nextBigDecimal();",
"a",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"double b = sc.nextDouble();",
"b",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"sc.close()",
"sc.close",
"sc",
"BigDecimal ans = a.multiply(BigDecimal.valueOf(b));",
"ans",
"a.multiply(BigDecimal.valueOf(b))",
"a.multiply",
"a",
"BigDecimal.valueOf(b)",
"BigDecimal.valueOf",
"BigDecimal",
"b",
"System.out.println(ans.longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"ans.longValue()",
"ans.longValue",
"ans",
"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 double b = sc.nextDouble();\n sc.close();\n \n BigDecimal ans = a.multiply(BigDecimal.valueOf(b));\n System.out.println(ans.longValue());\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 double b = sc.nextDouble();\n sc.close();\n \n BigDecimal ans = a.multiply(BigDecimal.valueOf(b));\n System.out.println(ans.longValue());\n }\n}",
"Main"
] |
import java.util.Scanner;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
BigDecimal a = sc.nextBigDecimal();
double b = sc.nextDouble();
sc.close();
BigDecimal ans = a.multiply(BigDecimal.valueOf(b));
System.out.println(ans.longValue());
}
}
|
[
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,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] |
[
"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 double b = sc.nextDouble();\n int c = (int)Math.round(100*b);\n System.out.println((long)(a*c)/100);\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 double b = sc.nextDouble();\n int c = (int)Math.round(100*b);\n System.out.println((long)(a*c)/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 c = (int)Math.round(100*b);\n System.out.println((long)(a*c)/100);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n int c = (int)Math.round(100*b);\n System.out.println((long)(a*c)/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 c = (int)Math.round(100*b);",
"c",
"(int)Math.round(100*b)",
"Math.round",
"Math",
"100*b",
"100",
"b",
"System.out.println((long)(a*c)/100)",
"System.out.println",
"System.out",
"System",
"System.out",
"(long)(a*c)/100",
"(long)(a*c)",
"a",
"c",
"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 double b = sc.nextDouble();\n int c = (int)Math.round(100*b);\n System.out.println((long)(a*c)/100);\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 double b = sc.nextDouble();\n int c = (int)Math.round(100*b);\n System.out.println((long)(a*c)/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 c = (int)Math.round(100*b);
System.out.println((long)(a*c)/100);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
4,
18,
13,
0,
13,
2,
2,
4,
18,
13,
17,
17,
17,
0,
13,
2,
2,
4,
18,
13,
17,
17,
17,
0,
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
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
28,
33
],
[
27,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
38,
43
],
[
37,
44
],
[
8,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] |
[
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t\n\t\tlong a = scan.nextLong();\n\t\tint b = 0;\n\t\tString s = scan.next();\n\t\t\n\t\tb += (s.charAt(0)-48)*100;\n\t\tb += (s.charAt(2)-48)*10;\n\t\tb += (s.charAt(3)-48);\n\t\t\n\t\tSystem.out.println(a*b/100);\n\t\t\n\t}\t\n\t\n\t//�ŏ�����\n\t/*\n\tstatic int gcd (int a, int b) {\n\t\tint temp;\n\t\twhile((temp = a%b)!=0) {\n\t\t\ta = b;\n\t\t\tb = temp;\n\t\t}\n\t\treturn b;\n\t}\n\t*/\n\t\n\t//����ւ�\n\t/*\n\tstatic int swap (int a, int b) {\n\t\tint swap_arr[] = new int[2];\n\t\t\n\t\tswap[0] = b;\n\t\tswap[1] = a;\n\t\t\n\t\treturn swap_arr;\n\t}\n\t*/\n\t\n}",
"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\t\n\t\t\n\t\tlong a = scan.nextLong();\n\t\tint b = 0;\n\t\tString s = scan.next();\n\t\t\n\t\tb += (s.charAt(0)-48)*100;\n\t\tb += (s.charAt(2)-48)*10;\n\t\tb += (s.charAt(3)-48);\n\t\t\n\t\tSystem.out.println(a*b/100);\n\t\t\n\t}\t\n\t\n\t//�ŏ�����\n\t/*\n\tstatic int gcd (int a, int b) {\n\t\tint temp;\n\t\twhile((temp = a%b)!=0) {\n\t\t\ta = b;\n\t\t\tb = temp;\n\t\t}\n\t\treturn b;\n\t}\n\t*/\n\t\n\t//����ւ�\n\t/*\n\tstatic int swap (int a, int b) {\n\t\tint swap_arr[] = new int[2];\n\t\t\n\t\tswap[0] = b;\n\t\tswap[1] = a;\n\t\t\n\t\treturn swap_arr;\n\t}\n\t*/\n\t\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t\n\t\tlong a = scan.nextLong();\n\t\tint b = 0;\n\t\tString s = scan.next();\n\t\t\n\t\tb += (s.charAt(0)-48)*100;\n\t\tb += (s.charAt(2)-48)*10;\n\t\tb += (s.charAt(3)-48);\n\t\t\n\t\tSystem.out.println(a*b/100);\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t\n\t\tlong a = scan.nextLong();\n\t\tint b = 0;\n\t\tString s = scan.next();\n\t\t\n\t\tb += (s.charAt(0)-48)*100;\n\t\tb += (s.charAt(2)-48)*10;\n\t\tb += (s.charAt(3)-48);\n\t\t\n\t\tSystem.out.println(a*b/100);\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long a = scan.nextLong();",
"a",
"scan.nextLong()",
"scan.nextLong",
"scan",
"int b = 0;",
"b",
"0",
"String s = scan.next();",
"s",
"scan.next()",
"scan.next",
"scan",
"b += (s.charAt(0)-48)*100",
"b",
"(s.charAt(0)-48)*100",
"(s.charAt(0)-48)",
"s.charAt(0)",
"s.charAt",
"s",
"0",
"48",
"100",
"b += (s.charAt(2)-48)*10",
"b",
"(s.charAt(2)-48)*10",
"(s.charAt(2)-48)",
"s.charAt(2)",
"s.charAt",
"s",
"2",
"48",
"10",
"b += (s.charAt(3)-48)",
"b",
"(s.charAt(3)-48)",
"s.charAt(3)",
"s.charAt",
"s",
"3",
"48",
"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\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t\n\t\tlong a = scan.nextLong();\n\t\tint b = 0;\n\t\tString s = scan.next();\n\t\t\n\t\tb += (s.charAt(0)-48)*100;\n\t\tb += (s.charAt(2)-48)*10;\n\t\tb += (s.charAt(3)-48);\n\t\t\n\t\tSystem.out.println(a*b/100);\n\t\t\n\t}\t\n\t\n\t//�ŏ�����\n\t/*\n\tstatic int gcd (int a, int b) {\n\t\tint temp;\n\t\twhile((temp = a%b)!=0) {\n\t\t\ta = b;\n\t\t\tb = temp;\n\t\t}\n\t\treturn b;\n\t}\n\t*/\n\t\n\t//����ւ�\n\t/*\n\tstatic int swap (int a, int b) {\n\t\tint swap_arr[] = new int[2];\n\t\t\n\t\tswap[0] = b;\n\t\tswap[1] = a;\n\t\t\n\t\treturn swap_arr;\n\t}\n\t*/\n\t\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t\n\t\tlong a = scan.nextLong();\n\t\tint b = 0;\n\t\tString s = scan.next();\n\t\t\n\t\tb += (s.charAt(0)-48)*100;\n\t\tb += (s.charAt(2)-48)*10;\n\t\tb += (s.charAt(3)-48);\n\t\t\n\t\tSystem.out.println(a*b/100);\n\t\t\n\t}\t\n\t\n\t//�ŏ�����\n\t/*\n\tstatic int gcd (int a, int b) {\n\t\tint temp;\n\t\twhile((temp = a%b)!=0) {\n\t\t\ta = b;\n\t\t\tb = temp;\n\t\t}\n\t\treturn b;\n\t}\n\t*/\n\t\n\t//����ւ�\n\t/*\n\tstatic int swap (int a, int b) {\n\t\tint swap_arr[] = new int[2];\n\t\t\n\t\tswap[0] = b;\n\t\tswap[1] = a;\n\t\t\n\t\treturn swap_arr;\n\t}\n\t*/\n\t\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
long a = scan.nextLong();
int b = 0;
String s = scan.next();
b += (s.charAt(0)-48)*100;
b += (s.charAt(2)-48)*10;
b += (s.charAt(3)-48);
System.out.println(a*b/100);
}
//�ŏ�����
/*
static int gcd (int a, int b) {
int temp;
while((temp = a%b)!=0) {
a = b;
b = temp;
}
return b;
}
*/
//����ւ�
/*
static int swap (int a, int b) {
int swap_arr[] = new int[2];
swap[0] = b;
swap[1] = a;
return swap_arr;
}
*/
}
|
[
7,
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
],
[
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
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
22,
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.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 long b = Long.parseLong(sc.next().replace(\".\",\"\"));\n System.out.println(a * b / 100);\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 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\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\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.Scanner;
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);
}
}
|
[
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,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
46,
8
],
[
46,
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
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
9,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"import java.math.BigDecimal;\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 input[] = sc.nextLine().split(\" \");\n\t\tBigDecimal A = new BigDecimal(input[0]);\n\t\tBigDecimal B = new BigDecimal(input[1]);\n\t\tSystem.out.println(A.multiply(B).longValue());\n\t\tsc.close();\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) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input[] = sc.nextLine().split(\" \");\n\t\tBigDecimal A = new BigDecimal(input[0]);\n\t\tBigDecimal B = new BigDecimal(input[1]);\n\t\tSystem.out.println(A.multiply(B).longValue());\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input[] = sc.nextLine().split(\" \");\n\t\tBigDecimal A = new BigDecimal(input[0]);\n\t\tBigDecimal B = new BigDecimal(input[1]);\n\t\tSystem.out.println(A.multiply(B).longValue());\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input[] = sc.nextLine().split(\" \");\n\t\tBigDecimal A = new BigDecimal(input[0]);\n\t\tBigDecimal B = new BigDecimal(input[1]);\n\t\tSystem.out.println(A.multiply(B).longValue());\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String input[] = sc.nextLine().split(\" \");",
"input",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"BigDecimal A = new BigDecimal(input[0]);",
"A",
"new BigDecimal(input[0])",
"BigDecimal B = new BigDecimal(input[1]);",
"B",
"new BigDecimal(input[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",
"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\tString input[] = sc.nextLine().split(\" \");\n\t\tBigDecimal A = new BigDecimal(input[0]);\n\t\tBigDecimal B = new BigDecimal(input[1]);\n\t\tSystem.out.println(A.multiply(B).longValue());\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\tString input[] = sc.nextLine().split(\" \");\n\t\tBigDecimal A = new BigDecimal(input[0]);\n\t\tBigDecimal B = new BigDecimal(input[1]);\n\t\tSystem.out.println(A.multiply(B).longValue());\n\t\tsc.close();\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);
String input[] = sc.nextLine().split(" ");
BigDecimal A = new BigDecimal(input[0]);
BigDecimal B = new BigDecimal(input[1]);
System.out.println(A.multiply(B).longValue());
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
2,
17,
17,
41,
13,
17,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
3,
0,
13,
13,
4,
18,
13,
13,
4,
18,
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,
29,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
13,
29,
4,
13,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
29,
17,
29,
17,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
12,
13,
30,
0,
13,
13,
0,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
18,
36,
13,
12,
13,
30,
29,
18,
36,
13,
12,
13,
30,
41,
13,
4,
18,
13,
18,
13,
13,
14,
2,
13,
17,
30,
29,
4,
18,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
17,
4,
18,
36,
17,
4,
18,
36,
17,
12,
13,
30,
29,
2,
2,
2,
17,
4,
18,
13,
17,
4,
18,
13,
12,
13,
30,
14,
40,
2,
13,
13,
30,
29,
17,
14,
2,
13,
36,
30,
29,
17,
41,
13,
13,
29,
2,
4,
18,
13,
18,
13,
13,
4,
18,
13,
18,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
17,
13,
17,
13,
17,
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
],
[
420,
11
],
[
420,
12
],
[
12,
13
],
[
12,
14
],
[
420,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
17,
19
],
[
420,
20
],
[
20,
21
],
[
20,
22
],
[
420,
23
],
[
23,
24
],
[
23,
25
],
[
420,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
28,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
28,
50
],
[
50,
51
],
[
50,
52
],
[
28,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
53,
63
],
[
63,
64
],
[
64,
65
],
[
53,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
67,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
67,
79
],
[
79,
80
],
[
79,
81
],
[
28,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
28,
86
],
[
86,
87
],
[
87,
88
],
[
26,
89
],
[
89,
90
],
[
420,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
98,
106
],
[
106,
107
],
[
107,
108
],
[
98,
109
],
[
110,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
116,
117
],
[
93,
118
],
[
118,
119
],
[
91,
120
],
[
120,
121
],
[
420,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
124,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
135,
137
],
[
133,
138
],
[
122,
139
],
[
139,
140
],
[
122,
141
],
[
141,
142
],
[
420,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
151,
152
],
[
145,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
153,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
153,
163
],
[
163,
164
],
[
164,
165
],
[
153,
166
],
[
167,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
168,
174
],
[
174,
175
],
[
175,
176
],
[
145,
177
],
[
177,
178
],
[
143,
179
],
[
179,
180
],
[
420,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
181,
185
],
[
185,
186
],
[
181,
187
],
[
187,
188
],
[
187,
189
],
[
181,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
192,
196
],
[
196,
197
],
[
196,
198
],
[
190,
199
],
[
199,
200
],
[
190,
201
],
[
201,
202
],
[
181,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
181,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
181,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
222,
225
],
[
225,
226
],
[
225,
227
],
[
219,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
234,
237
],
[
237,
238
],
[
237,
239
],
[
219,
240
],
[
240,
241
],
[
217,
242
],
[
242,
243
],
[
181,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
247,
252
],
[
255,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
258,
259
],
[
254,
260
],
[
253,
261
],
[
261,
262
],
[
262,
263
],
[
255,
264
],
[
181,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
274,
275
],
[
270,
276
],
[
269,
277
],
[
277,
278
],
[
278,
279
],
[
181,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
283,
288
],
[
288,
289
],
[
289,
290
],
[
282,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
291,
295
],
[
295,
296
],
[
296,
297
],
[
282,
298
],
[
298,
299
],
[
298,
300
],
[
282,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
303,
306
],
[
306,
307
],
[
306,
308
],
[
302,
309
],
[
309,
310
],
[
310,
311
],
[
309,
312
],
[
312,
313
],
[
312,
314
],
[
280,
315
],
[
315,
316
],
[
181,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
320,
321
],
[
324,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
323,
327
],
[
322,
328
],
[
324,
329
],
[
181,
330
],
[
420,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
331,
335
],
[
335,
336
],
[
331,
337
],
[
337,
338
],
[
337,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
331,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
348,
349
],
[
348,
350
],
[
347,
351
],
[
351,
352
],
[
352,
353
],
[
353,
354
],
[
346,
355
],
[
355,
356
],
[
356,
357
],
[
357,
358
],
[
357,
359
],
[
359,
360
],
[
360,
361
],
[
361,
362
],
[
356,
363
],
[
363,
364
],
[
364,
365
],
[
364,
366
],
[
345,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
331,
371
],
[
371,
372
],
[
371,
373
],
[
373,
374
],
[
374,
375
],
[
375,
376
],
[
376,
377
],
[
375,
378
],
[
378,
379
],
[
331,
380
],
[
380,
381
],
[
380,
382
],
[
382,
383
],
[
383,
384
],
[
384,
385
],
[
385,
386
],
[
384,
387
],
[
387,
388
],
[
331,
389
],
[
389,
390
],
[
389,
391
],
[
391,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
393,
396
],
[
396,
397
],
[
331,
398
],
[
398,
399
],
[
398,
400
],
[
400,
401
],
[
401,
402
],
[
401,
403
],
[
400,
404
],
[
404,
405
],
[
405,
406
],
[
405,
407
],
[
407,
408
],
[
408,
409
],
[
409,
410
],
[
404,
411
],
[
411,
412
],
[
412,
413
],
[
412,
414
],
[
414,
415
],
[
415,
416
],
[
400,
417
],
[
417,
418
],
[
0,
419
],
[
419,
420
],
[
419,
421
]
] |
[
"\n/* \n * @author : poindexter_21\n */\nimport java.io.*;\nimport java.util.*;\nimport java.math.*;\n\npublic class Main {\n \n //static MyScanner sc = new MyScanner();\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) {\n \n \n BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n \n BigDecimal c = a.multiply(b);\n \n String str = c.toString();\n String res = \"\";\n for(int i = 0; i < str.length(); ++i) {\n char ch = str.charAt(i);\n if(ch == '.')\n break;\n res += ch;\n }\n \n out.println(res);\n \n out.close();\n }\n\n /**\n * *********************************************************************************************\n */\n static final int MOD = (int) 1e9 + 7;\n static final double PI = 3.14159265358979323846;\n\n // array of int type taking input\n public static int[] init(int n) {\n \n int[] arr = new int[n];\n \n for (int i = 0; i < n; ++i) {\n arr[i] = sc.nextInt();\n }\n \n return arr;\n }\n\n //return gcd of two numbers\n public static int gcd(int a, int b) {\n \n if (a == 0) {\n return b;\n }\n \n return gcd(b % a, a);\n }\n\n //checks whether a number is prime or not\n public static boolean prime(int n) {\n \n if (n < 2) {\n return false;\n }\n \n for (int i = 2; i * i <= n; ++i) {\n if (n % i == 0) {\n return false;\n }\n }\n \n return true;\n }\n\n // Pair Class\n static class Pair<S extends Comparable<S>, T extends Comparable<T>> implements Comparable<Pair<S, T>> {\n \n S first;\n T second;\n \n public Pair() {\n }\n \n Pair(S f, T s) {\n first = f;\n second = s;\n }\n \n public S getX() {\n return this.first;\n }\n \n public T getY() {\n return this.second;\n }\n \n @Override\n public int compareTo(Pair<S, T> o) {\n int t = first.compareTo(o.first);\n if (t == 0) {\n return second.compareTo(o.second);\n }\n return t;\n }\n \n public void show() {\n System.out.println(\"[\" + this.getX() + \" , \" + this.getY() + \"]\");\n }\n \n @Override\n public int hashCode() {\n return (31 + first.hashCode()) * 31 + second.hashCode();\n }\n \n @Override\n public boolean equals(Object o) {\n if (!(o instanceof Pair)) {\n return false;\n }\n if (o == this) {\n return true;\n }\n Pair p = (Pair) o;\n return first.equals(p.first) && second.equals(p.second);\n }\n \n @Override\n public String toString() {\n return \"Pair{\" + first + \", \" + second + \"}\";\n }\n }\n\n /**\n *********************************************************************************************\n */\n /**\n * Fast Input/ Output *\n */\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n\n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n \n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n \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.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n \n //static MyScanner sc = new MyScanner();\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) {\n \n \n BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n \n BigDecimal c = a.multiply(b);\n \n String str = c.toString();\n String res = \"\";\n for(int i = 0; i < str.length(); ++i) {\n char ch = str.charAt(i);\n if(ch == '.')\n break;\n res += ch;\n }\n \n out.println(res);\n \n out.close();\n }\n\n /**\n * *********************************************************************************************\n */\n static final int MOD = (int) 1e9 + 7;\n static final double PI = 3.14159265358979323846;\n\n // array of int type taking input\n public static int[] init(int n) {\n \n int[] arr = new int[n];\n \n for (int i = 0; i < n; ++i) {\n arr[i] = sc.nextInt();\n }\n \n return arr;\n }\n\n //return gcd of two numbers\n public static int gcd(int a, int b) {\n \n if (a == 0) {\n return b;\n }\n \n return gcd(b % a, a);\n }\n\n //checks whether a number is prime or not\n public static boolean prime(int n) {\n \n if (n < 2) {\n return false;\n }\n \n for (int i = 2; i * i <= n; ++i) {\n if (n % i == 0) {\n return false;\n }\n }\n \n return true;\n }\n\n // Pair Class\n static class Pair<S extends Comparable<S>, T extends Comparable<T>> implements Comparable<Pair<S, T>> {\n \n S first;\n T second;\n \n public Pair() {\n }\n \n Pair(S f, T s) {\n first = f;\n second = s;\n }\n \n public S getX() {\n return this.first;\n }\n \n public T getY() {\n return this.second;\n }\n \n @Override\n public int compareTo(Pair<S, T> o) {\n int t = first.compareTo(o.first);\n if (t == 0) {\n return second.compareTo(o.second);\n }\n return t;\n }\n \n public void show() {\n System.out.println(\"[\" + this.getX() + \" , \" + this.getY() + \"]\");\n }\n \n @Override\n public int hashCode() {\n return (31 + first.hashCode()) * 31 + second.hashCode();\n }\n \n @Override\n public boolean equals(Object o) {\n if (!(o instanceof Pair)) {\n return false;\n }\n if (o == this) {\n return true;\n }\n Pair p = (Pair) o;\n return first.equals(p.first) && second.equals(p.second);\n }\n \n @Override\n public String toString() {\n return \"Pair{\" + first + \", \" + second + \"}\";\n }\n }\n\n /**\n *********************************************************************************************\n */\n /**\n * Fast Input/ Output *\n */\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n\n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n \n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n \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",
"//static MyScanner sc = new MyScanner();\n static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"/**\n * *********************************************************************************************\n */\n static final int MOD = (int) 1e9 + 7;",
"MOD",
"(int) 1e9 + 7",
"(int) 1e9",
"7",
"static final double PI = 3.14159265358979323846;",
"PI",
"3.14159265358979323846",
"/**\n * Fast Input/ Output *\n */\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));",
"out",
"new PrintWriter(new BufferedOutputStream(System.out))",
"public static void main(String[] args) {\n \n \n BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n \n BigDecimal c = a.multiply(b);\n \n String str = c.toString();\n String res = \"\";\n for(int i = 0; i < str.length(); ++i) {\n char ch = str.charAt(i);\n if(ch == '.')\n break;\n res += ch;\n }\n \n out.println(res);\n \n out.close();\n }",
"main",
"{\n \n \n BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n \n BigDecimal c = a.multiply(b);\n \n String str = c.toString();\n String res = \"\";\n for(int i = 0; i < str.length(); ++i) {\n char ch = str.charAt(i);\n if(ch == '.')\n break;\n res += ch;\n }\n \n out.println(res);\n \n out.close();\n }",
"BigDecimal a = sc.nextBigDecimal();",
"a",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"BigDecimal b = sc.nextBigDecimal();",
"b",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"BigDecimal c = a.multiply(b);",
"c",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"String str = c.toString();",
"str",
"c.toString()",
"c.toString",
"c",
"String res = \"\";",
"res",
"\"\"",
"for(int i = 0; i < str.length(); ++i) {\n char ch = str.charAt(i);\n if(ch == '.')\n break;\n res += ch;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"++i",
"++i",
"i",
"{\n char ch = str.charAt(i);\n if(ch == '.')\n break;\n res += ch;\n }",
"{\n char ch = str.charAt(i);\n if(ch == '.')\n break;\n res += ch;\n }",
"char ch = str.charAt(i);",
"ch",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"if(ch == '.')\n break;",
"ch == '.'",
"ch",
"'.'",
"break;",
"res += ch",
"res",
"ch",
"out.println(res)",
"out.println",
"out",
"res",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"// array of int type taking input\n public static int[] init(int n) {\n \n int[] arr = new int[n];\n \n for (int i = 0; i < n; ++i) {\n arr[i] = sc.nextInt();\n }\n \n return arr;\n }",
"init",
"{\n \n int[] arr = new int[n];\n \n for (int i = 0; i < n; ++i) {\n arr[i] = sc.nextInt();\n }\n \n return arr;\n }",
"int[] arr = new int[n];",
"arr",
"new int[n]",
"n",
"for (int i = 0; i < n; ++i) {\n arr[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"++i",
"++i",
"i",
"{\n arr[i] = sc.nextInt();\n }",
"{\n arr[i] = sc.nextInt();\n }",
"arr[i] = sc.nextInt()",
"arr[i]",
"arr",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return arr;",
"arr",
"int n",
"n",
"//return gcd of two numbers\n public static int gcd(int a, int b) {\n \n if (a == 0) {\n return b;\n }\n \n return gcd(b % a, a);\n }",
"gcd",
"{\n \n if (a == 0) {\n return b;\n }\n \n return gcd(b % a, a);\n }",
"if (a == 0) {\n return b;\n }",
"a == 0",
"a",
"0",
"{\n return b;\n }",
"return b;",
"b",
"return gcd(b % a, a);",
"gcd(b % a, a)",
"gcd",
"b % a",
"b",
"a",
"a",
"int a",
"a",
"int b",
"b",
"//checks whether a number is prime or not\n public static boolean prime(int n) {\n \n if (n < 2) {\n return false;\n }\n \n for (int i = 2; i * i <= n; ++i) {\n if (n % i == 0) {\n return false;\n }\n }\n \n return true;\n }",
"prime",
"{\n \n if (n < 2) {\n return false;\n }\n \n for (int i = 2; i * i <= n; ++i) {\n if (n % i == 0) {\n return false;\n }\n }\n \n return true;\n }",
"if (n < 2) {\n return false;\n }",
"n < 2",
"n",
"2",
"{\n return false;\n }",
"return false;",
"false",
"for (int i = 2; i * i <= n; ++i) {\n if (n % i == 0) {\n return false;\n }\n }",
"int i = 2;",
"int i = 2;",
"i",
"2",
"i * i <= n",
"i * i",
"i",
"i",
"n",
"++i",
"++i",
"i",
"{\n if (n % i == 0) {\n return false;\n }\n }",
"{\n if (n % i == 0) {\n return false;\n }\n }",
"if (n % i == 0) {\n return false;\n }",
"n % i == 0",
"n % i",
"n",
"i",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"int n",
"n",
"static class Pair<S extends Comparable<S>, T extends Comparable<T>> implements Comparable<Pair<S, T>> {\n \n S first;\n T second;\n \n public Pair() {\n }\n \n Pair(S f, T s) {\n first = f;\n second = s;\n }\n \n public S getX() {\n return this.first;\n }\n \n public T getY() {\n return this.second;\n }\n \n @Override\n public int compareTo(Pair<S, T> o) {\n int t = first.compareTo(o.first);\n if (t == 0) {\n return second.compareTo(o.second);\n }\n return t;\n }\n \n public void show() {\n System.out.println(\"[\" + this.getX() + \" , \" + this.getY() + \"]\");\n }\n \n @Override\n public int hashCode() {\n return (31 + first.hashCode()) * 31 + second.hashCode();\n }\n \n @Override\n public boolean equals(Object o) {\n if (!(o instanceof Pair)) {\n return false;\n }\n if (o == this) {\n return true;\n }\n Pair p = (Pair) o;\n return first.equals(p.first) && second.equals(p.second);\n }\n \n @Override\n public String toString() {\n return \"Pair{\" + first + \", \" + second + \"}\";\n }\n }",
"Pair",
"S first;",
"first",
"T second;",
"second",
"public Pair() {\n }",
"Pair",
"{\n }",
"Pair(S f, T s) {\n first = f;\n second = s;\n }",
"Pair",
"{\n first = f;\n second = s;\n }",
"first = f",
"first",
"f",
"second = s",
"second",
"s",
"S f",
"f",
"T s",
"s",
"public S getX() {\n return this.first;\n }",
"getX",
"{\n return this.first;\n }",
"return this.first;",
"this.first",
"this",
"this.first",
"public T getY() {\n return this.second;\n }",
"getY",
"{\n return this.second;\n }",
"return this.second;",
"this.second",
"this",
"this.second",
"@Override\n public int compareTo(Pair<S, T> o) {\n int t = first.compareTo(o.first);\n if (t == 0) {\n return second.compareTo(o.second);\n }\n return t;\n }",
"compareTo",
"{\n int t = first.compareTo(o.first);\n if (t == 0) {\n return second.compareTo(o.second);\n }\n return t;\n }",
"int t = first.compareTo(o.first);",
"t",
"first.compareTo(o.first)",
"first.compareTo",
"first",
"o.first",
"o",
"o.first",
"if (t == 0) {\n return second.compareTo(o.second);\n }",
"t == 0",
"t",
"0",
"{\n return second.compareTo(o.second);\n }",
"return second.compareTo(o.second);",
"second.compareTo(o.second)",
"second.compareTo",
"second",
"o.second",
"o",
"o.second",
"return t;",
"t",
"Pair<S, T> o",
"o",
"public void show() {\n System.out.println(\"[\" + this.getX() + \" , \" + this.getY() + \"]\");\n }",
"show",
"{\n System.out.println(\"[\" + this.getX() + \" , \" + this.getY() + \"]\");\n }",
"System.out.println(\"[\" + this.getX() + \" , \" + this.getY() + \"]\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"[\" + this.getX() + \" , \" + this.getY() + \"]\"",
"this.getY()",
"\" , \"",
"\"[\" + this.getX() + \" , \" + this.getY() + \"]\"",
"\"[\"",
"this.getX()",
"this.getX",
"this",
"\" , \"",
"this.getY()",
"this.getY",
"this",
"\"]\"",
"@Override\n public int hashCode() {\n return (31 + first.hashCode()) * 31 + second.hashCode();\n }",
"hashCode",
"{\n return (31 + first.hashCode()) * 31 + second.hashCode();\n }",
"return (31 + first.hashCode()) * 31 + second.hashCode();",
"(31 + first.hashCode()) * 31 + second.hashCode()",
"(31 + first.hashCode()) * 31",
"(31 + first.hashCode())",
"31",
"first.hashCode()",
"first.hashCode",
"first",
"31",
"second.hashCode()",
"second.hashCode",
"second",
"@Override\n public boolean equals(Object o) {\n if (!(o instanceof Pair)) {\n return false;\n }\n if (o == this) {\n return true;\n }\n Pair p = (Pair) o;\n return first.equals(p.first) && second.equals(p.second);\n }",
"equals",
"{\n if (!(o instanceof Pair)) {\n return false;\n }\n if (o == this) {\n return true;\n }\n Pair p = (Pair) o;\n return first.equals(p.first) && second.equals(p.second);\n }",
"if (!(o instanceof Pair)) {\n return false;\n }",
"!(o instanceof Pair)",
"(o instanceof Pair)",
"o",
"Pair",
"{\n return false;\n }",
"return false;",
"false",
"if (o == this) {\n return true;\n }",
"o == this",
"o",
"this",
"{\n return true;\n }",
"return true;",
"true",
"Pair p = (Pair) o;",
"p",
"(Pair) o",
"return first.equals(p.first) && second.equals(p.second);",
"first.equals(p.first) && second.equals(p.second)",
"first.equals(p.first)",
"first.equals",
"first",
"p.first",
"p",
"p.first",
"second.equals(p.second)",
"second.equals",
"second",
"p.second",
"p",
"p.second",
"Object o",
"o",
"@Override\n public String toString() {\n return \"Pair{\" + first + \", \" + second + \"}\";\n }",
"toString",
"{\n return \"Pair{\" + first + \", \" + second + \"}\";\n }",
"return \"Pair{\" + first + \", \" + second + \"}\";",
"\"Pair{\" + first + \", \" + second + \"}\"",
"second",
"\", \"",
"\"Pair{\" + first + \", \" + second + \"}\"",
"\"Pair{\"",
"first",
"\", \"",
"second",
"\"}\"",
"Comparable",
"public static class MyScanner {\n \n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n \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 }",
"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 \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 \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 sc = new MyScanner();\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) {\n \n \n BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n \n BigDecimal c = a.multiply(b);\n \n String str = c.toString();\n String res = \"\";\n for(int i = 0; i < str.length(); ++i) {\n char ch = str.charAt(i);\n if(ch == '.')\n break;\n res += ch;\n }\n \n out.println(res);\n \n out.close();\n }\n\n /**\n * *********************************************************************************************\n */\n static final int MOD = (int) 1e9 + 7;\n static final double PI = 3.14159265358979323846;\n\n // array of int type taking input\n public static int[] init(int n) {\n \n int[] arr = new int[n];\n \n for (int i = 0; i < n; ++i) {\n arr[i] = sc.nextInt();\n }\n \n return arr;\n }\n\n //return gcd of two numbers\n public static int gcd(int a, int b) {\n \n if (a == 0) {\n return b;\n }\n \n return gcd(b % a, a);\n }\n\n //checks whether a number is prime or not\n public static boolean prime(int n) {\n \n if (n < 2) {\n return false;\n }\n \n for (int i = 2; i * i <= n; ++i) {\n if (n % i == 0) {\n return false;\n }\n }\n \n return true;\n }\n\n // Pair Class\n static class Pair<S extends Comparable<S>, T extends Comparable<T>> implements Comparable<Pair<S, T>> {\n \n S first;\n T second;\n \n public Pair() {\n }\n \n Pair(S f, T s) {\n first = f;\n second = s;\n }\n \n public S getX() {\n return this.first;\n }\n \n public T getY() {\n return this.second;\n }\n \n @Override\n public int compareTo(Pair<S, T> o) {\n int t = first.compareTo(o.first);\n if (t == 0) {\n return second.compareTo(o.second);\n }\n return t;\n }\n \n public void show() {\n System.out.println(\"[\" + this.getX() + \" , \" + this.getY() + \"]\");\n }\n \n @Override\n public int hashCode() {\n return (31 + first.hashCode()) * 31 + second.hashCode();\n }\n \n @Override\n public boolean equals(Object o) {\n if (!(o instanceof Pair)) {\n return false;\n }\n if (o == this) {\n return true;\n }\n Pair p = (Pair) o;\n return first.equals(p.first) && second.equals(p.second);\n }\n \n @Override\n public String toString() {\n return \"Pair{\" + first + \", \" + second + \"}\";\n }\n }\n\n /**\n *********************************************************************************************\n */\n /**\n * Fast Input/ Output *\n */\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n\n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n \n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n \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 \n //static MyScanner sc = new MyScanner();\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) {\n \n \n BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n \n BigDecimal c = a.multiply(b);\n \n String str = c.toString();\n String res = \"\";\n for(int i = 0; i < str.length(); ++i) {\n char ch = str.charAt(i);\n if(ch == '.')\n break;\n res += ch;\n }\n \n out.println(res);\n \n out.close();\n }\n\n /**\n * *********************************************************************************************\n */\n static final int MOD = (int) 1e9 + 7;\n static final double PI = 3.14159265358979323846;\n\n // array of int type taking input\n public static int[] init(int n) {\n \n int[] arr = new int[n];\n \n for (int i = 0; i < n; ++i) {\n arr[i] = sc.nextInt();\n }\n \n return arr;\n }\n\n //return gcd of two numbers\n public static int gcd(int a, int b) {\n \n if (a == 0) {\n return b;\n }\n \n return gcd(b % a, a);\n }\n\n //checks whether a number is prime or not\n public static boolean prime(int n) {\n \n if (n < 2) {\n return false;\n }\n \n for (int i = 2; i * i <= n; ++i) {\n if (n % i == 0) {\n return false;\n }\n }\n \n return true;\n }\n\n // Pair Class\n static class Pair<S extends Comparable<S>, T extends Comparable<T>> implements Comparable<Pair<S, T>> {\n \n S first;\n T second;\n \n public Pair() {\n }\n \n Pair(S f, T s) {\n first = f;\n second = s;\n }\n \n public S getX() {\n return this.first;\n }\n \n public T getY() {\n return this.second;\n }\n \n @Override\n public int compareTo(Pair<S, T> o) {\n int t = first.compareTo(o.first);\n if (t == 0) {\n return second.compareTo(o.second);\n }\n return t;\n }\n \n public void show() {\n System.out.println(\"[\" + this.getX() + \" , \" + this.getY() + \"]\");\n }\n \n @Override\n public int hashCode() {\n return (31 + first.hashCode()) * 31 + second.hashCode();\n }\n \n @Override\n public boolean equals(Object o) {\n if (!(o instanceof Pair)) {\n return false;\n }\n if (o == this) {\n return true;\n }\n Pair p = (Pair) o;\n return first.equals(p.first) && second.equals(p.second);\n }\n \n @Override\n public String toString() {\n return \"Pair{\" + first + \", \" + second + \"}\";\n }\n }\n\n /**\n *********************************************************************************************\n */\n /**\n * Fast Input/ Output *\n */\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n\n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n \n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n \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"
] |
/*
* @author : poindexter_21
*/
import java.io.*;
import java.util.*;
import java.math.*;
public class Main {
//static MyScanner sc = new MyScanner();
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
BigDecimal a = sc.nextBigDecimal();
BigDecimal b = sc.nextBigDecimal();
BigDecimal c = a.multiply(b);
String str = c.toString();
String res = "";
for(int i = 0; i < str.length(); ++i) {
char ch = str.charAt(i);
if(ch == '.')
break;
res += ch;
}
out.println(res);
out.close();
}
/**
* *********************************************************************************************
*/
static final int MOD = (int) 1e9 + 7;
static final double PI = 3.14159265358979323846;
// array of int type taking input
public static int[] init(int n) {
int[] arr = new int[n];
for (int i = 0; i < n; ++i) {
arr[i] = sc.nextInt();
}
return arr;
}
//return gcd of two numbers
public static int gcd(int a, int b) {
if (a == 0) {
return b;
}
return gcd(b % a, a);
}
//checks whether a number is prime or not
public static boolean prime(int n) {
if (n < 2) {
return false;
}
for (int i = 2; i * i <= n; ++i) {
if (n % i == 0) {
return false;
}
}
return true;
}
// Pair Class
static class Pair<S extends Comparable<S>, T extends Comparable<T>> implements Comparable<Pair<S, T>> {
S first;
T second;
public Pair() {
}
Pair(S f, T s) {
first = f;
second = s;
}
public S getX() {
return this.first;
}
public T getY() {
return this.second;
}
@Override
public int compareTo(Pair<S, T> o) {
int t = first.compareTo(o.first);
if (t == 0) {
return second.compareTo(o.second);
}
return t;
}
public void show() {
System.out.println("[" + this.getX() + " , " + this.getY() + "]");
}
@Override
public int hashCode() {
return (31 + first.hashCode()) * 31 + second.hashCode();
}
@Override
public boolean equals(Object o) {
if (!(o instanceof Pair)) {
return false;
}
if (o == this) {
return true;
}
Pair p = (Pair) o;
return first.equals(p.first) && second.equals(p.second);
}
@Override
public String toString() {
return "Pair{" + first + ", " + second + "}";
}
}
/**
*********************************************************************************************
*/
/**
* Fast Input/ Output *
*/
//-----------PrintWriter for faster output---------------------------------
public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));
//-----------MyScanner class for faster input----------
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,
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
],
[
45,
11
],
[
45,
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
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
26,
32
],
[
26,
33
],
[
33,
34
],
[
33,
35
],
[
14,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
12,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"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 scanner = new Scanner(System.in);\n\n BigDecimal A = new BigDecimal(scanner.next());\n BigDecimal B = new BigDecimal(scanner.next());\n BigDecimal C = A.multiply(B).setScale(0, RoundingMode.DOWN);\n System.out.println(C);\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 scanner = new Scanner(System.in);\n\n BigDecimal A = new BigDecimal(scanner.next());\n BigDecimal B = new BigDecimal(scanner.next());\n BigDecimal C = A.multiply(B).setScale(0, RoundingMode.DOWN);\n System.out.println(C);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n BigDecimal A = new BigDecimal(scanner.next());\n BigDecimal B = new BigDecimal(scanner.next());\n BigDecimal C = A.multiply(B).setScale(0, RoundingMode.DOWN);\n System.out.println(C);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n BigDecimal A = new BigDecimal(scanner.next());\n BigDecimal B = new BigDecimal(scanner.next());\n BigDecimal C = A.multiply(B).setScale(0, RoundingMode.DOWN);\n System.out.println(C);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"BigDecimal A = new BigDecimal(scanner.next());",
"A",
"new BigDecimal(scanner.next())",
"BigDecimal B = new BigDecimal(scanner.next());",
"B",
"new BigDecimal(scanner.next())",
"BigDecimal C = A.multiply(B).setScale(0, RoundingMode.DOWN);",
"C",
"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(C)",
"System.out.println",
"System.out",
"System",
"System.out",
"C",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n BigDecimal A = new BigDecimal(scanner.next());\n BigDecimal B = new BigDecimal(scanner.next());\n BigDecimal C = A.multiply(B).setScale(0, RoundingMode.DOWN);\n System.out.println(C);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n BigDecimal A = new BigDecimal(scanner.next());\n BigDecimal B = new BigDecimal(scanner.next());\n BigDecimal C = A.multiply(B).setScale(0, RoundingMode.DOWN);\n System.out.println(C);\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 scanner = new Scanner(System.in);
BigDecimal A = new BigDecimal(scanner.next());
BigDecimal B = new BigDecimal(scanner.next());
BigDecimal C = A.multiply(B).setScale(0, RoundingMode.DOWN);
System.out.println(C);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
53,
11
],
[
53,
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
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
14,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
12,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] |
[
"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 // 整数の入力\n String[] arr = sc.nextLine().split(\" \");\n BigDecimal a = new BigDecimal(arr[0]);\n BigDecimal b = new BigDecimal(arr[1]);\n BigDecimal ans = a.multiply(b);\n System.out.println(ans.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 sc = new Scanner(System.in);\n // 整数の入力\n String[] arr = sc.nextLine().split(\" \");\n BigDecimal a = new BigDecimal(arr[0]);\n BigDecimal b = new BigDecimal(arr[1]);\n BigDecimal ans = a.multiply(b);\n System.out.println(ans.setScale(0, RoundingMode.DOWN));\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n String[] arr = sc.nextLine().split(\" \");\n BigDecimal a = new BigDecimal(arr[0]);\n BigDecimal b = new BigDecimal(arr[1]);\n BigDecimal ans = a.multiply(b);\n System.out.println(ans.setScale(0, RoundingMode.DOWN));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n String[] arr = sc.nextLine().split(\" \");\n BigDecimal a = new BigDecimal(arr[0]);\n BigDecimal b = new BigDecimal(arr[1]);\n BigDecimal ans = a.multiply(b);\n System.out.println(ans.setScale(0, RoundingMode.DOWN));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] arr = sc.nextLine().split(\" \");",
"arr",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"BigDecimal a = new BigDecimal(arr[0]);",
"a",
"new BigDecimal(arr[0])",
"BigDecimal b = new BigDecimal(arr[1]);",
"b",
"new BigDecimal(arr[1])",
"BigDecimal ans = a.multiply(b);",
"ans",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"System.out.println(ans.setScale(0, RoundingMode.DOWN))",
"System.out.println",
"System.out",
"System",
"System.out",
"ans.setScale(0, RoundingMode.DOWN)",
"ans.setScale",
"ans",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n String[] arr = sc.nextLine().split(\" \");\n BigDecimal a = new BigDecimal(arr[0]);\n BigDecimal b = new BigDecimal(arr[1]);\n BigDecimal ans = a.multiply(b);\n System.out.println(ans.setScale(0, RoundingMode.DOWN));\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n String[] arr = sc.nextLine().split(\" \");\n BigDecimal a = new BigDecimal(arr[0]);\n BigDecimal b = new BigDecimal(arr[1]);\n BigDecimal ans = a.multiply(b);\n System.out.println(ans.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 sc = new Scanner(System.in);
// 整数の入力
String[] arr = sc.nextLine().split(" ");
BigDecimal a = new BigDecimal(arr[0]);
BigDecimal b = new BigDecimal(arr[1]);
BigDecimal ans = a.multiply(b);
System.out.println(ans.setScale(0, RoundingMode.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,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
2,
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
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.*;\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 ans = a * (long)(b*100+0.5);\n System.out.println(ans/100);\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long ans = a * (long)(b*100+0.5);\n System.out.println(ans/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 ans = a * (long)(b*100+0.5);\n System.out.println(ans/100);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n long ans = a * (long)(b*100+0.5);\n System.out.println(ans/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 ans = a * (long)(b*100+0.5);",
"ans",
"a * (long)(b*100+0.5)",
"a",
"(long)(b*100+0.5)",
"b*100",
"b",
"100",
"0.5",
"System.out.println(ans/100)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans/100",
"ans",
"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 ans = a * (long)(b*100+0.5);\n System.out.println(ans/100);\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 ans = a * (long)(b*100+0.5);\n System.out.println(ans/100);\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();
double b = sc.nextDouble();
long ans = a * (long)(b*100+0.5);
System.out.println(ans/100);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
51,
14
],
[
51,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
31,
36
],
[
31,
37
],
[
17,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
15,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.util.*;\nimport java.util.function.*;\nimport java.lang.*;\nimport java.io.*;\n\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 long Bx100 = Long.valueOf(sc.next().replace(\".\", \"\"));\n\n System.out.println(A*Bx100/100);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.function.*;",
"function.*",
"java.util",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"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 Bx100 = Long.valueOf(sc.next().replace(\".\", \"\"));\n\n System.out.println(A*Bx100/100);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n long Bx100 = Long.valueOf(sc.next().replace(\".\", \"\"));\n\n System.out.println(A*Bx100/100);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n long Bx100 = Long.valueOf(sc.next().replace(\".\", \"\"));\n\n System.out.println(A*Bx100/100);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long A = sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long Bx100 = Long.valueOf(sc.next().replace(\".\", \"\"));",
"Bx100",
"Long.valueOf(sc.next().replace(\".\", \"\"))",
"Long.valueOf",
"Long",
"sc.next().replace(\".\", \"\")",
"sc.next().replace",
"sc.next()",
"sc.next",
"sc",
"\".\"",
"\"\"",
"System.out.println(A*Bx100/100)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*Bx100/100",
"A*Bx100",
"A",
"Bx100",
"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 long Bx100 = Long.valueOf(sc.next().replace(\".\", \"\"));\n\n System.out.println(A*Bx100/100);\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 Bx100 = Long.valueOf(sc.next().replace(\".\", \"\"));\n\n System.out.println(A*Bx100/100);\n }\n}",
"Main"
] |
import java.util.*;
import java.util.function.*;
import java.lang.*;
import java.io.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
long Bx100 = Long.valueOf(sc.next().replace(".", ""));
System.out.println(A*Bx100/100);
}
}
|
[
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,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
40,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
4,
18,
13,
4,
18,
13,
13,
2,
13,
17,
0,
13,
17,
41,
13,
2,
13,
13,
0,
13,
2,
13,
17,
0,
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
],
[
99,
8
],
[
99,
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
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
49,
58
],
[
47,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
59,
74
],
[
74,
75
],
[
74,
76
],
[
11,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
11,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
11,
87
],
[
87,
88
],
[
87,
89
],
[
11,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
9,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] |
[
"import java.util.*;\nimport java.math.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong a = Long.parseLong(in.next());\n\t\tString b = in.next();\n\t\tlong bb = 0;\n\t\tint times = 100;\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tif(!b.substring(i, i + 1).equals(\".\")) {\n\t\t\t\tbb += times * Integer.parseInt(b.substring(i, i + 1));\n\t\t\t\ttimes /= 10;\n\t\t\t}\n\t\t}\n\t\tlong c = a * bb;\n\t\tc -= c % 100;\n\t\tc /= 100;\n\t\tSystem.out.println(c);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong a = Long.parseLong(in.next());\n\t\tString b = in.next();\n\t\tlong bb = 0;\n\t\tint times = 100;\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tif(!b.substring(i, i + 1).equals(\".\")) {\n\t\t\t\tbb += times * Integer.parseInt(b.substring(i, i + 1));\n\t\t\t\ttimes /= 10;\n\t\t\t}\n\t\t}\n\t\tlong c = a * bb;\n\t\tc -= c % 100;\n\t\tc /= 100;\n\t\tSystem.out.println(c);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong a = Long.parseLong(in.next());\n\t\tString b = in.next();\n\t\tlong bb = 0;\n\t\tint times = 100;\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tif(!b.substring(i, i + 1).equals(\".\")) {\n\t\t\t\tbb += times * Integer.parseInt(b.substring(i, i + 1));\n\t\t\t\ttimes /= 10;\n\t\t\t}\n\t\t}\n\t\tlong c = a * bb;\n\t\tc -= c % 100;\n\t\tc /= 100;\n\t\tSystem.out.println(c);\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tlong a = Long.parseLong(in.next());\n\t\tString b = in.next();\n\t\tlong bb = 0;\n\t\tint times = 100;\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tif(!b.substring(i, i + 1).equals(\".\")) {\n\t\t\t\tbb += times * Integer.parseInt(b.substring(i, i + 1));\n\t\t\t\ttimes /= 10;\n\t\t\t}\n\t\t}\n\t\tlong c = a * bb;\n\t\tc -= c % 100;\n\t\tc /= 100;\n\t\tSystem.out.println(c);\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"long a = Long.parseLong(in.next());",
"a",
"Long.parseLong(in.next())",
"Long.parseLong",
"Long",
"in.next()",
"in.next",
"in",
"String b = in.next();",
"b",
"in.next()",
"in.next",
"in",
"long bb = 0;",
"bb",
"0",
"int times = 100;",
"times",
"100",
"for(int i = 0; i < 4; i++) {\n\t\t\tif(!b.substring(i, i + 1).equals(\".\")) {\n\t\t\t\tbb += times * Integer.parseInt(b.substring(i, i + 1));\n\t\t\t\ttimes /= 10;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 4",
"i",
"4",
"i++",
"i++",
"i",
"{\n\t\t\tif(!b.substring(i, i + 1).equals(\".\")) {\n\t\t\t\tbb += times * Integer.parseInt(b.substring(i, i + 1));\n\t\t\t\ttimes /= 10;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(!b.substring(i, i + 1).equals(\".\")) {\n\t\t\t\tbb += times * Integer.parseInt(b.substring(i, i + 1));\n\t\t\t\ttimes /= 10;\n\t\t\t}\n\t\t}",
"if(!b.substring(i, i + 1).equals(\".\")) {\n\t\t\t\tbb += times * Integer.parseInt(b.substring(i, i + 1));\n\t\t\t\ttimes /= 10;\n\t\t\t}",
"!b.substring(i, i + 1).equals(\".\")",
"b.substring(i, i + 1).equals(\".\")",
"b.substring(i, i + 1).equals",
"b.substring(i, i + 1)",
"b.substring",
"b",
"i",
"i + 1",
"i",
"1",
"\".\"",
"{\n\t\t\t\tbb += times * Integer.parseInt(b.substring(i, i + 1));\n\t\t\t\ttimes /= 10;\n\t\t\t}",
"bb += times * Integer.parseInt(b.substring(i, i + 1))",
"bb",
"times * Integer.parseInt(b.substring(i, i + 1))",
"times",
"Integer.parseInt(b.substring(i, i + 1))",
"Integer.parseInt",
"Integer",
"b.substring(i, i + 1)",
"b.substring",
"b",
"i",
"i + 1",
"i",
"1",
"times /= 10",
"times",
"10",
"long c = a * bb;",
"c",
"a * bb",
"a",
"bb",
"c -= c % 100",
"c",
"c % 100",
"c",
"100",
"c /= 100",
"c",
"100",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong a = Long.parseLong(in.next());\n\t\tString b = in.next();\n\t\tlong bb = 0;\n\t\tint times = 100;\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tif(!b.substring(i, i + 1).equals(\".\")) {\n\t\t\t\tbb += times * Integer.parseInt(b.substring(i, i + 1));\n\t\t\t\ttimes /= 10;\n\t\t\t}\n\t\t}\n\t\tlong c = a * bb;\n\t\tc -= c % 100;\n\t\tc /= 100;\n\t\tSystem.out.println(c);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong a = Long.parseLong(in.next());\n\t\tString b = in.next();\n\t\tlong bb = 0;\n\t\tint times = 100;\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tif(!b.substring(i, i + 1).equals(\".\")) {\n\t\t\t\tbb += times * Integer.parseInt(b.substring(i, i + 1));\n\t\t\t\ttimes /= 10;\n\t\t\t}\n\t\t}\n\t\tlong c = a * bb;\n\t\tc -= c % 100;\n\t\tc /= 100;\n\t\tSystem.out.println(c);\n\t}\n}",
"Main"
] |
import java.util.*;
import java.math.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
long a = Long.parseLong(in.next());
String b = in.next();
long bb = 0;
int times = 100;
for(int i = 0; i < 4; i++) {
if(!b.substring(i, i + 1).equals(".")) {
bb += times * Integer.parseInt(b.substring(i, i + 1));
times /= 10;
}
}
long c = a * bb;
c -= c % 100;
c /= 100;
System.out.println(c);
}
}
|
[
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,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
64,
11
],
[
64,
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
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
14,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
14,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
12,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] |
[
"import java.math.RoundingMode;\nimport java.util.Scanner;\nimport java.math.BigDecimal;\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 double b = sc.nextDouble();\n BigDecimal bd1 = BigDecimal.valueOf(a);\n BigDecimal bd2 = BigDecimal.valueOf(b);\n BigDecimal bd3 = bd1.multiply(bd2);\n BigDecimal sol = bd3.setScale(0, RoundingMode.DOWN);\n\n System.out.println(sol);\n }\n}",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main {\n\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 BigDecimal bd1 = BigDecimal.valueOf(a);\n BigDecimal bd2 = BigDecimal.valueOf(b);\n BigDecimal bd3 = bd1.multiply(bd2);\n BigDecimal sol = bd3.setScale(0, RoundingMode.DOWN);\n\n System.out.println(sol);\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 BigDecimal bd1 = BigDecimal.valueOf(a);\n BigDecimal bd2 = BigDecimal.valueOf(b);\n BigDecimal bd3 = bd1.multiply(bd2);\n BigDecimal sol = bd3.setScale(0, RoundingMode.DOWN);\n\n System.out.println(sol);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n BigDecimal bd1 = BigDecimal.valueOf(a);\n BigDecimal bd2 = BigDecimal.valueOf(b);\n BigDecimal bd3 = bd1.multiply(bd2);\n BigDecimal sol = bd3.setScale(0, RoundingMode.DOWN);\n\n System.out.println(sol);\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",
"BigDecimal bd1 = BigDecimal.valueOf(a);",
"bd1",
"BigDecimal.valueOf(a)",
"BigDecimal.valueOf",
"BigDecimal",
"a",
"BigDecimal bd2 = BigDecimal.valueOf(b);",
"bd2",
"BigDecimal.valueOf(b)",
"BigDecimal.valueOf",
"BigDecimal",
"b",
"BigDecimal bd3 = bd1.multiply(bd2);",
"bd3",
"bd1.multiply(bd2)",
"bd1.multiply",
"bd1",
"bd2",
"BigDecimal sol = bd3.setScale(0, RoundingMode.DOWN);",
"sol",
"bd3.setScale(0, RoundingMode.DOWN)",
"bd3.setScale",
"bd3",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"System.out.println(sol)",
"System.out.println",
"System.out",
"System",
"System.out",
"sol",
"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 double b = sc.nextDouble();\n BigDecimal bd1 = BigDecimal.valueOf(a);\n BigDecimal bd2 = BigDecimal.valueOf(b);\n BigDecimal bd3 = bd1.multiply(bd2);\n BigDecimal sol = bd3.setScale(0, RoundingMode.DOWN);\n\n System.out.println(sol);\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 double b = sc.nextDouble();\n BigDecimal bd1 = BigDecimal.valueOf(a);\n BigDecimal bd2 = BigDecimal.valueOf(b);\n BigDecimal bd3 = bd1.multiply(bd2);\n BigDecimal sol = bd3.setScale(0, RoundingMode.DOWN);\n\n System.out.println(sol);\n }\n}",
"Main"
] |
import java.math.RoundingMode;
import java.util.Scanner;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
double b = sc.nextDouble();
BigDecimal bd1 = BigDecimal.valueOf(a);
BigDecimal bd2 = BigDecimal.valueOf(b);
BigDecimal bd3 = bd1.multiply(bd2);
BigDecimal sol = bd3.setScale(0, RoundingMode.DOWN);
System.out.println(sol);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
4,
18,
4,
18,
13,
13,
4,
18,
13,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
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
],
[
167,
26
],
[
167,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
29,
40
],
[
40,
41
],
[
40,
42
],
[
29,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
46,
48
],
[
29,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
29,
54
],
[
54,
55
],
[
55,
56
],
[
27,
57
],
[
57,
58
],
[
167,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
59,
63
],
[
63,
64
],
[
59,
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
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
67,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
65,
86
],
[
86,
87
],
[
65,
88
],
[
88,
89
],
[
59,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
90,
102
],
[
102,
103
],
[
167,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
104,
108
],
[
108,
109
],
[
104,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
116,
117
],
[
116,
118
],
[
110,
119
],
[
119,
120
],
[
104,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
124,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
134,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
123,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
104,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
155,
156
],
[
104,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
164,
165
],
[
0,
166
],
[
166,
167
],
[
166,
168
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.math.BigDecimal;\nimport java.util.*;\n\npublic class Main {\n // static int INF = (1 << 30) - 1;\n // static long L_INF = (1L << 62) - 1;\n // static long MOD = (long) 1e9 + 7;\n\n static class Solver {\n BigDecimal A;\n BigDecimal B;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n A = new BigDecimal(in.next());\n B = new BigDecimal(in.next());\n // A = new int[N];\n // for (int i = 0; i < N; i++) {\n // A[i] = in.nextInt();\n // }\n long ans = A.multiply(B).longValue();\n // ans.setScale(0,BigDecimal.ROUND_DOWN)\n out.println(ans);\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\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 Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n 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 int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n // static int INF = (1 << 30) - 1;\n // static long L_INF = (1L << 62) - 1;\n // static long MOD = (long) 1e9 + 7;\n\n static class Solver {\n BigDecimal A;\n BigDecimal B;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n A = new BigDecimal(in.next());\n B = new BigDecimal(in.next());\n // A = new int[N];\n // for (int i = 0; i < N; i++) {\n // A[i] = in.nextInt();\n // }\n long ans = A.multiply(B).longValue();\n // ans.setScale(0,BigDecimal.ROUND_DOWN)\n out.println(ans);\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\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 Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n 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 int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\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 Solver solver = new Solver();\n solver.solve(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 Solver solver = new Solver();\n solver.solve(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)",
"Solver solver = new Solver();",
"solver",
"new Solver()",
"solver.solve(in, out)",
"solver.solve",
"solver",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Solver {\n BigDecimal A;\n BigDecimal B;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n A = new BigDecimal(in.next());\n B = new BigDecimal(in.next());\n // A = new int[N];\n // for (int i = 0; i < N; i++) {\n // A[i] = in.nextInt();\n // }\n long ans = A.multiply(B).longValue();\n // ans.setScale(0,BigDecimal.ROUND_DOWN)\n out.println(ans);\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }",
"Solver",
"BigDecimal A;",
"A",
"BigDecimal B;",
"B",
"// write your code\n void solve(InputReader in, PrintWriter out) {\n A = new BigDecimal(in.next());\n B = new BigDecimal(in.next());\n // A = new int[N];\n // for (int i = 0; i < N; i++) {\n // A[i] = in.nextInt();\n // }\n long ans = A.multiply(B).longValue();\n // ans.setScale(0,BigDecimal.ROUND_DOWN)\n out.println(ans);\n }",
"solve",
"{\n A = new BigDecimal(in.next());\n B = new BigDecimal(in.next());\n // A = new int[N];\n // for (int i = 0; i < N; i++) {\n // A[i] = in.nextInt();\n // }\n long ans = A.multiply(B).longValue();\n // ans.setScale(0,BigDecimal.ROUND_DOWN)\n out.println(ans);\n }",
"A = new BigDecimal(in.next())",
"A",
"new BigDecimal(in.next())",
"B = new BigDecimal(in.next())",
"B",
"new BigDecimal(in.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",
"InputReader in",
"in",
"PrintWriter out",
"out",
"void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }",
"debug",
"{\n System.err.println(Arrays.deepToString(os));\n }",
"System.err.println(Arrays.deepToString(os))",
"System.err.println",
"System.err",
"System",
"System.err",
"Arrays.deepToString(os)",
"Arrays.deepToString",
"Arrays",
"os",
"Object... os",
"os",
"static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n 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 int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }",
"InputReader",
"BufferedReader reader;",
"reader",
"StringTokenizer tokenizer;",
"tokenizer",
"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",
"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",
"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",
"public class Main {\n // static int INF = (1 << 30) - 1;\n // static long L_INF = (1L << 62) - 1;\n // static long MOD = (long) 1e9 + 7;\n\n static class Solver {\n BigDecimal A;\n BigDecimal B;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n A = new BigDecimal(in.next());\n B = new BigDecimal(in.next());\n // A = new int[N];\n // for (int i = 0; i < N; i++) {\n // A[i] = in.nextInt();\n // }\n long ans = A.multiply(B).longValue();\n // ans.setScale(0,BigDecimal.ROUND_DOWN)\n out.println(ans);\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\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 Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n 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 int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"public class Main {\n // static int INF = (1 << 30) - 1;\n // static long L_INF = (1L << 62) - 1;\n // static long MOD = (long) 1e9 + 7;\n\n static class Solver {\n BigDecimal A;\n BigDecimal B;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n A = new BigDecimal(in.next());\n B = new BigDecimal(in.next());\n // A = new int[N];\n // for (int i = 0; i < N; i++) {\n // A[i] = in.nextInt();\n // }\n long ans = A.multiply(B).longValue();\n // ans.setScale(0,BigDecimal.ROUND_DOWN)\n out.println(ans);\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\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 Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n 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 int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.math.BigDecimal;
import java.util.*;
public class Main {
// static int INF = (1 << 30) - 1;
// static long L_INF = (1L << 62) - 1;
// static long MOD = (long) 1e9 + 7;
static class Solver {
BigDecimal A;
BigDecimal B;
// int[] A;
// write your code
void solve(InputReader in, PrintWriter out) {
A = new BigDecimal(in.next());
B = new BigDecimal(in.next());
// A = new int[N];
// for (int i = 0; i < N; i++) {
// A[i] = in.nextInt();
// }
long ans = A.multiply(B).longValue();
// ans.setScale(0,BigDecimal.ROUND_DOWN)
out.println(ans);
}
void debug(Object... os) {
System.err.println(Arrays.deepToString(os));
}
}
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
Solver solver = new Solver();
solver.solve(in, out);
out.close();
}
static class InputReader {
BufferedReader reader;
StringTokenizer tokenizer;
InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream), 32768);
tokenizer = null;
}
String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
17,
41,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n long a = scn.nextLong();\n double b = scn.nextDouble();\n double b2 = Math.round(b*100);\n\n long B = (long)b2;\n\n long ans = a*B;\n\n long ans2 = ans/100;\n\n System.out.println(ans2);\n\n scn.close();\n\n\n }\n\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n long a = scn.nextLong();\n double b = scn.nextDouble();\n double b2 = Math.round(b*100);\n\n long B = (long)b2;\n\n long ans = a*B;\n\n long ans2 = ans/100;\n\n System.out.println(ans2);\n\n scn.close();\n\n\n }\n\n\n}",
"Main",
"public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n long a = scn.nextLong();\n double b = scn.nextDouble();\n double b2 = Math.round(b*100);\n\n long B = (long)b2;\n\n long ans = a*B;\n\n long ans2 = ans/100;\n\n System.out.println(ans2);\n\n scn.close();\n\n\n }",
"main",
"{\n Scanner scn = new Scanner(System.in);\n long a = scn.nextLong();\n double b = scn.nextDouble();\n double b2 = Math.round(b*100);\n\n long B = (long)b2;\n\n long ans = a*B;\n\n long ans2 = ans/100;\n\n System.out.println(ans2);\n\n scn.close();\n\n\n }",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"long a = scn.nextLong();",
"a",
"scn.nextLong()",
"scn.nextLong",
"scn",
"double b = scn.nextDouble();",
"b",
"scn.nextDouble()",
"scn.nextDouble",
"scn",
"double b2 = Math.round(b*100);",
"b2",
"Math.round(b*100)",
"Math.round",
"Math",
"b*100",
"b",
"100",
"long B = (long)b2;",
"B",
"(long)b2",
"long ans = a*B;",
"ans",
"a*B",
"a",
"B",
"long ans2 = ans/100;",
"ans2",
"ans/100",
"ans",
"100",
"System.out.println(ans2)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans2",
"scn.close()",
"scn.close",
"scn",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n long a = scn.nextLong();\n double b = scn.nextDouble();\n double b2 = Math.round(b*100);\n\n long B = (long)b2;\n\n long ans = a*B;\n\n long ans2 = ans/100;\n\n System.out.println(ans2);\n\n scn.close();\n\n\n }\n\n\n}",
"public class Main {\n public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n long a = scn.nextLong();\n double b = scn.nextDouble();\n double b2 = Math.round(b*100);\n\n long B = (long)b2;\n\n long ans = a*B;\n\n long ans2 = ans/100;\n\n System.out.println(ans2);\n\n scn.close();\n\n\n }\n\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner scn = new Scanner(System.in);
long a = scn.nextLong();
double b = scn.nextDouble();
double b2 = Math.round(b*100);
long B = (long)b2;
long ans = a*B;
long ans2 = ans/100;
System.out.println(ans2);
scn.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
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,
4,
18,
13,
2,
13,
17,
4,
18,
13,
2,
2,
13,
13,
17,
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
],
[
338,
17
],
[
338,
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
],
[
31,
32
],
[
30,
33
],
[
20,
34
],
[
34,
35
],
[
35,
36
],
[
18,
37
],
[
37,
38
],
[
0,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
39,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
47,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
45,
58
],
[
58,
59
],
[
39,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
68,
69
],
[
68,
70
],
[
62,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
60,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
81,
88
],
[
88,
89
],
[
88,
90
],
[
81,
92
],
[
92,
93
],
[
92,
94
],
[
81,
95
],
[
95,
96
],
[
95,
97
],
[
81,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
106,
107
],
[
101,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
112,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
108,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
131,
132
],
[
100,
133
],
[
133,
134
],
[
81,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
138,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
81,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
159,
161
],
[
151,
162
],
[
162,
163
],
[
81,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
174,
176
],
[
167,
177
],
[
177,
178
],
[
178,
179
],
[
166,
180
],
[
180,
181
],
[
181,
182
],
[
81,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
186,
190
],
[
190,
191
],
[
191,
192
],
[
185,
193
],
[
193,
194
],
[
193,
195
],
[
185,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
185,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
205,
208
],
[
204,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
185,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
81,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
220,
224
],
[
224,
225
],
[
225,
226
],
[
219,
227
],
[
227,
228
],
[
227,
229
],
[
219,
230
],
[
230,
231
],
[
230,
232
],
[
219,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
219,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
237,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
241,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
219,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
250,
254
],
[
254,
255
],
[
254,
256
],
[
249,
257
],
[
257,
258
],
[
258,
259
],
[
219,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
268
],
[
268,
269
],
[
268,
270
],
[
263,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
277,
279
],
[
263,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
281,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
280,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
292,
296
],
[
280,
297
],
[
297,
298
],
[
298,
299
],
[
262,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
81,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
306,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
315,
316
],
[
315,
317
],
[
312,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
320,
322
],
[
311,
323
],
[
323,
324
],
[
324,
325
],
[
306,
326
],
[
326,
327
],
[
81,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
333,
334
],
[
332,
335
],
[
335,
336
],
[
0,
337
],
[
337,
338
],
[
337,
339
]
] |
[
"\nimport java.text.DecimalFormat;\nimport java.util.stream.LongStream;\nimport java.util.stream.IntStream;\nimport java.io.*;\nimport java.util.*;\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 long A;\n double B;\n\n AtCoder(FastScanner sc) {\n A = sc.nextLong();\n B = sc.nextDouble();\n }\n\n void solve(PrintWriter out) {\n long b = Math.round(B * 100);\n out.println(A * b / 100);\n }\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.util.*;",
"util.*",
"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 long A;\n double B;\n\n AtCoder(FastScanner sc) {\n A = sc.nextLong();\n B = sc.nextDouble();\n }\n\n void solve(PrintWriter out) {\n long b = Math.round(B * 100);\n out.println(A * b / 100);\n }\n\n}",
"AtCoder",
"long A;",
"A",
"double B;",
"B",
"AtCoder(FastScanner sc) {\n A = sc.nextLong();\n B = sc.nextDouble();\n }",
"AtCoder",
"{\n A = sc.nextLong();\n B = sc.nextDouble();\n }",
"A = sc.nextLong()",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"B = sc.nextDouble()",
"B",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"FastScanner sc",
"sc",
"void solve(PrintWriter out) {\n long b = Math.round(B * 100);\n out.println(A * b / 100);\n }",
"solve",
"{\n long b = Math.round(B * 100);\n out.println(A * b / 100);\n }",
"long b = Math.round(B * 100);",
"b",
"Math.round(B * 100)",
"Math.round",
"Math",
"B * 100",
"B",
"100",
"out.println(A * b / 100)",
"out.println",
"out",
"A * b / 100",
"A * b",
"A",
"b",
"100",
"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.util.*;
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 {
long A;
double B;
AtCoder(FastScanner sc) {
A = sc.nextLong();
B = sc.nextDouble();
}
void solve(PrintWriter out) {
long b = Math.round(B * 100);
out.println(A * b / 100);
}
}
// 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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
41,
13,
2,
2,
2,
2,
17,
2,
18,
13,
17,
17,
2,
17,
2,
18,
13,
17,
17,
18,
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
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
31,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
31,
46
],
[
46,
47
],
[
46,
48
],
[
29,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
6,
60
],
[
60,
61
]
] |
[
"import java.util.*;\n\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n char[] b = sc.next().toCharArray();\n int c = 100*(b[0]-'0')+10*(b[2]-'0')+b[3]-'0';\n System.out.println(a*c/100);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n char[] b = sc.next().toCharArray();\n int c = 100*(b[0]-'0')+10*(b[2]-'0')+b[3]-'0';\n System.out.println(a*c/100);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n char[] b = sc.next().toCharArray();\n int c = 100*(b[0]-'0')+10*(b[2]-'0')+b[3]-'0';\n System.out.println(a*c/100);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n char[] b = sc.next().toCharArray();\n int c = 100*(b[0]-'0')+10*(b[2]-'0')+b[3]-'0';\n System.out.println(a*c/100);\n }",
"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",
"char[] b = sc.next().toCharArray();",
"b",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"int c = 100*(b[0]-'0')+10*(b[2]-'0')+b[3]-'0';",
"c",
"100*(b[0]-'0')+10*(b[2]-'0')+b[3]-'0'",
"100*(b[0]-'0')+10*(b[2]-'0')+b[3]",
"100*(b[0]-'0')+10*(b[2]-'0')+b[3]",
"100*(b[0]-'0')",
"100",
"(b[0]-'0')",
"b[0]",
"b",
"0",
"'0'",
"10*(b[2]-'0')",
"10",
"(b[2]-'0')",
"b[2]",
"b",
"2",
"'0'",
"b[3]",
"b",
"3",
"'0'",
"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"
] |
import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long a = Long.parseLong(sc.next());
char[] b = sc.next().toCharArray();
int c = 100*(b[0]-'0')+10*(b[2]-'0')+b[3]-'0';
System.out.println(a*c/100);
}
}
|
[
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,
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
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
19,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
6,
36
],
[
36,
37
]
] |
[
"import java.util.*;\n\nclass Main{\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.5);\n System.out.println(a*b/100);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"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)(sc.nextDouble()*100+0.5);\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)(sc.nextDouble()*100+0.5);\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)(sc.nextDouble()*100+0.5);\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)(sc.nextDouble()*100+0.5);",
"b",
"(long)(sc.nextDouble()*100+0.5)",
"sc.nextDouble()*100",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"100",
"0.5",
"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"
] |
import java.util.*;
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.5);
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,
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
] |
[
[
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
],
[
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
]
] |
[
"import java.util.*;\nimport java.math.BigDecimal;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n \tdouble B = sc.nextDouble();\n \tBigDecimal A2 = new BigDecimal(Long.toString(A));\n \tBigDecimal B2 = new BigDecimal(Double.toString(B));\n \tBigDecimal value = A2.multiply(B2);\n \tBigDecimal ans = value.setScale(0, BigDecimal.ROUND_DOWN);\n \t//String str = Double.toString(ans2);\n \tSystem.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n \tdouble B = sc.nextDouble();\n \tBigDecimal A2 = new BigDecimal(Long.toString(A));\n \tBigDecimal B2 = new BigDecimal(Double.toString(B));\n \tBigDecimal value = A2.multiply(B2);\n \tBigDecimal ans = value.setScale(0, BigDecimal.ROUND_DOWN);\n \t//String str = Double.toString(ans2);\n \tSystem.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 \tdouble B = sc.nextDouble();\n \tBigDecimal A2 = new BigDecimal(Long.toString(A));\n \tBigDecimal B2 = new BigDecimal(Double.toString(B));\n \tBigDecimal value = A2.multiply(B2);\n \tBigDecimal ans = value.setScale(0, BigDecimal.ROUND_DOWN);\n \t//String str = Double.toString(ans2);\n \tSystem.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n \tdouble B = sc.nextDouble();\n \tBigDecimal A2 = new BigDecimal(Long.toString(A));\n \tBigDecimal B2 = new BigDecimal(Double.toString(B));\n \tBigDecimal value = A2.multiply(B2);\n \tBigDecimal ans = value.setScale(0, BigDecimal.ROUND_DOWN);\n \t//String str = Double.toString(ans2);\n \tSystem.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",
"BigDecimal A2 = new BigDecimal(Long.toString(A));",
"A2",
"new BigDecimal(Long.toString(A))",
"BigDecimal B2 = new BigDecimal(Double.toString(B));",
"B2",
"new BigDecimal(Double.toString(B))",
"BigDecimal value = A2.multiply(B2);",
"value",
"A2.multiply(B2)",
"A2.multiply",
"A2",
"B2",
"BigDecimal ans = value.setScale(0, BigDecimal.ROUND_DOWN);",
"ans",
"value.setScale(0, BigDecimal.ROUND_DOWN)",
"value.setScale",
"value",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"System.out.println(ans)",
"System.out.println",
"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);
long A = sc.nextLong();
double B = sc.nextDouble();
BigDecimal A2 = new BigDecimal(Long.toString(A));
BigDecimal B2 = new BigDecimal(Double.toString(B));
BigDecimal value = A2.multiply(B2);
BigDecimal ans = value.setScale(0, BigDecimal.ROUND_DOWN);
//String str = Double.toString(ans2);
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
51,
11
],
[
51,
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
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
16,
28
],
[
28,
29
],
[
29,
30
],
[
16,
31
],
[
31,
32
],
[
31,
33
],
[
16,
34
],
[
34,
35
],
[
34,
36
],
[
16,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
12,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String[] in = br.readLine().split(\" \");\n\n br.close();\n\n BigDecimal x = new BigDecimal(in[0]);\n BigDecimal y = new BigDecimal(in[1]);\n\n System.out.println(x.multiply(y).toBigInteger());\n\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main {\n public static void main(String[] args) throws Exception {\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String[] in = br.readLine().split(\" \");\n\n br.close();\n\n BigDecimal x = new BigDecimal(in[0]);\n BigDecimal y = new BigDecimal(in[1]);\n\n System.out.println(x.multiply(y).toBigInteger());\n\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String[] in = br.readLine().split(\" \");\n\n br.close();\n\n BigDecimal x = new BigDecimal(in[0]);\n BigDecimal y = new BigDecimal(in[1]);\n\n System.out.println(x.multiply(y).toBigInteger());\n\n }\n }",
"main",
"{\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String[] in = br.readLine().split(\" \");\n\n br.close();\n\n BigDecimal x = new BigDecimal(in[0]);\n BigDecimal y = new BigDecimal(in[1]);\n\n System.out.println(x.multiply(y).toBigInteger());\n\n }\n }",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String[] in = br.readLine().split(\" \");\n\n br.close();\n\n BigDecimal x = new BigDecimal(in[0]);\n BigDecimal y = new BigDecimal(in[1]);\n\n System.out.println(x.multiply(y).toBigInteger());\n\n }",
"{\n\n String[] in = br.readLine().split(\" \");\n\n br.close();\n\n BigDecimal x = new BigDecimal(in[0]);\n BigDecimal y = new BigDecimal(in[1]);\n\n System.out.println(x.multiply(y).toBigInteger());\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] in = br.readLine().split(\" \");",
"in",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"br.close()",
"br.close",
"br",
"BigDecimal x = new BigDecimal(in[0]);",
"x",
"new BigDecimal(in[0])",
"BigDecimal y = new BigDecimal(in[1]);",
"y",
"new BigDecimal(in[1])",
"System.out.println(x.multiply(y).toBigInteger())",
"System.out.println",
"System.out",
"System",
"System.out",
"x.multiply(y).toBigInteger()",
"x.multiply(y).toBigInteger",
"x.multiply(y)",
"x.multiply",
"x",
"y",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String[] in = br.readLine().split(\" \");\n\n br.close();\n\n BigDecimal x = new BigDecimal(in[0]);\n BigDecimal y = new BigDecimal(in[1]);\n\n System.out.println(x.multiply(y).toBigInteger());\n\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String[] in = br.readLine().split(\" \");\n\n br.close();\n\n BigDecimal x = new BigDecimal(in[0]);\n BigDecimal y = new BigDecimal(in[1]);\n\n System.out.println(x.multiply(y).toBigInteger());\n\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args) throws Exception {
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
String[] in = br.readLine().split(" ");
br.close();
BigDecimal x = new BigDecimal(in[0]);
BigDecimal y = new BigDecimal(in[1]);
System.out.println(x.multiply(y).toBigInteger());
}
}
}
|
[
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.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\t\tint x = (int) (b * 100 + 0.5);\n\n\t\tSystem.out.println((long) (a * x) / 100);\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\tint x = (int) (b * 100 + 0.5);\n\n\t\tSystem.out.println((long) (a * x) / 100);\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\tint x = (int) (b * 100 + 0.5);\n\n\t\tSystem.out.println((long) (a * x) / 100);\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\tint x = (int) (b * 100 + 0.5);\n\n\t\tSystem.out.println((long) (a * x) / 100);\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",
"int x = (int) (b * 100 + 0.5);",
"x",
"(int) (b * 100 + 0.5)",
"b * 100",
"b",
"100",
"0.5",
"System.out.println((long) (a * x) / 100)",
"System.out.println",
"System.out",
"System",
"System.out",
"(long) (a * x) / 100",
"(long) (a * x)",
"a",
"x",
"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\tdouble b = sc.nextDouble();\n\t\tint x = (int) (b * 100 + 0.5);\n\n\t\tSystem.out.println((long) (a * x) / 100);\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\tint x = (int) (b * 100 + 0.5);\n\n\t\tSystem.out.println((long) (a * x) / 100);\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();
int x = (int) (b * 100 + 0.5);
System.out.println((long) (a * x) / 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,
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 String a = sc.next();\n String b = sc.next();\n BigDecimal bd = new BigDecimal(a);\n BigDecimal bdb = new BigDecimal(b);\n BigDecimal ans = bd.multiply(bdb);\n BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);\n System.out.println(anss);\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 String a = sc.next();\n String b = sc.next();\n BigDecimal bd = new BigDecimal(a);\n BigDecimal bdb = new BigDecimal(b);\n BigDecimal ans = bd.multiply(bdb);\n BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);\n System.out.println(anss);\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 BigDecimal bd = new BigDecimal(a);\n BigDecimal bdb = new BigDecimal(b);\n BigDecimal ans = bd.multiply(bdb);\n BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);\n System.out.println(anss);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n BigDecimal bd = new BigDecimal(a);\n BigDecimal bdb = new BigDecimal(b);\n BigDecimal ans = bd.multiply(bdb);\n BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);\n System.out.println(anss);\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 bd = new BigDecimal(a);",
"bd",
"new BigDecimal(a)",
"BigDecimal bdb = new BigDecimal(b);",
"bdb",
"new BigDecimal(b)",
"BigDecimal ans = bd.multiply(bdb);",
"ans",
"bd.multiply(bdb)",
"bd.multiply",
"bd",
"bdb",
"BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);",
"anss",
"ans.setScale(0,BigDecimal.ROUND_DOWN)",
"ans.setScale",
"ans",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"System.out.println(anss)",
"System.out.println",
"System.out",
"System",
"System.out",
"anss",
"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 BigDecimal bd = new BigDecimal(a);\n BigDecimal bdb = new BigDecimal(b);\n BigDecimal ans = bd.multiply(bdb);\n BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);\n System.out.println(anss);\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 BigDecimal bd = new BigDecimal(a);\n BigDecimal bdb = new BigDecimal(b);\n BigDecimal ans = bd.multiply(bdb);\n BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);\n System.out.println(anss);\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 bd = new BigDecimal(a);
BigDecimal bdb = new BigDecimal(b);
BigDecimal ans = bd.multiply(bdb);
BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);
System.out.println(anss);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
4,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
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
],
[
80,
14
],
[
80,
15
],
[
15,
16
],
[
80,
17
],
[
17,
18
],
[
80,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
24,
25
],
[
80,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
34,
39
],
[
28,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
28,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
28,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
28,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
28,
76
],
[
76,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\npublic class Main {\n\tstatic BigDecimal A;\n\tstatic BigDecimal B;\n\t\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tread();\n\t}\n\n\tprivate static void read() throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] word = br.readLine().split(\" \");\n\t\tA = BigDecimal.valueOf(Double.valueOf(word[0]));\n\t\tB = BigDecimal.valueOf(Double.valueOf(word[1]));\n\t\tA = A.multiply(B);\n\t\tSystem.out.println(A.longValue());\n\t\tbr.close();\n\t}\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",
"public class Main {\n\tstatic BigDecimal A;\n\tstatic BigDecimal B;\n\t\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tread();\n\t}\n\n\tprivate static void read() throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] word = br.readLine().split(\" \");\n\t\tA = BigDecimal.valueOf(Double.valueOf(word[0]));\n\t\tB = BigDecimal.valueOf(Double.valueOf(word[1]));\n\t\tA = A.multiply(B);\n\t\tSystem.out.println(A.longValue());\n\t\tbr.close();\n\t}\n\n}",
"Main",
"static BigDecimal A;",
"A",
"static BigDecimal B;",
"B",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tread();\n\t}",
"main",
"{\n\t\tread();\n\t}",
"read()",
"read",
"String[] args",
"args",
"private static void read() throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] word = br.readLine().split(\" \");\n\t\tA = BigDecimal.valueOf(Double.valueOf(word[0]));\n\t\tB = BigDecimal.valueOf(Double.valueOf(word[1]));\n\t\tA = A.multiply(B);\n\t\tSystem.out.println(A.longValue());\n\t\tbr.close();\n\t}",
"read",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] word = br.readLine().split(\" \");\n\t\tA = BigDecimal.valueOf(Double.valueOf(word[0]));\n\t\tB = BigDecimal.valueOf(Double.valueOf(word[1]));\n\t\tA = A.multiply(B);\n\t\tSystem.out.println(A.longValue());\n\t\tbr.close();\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] word = br.readLine().split(\" \");",
"word",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"A = BigDecimal.valueOf(Double.valueOf(word[0]))",
"A",
"BigDecimal.valueOf(Double.valueOf(word[0]))",
"BigDecimal.valueOf",
"BigDecimal",
"Double.valueOf(word[0])",
"Double.valueOf",
"Double",
"word[0]",
"word",
"0",
"B = BigDecimal.valueOf(Double.valueOf(word[1]))",
"B",
"BigDecimal.valueOf(Double.valueOf(word[1]))",
"BigDecimal.valueOf",
"BigDecimal",
"Double.valueOf(word[1])",
"Double.valueOf",
"Double",
"word[1]",
"word",
"1",
"A = A.multiply(B)",
"A",
"A.multiply(B)",
"A.multiply",
"A",
"B",
"System.out.println(A.longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"A.longValue()",
"A.longValue",
"A",
"br.close()",
"br.close",
"br",
"public class Main {\n\tstatic BigDecimal A;\n\tstatic BigDecimal B;\n\t\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tread();\n\t}\n\n\tprivate static void read() throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] word = br.readLine().split(\" \");\n\t\tA = BigDecimal.valueOf(Double.valueOf(word[0]));\n\t\tB = BigDecimal.valueOf(Double.valueOf(word[1]));\n\t\tA = A.multiply(B);\n\t\tSystem.out.println(A.longValue());\n\t\tbr.close();\n\t}\n\n}",
"public class Main {\n\tstatic BigDecimal A;\n\tstatic BigDecimal B;\n\t\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tread();\n\t}\n\n\tprivate static void read() throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] word = br.readLine().split(\" \");\n\t\tA = BigDecimal.valueOf(Double.valueOf(word[0]));\n\t\tB = BigDecimal.valueOf(Double.valueOf(word[1]));\n\t\tA = A.multiply(B);\n\t\tSystem.out.println(A.longValue());\n\t\tbr.close();\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
public class Main {
static BigDecimal A;
static BigDecimal B;
public static void main(String[] args) throws NumberFormatException, IOException {
read();
}
private static void read() throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] word = br.readLine().split(" ");
A = BigDecimal.valueOf(Double.valueOf(word[0]));
B = BigDecimal.valueOf(Double.valueOf(word[1]));
A = A.multiply(B);
System.out.println(A.longValue());
br.close();
}
}
|
[
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,
12,
13,
30,
20,
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
],
[
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
],
[
39,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
32,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n public Main() {\n Scanner scanner = new Scanner(System.in);\n BigDecimal A = new BigDecimal(scanner.next());\n BigDecimal B = new BigDecimal(scanner.next());\n\n System.out.println(A.multiply(B).longValue());\n }\n\n public static void main(String[] args) {\n new Main();\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public Main() {\n Scanner scanner = new Scanner(System.in);\n BigDecimal A = new BigDecimal(scanner.next());\n BigDecimal B = new BigDecimal(scanner.next());\n\n System.out.println(A.multiply(B).longValue());\n }\n\n public static void main(String[] args) {\n new Main();\n }\n}",
"Main",
"public Main() {\n Scanner scanner = new Scanner(System.in);\n BigDecimal A = new BigDecimal(scanner.next());\n BigDecimal B = new BigDecimal(scanner.next());\n\n System.out.println(A.multiply(B).longValue());\n }",
"Main",
"{\n Scanner scanner = new Scanner(System.in);\n BigDecimal A = new BigDecimal(scanner.next());\n BigDecimal B = new BigDecimal(scanner.next());\n\n System.out.println(A.multiply(B).longValue());\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"BigDecimal A = new BigDecimal(scanner.next());",
"A",
"new BigDecimal(scanner.next())",
"BigDecimal B = new BigDecimal(scanner.next());",
"B",
"new BigDecimal(scanner.next())",
"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",
"public static void main(String[] args) {\n new Main();\n }",
"main",
"{\n new Main();\n }",
"new Main()",
"String[] args",
"args",
"public class Main {\n\n public Main() {\n Scanner scanner = new Scanner(System.in);\n BigDecimal A = new BigDecimal(scanner.next());\n BigDecimal B = new BigDecimal(scanner.next());\n\n System.out.println(A.multiply(B).longValue());\n }\n\n public static void main(String[] args) {\n new Main();\n }\n}",
"public class Main {\n\n public Main() {\n Scanner scanner = new Scanner(System.in);\n BigDecimal A = new BigDecimal(scanner.next());\n BigDecimal B = new BigDecimal(scanner.next());\n\n System.out.println(A.multiply(B).longValue());\n }\n\n public static void main(String[] args) {\n new Main();\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public Main() {
Scanner scanner = new Scanner(System.in);
BigDecimal A = new BigDecimal(scanner.next());
BigDecimal B = new BigDecimal(scanner.next());
System.out.println(A.multiply(B).longValue());
}
public static void main(String[] args) {
new Main();
}
}
|
[
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,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
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
],
[
24,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"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\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tb = b.replace(\".\",\"\");\n\t\tint bb = Integer.parseInt(b);\n\t\tSystem.out.println(a*bb/100);\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\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n\t\tb = b.replace(\".\",\"\");\n\t\tint bb = Integer.parseInt(b);\n\t\tSystem.out.println(a*bb/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\tb = b.replace(\".\",\"\");\n\t\tint bb = Integer.parseInt(b);\n\t\tSystem.out.println(a*bb/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\tb = b.replace(\".\",\"\");\n\t\tint bb = Integer.parseInt(b);\n\t\tSystem.out.println(a*bb/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",
"b = b.replace(\".\",\"\")",
"b",
"b.replace(\".\",\"\")",
"b.replace",
"b",
"\".\"",
"\"\"",
"int bb = Integer.parseInt(b);",
"bb",
"Integer.parseInt(b)",
"Integer.parseInt",
"Integer",
"b",
"System.out.println(a*bb/100)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*bb/100",
"a*bb",
"a",
"bb",
"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\tb = b.replace(\".\",\"\");\n\t\tint bb = Integer.parseInt(b);\n\t\tSystem.out.println(a*bb/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\tb = b.replace(\".\",\"\");\n\t\tint bb = Integer.parseInt(b);\n\t\tSystem.out.println(a*bb/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();
b = b.replace(".","");
int bb = Integer.parseInt(b);
System.out.println(a*bb/100);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
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,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
52,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
9,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static final int MOD = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n double b = Double.parseDouble(sc.next());\n long c = Math.round(b * 100);\n System.out.println(a * c / 100);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static final int MOD = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n double b = Double.parseDouble(sc.next());\n long c = Math.round(b * 100);\n System.out.println(a * c / 100);\n }\n}",
"Main",
"public static final int MOD = 1000000007;",
"MOD",
"1000000007",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n double b = Double.parseDouble(sc.next());\n long c = Math.round(b * 100);\n System.out.println(a * c / 100);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n double b = Double.parseDouble(sc.next());\n long c = Math.round(b * 100);\n System.out.println(a * c / 100);\n }",
"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 = Math.round(b * 100);",
"c",
"Math.round(b * 100)",
"Math.round",
"Math",
"b * 100",
"b",
"100",
"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\n public static final int MOD = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n double b = Double.parseDouble(sc.next());\n long c = Math.round(b * 100);\n System.out.println(a * c / 100);\n }\n}",
"public class Main {\n\n public static final int MOD = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n double b = Double.parseDouble(sc.next());\n long c = Math.round(b * 100);\n System.out.println(a * c / 100);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static final int MOD = 1000000007;
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 = Math.round(b * 100);
System.out.println(a * c / 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,
20,
41,
13,
20,
41,
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
],
[
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
],
[
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
],
[
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 long A = sc.nextLong();\n double B = sc.nextDouble();\n BigDecimal a = new BigDecimal(String.valueOf(A));\n BigDecimal b = new BigDecimal(String.valueOf(B));\n BigDecimal result = a.multiply(b);\n System.out.println(result.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 long A = sc.nextLong();\n double B = sc.nextDouble();\n BigDecimal a = new BigDecimal(String.valueOf(A));\n BigDecimal b = new BigDecimal(String.valueOf(B));\n BigDecimal result = a.multiply(b);\n System.out.println(result.longValue());\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 BigDecimal a = new BigDecimal(String.valueOf(A));\n BigDecimal b = new BigDecimal(String.valueOf(B));\n BigDecimal result = a.multiply(b);\n System.out.println(result.longValue());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n double B = sc.nextDouble();\n BigDecimal a = new BigDecimal(String.valueOf(A));\n BigDecimal b = new BigDecimal(String.valueOf(B));\n BigDecimal result = a.multiply(b);\n System.out.println(result.longValue());\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",
"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 result = a.multiply(b);",
"result",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"System.out.println(result.longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"result.longValue()",
"result.longValue",
"result",
"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 BigDecimal a = new BigDecimal(String.valueOf(A));\n BigDecimal b = new BigDecimal(String.valueOf(B));\n BigDecimal result = a.multiply(b);\n System.out.println(result.longValue());\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 BigDecimal a = new BigDecimal(String.valueOf(A));\n BigDecimal b = new BigDecimal(String.valueOf(B));\n BigDecimal result = a.multiply(b);\n System.out.println(result.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();
double B = sc.nextDouble();
BigDecimal a = new BigDecimal(String.valueOf(A));
BigDecimal b = new BigDecimal(String.valueOf(B));
BigDecimal result = a.multiply(b);
System.out.println(result.longValue());
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
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
],
[
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
],
[
57,
23
],
[
57,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
26,
33
],
[
33,
34
],
[
33,
35
],
[
26,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
26,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
24,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] |
[
"import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\nimport java.util.stream.Collectors;\nimport java.util.stream.IntStream;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n BigDecimal result = a.multiply(b);\n System.out.println(result.setScale(0, RoundingMode.FLOOR));\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.stream.Collectors;",
"Collectors",
"java.util.stream",
"import java.util.stream.IntStream;",
"IntStream",
"java.util.stream",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n BigDecimal result = a.multiply(b);\n System.out.println(result.setScale(0, RoundingMode.FLOOR));\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n BigDecimal result = a.multiply(b);\n System.out.println(result.setScale(0, RoundingMode.FLOOR));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n BigDecimal result = a.multiply(b);\n System.out.println(result.setScale(0, RoundingMode.FLOOR));\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())",
"BigDecimal result = a.multiply(b);",
"result",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"System.out.println(result.setScale(0, RoundingMode.FLOOR))",
"System.out.println",
"System.out",
"System",
"System.out",
"result.setScale(0, RoundingMode.FLOOR)",
"result.setScale",
"result",
"0",
"RoundingMode.FLOOR",
"RoundingMode",
"RoundingMode.FLOOR",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n BigDecimal result = a.multiply(b);\n System.out.println(result.setScale(0, RoundingMode.FLOOR));\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n BigDecimal result = a.multiply(b);\n System.out.println(result.setScale(0, RoundingMode.FLOOR));\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
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());
BigDecimal result = a.multiply(b);
System.out.println(result.setScale(0, RoundingMode.FLOOR));
}
}
|
[
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,
4,
18,
13,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
14,
2,
13,
17,
30,
0,
13,
4,
18,
13,
17,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
72,
8
],
[
72,
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
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
11,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
11,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
11,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
9,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] |
[
"import java.math.BigDecimal;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double A = sc.nextDouble();\n double B = sc.nextDouble();\n sc.close();\n\n BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));\n String val = res.toPlainString();\n int index = val.indexOf(\".\");\n if (index >= 0) {\n val = val.substring(0, index);\n }\n\n System.out.println(val);\n\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double A = sc.nextDouble();\n double B = sc.nextDouble();\n sc.close();\n\n BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));\n String val = res.toPlainString();\n int index = val.indexOf(\".\");\n if (index >= 0) {\n val = val.substring(0, index);\n }\n\n System.out.println(val);\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double A = sc.nextDouble();\n double B = sc.nextDouble();\n sc.close();\n\n BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));\n String val = res.toPlainString();\n int index = val.indexOf(\".\");\n if (index >= 0) {\n val = val.substring(0, index);\n }\n\n System.out.println(val);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n double A = sc.nextDouble();\n double B = sc.nextDouble();\n sc.close();\n\n BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));\n String val = res.toPlainString();\n int index = val.indexOf(\".\");\n if (index >= 0) {\n val = val.substring(0, index);\n }\n\n System.out.println(val);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double A = sc.nextDouble();",
"A",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double B = sc.nextDouble();",
"B",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"sc.close()",
"sc.close",
"sc",
"BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));",
"res",
"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",
"String val = res.toPlainString();",
"val",
"res.toPlainString()",
"res.toPlainString",
"res",
"int index = val.indexOf(\".\");",
"index",
"val.indexOf(\".\")",
"val.indexOf",
"val",
"\".\"",
"if (index >= 0) {\n val = val.substring(0, index);\n }",
"index >= 0",
"index",
"0",
"{\n val = val.substring(0, index);\n }",
"val = val.substring(0, index)",
"val",
"val.substring(0, index)",
"val.substring",
"val",
"0",
"index",
"System.out.println(val)",
"System.out.println",
"System.out",
"System",
"System.out",
"val",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double A = sc.nextDouble();\n double B = sc.nextDouble();\n sc.close();\n\n BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));\n String val = res.toPlainString();\n int index = val.indexOf(\".\");\n if (index >= 0) {\n val = val.substring(0, index);\n }\n\n System.out.println(val);\n\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double A = sc.nextDouble();\n double B = sc.nextDouble();\n sc.close();\n\n BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));\n String val = res.toPlainString();\n int index = val.indexOf(\".\");\n if (index >= 0) {\n val = val.substring(0, index);\n }\n\n System.out.println(val);\n\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);
double A = sc.nextDouble();
double B = sc.nextDouble();
sc.close();
BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));
String val = res.toPlainString();
int index = val.indexOf(".");
if (index >= 0) {
val = val.substring(0, index);
}
System.out.println(val);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
12,
13,
30,
4,
13,
13,
14,
2,
13,
17,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
13,
2,
4,
13,
4,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
13,
4,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
40,
17,
29,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
13,
40,
17,
29,
0,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
13,
41,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
4,
18,
13,
13,
23,
13,
12,
13,
30,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
0,
13,
20,
14,
2,
2,
13,
17,
2,
18,
13,
13,
13,
30,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
17,
12,
13,
30,
4,
13,
29,
4,
18,
13,
18,
13,
40,
13,
12,
13,
30,
4,
13,
29,
4,
18,
13,
18,
13,
40,
13,
12,
13,
30,
4,
13,
29,
18,
13,
40,
13,
12,
13,
30,
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,
0,
13,
18,
13,
13,
29,
13,
12,
13,
30,
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,
0,
13,
18,
13,
13,
29,
13,
12,
13,
30,
4,
13,
0,
13,
18,
13,
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
],
[
345,
14
],
[
345,
15
],
[
15,
16
],
[
15,
17
],
[
345,
18
],
[
18,
19
],
[
18,
20
],
[
345,
21
],
[
21,
22
],
[
21,
23
],
[
345,
24
],
[
24,
25
],
[
24,
26
],
[
345,
27
],
[
27,
28
],
[
27,
29
],
[
345,
30
],
[
30,
31
],
[
30,
32
],
[
345,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
35,
47
],
[
47,
48
],
[
48,
49
],
[
35,
50
],
[
50,
51
],
[
51,
52
],
[
33,
53
],
[
53,
54
],
[
345,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
55,
66
],
[
66,
67
],
[
345,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
70,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
70,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
70,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
88,
96
],
[
96,
97
],
[
97,
98
],
[
88,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
107,
113
],
[
104,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
117,
121
],
[
121,
122
],
[
121,
123
],
[
100,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
132,
133
],
[
128,
134
],
[
100,
135
],
[
135,
136
],
[
135,
137
],
[
70,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
68,
142
],
[
142,
143
],
[
345,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
146,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
146,
155
],
[
155,
156
],
[
155,
157
],
[
146,
158
],
[
158,
159
],
[
158,
160
],
[
146,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
166,
169
],
[
144,
170
],
[
170,
171
],
[
345,
172
],
[
172,
173
],
[
172,
174
],
[
172,
175
],
[
175,
176
],
[
345,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
179,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
188,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
201,
206
],
[
198,
207
],
[
207,
208
],
[
207,
209
],
[
345,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
213,
214
],
[
212,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
216,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
345,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
226,
227
],
[
225,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
229,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
345,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
238,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
345,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
249,
250
],
[
248,
251
],
[
251,
252
],
[
251,
253
],
[
254,
255
],
[
254,
256
],
[
248,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
257,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
264,
266
],
[
257,
267
],
[
267,
268
],
[
268,
269
],
[
257,
270
],
[
271,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
272,
276
],
[
276,
277
],
[
277,
278
],
[
276,
279
],
[
279,
280
],
[
279,
281
],
[
248,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
284,
286
],
[
248,
287
],
[
287,
288
],
[
345,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
292,
293
],
[
291,
294
],
[
294,
295
],
[
294,
296
],
[
297,
298
],
[
297,
299
],
[
291,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
300,
305
],
[
305,
306
],
[
305,
307
],
[
307,
308
],
[
307,
309
],
[
300,
310
],
[
310,
311
],
[
311,
312
],
[
300,
313
],
[
314,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
315,
319
],
[
319,
320
],
[
320,
321
],
[
319,
322
],
[
322,
323
],
[
322,
324
],
[
291,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
327,
329
],
[
291,
330
],
[
330,
331
],
[
345,
332
],
[
332,
333
],
[
332,
334
],
[
334,
335
],
[
335,
336
],
[
334,
337
],
[
337,
338
],
[
337,
339
],
[
339,
340
],
[
339,
341
],
[
334,
342
],
[
342,
343
],
[
0,
344
],
[
344,
345
],
[
344,
346
]
] |
[
"import java.io.*;\nimport java.math.*;\nimport java.util.*;\nimport java.util.regex.*;\n\n\npublic class Main {\n\n\tfinal static long MOD = 1000000007;\n\tpublic static String[] Ws = null;\n\tpublic static int wsIndx = 0;\n\tpublic static BufferedReader in = null;\n\tpublic static long cnt=0;\n\tpublic static PrintWriter pw = new PrintWriter(System.out);\n\tpublic static void main(String[] args) throws Exception {\n\t\tsolutionC(args);\n\t\tif(in!=null){\n\t\t\tin.close();\n\t\t}\n\t\tpw.flush();\n\t\tpw.close();\n\t}\n\n\tpublic static void solutionA(String[] args) throws Exception{\n\n\t\tpw.println(nextInt()*nextInt());\n\t}\n\tpublic static void solutionB(String[] args) throws Exception{\n\t\tint N = nextInt();\n\t\tlong[] a = nextLongs();\n\t\tArrays.sort(a);\n\t\tlong ans = a[0];\n\t\tfor(int i=1;i<N;i++) {\n\t\t\tlong x = 0;\n\t\t\ttry{\n\t\t\t\tx= Math.multiplyExact(ans, a[i]);\n\t\t\t}catch(Exception e) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif(x>=1000000000000000001L) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tans=x;\n\t\t}\n\t\tpw.println(ans);\n\t}\n\tpublic static void solutionC(String[] args) throws Exception{\n\t\tString A = nextString();\n\t\tString B = nextString();\n\t\tBigDecimal bA = new BigDecimal(A);\n\t\tBigDecimal bB = new BigDecimal(B);\n\n\n\n\t\tpw.println(bA.multiply(bB).longValue());\n\t}\n\tpublic static void solutionD(String[] args) throws Exception{\n\n\t}\n\n\n\n\tpublic static void check() throws Exception{\n\t\tif(in == null){\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\tif(Ws==null || Ws.length<=wsIndx){\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}\n\t}\n\tpublic static int nextInt()throws Exception{\n\t\tcheck();\n\t\treturn Integer.parseInt(Ws[wsIndx++]);\n\t}\n\n\tpublic static long nextLong()throws Exception{\n\t\tcheck();\n\t\treturn Long.parseLong(Ws[wsIndx++]);\n\t}\n\n\tpublic static String nextString()throws Exception{\n\t\tcheck();\n\t\treturn Ws[wsIndx++];\n\t}\n\n\tpublic static int[] nextInts()throws Exception{\n\t\tcheck();\n\t\tint[] tmp = new int[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static long[] nextLongs()throws Exception{\n\t\tcheck();\n\t\tlong[] tmp = new long[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static String[] nextStrings()throws Exception{\n\t\tcheck();\n\t\twsIndx=Ws.length;\n\t\treturn Ws;\n\t}\n\n}\n",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.regex.*;",
"regex.*",
"java.util",
"public class Main {\n\n\tfinal static long MOD = 1000000007;\n\tpublic static String[] Ws = null;\n\tpublic static int wsIndx = 0;\n\tpublic static BufferedReader in = null;\n\tpublic static long cnt=0;\n\tpublic static PrintWriter pw = new PrintWriter(System.out);\n\tpublic static void main(String[] args) throws Exception {\n\t\tsolutionC(args);\n\t\tif(in!=null){\n\t\t\tin.close();\n\t\t}\n\t\tpw.flush();\n\t\tpw.close();\n\t}\n\n\tpublic static void solutionA(String[] args) throws Exception{\n\n\t\tpw.println(nextInt()*nextInt());\n\t}\n\tpublic static void solutionB(String[] args) throws Exception{\n\t\tint N = nextInt();\n\t\tlong[] a = nextLongs();\n\t\tArrays.sort(a);\n\t\tlong ans = a[0];\n\t\tfor(int i=1;i<N;i++) {\n\t\t\tlong x = 0;\n\t\t\ttry{\n\t\t\t\tx= Math.multiplyExact(ans, a[i]);\n\t\t\t}catch(Exception e) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif(x>=1000000000000000001L) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tans=x;\n\t\t}\n\t\tpw.println(ans);\n\t}\n\tpublic static void solutionC(String[] args) throws Exception{\n\t\tString A = nextString();\n\t\tString B = nextString();\n\t\tBigDecimal bA = new BigDecimal(A);\n\t\tBigDecimal bB = new BigDecimal(B);\n\n\n\n\t\tpw.println(bA.multiply(bB).longValue());\n\t}\n\tpublic static void solutionD(String[] args) throws Exception{\n\n\t}\n\n\n\n\tpublic static void check() throws Exception{\n\t\tif(in == null){\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\tif(Ws==null || Ws.length<=wsIndx){\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}\n\t}\n\tpublic static int nextInt()throws Exception{\n\t\tcheck();\n\t\treturn Integer.parseInt(Ws[wsIndx++]);\n\t}\n\n\tpublic static long nextLong()throws Exception{\n\t\tcheck();\n\t\treturn Long.parseLong(Ws[wsIndx++]);\n\t}\n\n\tpublic static String nextString()throws Exception{\n\t\tcheck();\n\t\treturn Ws[wsIndx++];\n\t}\n\n\tpublic static int[] nextInts()throws Exception{\n\t\tcheck();\n\t\tint[] tmp = new int[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static long[] nextLongs()throws Exception{\n\t\tcheck();\n\t\tlong[] tmp = new long[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static String[] nextStrings()throws Exception{\n\t\tcheck();\n\t\twsIndx=Ws.length;\n\t\treturn Ws;\n\t}\n\n}",
"Main",
"final static long MOD = 1000000007;",
"MOD",
"1000000007",
"public static String[] Ws = null;",
"Ws",
"null",
"public static int wsIndx = 0;",
"wsIndx",
"0",
"public static BufferedReader in = null;",
"in",
"null",
"public static long cnt=0;",
"cnt",
"0",
"public static PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"public static void main(String[] args) throws Exception {\n\t\tsolutionC(args);\n\t\tif(in!=null){\n\t\t\tin.close();\n\t\t}\n\t\tpw.flush();\n\t\tpw.close();\n\t}",
"main",
"{\n\t\tsolutionC(args);\n\t\tif(in!=null){\n\t\t\tin.close();\n\t\t}\n\t\tpw.flush();\n\t\tpw.close();\n\t}",
"solutionC(args)",
"solutionC",
"args",
"if(in!=null){\n\t\t\tin.close();\n\t\t}",
"in!=null",
"in",
"null",
"{\n\t\t\tin.close();\n\t\t}",
"in.close()",
"in.close",
"in",
"pw.flush()",
"pw.flush",
"pw",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"public static void solutionA(String[] args) throws Exception{\n\n\t\tpw.println(nextInt()*nextInt());\n\t}",
"solutionA",
"{\n\n\t\tpw.println(nextInt()*nextInt());\n\t}",
"pw.println(nextInt()*nextInt())",
"pw.println",
"pw",
"nextInt()*nextInt()",
"nextInt()",
"nextInt",
"nextInt()",
"nextInt",
"String[] args",
"args",
"public static void solutionB(String[] args) throws Exception{\n\t\tint N = nextInt();\n\t\tlong[] a = nextLongs();\n\t\tArrays.sort(a);\n\t\tlong ans = a[0];\n\t\tfor(int i=1;i<N;i++) {\n\t\t\tlong x = 0;\n\t\t\ttry{\n\t\t\t\tx= Math.multiplyExact(ans, a[i]);\n\t\t\t}catch(Exception e) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif(x>=1000000000000000001L) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tans=x;\n\t\t}\n\t\tpw.println(ans);\n\t}",
"solutionB",
"{\n\t\tint N = nextInt();\n\t\tlong[] a = nextLongs();\n\t\tArrays.sort(a);\n\t\tlong ans = a[0];\n\t\tfor(int i=1;i<N;i++) {\n\t\t\tlong x = 0;\n\t\t\ttry{\n\t\t\t\tx= Math.multiplyExact(ans, a[i]);\n\t\t\t}catch(Exception e) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif(x>=1000000000000000001L) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tans=x;\n\t\t}\n\t\tpw.println(ans);\n\t}",
"int N = nextInt();",
"N",
"nextInt()",
"nextInt",
"long[] a = nextLongs();",
"a",
"nextLongs()",
"nextLongs",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"long ans = a[0];",
"ans",
"a[0]",
"a",
"0",
"for(int i=1;i<N;i++) {\n\t\t\tlong x = 0;\n\t\t\ttry{\n\t\t\t\tx= Math.multiplyExact(ans, a[i]);\n\t\t\t}catch(Exception e) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif(x>=1000000000000000001L) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tans=x;\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t\tlong x = 0;\n\t\t\ttry{\n\t\t\t\tx= Math.multiplyExact(ans, a[i]);\n\t\t\t}catch(Exception e) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif(x>=1000000000000000001L) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tans=x;\n\t\t}",
"{\n\t\t\tlong x = 0;\n\t\t\ttry{\n\t\t\t\tx= Math.multiplyExact(ans, a[i]);\n\t\t\t}catch(Exception e) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif(x>=1000000000000000001L) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tans=x;\n\t\t}",
"long x = 0;",
"x",
"0",
"try{\n\t\t\t\tx= Math.multiplyExact(ans, a[i]);\n\t\t\t}catch(Exception e) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}",
"catch(Exception e) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}",
"pw.println(-1)",
"pw.println",
"pw",
"-1",
"1",
"return;",
"{\n\t\t\t\tx= Math.multiplyExact(ans, a[i]);\n\t\t\t}",
"x= Math.multiplyExact(ans, a[i])",
"x",
"Math.multiplyExact(ans, a[i])",
"Math.multiplyExact",
"Math",
"ans",
"a[i]",
"a",
"i",
"if(x>=1000000000000000001L) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}",
"x>=1000000000000000001L",
"x",
"1000000000000000001L",
"{\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}",
"pw.println(-1)",
"pw.println",
"pw",
"-1",
"1",
"return;",
"ans=x",
"ans",
"x",
"pw.println(ans)",
"pw.println",
"pw",
"ans",
"String[] args",
"args",
"public static void solutionC(String[] args) throws Exception{\n\t\tString A = nextString();\n\t\tString B = nextString();\n\t\tBigDecimal bA = new BigDecimal(A);\n\t\tBigDecimal bB = new BigDecimal(B);\n\n\n\n\t\tpw.println(bA.multiply(bB).longValue());\n\t}",
"solutionC",
"{\n\t\tString A = nextString();\n\t\tString B = nextString();\n\t\tBigDecimal bA = new BigDecimal(A);\n\t\tBigDecimal bB = new BigDecimal(B);\n\n\n\n\t\tpw.println(bA.multiply(bB).longValue());\n\t}",
"String A = nextString();",
"A",
"nextString()",
"nextString",
"String B = nextString();",
"B",
"nextString()",
"nextString",
"BigDecimal bA = new BigDecimal(A);",
"bA",
"new BigDecimal(A)",
"BigDecimal bB = new BigDecimal(B);",
"bB",
"new BigDecimal(B)",
"pw.println(bA.multiply(bB).longValue())",
"pw.println",
"pw",
"bA.multiply(bB).longValue()",
"bA.multiply(bB).longValue",
"bA.multiply(bB)",
"bA.multiply",
"bA",
"bB",
"String[] args",
"args",
"public static void solutionD(String[] args) throws Exception{\n\n\t}",
"solutionD",
"{\n\n\t}",
"String[] args",
"args",
"public static void check() throws Exception{\n\t\tif(in == null){\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\tif(Ws==null || Ws.length<=wsIndx){\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}\n\t}",
"check",
"{\n\t\tif(in == null){\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\tif(Ws==null || Ws.length<=wsIndx){\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}\n\t}",
"if(in == null){\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"in == null",
"in",
"null",
"{\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"in = new BufferedReader(new InputStreamReader(System.in))",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"if(Ws==null || Ws.length<=wsIndx){\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}",
"Ws==null || Ws.length<=wsIndx",
"Ws==null",
"Ws",
"null",
"Ws.length<=wsIndx",
"Ws.length",
"Ws",
"Ws.length",
"wsIndx",
"{\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}",
"Ws = in.readLine().split(\" \")",
"Ws",
"in.readLine().split(\" \")",
"in.readLine().split",
"in.readLine()",
"in.readLine",
"in",
"\" \"",
"wsIndx=0",
"wsIndx",
"0",
"public static int nextInt()throws Exception{\n\t\tcheck();\n\t\treturn Integer.parseInt(Ws[wsIndx++]);\n\t}",
"nextInt",
"{\n\t\tcheck();\n\t\treturn Integer.parseInt(Ws[wsIndx++]);\n\t}",
"check()",
"check",
"return Integer.parseInt(Ws[wsIndx++]);",
"Integer.parseInt(Ws[wsIndx++])",
"Integer.parseInt",
"Integer",
"Ws[wsIndx++]",
"Ws",
"wsIndx++",
"wsIndx",
"public static long nextLong()throws Exception{\n\t\tcheck();\n\t\treturn Long.parseLong(Ws[wsIndx++]);\n\t}",
"nextLong",
"{\n\t\tcheck();\n\t\treturn Long.parseLong(Ws[wsIndx++]);\n\t}",
"check()",
"check",
"return Long.parseLong(Ws[wsIndx++]);",
"Long.parseLong(Ws[wsIndx++])",
"Long.parseLong",
"Long",
"Ws[wsIndx++]",
"Ws",
"wsIndx++",
"wsIndx",
"public static String nextString()throws Exception{\n\t\tcheck();\n\t\treturn Ws[wsIndx++];\n\t}",
"nextString",
"{\n\t\tcheck();\n\t\treturn Ws[wsIndx++];\n\t}",
"check()",
"check",
"return Ws[wsIndx++];",
"Ws[wsIndx++]",
"Ws",
"wsIndx++",
"wsIndx",
"public static int[] nextInts()throws Exception{\n\t\tcheck();\n\t\tint[] tmp = new int[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}",
"nextInts",
"{\n\t\tcheck();\n\t\tint[] tmp = new int[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}",
"check()",
"check",
"int[] tmp = new int[Ws.length];",
"tmp",
"new int[Ws.length]",
"Ws.length",
"Ws",
"Ws.length",
"for(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<tmp.length",
"i",
"tmp.length",
"tmp",
"tmp.length",
"i++",
"i++",
"i",
"{\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}",
"{\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}",
"tmp[i]=Integer.parseInt(Ws[i])",
"tmp[i]",
"tmp",
"i",
"Integer.parseInt(Ws[i])",
"Integer.parseInt",
"Integer",
"Ws[i]",
"Ws",
"i",
"wsIndx=Ws.length",
"wsIndx",
"Ws.length",
"Ws",
"Ws.length",
"return tmp;",
"tmp",
"public static long[] nextLongs()throws Exception{\n\t\tcheck();\n\t\tlong[] tmp = new long[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}",
"nextLongs",
"{\n\t\tcheck();\n\t\tlong[] tmp = new long[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}",
"check()",
"check",
"long[] tmp = new long[Ws.length];",
"tmp",
"new long[Ws.length]",
"Ws.length",
"Ws",
"Ws.length",
"for(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<tmp.length",
"i",
"tmp.length",
"tmp",
"tmp.length",
"i++",
"i++",
"i",
"{\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}",
"{\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}",
"tmp[i]=Long.parseLong(Ws[i])",
"tmp[i]",
"tmp",
"i",
"Long.parseLong(Ws[i])",
"Long.parseLong",
"Long",
"Ws[i]",
"Ws",
"i",
"wsIndx=Ws.length",
"wsIndx",
"Ws.length",
"Ws",
"Ws.length",
"return tmp;",
"tmp",
"public static String[] nextStrings()throws Exception{\n\t\tcheck();\n\t\twsIndx=Ws.length;\n\t\treturn Ws;\n\t}",
"nextStrings",
"{\n\t\tcheck();\n\t\twsIndx=Ws.length;\n\t\treturn Ws;\n\t}",
"check()",
"check",
"wsIndx=Ws.length",
"wsIndx",
"Ws.length",
"Ws",
"Ws.length",
"return Ws;",
"Ws",
"public class Main {\n\n\tfinal static long MOD = 1000000007;\n\tpublic static String[] Ws = null;\n\tpublic static int wsIndx = 0;\n\tpublic static BufferedReader in = null;\n\tpublic static long cnt=0;\n\tpublic static PrintWriter pw = new PrintWriter(System.out);\n\tpublic static void main(String[] args) throws Exception {\n\t\tsolutionC(args);\n\t\tif(in!=null){\n\t\t\tin.close();\n\t\t}\n\t\tpw.flush();\n\t\tpw.close();\n\t}\n\n\tpublic static void solutionA(String[] args) throws Exception{\n\n\t\tpw.println(nextInt()*nextInt());\n\t}\n\tpublic static void solutionB(String[] args) throws Exception{\n\t\tint N = nextInt();\n\t\tlong[] a = nextLongs();\n\t\tArrays.sort(a);\n\t\tlong ans = a[0];\n\t\tfor(int i=1;i<N;i++) {\n\t\t\tlong x = 0;\n\t\t\ttry{\n\t\t\t\tx= Math.multiplyExact(ans, a[i]);\n\t\t\t}catch(Exception e) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif(x>=1000000000000000001L) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tans=x;\n\t\t}\n\t\tpw.println(ans);\n\t}\n\tpublic static void solutionC(String[] args) throws Exception{\n\t\tString A = nextString();\n\t\tString B = nextString();\n\t\tBigDecimal bA = new BigDecimal(A);\n\t\tBigDecimal bB = new BigDecimal(B);\n\n\n\n\t\tpw.println(bA.multiply(bB).longValue());\n\t}\n\tpublic static void solutionD(String[] args) throws Exception{\n\n\t}\n\n\n\n\tpublic static void check() throws Exception{\n\t\tif(in == null){\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\tif(Ws==null || Ws.length<=wsIndx){\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}\n\t}\n\tpublic static int nextInt()throws Exception{\n\t\tcheck();\n\t\treturn Integer.parseInt(Ws[wsIndx++]);\n\t}\n\n\tpublic static long nextLong()throws Exception{\n\t\tcheck();\n\t\treturn Long.parseLong(Ws[wsIndx++]);\n\t}\n\n\tpublic static String nextString()throws Exception{\n\t\tcheck();\n\t\treturn Ws[wsIndx++];\n\t}\n\n\tpublic static int[] nextInts()throws Exception{\n\t\tcheck();\n\t\tint[] tmp = new int[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static long[] nextLongs()throws Exception{\n\t\tcheck();\n\t\tlong[] tmp = new long[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static String[] nextStrings()throws Exception{\n\t\tcheck();\n\t\twsIndx=Ws.length;\n\t\treturn Ws;\n\t}\n\n}",
"public class Main {\n\n\tfinal static long MOD = 1000000007;\n\tpublic static String[] Ws = null;\n\tpublic static int wsIndx = 0;\n\tpublic static BufferedReader in = null;\n\tpublic static long cnt=0;\n\tpublic static PrintWriter pw = new PrintWriter(System.out);\n\tpublic static void main(String[] args) throws Exception {\n\t\tsolutionC(args);\n\t\tif(in!=null){\n\t\t\tin.close();\n\t\t}\n\t\tpw.flush();\n\t\tpw.close();\n\t}\n\n\tpublic static void solutionA(String[] args) throws Exception{\n\n\t\tpw.println(nextInt()*nextInt());\n\t}\n\tpublic static void solutionB(String[] args) throws Exception{\n\t\tint N = nextInt();\n\t\tlong[] a = nextLongs();\n\t\tArrays.sort(a);\n\t\tlong ans = a[0];\n\t\tfor(int i=1;i<N;i++) {\n\t\t\tlong x = 0;\n\t\t\ttry{\n\t\t\t\tx= Math.multiplyExact(ans, a[i]);\n\t\t\t}catch(Exception e) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif(x>=1000000000000000001L) {\n\t\t\t\tpw.println(-1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tans=x;\n\t\t}\n\t\tpw.println(ans);\n\t}\n\tpublic static void solutionC(String[] args) throws Exception{\n\t\tString A = nextString();\n\t\tString B = nextString();\n\t\tBigDecimal bA = new BigDecimal(A);\n\t\tBigDecimal bB = new BigDecimal(B);\n\n\n\n\t\tpw.println(bA.multiply(bB).longValue());\n\t}\n\tpublic static void solutionD(String[] args) throws Exception{\n\n\t}\n\n\n\n\tpublic static void check() throws Exception{\n\t\tif(in == null){\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\tif(Ws==null || Ws.length<=wsIndx){\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}\n\t}\n\tpublic static int nextInt()throws Exception{\n\t\tcheck();\n\t\treturn Integer.parseInt(Ws[wsIndx++]);\n\t}\n\n\tpublic static long nextLong()throws Exception{\n\t\tcheck();\n\t\treturn Long.parseLong(Ws[wsIndx++]);\n\t}\n\n\tpublic static String nextString()throws Exception{\n\t\tcheck();\n\t\treturn Ws[wsIndx++];\n\t}\n\n\tpublic static int[] nextInts()throws Exception{\n\t\tcheck();\n\t\tint[] tmp = new int[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static long[] nextLongs()throws Exception{\n\t\tcheck();\n\t\tlong[] tmp = new long[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static String[] nextStrings()throws Exception{\n\t\tcheck();\n\t\twsIndx=Ws.length;\n\t\treturn Ws;\n\t}\n\n}",
"Main"
] |
import java.io.*;
import java.math.*;
import java.util.*;
import java.util.regex.*;
public class Main {
final static long MOD = 1000000007;
public static String[] Ws = null;
public static int wsIndx = 0;
public static BufferedReader in = null;
public static long cnt=0;
public static PrintWriter pw = new PrintWriter(System.out);
public static void main(String[] args) throws Exception {
solutionC(args);
if(in!=null){
in.close();
}
pw.flush();
pw.close();
}
public static void solutionA(String[] args) throws Exception{
pw.println(nextInt()*nextInt());
}
public static void solutionB(String[] args) throws Exception{
int N = nextInt();
long[] a = nextLongs();
Arrays.sort(a);
long ans = a[0];
for(int i=1;i<N;i++) {
long x = 0;
try{
x= Math.multiplyExact(ans, a[i]);
}catch(Exception e) {
pw.println(-1);
return;
}
if(x>=1000000000000000001L) {
pw.println(-1);
return;
}
ans=x;
}
pw.println(ans);
}
public static void solutionC(String[] args) throws Exception{
String A = nextString();
String B = nextString();
BigDecimal bA = new BigDecimal(A);
BigDecimal bB = new BigDecimal(B);
pw.println(bA.multiply(bB).longValue());
}
public static void solutionD(String[] args) throws Exception{
}
public static void check() throws Exception{
if(in == null){
in = new BufferedReader(new InputStreamReader(System.in));
}
if(Ws==null || Ws.length<=wsIndx){
Ws = in.readLine().split(" ");
wsIndx=0;
}
}
public static int nextInt()throws Exception{
check();
return Integer.parseInt(Ws[wsIndx++]);
}
public static long nextLong()throws Exception{
check();
return Long.parseLong(Ws[wsIndx++]);
}
public static String nextString()throws Exception{
check();
return Ws[wsIndx++];
}
public static int[] nextInts()throws Exception{
check();
int[] tmp = new int[Ws.length];
for(int i=0;i<tmp.length;i++){
tmp[i]=Integer.parseInt(Ws[i]);
}
wsIndx=Ws.length;
return tmp;
}
public static long[] nextLongs()throws Exception{
check();
long[] tmp = new long[Ws.length];
for(int i=0;i<tmp.length;i++){
tmp[i]=Long.parseLong(Ws[i]);
}
wsIndx=Ws.length;
return tmp;
}
public static String[] nextStrings()throws Exception{
check();
wsIndx=Ws.length;
return Ws;
}
}
|
[
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,
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\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\tlong ans = (a * bb) / 100;\n\n\t\tSystem.out.println(ans);\n\t}\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong bb = (long) (b * 100.0 + 0.5);\n\t\tlong ans = (a * bb) / 100;\n\n\t\tSystem.out.println(ans);\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\tdouble b = sc.nextDouble();\n\t\tlong bb = (long) (b * 100.0 + 0.5);\n\t\tlong ans = (a * bb) / 100;\n\n\t\tSystem.out.println(ans);\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\tlong ans = (a * bb) / 100;\n\n\t\tSystem.out.println(ans);\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",
"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\tdouble b = sc.nextDouble();\n\t\tlong bb = (long) (b * 100.0 + 0.5);\n\t\tlong ans = (a * bb) / 100;\n\n\t\tSystem.out.println(ans);\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\tdouble b = sc.nextDouble();\n\t\tlong bb = (long) (b * 100.0 + 0.5);\n\t\tlong ans = (a * bb) / 100;\n\n\t\tSystem.out.println(ans);\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();
double b = sc.nextDouble();
long bb = (long) (b * 100.0 + 0.5);
long ans = (a * bb) / 100;
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
17,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
4,
18,
13,
13,
20,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
47,
8
],
[
47,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
20,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
11,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
37,
43
],
[
9,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import java.math.BigDecimal;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n BigDecimal a = new BigDecimal(scanner.nextLong());\n String tmp = scanner.next().replace(\".\",\"\");\n BigDecimal b = new BigDecimal(Long.valueOf(tmp));\n\n System.out.println(a.multiply(b).divide(new BigDecimal(100)).longValue());\n\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 scanner = new Scanner(System.in);\n\n BigDecimal a = new BigDecimal(scanner.nextLong());\n String tmp = scanner.next().replace(\".\",\"\");\n BigDecimal b = new BigDecimal(Long.valueOf(tmp));\n\n System.out.println(a.multiply(b).divide(new BigDecimal(100)).longValue());\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n BigDecimal a = new BigDecimal(scanner.nextLong());\n String tmp = scanner.next().replace(\".\",\"\");\n BigDecimal b = new BigDecimal(Long.valueOf(tmp));\n\n System.out.println(a.multiply(b).divide(new BigDecimal(100)).longValue());\n\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n BigDecimal a = new BigDecimal(scanner.nextLong());\n String tmp = scanner.next().replace(\".\",\"\");\n BigDecimal b = new BigDecimal(Long.valueOf(tmp));\n\n System.out.println(a.multiply(b).divide(new BigDecimal(100)).longValue());\n\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"BigDecimal a = new BigDecimal(scanner.nextLong());",
"a",
"new BigDecimal(scanner.nextLong())",
"String tmp = scanner.next().replace(\".\",\"\");",
"tmp",
"scanner.next().replace(\".\",\"\")",
"scanner.next().replace",
"scanner.next()",
"scanner.next",
"scanner",
"\".\"",
"\"\"",
"BigDecimal b = new BigDecimal(Long.valueOf(tmp));",
"b",
"new BigDecimal(Long.valueOf(tmp))",
"System.out.println(a.multiply(b).divide(new BigDecimal(100)).longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"a.multiply(b).divide(new BigDecimal(100)).longValue()",
"a.multiply(b).divide(new BigDecimal(100)).longValue",
"a.multiply(b).divide(new BigDecimal(100))",
"a.multiply(b).divide",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"new BigDecimal(100)",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n BigDecimal a = new BigDecimal(scanner.nextLong());\n String tmp = scanner.next().replace(\".\",\"\");\n BigDecimal b = new BigDecimal(Long.valueOf(tmp));\n\n System.out.println(a.multiply(b).divide(new BigDecimal(100)).longValue());\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n BigDecimal a = new BigDecimal(scanner.nextLong());\n String tmp = scanner.next().replace(\".\",\"\");\n BigDecimal b = new BigDecimal(Long.valueOf(tmp));\n\n System.out.println(a.multiply(b).divide(new BigDecimal(100)).longValue());\n\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
BigDecimal a = new BigDecimal(scanner.nextLong());
String tmp = scanner.next().replace(".","");
BigDecimal b = new BigDecimal(Long.valueOf(tmp));
System.out.println(a.multiply(b).divide(new BigDecimal(100)).longValue());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
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,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
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
],
[
13,
14
],
[
6,
15
],
[
15,
16
],
[
58,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
19,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
19,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
19,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
19,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
19,
54
],
[
54,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
"\nimport java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}\n\n\tpublic void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong lb = Math.round(b*100);\n\t\tlong ans = a*lb/100;\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}\n\n\tpublic void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong lb = Math.round(b*100);\n\t\tlong ans = a*lb/100;\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}",
"main",
"{\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}",
"Main main = new Main();",
"main",
"new Main()",
"main.run()",
"main.run",
"main",
"String[] args",
"args",
"public void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong lb = Math.round(b*100);\n\t\tlong ans = a*lb/100;\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}",
"run",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong lb = Math.round(b*100);\n\t\tlong ans = a*lb/100;\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 lb = Math.round(b*100);",
"lb",
"Math.round(b*100)",
"Math.round",
"Math",
"b*100",
"b",
"100",
"long ans = a*lb/100;",
"ans",
"a*lb/100",
"a*lb",
"a",
"lb",
"100",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"sc.close()",
"sc.close",
"sc",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}\n\n\tpublic void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong lb = Math.round(b*100);\n\t\tlong ans = a*lb/100;\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}\n\n\tpublic void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tdouble b = sc.nextDouble();\n\t\tlong lb = Math.round(b*100);\n\t\tlong ans = a*lb/100;\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.run();
}
public void run() {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
double b = sc.nextDouble();
long lb = Math.round(b*100);
long ans = a*lb/100;
System.out.println(ans);
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,
17,
41,
13,
18,
13,
17,
41,
13,
18,
13,
17,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
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
],
[
68,
8
],
[
68,
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
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
11,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
39,
41
],
[
11,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
11,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
9,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String inp=sc.nextLine();\n String[] ip = inp.split(\" \");\n String a = ip[0];\n String b = ip[1];\n BigDecimal c = new BigDecimal(a);\n BigDecimal d = new BigDecimal(b);\n BigDecimal res = c.multiply(d);\n long ans = res.setScale(0, BigDecimal.ROUND_FLOOR).longValue();\n System.out.println(ans);\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 Scanner sc=new Scanner(System.in);\n String inp=sc.nextLine();\n String[] ip = inp.split(\" \");\n String a = ip[0];\n String b = ip[1];\n BigDecimal c = new BigDecimal(a);\n BigDecimal d = new BigDecimal(b);\n BigDecimal res = c.multiply(d);\n long ans = res.setScale(0, BigDecimal.ROUND_FLOOR).longValue();\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String inp=sc.nextLine();\n String[] ip = inp.split(\" \");\n String a = ip[0];\n String b = ip[1];\n BigDecimal c = new BigDecimal(a);\n BigDecimal d = new BigDecimal(b);\n BigDecimal res = c.multiply(d);\n long ans = res.setScale(0, BigDecimal.ROUND_FLOOR).longValue();\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n String inp=sc.nextLine();\n String[] ip = inp.split(\" \");\n String a = ip[0];\n String b = ip[1];\n BigDecimal c = new BigDecimal(a);\n BigDecimal d = new BigDecimal(b);\n BigDecimal res = c.multiply(d);\n long ans = res.setScale(0, BigDecimal.ROUND_FLOOR).longValue();\n System.out.println(ans);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String inp=sc.nextLine();",
"inp",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] ip = inp.split(\" \");",
"ip",
"inp.split(\" \")",
"inp.split",
"inp",
"\" \"",
"String a = ip[0];",
"a",
"ip[0]",
"ip",
"0",
"String b = ip[1];",
"b",
"ip[1]",
"ip",
"1",
"BigDecimal c = new BigDecimal(a);",
"c",
"new BigDecimal(a)",
"BigDecimal d = new BigDecimal(b);",
"d",
"new BigDecimal(b)",
"BigDecimal res = c.multiply(d);",
"res",
"c.multiply(d)",
"c.multiply",
"c",
"d",
"long ans = res.setScale(0, BigDecimal.ROUND_FLOOR).longValue();",
"ans",
"res.setScale(0, BigDecimal.ROUND_FLOOR).longValue()",
"res.setScale(0, BigDecimal.ROUND_FLOOR).longValue",
"res.setScale(0, BigDecimal.ROUND_FLOOR)",
"res.setScale",
"res",
"0",
"BigDecimal.ROUND_FLOOR",
"BigDecimal",
"BigDecimal.ROUND_FLOOR",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String inp=sc.nextLine();\n String[] ip = inp.split(\" \");\n String a = ip[0];\n String b = ip[1];\n BigDecimal c = new BigDecimal(a);\n BigDecimal d = new BigDecimal(b);\n BigDecimal res = c.multiply(d);\n long ans = res.setScale(0, BigDecimal.ROUND_FLOOR).longValue();\n System.out.println(ans);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String inp=sc.nextLine();\n String[] ip = inp.split(\" \");\n String a = ip[0];\n String b = ip[1];\n BigDecimal c = new BigDecimal(a);\n BigDecimal d = new BigDecimal(b);\n BigDecimal res = c.multiply(d);\n long ans = res.setScale(0, BigDecimal.ROUND_FLOOR).longValue();\n System.out.println(ans);\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);
String inp=sc.nextLine();
String[] ip = inp.split(" ");
String a = ip[0];
String b = ip[1];
BigDecimal c = new BigDecimal(a);
BigDecimal d = new BigDecimal(b);
BigDecimal res = c.multiply(d);
long ans = res.setScale(0, BigDecimal.ROUND_FLOOR).longValue();
System.out.println(ans);
}
}
|
[
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,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
35,
8
],
[
35,
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
],
[
9,
32
],
[
32,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
]
] |
[
"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 BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n System.out.println(a.multiply(b).toBigInteger());\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 BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\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 = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n System.out.println(a.multiply(b).toBigInteger());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n BigDecimal a = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n System.out.println(a.multiply(b).toBigInteger());\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())",
"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 = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\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 = new BigDecimal(sc.next());\n BigDecimal b = new BigDecimal(sc.next());\n System.out.println(a.multiply(b).toBigInteger());\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());
System.out.println(a.multiply(b).toBigInteger());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
20,
23,
13,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
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,
2,
13,
17,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
13,
17,
29
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
6,
12
],
[
12,
13
],
[
0,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
18,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
29,
34
],
[
18,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
18,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
18,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
18,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
18,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
18,
71
]
] |
[
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n new Solver().run();\n }\n}\n\nclass Solver {\n\n public void run() {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n String[] B = sc.next().split(\"\\\\.\");\n\n int b1 = Integer.parseInt(B[0]);\n int b2 = Integer.parseInt(B[1]);\n //System.out.println(b1);\n //System.out.println(b2);\n\n int b = b1 * 100 + b2;\n long ans = A * b;\n System.out.println(ans/100);\n return;\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n new Solver().run();\n }\n}",
"Main",
"public static void main(String[] args) {\n new Solver().run();\n }",
"main",
"{\n new Solver().run();\n }",
"new Solver().run()",
"new Solver().run",
"new Solver()",
"String[] args",
"args",
"class Solver {\n\n public void run() {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n String[] B = sc.next().split(\"\\\\.\");\n\n int b1 = Integer.parseInt(B[0]);\n int b2 = Integer.parseInt(B[1]);\n //System.out.println(b1);\n //System.out.println(b2);\n\n int b = b1 * 100 + b2;\n long ans = A * b;\n System.out.println(ans/100);\n return;\n }\n\n}",
"Solver",
"public void run() {\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n String[] B = sc.next().split(\"\\\\.\");\n\n int b1 = Integer.parseInt(B[0]);\n int b2 = Integer.parseInt(B[1]);\n //System.out.println(b1);\n //System.out.println(b2);\n\n int b = b1 * 100 + b2;\n long ans = A * b;\n System.out.println(ans/100);\n return;\n }",
"run",
"{\n Scanner sc = new Scanner(System.in);\n long A = sc.nextLong();\n String[] B = sc.next().split(\"\\\\.\");\n\n int b1 = Integer.parseInt(B[0]);\n int b2 = Integer.parseInt(B[1]);\n //System.out.println(b1);\n //System.out.println(b2);\n\n int b = b1 * 100 + b2;\n long ans = A * b;\n System.out.println(ans/100);\n return;\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().split(\"\\\\.\");",
"B",
"sc.next().split(\"\\\\.\")",
"sc.next().split",
"sc.next()",
"sc.next",
"sc",
"\"\\\\.\"",
"int b1 = Integer.parseInt(B[0]);",
"b1",
"Integer.parseInt(B[0])",
"Integer.parseInt",
"Integer",
"B[0]",
"B",
"0",
"int b2 = Integer.parseInt(B[1]);",
"b2",
"Integer.parseInt(B[1])",
"Integer.parseInt",
"Integer",
"B[1]",
"B",
"1",
"int b = b1 * 100 + b2;",
"b",
"b1 * 100 + b2",
"b1 * 100",
"b1",
"100",
"b2",
"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",
"return;"
] |
import java.util.*;
class Main {
public static void main(String[] args) {
new Solver().run();
}
}
class Solver {
public void run() {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
String[] B = sc.next().split("\\.");
int b1 = Integer.parseInt(B[0]);
int b2 = Integer.parseInt(B[1]);
//System.out.println(b1);
//System.out.println(b2);
int b = b1 * 100 + b2;
long ans = A * b;
System.out.println(ans/100);
return;
}
}
|
[
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,
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
],
[
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
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
9,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"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 BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n\n BigDecimal result = a.multiply(b);\n\n System.out.println(result.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 BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n\n BigDecimal result = a.multiply(b);\n\n System.out.println(result.longValue());\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\n BigDecimal result = a.multiply(b);\n\n System.out.println(result.longValue());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n BigDecimal a = sc.nextBigDecimal();\n BigDecimal b = sc.nextBigDecimal();\n\n BigDecimal result = a.multiply(b);\n\n System.out.println(result.longValue());\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",
"BigDecimal result = a.multiply(b);",
"result",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"System.out.println(result.longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"result.longValue()",
"result.longValue",
"result",
"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\n BigDecimal result = a.multiply(b);\n\n System.out.println(result.longValue());\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\n BigDecimal result = a.multiply(b);\n\n System.out.println(result.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);
BigDecimal a = sc.nextBigDecimal();
BigDecimal b = sc.nextBigDecimal();
BigDecimal result = a.multiply(b);
System.out.println(result.longValue());
}
}
|
[
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,
4,
18,
13,
41,
13,
2,
2,
4,
18,
13,
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
],
[
52,
12
],
[
52,
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
],
[
15,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
32,
37
],
[
31,
38
],
[
15,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
13,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] |
[
"\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\t\n\t\tString str=sc.next();\n\t\tint b=(int)(Double.parseDouble(str)*100+0.01);\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\t\n\t\tString str=sc.next();\n\t\tint b=(int)(Double.parseDouble(str)*100+0.01);\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\t\n\t\tString str=sc.next();\n\t\tint b=(int)(Double.parseDouble(str)*100+0.01);\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\t\n\t\tString str=sc.next();\n\t\tint b=(int)(Double.parseDouble(str)*100+0.01);\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",
"String str=sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"int b=(int)(Double.parseDouble(str)*100+0.01);",
"b",
"(int)(Double.parseDouble(str)*100+0.01)",
"Double.parseDouble(str)*100",
"Double.parseDouble(str)",
"Double.parseDouble",
"Double",
"str",
"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\t\n\t\tString str=sc.next();\n\t\tint b=(int)(Double.parseDouble(str)*100+0.01);\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\t\n\t\tString str=sc.next();\n\t\tint b=(int)(Double.parseDouble(str)*100+0.01);\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();
String str=sc.next();
int b=(int)(Double.parseDouble(str)*100+0.01);
System.out.print((a*b)/100);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
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,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
4,
18,
13,
13,
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
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
449,
29
],
[
449,
30
],
[
30,
31
],
[
30,
32
],
[
449,
33
],
[
33,
34
],
[
33,
35
],
[
449,
36
],
[
36,
37
],
[
36,
38
],
[
449,
39
],
[
39,
40
],
[
39,
41
],
[
449,
42
],
[
42,
43
],
[
42,
44
],
[
449,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
47,
52
],
[
47,
53
],
[
53,
54
],
[
47,
55
],
[
47,
56
],
[
47,
57
],
[
57,
58
],
[
47,
59
],
[
59,
60
],
[
449,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
70,
71
],
[
63,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
81,
82
],
[
63,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
449,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
92,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
108,
109
],
[
103,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
118,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
112,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
103,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
139,
142
],
[
142,
143
],
[
103,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
148,
151
],
[
151,
152
],
[
103,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
103,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
163,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
169,
174
],
[
174,
175
],
[
174,
176
],
[
169,
177
],
[
177,
178
],
[
178,
179
],
[
169,
180
],
[
181,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
163,
190
],
[
190,
191
],
[
161,
192
],
[
192,
193
],
[
161,
194
],
[
194,
195
],
[
103,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
203,
208
],
[
208,
209
],
[
208,
210
],
[
203,
211
],
[
211,
212
],
[
212,
213
],
[
203,
214
],
[
215,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
220,
221
],
[
198,
222
],
[
222,
223
],
[
196,
224
],
[
224,
225
],
[
103,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
233,
238
],
[
238,
239
],
[
238,
240
],
[
233,
241
],
[
241,
242
],
[
242,
243
],
[
233,
244
],
[
245,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
246,
250
],
[
250,
251
],
[
251,
252
],
[
250,
253
],
[
253,
254
],
[
228,
255
],
[
255,
256
],
[
226,
257
],
[
257,
258
],
[
226,
259
],
[
259,
260
],
[
103,
261
],
[
261,
262
],
[
261,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
263,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
268,
273
],
[
273,
274
],
[
273,
275
],
[
268,
276
],
[
276,
277
],
[
277,
278
],
[
268,
279
],
[
280,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
281,
285
],
[
285,
286
],
[
263,
287
],
[
287,
288
],
[
261,
289
],
[
289,
290
],
[
103,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
298,
303
],
[
303,
304
],
[
303,
305
],
[
298,
306
],
[
306,
307
],
[
307,
308
],
[
298,
309
],
[
310,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
311,
315
],
[
315,
316
],
[
316,
317
],
[
315,
318
],
[
318,
319
],
[
293,
320
],
[
320,
321
],
[
291,
322
],
[
322,
323
],
[
291,
324
],
[
324,
325
],
[
0,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
328,
330
],
[
326,
331
],
[
331,
332
],
[
331,
333
],
[
326,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
336,
340
],
[
340,
341
],
[
340,
342
],
[
340,
343
],
[
344,
344
],
[
344,
345
],
[
345,
346
],
[
346,
347
],
[
345,
348
],
[
348,
349
],
[
349,
350
],
[
348,
351
],
[
336,
352
],
[
352,
353
],
[
353,
354
],
[
352,
355
],
[
336,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
334,
362
],
[
362,
363
],
[
326,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
367,
370
],
[
370,
371
],
[
371,
372
],
[
370,
373
],
[
366,
374
],
[
374,
375
],
[
374,
376
],
[
376,
377
],
[
377,
378
],
[
378,
379
],
[
364,
380
],
[
380,
381
],
[
326,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
385,
386
],
[
385,
387
],
[
384,
388
],
[
388,
389
],
[
388,
390
],
[
388,
391
],
[
392,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
393,
396
],
[
396,
397
],
[
397,
398
],
[
396,
399
],
[
384,
400
],
[
400,
401
],
[
401,
402
],
[
400,
403
],
[
384,
404
],
[
404,
405
],
[
404,
406
],
[
406,
407
],
[
407,
408
],
[
408,
409
],
[
382,
410
],
[
410,
411
],
[
326,
412
],
[
412,
413
],
[
412,
414
],
[
414,
415
],
[
415,
416
],
[
415,
417
],
[
414,
418
],
[
418,
419
],
[
418,
420
],
[
418,
421
],
[
422,
422
],
[
422,
423
],
[
423,
424
],
[
424,
425
],
[
423,
426
],
[
426,
427
],
[
427,
428
],
[
426,
429
],
[
414,
430
],
[
430,
431
],
[
431,
432
],
[
430,
433
],
[
414,
434
],
[
434,
435
],
[
434,
436
],
[
436,
437
],
[
437,
438
],
[
438,
439
],
[
412,
440
],
[
440,
441
],
[
326,
442
],
[
442,
443
],
[
442,
444
],
[
444,
445
],
[
445,
446
],
[
446,
447
],
[
0,
448
],
[
448,
449
],
[
448,
450
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.math.BigDecimal;\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 BigDecimal a = BigDecimal.valueOf(in.nextLong());\n BigDecimal b = BigDecimal.valueOf(Double.parseDouble(in.next()));\n out.println(a.multiply(b).longValue());\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.math.BigDecimal;",
"BigDecimal",
"java.math",
"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 BigDecimal a = BigDecimal.valueOf(in.nextLong());\n BigDecimal b = BigDecimal.valueOf(Double.parseDouble(in.next()));\n out.println(a.multiply(b).longValue());\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 BigDecimal a = BigDecimal.valueOf(in.nextLong());\n BigDecimal b = BigDecimal.valueOf(Double.parseDouble(in.next()));\n out.println(a.multiply(b).longValue());\n }",
"solve",
"{\n BigDecimal a = BigDecimal.valueOf(in.nextLong());\n BigDecimal b = BigDecimal.valueOf(Double.parseDouble(in.next()));\n out.println(a.multiply(b).longValue());\n }",
"BigDecimal a = BigDecimal.valueOf(in.nextLong());",
"a",
"BigDecimal.valueOf(in.nextLong())",
"BigDecimal.valueOf",
"BigDecimal",
"in.nextLong()",
"in.nextLong",
"in",
"BigDecimal b = BigDecimal.valueOf(Double.parseDouble(in.next()));",
"b",
"BigDecimal.valueOf(Double.parseDouble(in.next()))",
"BigDecimal.valueOf",
"BigDecimal",
"Double.parseDouble(in.next())",
"Double.parseDouble",
"Double",
"in.next()",
"in.next",
"in",
"out.println(a.multiply(b).longValue())",
"out.println",
"out",
"a.multiply(b).longValue()",
"a.multiply(b).longValue",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"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 BigDecimal a = BigDecimal.valueOf(in.nextLong());\n BigDecimal b = BigDecimal.valueOf(Double.parseDouble(in.next()));\n out.println(a.multiply(b).longValue());\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 BigDecimal a = BigDecimal.valueOf(in.nextLong());\n BigDecimal b = BigDecimal.valueOf(Double.parseDouble(in.next()));\n out.println(a.multiply(b).longValue());\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.math.BigDecimal;
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() {
BigDecimal a = BigDecimal.valueOf(in.nextLong());
BigDecimal b = BigDecimal.valueOf(Double.parseDouble(in.next()));
out.println(a.multiply(b).longValue());
}
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,
12,
13,
30,
4,
13,
23,
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,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
17,
18,
13,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
60,
8
],
[
60,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
9,
14
],
[
14,
15
],
[
60,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
18,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
18,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
18,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
18,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
49,
55
],
[
49,
56
],
[
56,
57
],
[
56,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] |
[
"import java.math.BigDecimal;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n exec();\n }\n\n static void exec() {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n double m = sc.nextDouble();\n\n BigDecimal b = BigDecimal.valueOf(n);\n BigDecimal c = BigDecimal.valueOf(m);\n System.out.println(b.multiply(c).setScale(0, BigDecimal.ROUND_DOWN));\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n exec();\n }\n\n static void exec() {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n double m = sc.nextDouble();\n\n BigDecimal b = BigDecimal.valueOf(n);\n BigDecimal c = BigDecimal.valueOf(m);\n System.out.println(b.multiply(c).setScale(0, BigDecimal.ROUND_DOWN));\n }\n}",
"Main",
"public static void main(String[] args) {\n exec();\n }",
"main",
"{\n exec();\n }",
"exec()",
"exec",
"String[] args",
"args",
"static void exec() {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n double m = sc.nextDouble();\n\n BigDecimal b = BigDecimal.valueOf(n);\n BigDecimal c = BigDecimal.valueOf(m);\n System.out.println(b.multiply(c).setScale(0, BigDecimal.ROUND_DOWN));\n }",
"exec",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n double m = sc.nextDouble();\n\n BigDecimal b = BigDecimal.valueOf(n);\n BigDecimal c = BigDecimal.valueOf(m);\n System.out.println(b.multiply(c).setScale(0, BigDecimal.ROUND_DOWN));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double m = sc.nextDouble();",
"m",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"BigDecimal b = BigDecimal.valueOf(n);",
"b",
"BigDecimal.valueOf(n)",
"BigDecimal.valueOf",
"BigDecimal",
"n",
"BigDecimal c = BigDecimal.valueOf(m);",
"c",
"BigDecimal.valueOf(m)",
"BigDecimal.valueOf",
"BigDecimal",
"m",
"System.out.println(b.multiply(c).setScale(0, BigDecimal.ROUND_DOWN))",
"System.out.println",
"System.out",
"System",
"System.out",
"b.multiply(c).setScale(0, BigDecimal.ROUND_DOWN)",
"b.multiply(c).setScale",
"b.multiply(c)",
"b.multiply",
"b",
"c",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"public class Main {\n\n public static void main(String[] args) {\n exec();\n }\n\n static void exec() {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n double m = sc.nextDouble();\n\n BigDecimal b = BigDecimal.valueOf(n);\n BigDecimal c = BigDecimal.valueOf(m);\n System.out.println(b.multiply(c).setScale(0, BigDecimal.ROUND_DOWN));\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n exec();\n }\n\n static void exec() {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n double m = sc.nextDouble();\n\n BigDecimal b = BigDecimal.valueOf(n);\n BigDecimal c = BigDecimal.valueOf(m);\n System.out.println(b.multiply(c).setScale(0, BigDecimal.ROUND_DOWN));\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String[] args) {
exec();
}
static void exec() {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
double m = sc.nextDouble();
BigDecimal b = BigDecimal.valueOf(n);
BigDecimal c = BigDecimal.valueOf(m);
System.out.println(b.multiply(c).setScale(0, BigDecimal.ROUND_DOWN));
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
2,
2,
2,
2,
4,
18,
18,
13,
17,
17,
17,
17,
2,
2,
4,
18,
18,
13,
17,
17,
17,
17,
2,
4,
18,
18,
13,
17,
17,
17,
4,
18,
13,
4,
18,
13,
2,
2,
13,
13,
17,
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
],
[
92,
11
],
[
92,
12
],
[
12,
13
],
[
92,
14
],
[
14,
15
],
[
92,
16
],
[
16,
17
],
[
92,
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
],
[
31,
32
],
[
32,
33
],
[
29,
34
],
[
20,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
20,
43
],
[
43,
44
],
[
43,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
48,
55
],
[
47,
56
],
[
46,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
58,
65
],
[
57,
66
],
[
46,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
67,
74
],
[
20,
75
],
[
75,
76
],
[
76,
77
],
[
20,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
20,
86
],
[
86,
87
],
[
87,
88
],
[
18,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\n\npublic class Main {\n\n static long n, m;\n static long ans;\n\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String[] in = br.readLine().split(\" \");\n n = Long.parseLong(in[0]);\n m = (in[1].charAt(0) - '0') * 100 + (in[1].charAt(2) - '0') * 10 + (in[1].charAt(3) - '0');\n\n br.close();\n\n out.println((m * n) / 100);\n\n out.flush();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"public class Main {\n\n static long n, m;\n static long ans;\n\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String[] in = br.readLine().split(\" \");\n n = Long.parseLong(in[0]);\n m = (in[1].charAt(0) - '0') * 100 + (in[1].charAt(2) - '0') * 10 + (in[1].charAt(3) - '0');\n\n br.close();\n\n out.println((m * n) / 100);\n\n out.flush();\n }\n}",
"Main",
"static long n",
"n",
"m;",
"m",
"static long ans;",
"ans",
"public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String[] in = br.readLine().split(\" \");\n n = Long.parseLong(in[0]);\n m = (in[1].charAt(0) - '0') * 100 + (in[1].charAt(2) - '0') * 10 + (in[1].charAt(3) - '0');\n\n br.close();\n\n out.println((m * n) / 100);\n\n out.flush();\n }",
"main",
"{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String[] in = br.readLine().split(\" \");\n n = Long.parseLong(in[0]);\n m = (in[1].charAt(0) - '0') * 100 + (in[1].charAt(2) - '0') * 10 + (in[1].charAt(3) - '0');\n\n br.close();\n\n out.println((m * n) / 100);\n\n out.flush();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"String[] in = br.readLine().split(\" \");",
"in",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"n = Long.parseLong(in[0])",
"n",
"Long.parseLong(in[0])",
"Long.parseLong",
"Long",
"in[0]",
"in",
"0",
"m = (in[1].charAt(0) - '0') * 100 + (in[1].charAt(2) - '0') * 10 + (in[1].charAt(3) - '0')",
"m",
"(in[1].charAt(0) - '0') * 100 + (in[1].charAt(2) - '0') * 10 + (in[1].charAt(3) - '0')",
"(in[1].charAt(0) - '0') * 100 + (in[1].charAt(2) - '0') * 10 + (in[1].charAt(3) - '0')",
"(in[1].charAt(0) - '0') * 100",
"(in[1].charAt(0) - '0')",
"in[1].charAt(0)",
"in[1].charAt",
"in[1]",
"in",
"1",
"0",
"'0'",
"100",
"(in[1].charAt(2) - '0') * 10",
"(in[1].charAt(2) - '0')",
"in[1].charAt(2)",
"in[1].charAt",
"in[1]",
"in",
"1",
"2",
"'0'",
"10",
"(in[1].charAt(3) - '0')",
"in[1].charAt(3)",
"in[1].charAt",
"in[1]",
"in",
"1",
"3",
"'0'",
"br.close()",
"br.close",
"br",
"out.println((m * n) / 100)",
"out.println",
"out",
"(m * n) / 100",
"(m * n)",
"m",
"n",
"100",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"public class Main {\n\n static long n, m;\n static long ans;\n\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String[] in = br.readLine().split(\" \");\n n = Long.parseLong(in[0]);\n m = (in[1].charAt(0) - '0') * 100 + (in[1].charAt(2) - '0') * 10 + (in[1].charAt(3) - '0');\n\n br.close();\n\n out.println((m * n) / 100);\n\n out.flush();\n }\n}",
"public class Main {\n\n static long n, m;\n static long ans;\n\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String[] in = br.readLine().split(\" \");\n n = Long.parseLong(in[0]);\n m = (in[1].charAt(0) - '0') * 100 + (in[1].charAt(2) - '0') * 10 + (in[1].charAt(3) - '0');\n\n br.close();\n\n out.println((m * n) / 100);\n\n out.flush();\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
public class Main {
static long n, m;
static long ans;
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
PrintWriter out = new PrintWriter(System.out);
String[] in = br.readLine().split(" ");
n = Long.parseLong(in[0]);
m = (in[1].charAt(0) - '0') * 100 + (in[1].charAt(2) - '0') * 10 + (in[1].charAt(3) - '0');
br.close();
out.println((m * n) / 100);
out.flush();
}
}
|
[
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,
2,
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
],
[
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
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
9,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\tlong a = sc.nextLong();\n\tdouble b = sc.nextDouble();\n\tlong c = (long)Math.round(b * 100);\n\tlong d = a * c;\n\tSystem.out.println(d / 100);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\tlong a = sc.nextLong();\n\tdouble b = sc.nextDouble();\n\tlong c = (long)Math.round(b * 100);\n\tlong d = a * c;\n\tSystem.out.println(d / 100);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\tlong a = sc.nextLong();\n\tdouble b = sc.nextDouble();\n\tlong c = (long)Math.round(b * 100);\n\tlong d = a * c;\n\tSystem.out.println(d / 100);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\tlong a = sc.nextLong();\n\tdouble b = sc.nextDouble();\n\tlong c = (long)Math.round(b * 100);\n\tlong d = a * c;\n\tSystem.out.println(d / 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 c = (long)Math.round(b * 100);",
"c",
"(long)Math.round(b * 100)",
"Math.round",
"Math",
"b * 100",
"b",
"100",
"long d = a * c;",
"d",
"a * c",
"a",
"c",
"System.out.println(d / 100)",
"System.out.println",
"System.out",
"System",
"System.out",
"d / 100",
"d",
"100",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\tlong a = sc.nextLong();\n\tdouble b = sc.nextDouble();\n\tlong c = (long)Math.round(b * 100);\n\tlong d = a * c;\n\tSystem.out.println(d / 100);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\tlong a = sc.nextLong();\n\tdouble b = sc.nextDouble();\n\tlong c = (long)Math.round(b * 100);\n\tlong d = a * c;\n\tSystem.out.println(d / 100);\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
double b = sc.nextDouble();
long c = (long)Math.round(b * 100);
long d = a * c;
System.out.println(d / 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,
4,
18,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
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
],
[
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
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
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.util.*;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n double A = sc.nextDouble();\n double B = sc.nextDouble();\n \n BigDecimal C = new BigDecimal(String.valueOf(A));\n BigDecimal D = new BigDecimal(String.valueOf(B));\n\t\tBigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));\n\n\t\tBigDecimal G = F.setScale(0, RoundingMode.DOWN);\n System.out.println(G);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n double A = sc.nextDouble();\n double B = sc.nextDouble();\n \n BigDecimal C = new BigDecimal(String.valueOf(A));\n BigDecimal D = new BigDecimal(String.valueOf(B));\n\t\tBigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));\n\n\t\tBigDecimal G = F.setScale(0, RoundingMode.DOWN);\n System.out.println(G);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n double A = sc.nextDouble();\n double B = sc.nextDouble();\n \n BigDecimal C = new BigDecimal(String.valueOf(A));\n BigDecimal D = new BigDecimal(String.valueOf(B));\n\t\tBigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));\n\n\t\tBigDecimal G = F.setScale(0, RoundingMode.DOWN);\n System.out.println(G);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n double A = sc.nextDouble();\n double B = sc.nextDouble();\n \n BigDecimal C = new BigDecimal(String.valueOf(A));\n BigDecimal D = new BigDecimal(String.valueOf(B));\n\t\tBigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));\n\n\t\tBigDecimal G = F.setScale(0, RoundingMode.DOWN);\n System.out.println(G);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double A = sc.nextDouble();",
"A",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double B = sc.nextDouble();",
"B",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"BigDecimal C = new BigDecimal(String.valueOf(A));",
"C",
"new BigDecimal(String.valueOf(A))",
"BigDecimal D = new BigDecimal(String.valueOf(B));",
"D",
"new BigDecimal(String.valueOf(B))",
"BigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));",
"F",
"new BigDecimal(String.valueOf(C.multiply(D)))",
"BigDecimal G = F.setScale(0, RoundingMode.DOWN);",
"G",
"F.setScale(0, RoundingMode.DOWN)",
"F.setScale",
"F",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"System.out.println(G)",
"System.out.println",
"System.out",
"System",
"System.out",
"G",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n double A = sc.nextDouble();\n double B = sc.nextDouble();\n \n BigDecimal C = new BigDecimal(String.valueOf(A));\n BigDecimal D = new BigDecimal(String.valueOf(B));\n\t\tBigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));\n\n\t\tBigDecimal G = F.setScale(0, RoundingMode.DOWN);\n System.out.println(G);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n double A = sc.nextDouble();\n double B = sc.nextDouble();\n \n BigDecimal C = new BigDecimal(String.valueOf(A));\n BigDecimal D = new BigDecimal(String.valueOf(B));\n\t\tBigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));\n\n\t\tBigDecimal G = F.setScale(0, RoundingMode.DOWN);\n System.out.println(G);\n }\n}",
"Main"
] |
import java.util.*;
import java.math.BigDecimal;
import java.math.RoundingMode;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
double A = sc.nextDouble();
double B = sc.nextDouble();
BigDecimal C = new BigDecimal(String.valueOf(A));
BigDecimal D = new BigDecimal(String.valueOf(B));
BigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));
BigDecimal G = F.setScale(0, RoundingMode.DOWN);
System.out.println(G);
}
}
|
[
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,
13,
13,
4,
18,
18,
13,
13,
2,
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
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
19,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.*;\npublic class Main {\n\tpublic 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.01);\n long ans = a * b;\n System.out.print(ans / 100);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic 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.01);\n long ans = a * b;\n System.out.print(ans / 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)(sc.nextDouble() * 100 + 0.01);\n long ans = a * b;\n System.out.print(ans / 100);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = (long)(sc.nextDouble() * 100 + 0.01);\n long ans = a * b;\n System.out.print(ans / 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)(sc.nextDouble() * 100 + 0.01);",
"b",
"(long)(sc.nextDouble() * 100 + 0.01)",
"sc.nextDouble() * 100",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"100",
"0.01",
"long ans = a * b;",
"ans",
"a * b",
"a",
"b",
"System.out.print(ans / 100)",
"System.out.print",
"System.out",
"System",
"System.out",
"ans / 100",
"ans",
"100",
"String[] args",
"args",
"public class Main {\n\tpublic 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.01);\n long ans = a * b;\n System.out.print(ans / 100);\n }\n}",
"public class Main {\n\tpublic 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.01);\n long ans = a * b;\n System.out.print(ans / 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();
long b = (long)(sc.nextDouble() * 100 + 0.01);
long ans = a * b;
System.out.print(ans / 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,
4,
18,
13,
41,
13,
17,
41,
13,
20,
4,
18,
13,
17,
41,
13,
20,
4,
18,
13,
17,
18,
13,
13,
0,
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
],
[
65,
11
],
[
65,
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
],
[
35,
36
],
[
34,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
14,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
14,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
12,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] |
[
"import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\n\npublic class Main {\n\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 ans = null;\n BigDecimal bda = new BigDecimal(a);\n bda.setScale(0);\n BigDecimal bdb = new BigDecimal(b);\n bdb.setScale(2, RoundingMode.DOWN);\n ans = bda.multiply(bdb);\n System.out.println(ans.longValue());\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 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 ans = null;\n BigDecimal bda = new BigDecimal(a);\n bda.setScale(0);\n BigDecimal bdb = new BigDecimal(b);\n bdb.setScale(2, RoundingMode.DOWN);\n ans = bda.multiply(bdb);\n System.out.println(ans.longValue());\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 ans = null;\n BigDecimal bda = new BigDecimal(a);\n bda.setScale(0);\n BigDecimal bdb = new BigDecimal(b);\n bdb.setScale(2, RoundingMode.DOWN);\n ans = bda.multiply(bdb);\n System.out.println(ans.longValue());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n\n BigDecimal ans = null;\n BigDecimal bda = new BigDecimal(a);\n bda.setScale(0);\n BigDecimal bdb = new BigDecimal(b);\n bdb.setScale(2, RoundingMode.DOWN);\n ans = bda.multiply(bdb);\n System.out.println(ans.longValue());\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 ans = null;",
"ans",
"null",
"BigDecimal bda = new BigDecimal(a);",
"bda",
"new BigDecimal(a)",
"bda.setScale(0)",
"bda.setScale",
"bda",
"0",
"BigDecimal bdb = new BigDecimal(b);",
"bdb",
"new BigDecimal(b)",
"bdb.setScale(2, RoundingMode.DOWN)",
"bdb.setScale",
"bdb",
"2",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"ans = bda.multiply(bdb)",
"ans",
"bda.multiply(bdb)",
"bda.multiply",
"bda",
"bdb",
"System.out.println(ans.longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"ans.longValue()",
"ans.longValue",
"ans",
"String[] args",
"args",
"public class Main {\n\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 ans = null;\n BigDecimal bda = new BigDecimal(a);\n bda.setScale(0);\n BigDecimal bdb = new BigDecimal(b);\n bdb.setScale(2, RoundingMode.DOWN);\n ans = bda.multiply(bdb);\n System.out.println(ans.longValue());\n }\n}",
"public class Main {\n\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 ans = null;\n BigDecimal bda = new BigDecimal(a);\n bda.setScale(0);\n BigDecimal bdb = new BigDecimal(b);\n bdb.setScale(2, RoundingMode.DOWN);\n ans = bda.multiply(bdb);\n System.out.println(ans.longValue());\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();
BigDecimal ans = null;
BigDecimal bda = new BigDecimal(a);
bda.setScale(0);
BigDecimal bdb = new BigDecimal(b);
bdb.setScale(2, RoundingMode.DOWN);
ans = bda.multiply(bdb);
System.out.println(ans.longValue());
}
}
|
[
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,
4,
18,
13,
4,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] |
[
"\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 String B = sc.next();\n int b_x = Integer.valueOf(B.substring(0, 1)), b_y = Integer.parseInt(B.substring(2));\n long a_x = A * b_x;\n long a_y = A * b_y / 100;\n System.out.println(a_x + a_y);\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 String B = sc.next();\n int b_x = Integer.valueOf(B.substring(0, 1)), b_y = Integer.parseInt(B.substring(2));\n long a_x = A * b_x;\n long a_y = A * b_y / 100;\n System.out.println(a_x + a_y);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final long A = sc.nextLong();\n String B = sc.next();\n int b_x = Integer.valueOf(B.substring(0, 1)), b_y = Integer.parseInt(B.substring(2));\n long a_x = A * b_x;\n long a_y = A * b_y / 100;\n System.out.println(a_x + a_y);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n final long A = sc.nextLong();\n String B = sc.next();\n int b_x = Integer.valueOf(B.substring(0, 1)), b_y = Integer.parseInt(B.substring(2));\n long a_x = A * b_x;\n long a_y = A * b_y / 100;\n System.out.println(a_x + a_y);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final long A = sc.nextLong();",
"A",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String B = sc.next();",
"B",
"sc.next()",
"sc.next",
"sc",
"int b_x = Integer.valueOf(B.substring(0, 1))",
"b_x",
"Integer.valueOf(B.substring(0, 1))",
"Integer.valueOf",
"Integer",
"B.substring(0, 1)",
"B.substring",
"B",
"0",
"1",
"b_y = Integer.parseInt(B.substring(2));",
"b_y",
"Integer.parseInt(B.substring(2))",
"Integer.parseInt",
"Integer",
"B.substring(2)",
"B.substring",
"B",
"2",
"long a_x = A * b_x;",
"a_x",
"A * b_x",
"A",
"b_x",
"long a_y = A * b_y / 100;",
"a_y",
"A * b_y / 100",
"A * b_y",
"A",
"b_y",
"100",
"System.out.println(a_x + a_y)",
"System.out.println",
"System.out",
"System",
"System.out",
"a_x + a_y",
"a_x",
"a_y",
"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 String B = sc.next();\n int b_x = Integer.valueOf(B.substring(0, 1)), b_y = Integer.parseInt(B.substring(2));\n long a_x = A * b_x;\n long a_y = A * b_y / 100;\n System.out.println(a_x + a_y);\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 String B = sc.next();\n int b_x = Integer.valueOf(B.substring(0, 1)), b_y = Integer.parseInt(B.substring(2));\n long a_x = A * b_x;\n long a_y = A * b_y / 100;\n System.out.println(a_x + a_y);\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();
String B = sc.next();
int b_x = Integer.valueOf(B.substring(0, 1)), b_y = Integer.parseInt(B.substring(2));
long a_x = A * b_x;
long a_y = A * b_y / 100;
System.out.println(a_x + a_y);
}
}
|
[
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,
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
],
[
44,
8
],
[
44,
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
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
13,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
39,
40
],
[
9,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\t\t\t\n\t\t\tBigDecimal s = scan.nextBigDecimal();\n\t\t\tBigDecimal k =scan.nextBigDecimal();\n\t\t\t\n\t\t\tBigDecimal C= s.multiply(k);\n\t\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t/*\n\t\t\tlong goukei = 0;\n\t\t\tint k = (int)(100.0*B);\n\t\t\tint a = k%10;//1\n\t\t\tk/=10;\n\t\t\tint b = k%10;//10\n\t\t\tk/=10;\n\t\t\tint c = k%10;//100\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tgoukei+=(long)c*A;\n\t\t\tlong x = A*(long)b/10;\n\t\t\tlong y = A*(long)a/100;\n\t\t\t\n\t\t\tgoukei+=x+y;\n\t\t\t*/\n\t\t\t\n\t\n\t\t\tSystem.out.println(C.longValue());\n\t\t\t//System.out.println();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t}\n\t\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 scan = new Scanner(System.in)){\n\t\t\t\n\t\t\tBigDecimal s = scan.nextBigDecimal();\n\t\t\tBigDecimal k =scan.nextBigDecimal();\n\t\t\t\n\t\t\tBigDecimal C= s.multiply(k);\n\t\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t/*\n\t\t\tlong goukei = 0;\n\t\t\tint k = (int)(100.0*B);\n\t\t\tint a = k%10;//1\n\t\t\tk/=10;\n\t\t\tint b = k%10;//10\n\t\t\tk/=10;\n\t\t\tint c = k%10;//100\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tgoukei+=(long)c*A;\n\t\t\tlong x = A*(long)b/10;\n\t\t\tlong y = A*(long)a/100;\n\t\t\t\n\t\t\tgoukei+=x+y;\n\t\t\t*/\n\t\t\t\n\t\n\t\t\tSystem.out.println(C.longValue());\n\t\t\t//System.out.println();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t}\n\t\t\n\n}",
"Main",
"public static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\t\t\t\n\t\t\tBigDecimal s = scan.nextBigDecimal();\n\t\t\tBigDecimal k =scan.nextBigDecimal();\n\t\t\t\n\t\t\tBigDecimal C= s.multiply(k);\n\t\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t/*\n\t\t\tlong goukei = 0;\n\t\t\tint k = (int)(100.0*B);\n\t\t\tint a = k%10;//1\n\t\t\tk/=10;\n\t\t\tint b = k%10;//10\n\t\t\tk/=10;\n\t\t\tint c = k%10;//100\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tgoukei+=(long)c*A;\n\t\t\tlong x = A*(long)b/10;\n\t\t\tlong y = A*(long)a/100;\n\t\t\t\n\t\t\tgoukei+=x+y;\n\t\t\t*/\n\t\t\t\n\t\n\t\t\tSystem.out.println(C.longValue());\n\t\t\t//System.out.println();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\t\t\t\n\t\t\tBigDecimal s = scan.nextBigDecimal();\n\t\t\tBigDecimal k =scan.nextBigDecimal();\n\t\t\t\n\t\t\tBigDecimal C= s.multiply(k);\n\t\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t/*\n\t\t\tlong goukei = 0;\n\t\t\tint k = (int)(100.0*B);\n\t\t\tint a = k%10;//1\n\t\t\tk/=10;\n\t\t\tint b = k%10;//10\n\t\t\tk/=10;\n\t\t\tint c = k%10;//100\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tgoukei+=(long)c*A;\n\t\t\tlong x = A*(long)b/10;\n\t\t\tlong y = A*(long)a/100;\n\t\t\t\n\t\t\tgoukei+=x+y;\n\t\t\t*/\n\t\t\t\n\t\n\t\t\tSystem.out.println(C.longValue());\n\t\t\t//System.out.println();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t}",
"try(Scanner scan = new Scanner(System.in)){\n\t\t\t\n\t\t\tBigDecimal s = scan.nextBigDecimal();\n\t\t\tBigDecimal k =scan.nextBigDecimal();\n\t\t\t\n\t\t\tBigDecimal C= s.multiply(k);\n\t\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t/*\n\t\t\tlong goukei = 0;\n\t\t\tint k = (int)(100.0*B);\n\t\t\tint a = k%10;//1\n\t\t\tk/=10;\n\t\t\tint b = k%10;//10\n\t\t\tk/=10;\n\t\t\tint c = k%10;//100\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tgoukei+=(long)c*A;\n\t\t\tlong x = A*(long)b/10;\n\t\t\tlong y = A*(long)a/100;\n\t\t\t\n\t\t\tgoukei+=x+y;\n\t\t\t*/\n\t\t\t\n\t\n\t\t\tSystem.out.println(C.longValue());\n\t\t\t//System.out.println();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}",
"{\n\t\t\t\n\t\t\tBigDecimal s = scan.nextBigDecimal();\n\t\t\tBigDecimal k =scan.nextBigDecimal();\n\t\t\t\n\t\t\tBigDecimal C= s.multiply(k);\n\t\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t/*\n\t\t\tlong goukei = 0;\n\t\t\tint k = (int)(100.0*B);\n\t\t\tint a = k%10;//1\n\t\t\tk/=10;\n\t\t\tint b = k%10;//10\n\t\t\tk/=10;\n\t\t\tint c = k%10;//100\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tgoukei+=(long)c*A;\n\t\t\tlong x = A*(long)b/10;\n\t\t\tlong y = A*(long)a/100;\n\t\t\t\n\t\t\tgoukei+=x+y;\n\t\t\t*/\n\t\t\t\n\t\n\t\t\tSystem.out.println(C.longValue());\n\t\t\t//System.out.println();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}",
"Scanner scan = new Scanner(System.in)",
"Scanner scan = new Scanner(System.in)",
"new Scanner(System.in)",
"BigDecimal s = scan.nextBigDecimal();",
"s",
"scan.nextBigDecimal()",
"scan.nextBigDecimal",
"scan",
"BigDecimal k =scan.nextBigDecimal();",
"k",
"scan.nextBigDecimal()",
"scan.nextBigDecimal",
"scan",
"BigDecimal C= s.multiply(k);",
"C",
"s.multiply(k)",
"s.multiply",
"s",
"k",
"System.out.println(C.longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"C.longValue()",
"C.longValue",
"C",
"String[]args",
"args",
"public class Main{\n\tpublic static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\t\t\t\n\t\t\tBigDecimal s = scan.nextBigDecimal();\n\t\t\tBigDecimal k =scan.nextBigDecimal();\n\t\t\t\n\t\t\tBigDecimal C= s.multiply(k);\n\t\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t/*\n\t\t\tlong goukei = 0;\n\t\t\tint k = (int)(100.0*B);\n\t\t\tint a = k%10;//1\n\t\t\tk/=10;\n\t\t\tint b = k%10;//10\n\t\t\tk/=10;\n\t\t\tint c = k%10;//100\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tgoukei+=(long)c*A;\n\t\t\tlong x = A*(long)b/10;\n\t\t\tlong y = A*(long)a/100;\n\t\t\t\n\t\t\tgoukei+=x+y;\n\t\t\t*/\n\t\t\t\n\t\n\t\t\tSystem.out.println(C.longValue());\n\t\t\t//System.out.println();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t}\n\t\t\n\n}",
"public class Main{\n\tpublic static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\t\t\t\n\t\t\tBigDecimal s = scan.nextBigDecimal();\n\t\t\tBigDecimal k =scan.nextBigDecimal();\n\t\t\t\n\t\t\tBigDecimal C= s.multiply(k);\n\t\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t/*\n\t\t\tlong goukei = 0;\n\t\t\tint k = (int)(100.0*B);\n\t\t\tint a = k%10;//1\n\t\t\tk/=10;\n\t\t\tint b = k%10;//10\n\t\t\tk/=10;\n\t\t\tint c = k%10;//100\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tgoukei+=(long)c*A;\n\t\t\tlong x = A*(long)b/10;\n\t\t\tlong y = A*(long)a/100;\n\t\t\t\n\t\t\tgoukei+=x+y;\n\t\t\t*/\n\t\t\t\n\t\n\t\t\tSystem.out.println(C.longValue());\n\t\t\t//System.out.println();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t}\n\t\t\n\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main{
public static void main(String[]args) {
try(Scanner scan = new Scanner(System.in)){
BigDecimal s = scan.nextBigDecimal();
BigDecimal k =scan.nextBigDecimal();
BigDecimal C= s.multiply(k);
/*
long goukei = 0;
int k = (int)(100.0*B);
int a = k%10;//1
k/=10;
int b = k%10;//10
k/=10;
int c = k%10;//100
goukei+=(long)c*A;
long x = A*(long)b/10;
long y = A*(long)a/100;
goukei+=x+y;
*/
System.out.println(C.longValue());
//System.out.println();
}
}
}
|
[
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,
13,
4,
18,
13,
4,
18,
13,
17,
17,
4,
18,
18,
13,
13,
2,
13,
17,
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
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
29,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
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 scan = new Scanner(System.in);\n\n long a = scan.nextLong();\n String b = scan.next();\n\n long sum = a * Integer.parseInt(b.replace(\".\", \"\"));\n System.out.println(sum / 100);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n\n long a = scan.nextLong();\n String b = scan.next();\n\n long sum = a * Integer.parseInt(b.replace(\".\", \"\"));\n System.out.println(sum / 100);\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n\n long a = scan.nextLong();\n String b = scan.next();\n\n long sum = a * Integer.parseInt(b.replace(\".\", \"\"));\n System.out.println(sum / 100);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n\n long a = scan.nextLong();\n String b = scan.next();\n\n long sum = a * Integer.parseInt(b.replace(\".\", \"\"));\n System.out.println(sum / 100);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long a = scan.nextLong();",
"a",
"scan.nextLong()",
"scan.nextLong",
"scan",
"String b = scan.next();",
"b",
"scan.next()",
"scan.next",
"scan",
"long sum = a * Integer.parseInt(b.replace(\".\", \"\"));",
"sum",
"a * Integer.parseInt(b.replace(\".\", \"\"))",
"a",
"Integer.parseInt(b.replace(\".\", \"\"))",
"Integer.parseInt",
"Integer",
"b.replace(\".\", \"\")",
"b.replace",
"b",
"\".\"",
"\"\"",
"System.out.println(sum / 100)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum / 100",
"sum",
"100",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n\n long a = scan.nextLong();\n String b = scan.next();\n\n long sum = a * Integer.parseInt(b.replace(\".\", \"\"));\n System.out.println(sum / 100);\n }\n}",
"public class Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n\n long a = scan.nextLong();\n String b = scan.next();\n\n long sum = a * Integer.parseInt(b.replace(\".\", \"\"));\n System.out.println(sum / 100);\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();
String b = scan.next();
long sum = a * Integer.parseInt(b.replace(".", ""));
System.out.println(sum / 100);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
4,
18,
13,
17,
41,
13,
13,
41,
13,
2,
2,
13,
13,
17,
41,
13,
13,
41,
13,
2,
2,
13,
13,
17,
41,
13,
13,
41,
13,
2,
2,
13,
2,
2,
2,
17,
13,
2,
17,
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
],
[
24,
25
],
[
22,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
11,
37
],
[
37,
38
],
[
37,
39
],
[
11,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
11,
47
],
[
47,
48
],
[
47,
49
],
[
11,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
52,
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.lang.*; \n\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n long A = scan.nextLong();\n double B = scan.nextDouble()+0.001;\n long x = (long)B;\n double B1 = (B-x)*10;\n long y = (long)B1;\n double B2 = (B1-y)*10;\n long z = (long)B2;\n\n long ans1 = (A*(100*x+10*y+z))/100;\n System.out.println(ans1);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n long A = scan.nextLong();\n double B = scan.nextDouble()+0.001;\n long x = (long)B;\n double B1 = (B-x)*10;\n long y = (long)B1;\n double B2 = (B1-y)*10;\n long z = (long)B2;\n\n long ans1 = (A*(100*x+10*y+z))/100;\n System.out.println(ans1);\n }\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n long A = scan.nextLong();\n double B = scan.nextDouble()+0.001;\n long x = (long)B;\n double B1 = (B-x)*10;\n long y = (long)B1;\n double B2 = (B1-y)*10;\n long z = (long)B2;\n\n long ans1 = (A*(100*x+10*y+z))/100;\n System.out.println(ans1);\n }",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n \n long A = scan.nextLong();\n double B = scan.nextDouble()+0.001;\n long x = (long)B;\n double B1 = (B-x)*10;\n long y = (long)B1;\n double B2 = (B1-y)*10;\n long z = (long)B2;\n\n long ans1 = (A*(100*x+10*y+z))/100;\n System.out.println(ans1);\n }",
"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()+0.001;",
"B",
"scan.nextDouble()+0.001",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"0.001",
"long x = (long)B;",
"x",
"(long)B",
"double B1 = (B-x)*10;",
"B1",
"(B-x)*10",
"(B-x)",
"B",
"x",
"10",
"long y = (long)B1;",
"y",
"(long)B1",
"double B2 = (B1-y)*10;",
"B2",
"(B1-y)*10",
"(B1-y)",
"B1",
"y",
"10",
"long z = (long)B2;",
"z",
"(long)B2",
"long ans1 = (A*(100*x+10*y+z))/100;",
"ans1",
"(A*(100*x+10*y+z))/100",
"(A*(100*x+10*y+z))",
"A",
"(100*x+10*y+z)",
"100*x+10*y+z",
"100*x",
"100",
"x",
"10*y",
"10",
"y",
"z",
"100",
"System.out.println(ans1)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans1",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n long A = scan.nextLong();\n double B = scan.nextDouble()+0.001;\n long x = (long)B;\n double B1 = (B-x)*10;\n long y = (long)B1;\n double B2 = (B1-y)*10;\n long z = (long)B2;\n\n long ans1 = (A*(100*x+10*y+z))/100;\n System.out.println(ans1);\n }\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n long A = scan.nextLong();\n double B = scan.nextDouble()+0.001;\n long x = (long)B;\n double B1 = (B-x)*10;\n long y = (long)B1;\n double B2 = (B1-y)*10;\n long z = (long)B2;\n\n long ans1 = (A*(100*x+10*y+z))/100;\n System.out.println(ans1);\n }\n}",
"Main"
] |
import java.util.*;
import java.lang.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
long A = scan.nextLong();
double B = scan.nextDouble()+0.001;
long x = (long)B;
double B1 = (B-x)*10;
long y = (long)B1;
double B2 = (B1-y)*10;
long z = (long)B2;
long ans1 = (A*(100*x+10*y+z))/100;
System.out.println(ans1);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
4,
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,
18,
13,
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
],
[
302,
14
],
[
302,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
15,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
45,
56
],
[
56,
57
],
[
56,
58
],
[
45,
59
],
[
59,
60
],
[
59,
61
],
[
45,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
65,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
76,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
72,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
95,
96
],
[
64,
97
],
[
97,
98
],
[
45,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
102,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
45,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
123,
125
],
[
115,
126
],
[
126,
127
],
[
45,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
138,
140
],
[
131,
141
],
[
141,
142
],
[
142,
143
],
[
130,
144
],
[
144,
145
],
[
145,
146
],
[
45,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
150,
154
],
[
154,
155
],
[
155,
156
],
[
149,
157
],
[
157,
158
],
[
157,
159
],
[
149,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
149,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
169,
172
],
[
168,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
149,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
45,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
184,
188
],
[
188,
189
],
[
189,
190
],
[
183,
191
],
[
191,
192
],
[
191,
193
],
[
183,
194
],
[
194,
195
],
[
194,
196
],
[
183,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
183,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
183,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
218
],
[
218,
219
],
[
218,
220
],
[
213,
221
],
[
221,
222
],
[
222,
223
],
[
183,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
232,
234
],
[
227,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
235,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
241,
243
],
[
227,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
245,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
244,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
256,
260
],
[
244,
261
],
[
261,
262
],
[
262,
263
],
[
226,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
45,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
270,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
279,
281
],
[
276,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
275,
287
],
[
287,
288
],
[
288,
289
],
[
270,
290
],
[
290,
291
],
[
45,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
296,
299
],
[
299,
300
],
[
0,
301
],
[
301,
302
],
[
301,
303
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.math.BigDecimal;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tlong a = sc.nextLong();\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tSystem.out.println(b.multiply(BigDecimal.valueOf(a)).toBigInteger());\n\t}\n}\n\n\nclass FastScanner {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] buffer = new byte[1024];\n\tprivate int ptr = 0;\n\tprivate int buflen = 0;\n\tprivate boolean hasNextByte() {\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int readByte() {\n\t\tif (hasNextByte()) {\n\t\t\treturn buffer[ptr++];\n\t\t} else {\n\t\t\treturn -1;\n\t\t}\n\t}\n\tprivate static boolean isPrintableChar(int c) {\n\t\treturn 33 <= c && c <= 126;\n\t}\n\tpublic boolean hasNext() {\n\t\twhile (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n\t\t\tptr++;\n\t\t}\n\t\treturn hasNextByte();\n\t}\n\tpublic String next() {\n\t\tif (!hasNext()) {\n\t\t\tthrow new NoSuchElementException();\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile (isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\tpublic long nextLong() {\n\t\tif (!hasNext()) {\n\t\t\tthrow new NoSuchElementException();\n\t\t}\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile (true) {\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t} else if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\tpublic int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || Integer.MAX_VALUE < nl) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\treturn (int) nl;\n\t}\n\tpublic double nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tlong a = sc.nextLong();\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tSystem.out.println(b.multiply(BigDecimal.valueOf(a)).toBigInteger());\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tlong a = sc.nextLong();\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tSystem.out.println(b.multiply(BigDecimal.valueOf(a)).toBigInteger());\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner();\n\t\tlong a = sc.nextLong();\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tSystem.out.println(b.multiply(BigDecimal.valueOf(a)).toBigInteger());\n\t}",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"BigDecimal b = new BigDecimal(sc.next());",
"b",
"new BigDecimal(sc.next())",
"System.out.println(b.multiply(BigDecimal.valueOf(a)).toBigInteger())",
"System.out.println",
"System.out",
"System",
"System.out",
"b.multiply(BigDecimal.valueOf(a)).toBigInteger()",
"b.multiply(BigDecimal.valueOf(a)).toBigInteger",
"b.multiply(BigDecimal.valueOf(a))",
"b.multiply",
"b",
"BigDecimal.valueOf(a)",
"BigDecimal.valueOf",
"BigDecimal",
"a",
"String[] args",
"args",
"class FastScanner {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] buffer = new byte[1024];\n\tprivate int ptr = 0;\n\tprivate int buflen = 0;\n\tprivate boolean hasNextByte() {\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int readByte() {\n\t\tif (hasNextByte()) {\n\t\t\treturn buffer[ptr++];\n\t\t} else {\n\t\t\treturn -1;\n\t\t}\n\t}\n\tprivate static boolean isPrintableChar(int c) {\n\t\treturn 33 <= c && c <= 126;\n\t}\n\tpublic boolean hasNext() {\n\t\twhile (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n\t\t\tptr++;\n\t\t}\n\t\treturn hasNextByte();\n\t}\n\tpublic String next() {\n\t\tif (!hasNext()) {\n\t\t\tthrow new NoSuchElementException();\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile (isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\tpublic long nextLong() {\n\t\tif (!hasNext()) {\n\t\t\tthrow new NoSuchElementException();\n\t\t}\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile (true) {\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t} else if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\tpublic int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || Integer.MAX_VALUE < nl) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\treturn (int) nl;\n\t}\n\tpublic double nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\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\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"hasNextByte",
"{\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"if (ptr < buflen) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"ptr < buflen",
"ptr",
"buflen",
"{\n\t\t\treturn true;\n\t\t}",
"return true;",
"true",
"{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"ptr = 0",
"ptr",
"0",
"try {\n\t\t\t\tbuflen = in.read(buffer);\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\tbuflen = in.read(buffer);\n\t\t\t}",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}",
"buflen <= 0",
"buflen",
"0",
"{\n\t\t\t\treturn false;\n\t\t\t}",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n\t\tif (hasNextByte()) {\n\t\t\treturn buffer[ptr++];\n\t\t} else {\n\t\t\treturn -1;\n\t\t}\n\t}",
"readByte",
"{\n\t\tif (hasNextByte()) {\n\t\t\treturn buffer[ptr++];\n\t\t} else {\n\t\t\treturn -1;\n\t\t}\n\t}",
"if (hasNextByte()) {\n\t\t\treturn buffer[ptr++];\n\t\t} else {\n\t\t\treturn -1;\n\t\t}",
"hasNextByte()",
"hasNextByte",
"{\n\t\t\treturn buffer[ptr++];\n\t\t}",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"{\n\t\t\treturn -1;\n\t\t}",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n\t\treturn 33 <= c && c <= 126;\n\t}",
"isPrintableChar",
"{\n\t\treturn 33 <= c && c <= 126;\n\t}",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() {\n\t\twhile (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n\t\t\tptr++;\n\t\t}\n\t\treturn hasNextByte();\n\t}",
"hasNext",
"{\n\t\twhile (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n\t\t\tptr++;\n\t\t}\n\t\treturn hasNextByte();\n\t}",
"while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n\t\t\tptr++;\n\t\t}",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"{\n\t\t\tptr++;\n\t\t}",
"ptr++",
"ptr",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n\t\tif (!hasNext()) {\n\t\t\tthrow new NoSuchElementException();\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile (isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}",
"next",
"{\n\t\tif (!hasNext()) {\n\t\t\tthrow new NoSuchElementException();\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile (isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}",
"if (!hasNext()) {\n\t\t\tthrow new NoSuchElementException();\n\t\t}",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n\t\t\tthrow new NoSuchElementException();\n\t\t}",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = 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\tif (!hasNext()) {\n\t\t\tthrow new NoSuchElementException();\n\t\t}\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile (true) {\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t} else if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}",
"nextLong",
"{\n\t\tif (!hasNext()) {\n\t\t\tthrow new NoSuchElementException();\n\t\t}\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile (true) {\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t} else if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}",
"if (!hasNext()) {\n\t\t\tthrow new NoSuchElementException();\n\t\t}",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n\t\t\tthrow new NoSuchElementException();\n\t\t}",
"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\tminus = true;\n\t\t\tb = readByte();\n\t\t}",
"b == '-'",
"b",
"'-'",
"{\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t} else if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}",
"true",
"{\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t} else if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}",
"if ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t} else if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || Integer.MAX_VALUE < nl) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\treturn (int) nl;\n\t}",
"nextInt",
"{\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || Integer.MAX_VALUE < nl) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\treturn (int) nl;\n\t}",
"long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || Integer.MAX_VALUE < nl) {\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"nl < Integer.MIN_VALUE || Integer.MAX_VALUE < nl",
"nl < Integer.MIN_VALUE",
"nl",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"Integer.MAX_VALUE < nl",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"nl",
"{\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public 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",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tlong a = sc.nextLong();\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tSystem.out.println(b.multiply(BigDecimal.valueOf(a)).toBigInteger());\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tlong a = sc.nextLong();\n\t\tBigDecimal b = new BigDecimal(sc.next());\n\t\tSystem.out.println(b.multiply(BigDecimal.valueOf(a)).toBigInteger());\n\t}\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner();
long a = sc.nextLong();
BigDecimal b = new BigDecimal(sc.next());
System.out.println(b.multiply(BigDecimal.valueOf(a)).toBigInteger());
}
}
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 || Integer.MAX_VALUE < nl) {
throw new NumberFormatException();
}
return (int) nl;
}
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,
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
],
[
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
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
24,
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.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\tfloat B = scan.nextFloat();\n\n\t\tlong ans = (A * ((long)(B * 100 + 0.5))) / 100;\n\n\t\tSystem.out.println(ans);\n\n\t}\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\tfloat B = scan.nextFloat();\n\n\t\tlong ans = (A * ((long)(B * 100 + 0.5))) / 100;\n\n\t\tSystem.out.println(ans);\n\n\t}\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\tfloat B = scan.nextFloat();\n\n\t\tlong ans = (A * ((long)(B * 100 + 0.5))) / 100;\n\n\t\tSystem.out.println(ans);\n\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong A = scan.nextLong();\n\t\tfloat B = scan.nextFloat();\n\n\t\tlong ans = (A * ((long)(B * 100 + 0.5))) / 100;\n\n\t\tSystem.out.println(ans);\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long A = scan.nextLong();",
"A",
"scan.nextLong()",
"scan.nextLong",
"scan",
"float B = scan.nextFloat();",
"B",
"scan.nextFloat()",
"scan.nextFloat",
"scan",
"long ans = (A * ((long)(B * 100 + 0.5))) / 100;",
"ans",
"(A * ((long)(B * 100 + 0.5))) / 100",
"(A * ((long)(B * 100 + 0.5)))",
"A",
"((long)(B * 100 + 0.5))",
"B * 100",
"B",
"100",
"0.5",
"100",
"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) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong A = scan.nextLong();\n\t\tfloat B = scan.nextFloat();\n\n\t\tlong ans = (A * ((long)(B * 100 + 0.5))) / 100;\n\n\t\tSystem.out.println(ans);\n\n\t}\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\tfloat B = scan.nextFloat();\n\n\t\tlong ans = (A * ((long)(B * 100 + 0.5))) / 100;\n\n\t\tSystem.out.println(ans);\n\n\t}\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();
float B = scan.nextFloat();
long ans = (A * ((long)(B * 100 + 0.5))) / 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,
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
],
[
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
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
22,
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.*;\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 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.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.valueOf(sc.next().replace(\".\", \"\"));\n long ans = a * b / 100;\n System.out.println(ans);\n sc.close();\n\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.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 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 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.util.*;
public class Main {
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,
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,
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,
6,
13,
12,
13,
23,
13,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
18,
36,
13,
20,
23,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
380,
35
],
[
380,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
38,
49
],
[
49,
50
],
[
49,
51
],
[
38,
52
],
[
52,
53
],
[
52,
54
],
[
38,
55
],
[
55,
56
],
[
55,
57
],
[
38,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
58,
63
],
[
38,
64
],
[
64,
65
],
[
65,
66
],
[
36,
67
],
[
67,
68
],
[
380,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
73,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
73,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
86,
90
],
[
73,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
73,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
71,
105
],
[
105,
106
],
[
71,
107
],
[
107,
108
],
[
71,
109
],
[
109,
110
],
[
380,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
111,
115
],
[
115,
116
],
[
115,
117
],
[
111,
119
],
[
119,
120
],
[
111,
121
],
[
121,
122
],
[
111,
123
],
[
123,
124
],
[
111,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
125,
133
],
[
133,
134
],
[
111,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
138,
143
],
[
143,
144
],
[
144,
145
],
[
137,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
154,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
150,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
137,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
111,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
182,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
182,
196
],
[
196,
197
],
[
196,
198
],
[
182,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
199,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
203,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
182,
212
],
[
212,
213
],
[
212,
214
],
[
182,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
215,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
226,
228
],
[
221,
229
],
[
229,
230
],
[
230,
231
],
[
220,
232
],
[
232,
233
],
[
232,
234
],
[
220,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
237,
239
],
[
220,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
182,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
111,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
250,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
255,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
250,
264
],
[
264,
265
],
[
264,
266
],
[
250,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
267,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
275,
276
],
[
274,
277
],
[
273,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
279,
282
],
[
272,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
250,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
111,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
294,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
300,
303
],
[
293,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
291,
308
],
[
308,
309
],
[
111,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
313,
314
],
[
317,
315
],
[
327,
316
],
[
324,
317
],
[
317,
318
],
[
318,
319
],
[
318,
320
],
[
317,
321
],
[
321,
322
],
[
321,
323
],
[
324,
324
],
[
324,
325
],
[
324,
326
],
[
327,
327
],
[
327,
328
],
[
327,
329
],
[
317,
330
],
[
330,
331
],
[
330,
332
],
[
332,
333
],
[
310,
334
],
[
334,
335
],
[
111,
336
],
[
336,
337
],
[
336,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
380,
342
],
[
342,
343
],
[
342,
344
],
[
344,
345
],
[
342,
346
],
[
346,
347
],
[
346,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
346,
352
],
[
352,
353
],
[
342,
354
],
[
354,
355
],
[
354,
356
],
[
356,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
357,
361
],
[
354,
362
],
[
362,
363
],
[
342,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
342,
370
],
[
370,
371
],
[
370,
372
],
[
372,
373
],
[
373,
374
],
[
374,
375
],
[
373,
376
],
[
370,
377
],
[
377,
378
],
[
0,
379
],
[
379,
380
],
[
379,
381
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.io.BufferedWriter;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author New User\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n 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 c, OutputWriter w) {\n long a = c.readLong();\n String ss = c.readString();\n ss = ss.replace(\".\", \"\");\n long kk = Long.parseLong(ss);\n w.printLine((a * kk) / 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 readLong() {\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 readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void printLine(long i) {\n writer.println(i);\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.io.Writer;",
"Writer",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n 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 c, OutputWriter w) {\n long a = c.readLong();\n String ss = c.readString();\n ss = ss.replace(\".\", \"\");\n long kk = Long.parseLong(ss);\n w.printLine((a * kk) / 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 readLong() {\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 readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void printLine(long i) {\n writer.println(i);\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n 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 OutputWriter out = new OutputWriter(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)",
"OutputWriter out = new OutputWriter(outputStream);",
"out",
"new OutputWriter(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 c, OutputWriter w) {\n long a = c.readLong();\n String ss = c.readString();\n ss = ss.replace(\".\", \"\");\n long kk = Long.parseLong(ss);\n w.printLine((a * kk) / 100);\n }\n\n }",
"CMultiplication3",
"public void solve(int testNumber, InputReader c, OutputWriter w) {\n long a = c.readLong();\n String ss = c.readString();\n ss = ss.replace(\".\", \"\");\n long kk = Long.parseLong(ss);\n w.printLine((a * kk) / 100);\n }",
"solve",
"{\n long a = c.readLong();\n String ss = c.readString();\n ss = ss.replace(\".\", \"\");\n long kk = Long.parseLong(ss);\n w.printLine((a * kk) / 100);\n }",
"long a = c.readLong();",
"a",
"c.readLong()",
"c.readLong",
"c",
"String ss = c.readString();",
"ss",
"c.readString()",
"c.readString",
"c",
"ss = ss.replace(\".\", \"\")",
"ss",
"ss.replace(\".\", \"\")",
"ss.replace",
"ss",
"\".\"",
"\"\"",
"long kk = Long.parseLong(ss);",
"kk",
"Long.parseLong(ss)",
"Long.parseLong",
"Long",
"ss",
"w.printLine((a * kk) / 100)",
"w.printLine",
"w",
"(a * kk) / 100",
"(a * kk)",
"a",
"kk",
"100",
"int testNumber",
"testNumber",
"InputReader c",
"c",
"OutputWriter 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 readLong() {\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 readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private InputReader.SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"if (numChars == -1) {\n throw new InputMismatchException();\n }",
"numChars == -1",
"numChars",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0) {\n return -1;\n }",
"numChars <= 0",
"numChars",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public long readLong() {\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 }",
"readLong",
"{\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 readString() {\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 }",
"readString",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n }",
"if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }",
"Character.isValidCodePoint(c)",
"Character.isValidCodePoint",
"Character",
"c",
"{\n res.appendCodePoint(c);\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"isSpaceChar",
"{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"if (filter != null) {\n return filter.isSpaceChar(c);\n }",
"filter != null",
"filter",
"null",
"{\n return filter.isSpaceChar(c);\n }",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return isWhitespace(c);",
"isWhitespace(c)",
"isWhitespace",
"c",
"int c",
"c",
"public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isWhitespace",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void printLine(long i) {\n writer.println(i);\n }\n\n }",
"OutputWriter",
"private final PrintWriter writer;",
"writer",
"public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"OutputWriter",
"{\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"writer",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"OutputStream outputStream",
"outputStream",
"public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }",
"OutputWriter",
"{\n this.writer = new PrintWriter(writer);\n }",
"this.writer = new PrintWriter(writer)",
"this.writer",
"this",
"this.writer",
"new PrintWriter(writer)",
"Writer writer",
"writer",
"public void close() {\n writer.close();\n }",
"close",
"{\n writer.close();\n }",
"writer.close()",
"writer.close",
"writer",
"public void printLine(long i) {\n writer.println(i);\n }",
"printLine",
"{\n writer.println(i);\n }",
"writer.println(i)",
"writer.println",
"writer",
"i",
"long i",
"i",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n 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 c, OutputWriter w) {\n long a = c.readLong();\n String ss = c.readString();\n ss = ss.replace(\".\", \"\");\n long kk = Long.parseLong(ss);\n w.printLine((a * kk) / 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 readLong() {\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 readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void printLine(long i) {\n writer.println(i);\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n 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 c, OutputWriter w) {\n long a = c.readLong();\n String ss = c.readString();\n ss = ss.replace(\".\", \"\");\n long kk = Long.parseLong(ss);\n w.printLine((a * kk) / 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 readLong() {\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 readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void printLine(long i) {\n writer.println(i);\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.BufferedWriter;
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author New User
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
OutputWriter out = new OutputWriter(outputStream);
CMultiplication3 solver = new CMultiplication3();
solver.solve(1, in, out);
out.close();
}
static class CMultiplication3 {
public void solve(int testNumber, InputReader c, OutputWriter w) {
long a = c.readLong();
String ss = c.readString();
ss = ss.replace(".", "");
long kk = Long.parseLong(ss);
w.printLine((a * kk) / 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 readLong() {
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 readString() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
StringBuilder res = new StringBuilder();
do {
if (Character.isValidCodePoint(c)) {
res.appendCodePoint(c);
}
c = read();
} while (!isSpaceChar(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
if (filter != null) {
return filter.isSpaceChar(c);
}
return isWhitespace(c);
}
public static boolean isWhitespace(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
static class OutputWriter {
private final PrintWriter writer;
public OutputWriter(OutputStream outputStream) {
writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));
}
public OutputWriter(Writer writer) {
this.writer = new PrintWriter(writer);
}
public void close() {
writer.close();
}
public void printLine(long i) {
writer.println(i);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
2,
2,
4,
18,
13,
18,
13,
17,
17,
4,
18,
13,
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
],
[
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
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
28,
35
],
[
27,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
"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 String[] s = sc.next().split(\"[.]\");\n\n long b = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);\n\n long result = (a * b) / 100;\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 long a = sc.nextLong();\n String[] s = sc.next().split(\"[.]\");\n\n long b = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);\n\n long result = (a * b) / 100;\n\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String[] s = sc.next().split(\"[.]\");\n\n long b = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);\n\n long result = (a * b) / 100;\n\n System.out.println(result);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String[] s = sc.next().split(\"[.]\");\n\n long b = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);\n\n long result = (a * b) / 100;\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[] s = sc.next().split(\"[.]\");",
"s",
"sc.next().split(\"[.]\")",
"sc.next().split",
"sc.next()",
"sc.next",
"sc",
"\"[.]\"",
"long b = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);",
"b",
"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",
"long result = (a * b) / 100;",
"result",
"(a * b) / 100",
"(a * b)",
"a",
"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){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String[] s = sc.next().split(\"[.]\");\n\n long b = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);\n\n long result = (a * b) / 100;\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 long a = sc.nextLong();\n String[] s = sc.next().split(\"[.]\");\n\n long b = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);\n\n long result = (a * b) / 100;\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[] s = sc.next().split("[.]");
long b = Integer.valueOf(s[0]) * 100 + Integer.valueOf(s[1]);
long result = (a * b) / 100;
System.out.println(result);
}
}
|
[
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,
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
],
[
45,
8
],
[
45,
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
],
[
29,
32
],
[
29,
33
],
[
33,
34
],
[
33,
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.*;\nimport java.math.BigDecimal;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal aActual = new BigDecimal(sc.next());\n BigDecimal bActual = new BigDecimal(sc.next());\n BigDecimal ansActual = aActual.multiply(bActual);\n BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);\n System.out.println(ans);\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 BigDecimal aActual = new BigDecimal(sc.next());\n BigDecimal bActual = new BigDecimal(sc.next());\n BigDecimal ansActual = aActual.multiply(bActual);\n BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal aActual = new BigDecimal(sc.next());\n BigDecimal bActual = new BigDecimal(sc.next());\n BigDecimal ansActual = aActual.multiply(bActual);\n BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n BigDecimal aActual = new BigDecimal(sc.next());\n BigDecimal bActual = new BigDecimal(sc.next());\n BigDecimal ansActual = aActual.multiply(bActual);\n BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal aActual = new BigDecimal(sc.next());",
"aActual",
"new BigDecimal(sc.next())",
"BigDecimal bActual = new BigDecimal(sc.next());",
"bActual",
"new BigDecimal(sc.next())",
"BigDecimal ansActual = aActual.multiply(bActual);",
"ansActual",
"aActual.multiply(bActual)",
"aActual.multiply",
"aActual",
"bActual",
"BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);",
"ans",
"ansActual.setScale(0, BigDecimal.ROUND_DOWN)",
"ansActual.setScale",
"ansActual",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"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 BigDecimal aActual = new BigDecimal(sc.next());\n BigDecimal bActual = new BigDecimal(sc.next());\n BigDecimal ansActual = aActual.multiply(bActual);\n BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);\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 BigDecimal aActual = new BigDecimal(sc.next());\n BigDecimal bActual = new BigDecimal(sc.next());\n BigDecimal ansActual = aActual.multiply(bActual);\n BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);\n System.out.println(ans);\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);
BigDecimal aActual = new BigDecimal(sc.next());
BigDecimal bActual = new BigDecimal(sc.next());
BigDecimal ansActual = aActual.multiply(bActual);
BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);
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,
13,
13,
0,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
58,
11
],
[
58,
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
],
[
36,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
12,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
" import java.math.BigDecimal;\n import java.math.RoundingMode;\n import java.util.Scanner;\n \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\t\n \t\t//BigDecialでdoubleから生成すると誤差が出るのでNG\n \t\t//使うときは\".valueOf()\"を使う\n \t\tString a = scan.next();\n \t\tString b = scan.next();\n \t\t\n \t\tBigDecimal a1 = new BigDecimal(a);\n \t\tBigDecimal b1 = new BigDecimal(b);\n \t\t\n \t\tBigDecimal answer = a1.multiply(b1);\n \t\t\n \t\t//小数点以下切り捨て\n \t\tanswer = answer.setScale(0, RoundingMode.DOWN);\t\n \t\t\n \t\t\n \t\tSystem.out.println(answer);\n \t\t\n \t\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 \t\t// TODO 自動生成されたメソッド・スタブ\n \n \t\tScanner scan = new Scanner(System.in);\n \t\t\n \t\t//BigDecialでdoubleから生成すると誤差が出るのでNG\n \t\t//使うときは\".valueOf()\"を使う\n \t\tString a = scan.next();\n \t\tString b = scan.next();\n \t\t\n \t\tBigDecimal a1 = new BigDecimal(a);\n \t\tBigDecimal b1 = new BigDecimal(b);\n \t\t\n \t\tBigDecimal answer = a1.multiply(b1);\n \t\t\n \t\t//小数点以下切り捨て\n \t\tanswer = answer.setScale(0, RoundingMode.DOWN);\t\n \t\t\n \t\t\n \t\tSystem.out.println(answer);\n \t\t\n \t\t}\n \n }",
"Main",
"public static void main(String[] args) {\n \t\t// TODO 自動生成されたメソッド・スタブ\n \n \t\tScanner scan = new Scanner(System.in);\n \t\t\n \t\t//BigDecialでdoubleから生成すると誤差が出るのでNG\n \t\t//使うときは\".valueOf()\"を使う\n \t\tString a = scan.next();\n \t\tString b = scan.next();\n \t\t\n \t\tBigDecimal a1 = new BigDecimal(a);\n \t\tBigDecimal b1 = new BigDecimal(b);\n \t\t\n \t\tBigDecimal answer = a1.multiply(b1);\n \t\t\n \t\t//小数点以下切り捨て\n \t\tanswer = answer.setScale(0, RoundingMode.DOWN);\t\n \t\t\n \t\t\n \t\tSystem.out.println(answer);\n \t\t\n \t\t}",
"main",
"{\n \t\t// TODO 自動生成されたメソッド・スタブ\n \n \t\tScanner scan = new Scanner(System.in);\n \t\t\n \t\t//BigDecialでdoubleから生成すると誤差が出るのでNG\n \t\t//使うときは\".valueOf()\"を使う\n \t\tString a = scan.next();\n \t\tString b = scan.next();\n \t\t\n \t\tBigDecimal a1 = new BigDecimal(a);\n \t\tBigDecimal b1 = new BigDecimal(b);\n \t\t\n \t\tBigDecimal answer = a1.multiply(b1);\n \t\t\n \t\t//小数点以下切り捨て\n \t\tanswer = answer.setScale(0, RoundingMode.DOWN);\t\n \t\t\n \t\t\n \t\tSystem.out.println(answer);\n \t\t\n \t\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String a = scan.next();",
"a",
"scan.next()",
"scan.next",
"scan",
"String b = scan.next();",
"b",
"scan.next()",
"scan.next",
"scan",
"BigDecimal a1 = new BigDecimal(a);",
"a1",
"new BigDecimal(a)",
"BigDecimal b1 = new BigDecimal(b);",
"b1",
"new BigDecimal(b)",
"BigDecimal answer = a1.multiply(b1);",
"answer",
"a1.multiply(b1)",
"a1.multiply",
"a1",
"b1",
"answer = answer.setScale(0, RoundingMode.DOWN)",
"answer",
"answer.setScale(0, RoundingMode.DOWN)",
"answer.setScale",
"answer",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"System.out.println(answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"answer",
"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\t\n \t\t//BigDecialでdoubleから生成すると誤差が出るのでNG\n \t\t//使うときは\".valueOf()\"を使う\n \t\tString a = scan.next();\n \t\tString b = scan.next();\n \t\t\n \t\tBigDecimal a1 = new BigDecimal(a);\n \t\tBigDecimal b1 = new BigDecimal(b);\n \t\t\n \t\tBigDecimal answer = a1.multiply(b1);\n \t\t\n \t\t//小数点以下切り捨て\n \t\tanswer = answer.setScale(0, RoundingMode.DOWN);\t\n \t\t\n \t\t\n \t\tSystem.out.println(answer);\n \t\t\n \t\t}\n \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\t\n \t\t//BigDecialでdoubleから生成すると誤差が出るのでNG\n \t\t//使うときは\".valueOf()\"を使う\n \t\tString a = scan.next();\n \t\tString b = scan.next();\n \t\t\n \t\tBigDecimal a1 = new BigDecimal(a);\n \t\tBigDecimal b1 = new BigDecimal(b);\n \t\t\n \t\tBigDecimal answer = a1.multiply(b1);\n \t\t\n \t\t//小数点以下切り捨て\n \t\tanswer = answer.setScale(0, RoundingMode.DOWN);\t\n \t\t\n \t\t\n \t\tSystem.out.println(answer);\n \t\t\n \t\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) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan = new Scanner(System.in);
//BigDecialでdoubleから生成すると誤差が出るのでNG
//使うときは".valueOf()"を使う
String a = scan.next();
String b = scan.next();
BigDecimal a1 = new BigDecimal(a);
BigDecimal b1 = new BigDecimal(b);
BigDecimal answer = a1.multiply(b1);
//小数点以下切り捨て
answer = answer.setScale(0, RoundingMode.DOWN);
System.out.println(answer);
}
}
|
[
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,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
54,
17
],
[
54,
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
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
20,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
18,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] |
[
"import java.util.*;\nimport java.io.*;\nimport static java.lang.Math.*;\nimport java.math.BigInteger;\nimport java.math.BigDecimal;\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\tBigDecimal A = new BigDecimal(a);\n\t\tBigDecimal B = new BigDecimal(b);\n\t\t\n\t\t// 計算\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(A.multiply(B).toBigInteger());\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.*;",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.math.BigDecimal;",
"BigDecimal",
"java.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\tBigDecimal A = new BigDecimal(a);\n\t\tBigDecimal B = new BigDecimal(b);\n\t\t\n\t\t// 計算\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(A.multiply(B).toBigInteger());\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\tBigDecimal A = new BigDecimal(a);\n\t\tBigDecimal B = new BigDecimal(b);\n\t\t\n\t\t// 計算\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(A.multiply(B).toBigInteger());\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\tBigDecimal A = new BigDecimal(a);\n\t\tBigDecimal B = new BigDecimal(b);\n\t\t\n\t\t// 計算\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(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",
"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) 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\tBigDecimal A = new BigDecimal(a);\n\t\tBigDecimal B = new BigDecimal(b);\n\t\t\n\t\t// 計算\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(A.multiply(B).toBigInteger());\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\tBigDecimal A = new BigDecimal(a);\n\t\tBigDecimal B = new BigDecimal(b);\n\t\t\n\t\t// 計算\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(A.multiply(B).toBigInteger());\n\t}\n\n}",
"Main"
] |
import java.util.*;
import java.io.*;
import static java.lang.Math.*;
import java.math.BigInteger;
import java.math.BigDecimal;
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();
BigDecimal A = new BigDecimal(a);
BigDecimal B = new BigDecimal(b);
// 計算
// 出力
System.out.println(A.multiply(B).toBigInteger());
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
18,
4,
13,
41,
13,
17,
41,
13,
17,
28,
13,
13,
30,
30,
14,
2,
13,
17,
30,
0,
13,
2,
4,
18,
13,
13,
4,
18,
13,
17,
13,
40,
13,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
17,
14,
2,
13,
17,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
41,
13,
17,
42,
13,
30,
4,
13,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
17,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
4,
18,
18,
13,
13,
17,
30,
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,
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,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
259,
11
],
[
259,
12
],
[
12,
13
],
[
259,
14
],
[
14,
15
],
[
14,
16
],
[
259,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
30,
32
],
[
19,
33
],
[
33,
34
],
[
33,
35
],
[
19,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
48,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
53,
57
],
[
45,
58
],
[
58,
59
],
[
19,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
259,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
72,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
87,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
72,
97
],
[
97,
98
],
[
97,
99
],
[
72,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
105,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
111,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
117,
121
],
[
116,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
122,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
116,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
70,
136
],
[
136,
137
],
[
259,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
141,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
151,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
140,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
259,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
169,
172
],
[
172,
173
],
[
259,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
181,
182
],
[
259,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
187,
190
],
[
190,
191
],
[
259,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
199,
204
],
[
204,
205
],
[
204,
206
],
[
199,
207
],
[
207,
208
],
[
208,
209
],
[
199,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
211,
215
],
[
215,
216
],
[
194,
217
],
[
217,
218
],
[
192,
219
],
[
219,
220
],
[
259,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
259,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
236
],
[
236,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
236,
241
],
[
241,
242
],
[
241,
243
],
[
236,
244
],
[
244,
245
],
[
245,
246
],
[
236,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
248,
252
],
[
252,
253
],
[
231,
254
],
[
254,
255
],
[
229,
256
],
[
256,
257
],
[
0,
258
],
[
258,
259
],
[
258,
260
]
] |
[
"import java.util.*;\nimport java.io.*;\nimport java.math.BigInteger;\n\npublic class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tlong A = nl();\n\t\tchar[] Bca = next().toCharArray();\n\t\tlong B = 0;\n\t\tint dig = 2;\n\t\tfor(char c:Bca) {\n\t\t\tif(c != '.') {\n\t\t\t\tB += (long)Character.getNumericValue(c) * (long)Math.pow(10, dig);\n\t\t\t\tdig--;\n\t\t\t}\n\t\t}\n//\t\tSystem.out.println(B);\n//\t\tSystem.out.println(A * B);\n\t\tSystem.out.println(A*B/100L);\n\t}\n\t\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tlong A = nl();\n\t\tchar[] Bca = next().toCharArray();\n\t\tlong B = 0;\n\t\tint dig = 2;\n\t\tfor(char c:Bca) {\n\t\t\tif(c != '.') {\n\t\t\t\tB += (long)Character.getNumericValue(c) * (long)Math.pow(10, dig);\n\t\t\t\tdig--;\n\t\t\t}\n\t\t}\n//\t\tSystem.out.println(B);\n//\t\tSystem.out.println(A * B);\n\t\tSystem.out.println(A*B/100L);\n\t}\n\t\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"Main",
"//Switch input source (stdin/file)\n\tprivate static BufferedReader br;",
"br",
"//Input read utility\n\tprivate static StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"private static void solve(){\n\t\t//Implement solution here.\n\t\tlong A = nl();\n\t\tchar[] Bca = next().toCharArray();\n\t\tlong B = 0;\n\t\tint dig = 2;\n\t\tfor(char c:Bca) {\n\t\t\tif(c != '.') {\n\t\t\t\tB += (long)Character.getNumericValue(c) * (long)Math.pow(10, dig);\n\t\t\t\tdig--;\n\t\t\t}\n\t\t}\n//\t\tSystem.out.println(B);\n//\t\tSystem.out.println(A * B);\n\t\tSystem.out.println(A*B/100L);\n\t}",
"solve",
"{\n\t\t//Implement solution here.\n\t\tlong A = nl();\n\t\tchar[] Bca = next().toCharArray();\n\t\tlong B = 0;\n\t\tint dig = 2;\n\t\tfor(char c:Bca) {\n\t\t\tif(c != '.') {\n\t\t\t\tB += (long)Character.getNumericValue(c) * (long)Math.pow(10, dig);\n\t\t\t\tdig--;\n\t\t\t}\n\t\t}\n//\t\tSystem.out.println(B);\n//\t\tSystem.out.println(A * B);\n\t\tSystem.out.println(A*B/100L);\n\t}",
"long A = nl();",
"A",
"nl()",
"nl",
"char[] Bca = next().toCharArray();",
"Bca",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"long B = 0;",
"B",
"0",
"int dig = 2;",
"dig",
"2",
"for(char c:Bca) {\n\t\t\tif(c != '.') {\n\t\t\t\tB += (long)Character.getNumericValue(c) * (long)Math.pow(10, dig);\n\t\t\t\tdig--;\n\t\t\t}\n\t\t}",
"char c",
"Bca",
"{\n\t\t\tif(c != '.') {\n\t\t\t\tB += (long)Character.getNumericValue(c) * (long)Math.pow(10, dig);\n\t\t\t\tdig--;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(c != '.') {\n\t\t\t\tB += (long)Character.getNumericValue(c) * (long)Math.pow(10, dig);\n\t\t\t\tdig--;\n\t\t\t}\n\t\t}",
"if(c != '.') {\n\t\t\t\tB += (long)Character.getNumericValue(c) * (long)Math.pow(10, dig);\n\t\t\t\tdig--;\n\t\t\t}",
"c != '.'",
"c",
"'.'",
"{\n\t\t\t\tB += (long)Character.getNumericValue(c) * (long)Math.pow(10, dig);\n\t\t\t\tdig--;\n\t\t\t}",
"B += (long)Character.getNumericValue(c) * (long)Math.pow(10, dig)",
"B",
"(long)Character.getNumericValue(c) * (long)Math.pow(10, dig)",
"(long)Character.getNumericValue(c)",
"Character.getNumericValue",
"Character",
"c",
"(long)Math.pow(10, dig)",
"Math.pow",
"Math",
"10",
"dig",
"dig--",
"dig",
"System.out.println(A*B/100L)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*B/100L",
"A*B",
"A",
"B",
"100L",
"public static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}",
"main",
"{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String debugDataPath = System.getenv(\"DD_PATH\");",
"debugDataPath",
"System.getenv(\"DD_PATH\")",
"System.getenv",
"System",
"\"DD_PATH\"",
"if(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"debugDataPath != null",
"debugDataPath",
"null",
"{\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"try{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}",
"br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))",
"br",
"new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))",
"boolean hasNext = true;",
"hasNext",
"true",
"while(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}",
"hasNext",
"{\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}",
"solve()",
"solve",
"try{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}",
"br.mark(1)",
"br.mark",
"br",
"1",
"if(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}",
"br.read() > 0",
"br.read()",
"br.read",
"br",
"0",
"{\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t}",
"br.reset()",
"br.reset",
"br",
"System.out.println(\"---\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"---\"",
"{\n\t\t\t\t\thasNext = false;\n\t\t\t\t}",
"hasNext = false",
"hasNext",
"false",
"String[] args",
"args",
"public static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}",
"next",
"{\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t}",
"tokenizer = new StringTokenizer(br.readLine())",
"tokenizer",
"new StringTokenizer(br.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}",
"ni",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}",
"nl",
"{\n\t\treturn Long.parseLong(next());\n\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}",
"nd",
"{\n\t\treturn Double.parseDouble(next());\n\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"na",
"{\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = ni();",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}",
"ns",
"{\n\t\treturn next().toCharArray();\n\t}",
"return next().toCharArray();",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"nal",
"{\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nl();",
"a[i] = nl()",
"a[i]",
"a",
"i",
"nl()",
"nl",
"return a;",
"a",
"int n",
"n",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tlong A = nl();\n\t\tchar[] Bca = next().toCharArray();\n\t\tlong B = 0;\n\t\tint dig = 2;\n\t\tfor(char c:Bca) {\n\t\t\tif(c != '.') {\n\t\t\t\tB += (long)Character.getNumericValue(c) * (long)Math.pow(10, dig);\n\t\t\t\tdig--;\n\t\t\t}\n\t\t}\n//\t\tSystem.out.println(B);\n//\t\tSystem.out.println(A * B);\n\t\tSystem.out.println(A*B/100L);\n\t}\n\t\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tlong A = nl();\n\t\tchar[] Bca = next().toCharArray();\n\t\tlong B = 0;\n\t\tint dig = 2;\n\t\tfor(char c:Bca) {\n\t\t\tif(c != '.') {\n\t\t\t\tB += (long)Character.getNumericValue(c) * (long)Math.pow(10, dig);\n\t\t\t\tdig--;\n\t\t\t}\n\t\t}\n//\t\tSystem.out.println(B);\n//\t\tSystem.out.println(A * B);\n\t\tSystem.out.println(A*B/100L);\n\t}\n\t\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"Main"
] |
import java.util.*;
import java.io.*;
import java.math.BigInteger;
public class Main {
private static void solve(){
//Implement solution here.
long A = nl();
char[] Bca = next().toCharArray();
long B = 0;
int dig = 2;
for(char c:Bca) {
if(c != '.') {
B += (long)Character.getNumericValue(c) * (long)Math.pow(10, dig);
dig--;
}
}
// System.out.println(B);
// System.out.println(A * B);
System.out.println(A*B/100L);
}
//Switch input source (stdin/file)
private static BufferedReader br;
public static void main(String[] args){
br = new BufferedReader(new InputStreamReader(System.in));
String debugDataPath = System.getenv("DD_PATH");
if(debugDataPath != null){
try{
br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));
}catch(Exception e){
throw new RuntimeException(e);
}
}
boolean hasNext = true;
while(hasNext){
solve();
try{
br.mark(1);
if(br.read() > 0){
br.reset();
System.out.println("---");
} else {
hasNext = false;
}
}catch(Exception e){
throw new RuntimeException(e);
}
}
}
//Input read utility
private static StringTokenizer tokenizer = null;
public static String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(br.readLine());
} catch (Exception e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
//Get next single int
private static int ni() {
return Integer.parseInt(next());
}
//Get next single long
private static long nl() {
return Long.parseLong(next());
}
//Get next single double
private static double nd() {
return Double.parseDouble(next());
}
//Get next int array from one line
private static int[] na(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = ni();
return a;
}
//Get next char array from one line
private static char[] ns() {
return next().toCharArray();
}
//Get next long array from one line
private static long[] nal(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nl();
return a;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
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,
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
],
[
65,
8
],
[
65,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
11,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
11,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
9,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long a;\n double b;\n\n a = scanner.nextLong();\n b = scanner.nextDouble();\n\n BigDecimal bigA = BigDecimal.valueOf(a);\n BigDecimal bigB = BigDecimal.valueOf(b);\n\n BigDecimal bigResult = bigA.multiply(bigB);\n\n BigDecimal roundBigResult = bigResult.setScale(0, BigDecimal.ROUND_DOWN);\n\n System.out.print(roundBigResult);\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 scanner = new Scanner(System.in);\n\n long a;\n double b;\n\n a = scanner.nextLong();\n b = scanner.nextDouble();\n\n BigDecimal bigA = BigDecimal.valueOf(a);\n BigDecimal bigB = BigDecimal.valueOf(b);\n\n BigDecimal bigResult = bigA.multiply(bigB);\n\n BigDecimal roundBigResult = bigResult.setScale(0, BigDecimal.ROUND_DOWN);\n\n System.out.print(roundBigResult);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long a;\n double b;\n\n a = scanner.nextLong();\n b = scanner.nextDouble();\n\n BigDecimal bigA = BigDecimal.valueOf(a);\n BigDecimal bigB = BigDecimal.valueOf(b);\n\n BigDecimal bigResult = bigA.multiply(bigB);\n\n BigDecimal roundBigResult = bigResult.setScale(0, BigDecimal.ROUND_DOWN);\n\n System.out.print(roundBigResult);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n long a;\n double b;\n\n a = scanner.nextLong();\n b = scanner.nextDouble();\n\n BigDecimal bigA = BigDecimal.valueOf(a);\n BigDecimal bigB = BigDecimal.valueOf(b);\n\n BigDecimal bigResult = bigA.multiply(bigB);\n\n BigDecimal roundBigResult = bigResult.setScale(0, BigDecimal.ROUND_DOWN);\n\n System.out.print(roundBigResult);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long a;",
"a",
"double b;",
"b",
"a = scanner.nextLong()",
"a",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"b = scanner.nextDouble()",
"b",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"BigDecimal bigA = BigDecimal.valueOf(a);",
"bigA",
"BigDecimal.valueOf(a)",
"BigDecimal.valueOf",
"BigDecimal",
"a",
"BigDecimal bigB = BigDecimal.valueOf(b);",
"bigB",
"BigDecimal.valueOf(b)",
"BigDecimal.valueOf",
"BigDecimal",
"b",
"BigDecimal bigResult = bigA.multiply(bigB);",
"bigResult",
"bigA.multiply(bigB)",
"bigA.multiply",
"bigA",
"bigB",
"BigDecimal roundBigResult = bigResult.setScale(0, BigDecimal.ROUND_DOWN);",
"roundBigResult",
"bigResult.setScale(0, BigDecimal.ROUND_DOWN)",
"bigResult.setScale",
"bigResult",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"System.out.print(roundBigResult)",
"System.out.print",
"System.out",
"System",
"System.out",
"roundBigResult",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long a;\n double b;\n\n a = scanner.nextLong();\n b = scanner.nextDouble();\n\n BigDecimal bigA = BigDecimal.valueOf(a);\n BigDecimal bigB = BigDecimal.valueOf(b);\n\n BigDecimal bigResult = bigA.multiply(bigB);\n\n BigDecimal roundBigResult = bigResult.setScale(0, BigDecimal.ROUND_DOWN);\n\n System.out.print(roundBigResult);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long a;\n double b;\n\n a = scanner.nextLong();\n b = scanner.nextDouble();\n\n BigDecimal bigA = BigDecimal.valueOf(a);\n BigDecimal bigB = BigDecimal.valueOf(b);\n\n BigDecimal bigResult = bigA.multiply(bigB);\n\n BigDecimal roundBigResult = bigResult.setScale(0, BigDecimal.ROUND_DOWN);\n\n System.out.print(roundBigResult);\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);
long a;
double b;
a = scanner.nextLong();
b = scanner.nextDouble();
BigDecimal bigA = BigDecimal.valueOf(a);
BigDecimal bigB = BigDecimal.valueOf(b);
BigDecimal bigResult = bigA.multiply(bigB);
BigDecimal roundBigResult = bigResult.setScale(0, BigDecimal.ROUND_DOWN);
System.out.print(roundBigResult);
}
}
|
[
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.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n \n BigDecimal A = new BigDecimal(in.next());\n BigDecimal B = new BigDecimal(in.next());\n\t\tBigDecimal a = A.multiply(B);\n long answer = a.longValue();\n System.out.println(answer);\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\t\tScanner in = new Scanner(System.in);\n \n BigDecimal A = new BigDecimal(in.next());\n BigDecimal B = new BigDecimal(in.next());\n\t\tBigDecimal a = A.multiply(B);\n long answer = a.longValue();\n System.out.println(answer);\n }\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n \n BigDecimal A = new BigDecimal(in.next());\n BigDecimal B = new BigDecimal(in.next());\n\t\tBigDecimal a = A.multiply(B);\n long answer = a.longValue();\n System.out.println(answer);\n }",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n \n BigDecimal A = new BigDecimal(in.next());\n BigDecimal B = new BigDecimal(in.next());\n\t\tBigDecimal a = A.multiply(B);\n long answer = a.longValue();\n System.out.println(answer);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"BigDecimal A = new BigDecimal(in.next());",
"A",
"new BigDecimal(in.next())",
"BigDecimal B = new BigDecimal(in.next());",
"B",
"new BigDecimal(in.next())",
"BigDecimal a = A.multiply(B);",
"a",
"A.multiply(B)",
"A.multiply",
"A",
"B",
"long answer = a.longValue();",
"answer",
"a.longValue()",
"a.longValue",
"a",
"System.out.println(answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"answer",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n \n BigDecimal A = new BigDecimal(in.next());\n BigDecimal B = new BigDecimal(in.next());\n\t\tBigDecimal a = A.multiply(B);\n long answer = a.longValue();\n System.out.println(answer);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n \n BigDecimal A = new BigDecimal(in.next());\n BigDecimal B = new BigDecimal(in.next());\n\t\tBigDecimal a = A.multiply(B);\n long answer = a.longValue();\n System.out.println(answer);\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
BigDecimal A = new BigDecimal(in.next());
BigDecimal B = new BigDecimal(in.next());
BigDecimal a = A.multiply(B);
long answer = a.longValue();
System.out.println(answer);
}
}
|
[
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,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
13,
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
],
[
57,
5
],
[
57,
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
],
[
25,
28
],
[
25,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
30,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] |
[
"import java.util.*;\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 b = sc.next();\n String s = b.substring(0,1)+b.substring(2,4);\n int c = Integer.parseInt(s);\n long d = a*c;\n\t\tSystem.out.println(d/100);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tString b = sc.next();\n String s = b.substring(0,1)+b.substring(2,4);\n int c = Integer.parseInt(s);\n long d = a*c;\n\t\tSystem.out.println(d/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 String s = b.substring(0,1)+b.substring(2,4);\n int c = Integer.parseInt(s);\n long d = a*c;\n\t\tSystem.out.println(d/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 String s = b.substring(0,1)+b.substring(2,4);\n int c = Integer.parseInt(s);\n long d = a*c;\n\t\tSystem.out.println(d/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 s = b.substring(0,1)+b.substring(2,4);",
"s",
"b.substring(0,1)+b.substring(2,4)",
"b.substring(0,1)",
"b.substring",
"b",
"0",
"1",
"b.substring(2,4)",
"b.substring",
"b",
"2",
"4",
"int c = Integer.parseInt(s);",
"c",
"Integer.parseInt(s)",
"Integer.parseInt",
"Integer",
"s",
"long d = a*c;",
"d",
"a*c",
"a",
"c",
"System.out.println(d/100)",
"System.out.println",
"System.out",
"System",
"System.out",
"d/100",
"d",
"100",
"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 b = sc.next();\n String s = b.substring(0,1)+b.substring(2,4);\n int c = Integer.parseInt(s);\n long d = a*c;\n\t\tSystem.out.println(d/100);\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 b = sc.next();\n String s = b.substring(0,1)+b.substring(2,4);\n int c = Integer.parseInt(s);\n long d = a*c;\n\t\tSystem.out.println(d/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();
String s = b.substring(0,1)+b.substring(2,4);
int c = Integer.parseInt(s);
long d = a*c;
System.out.println(d/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,
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 x = sc.nextBigDecimal();\n BigDecimal y = sc.nextBigDecimal();\n System.out.println(x.multiply(y).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 x = sc.nextBigDecimal();\n BigDecimal y = sc.nextBigDecimal();\n System.out.println(x.multiply(y).toBigInteger());\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n BigDecimal x = sc.nextBigDecimal();\n BigDecimal y = sc.nextBigDecimal();\n System.out.println(x.multiply(y).toBigInteger());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n BigDecimal x = sc.nextBigDecimal();\n BigDecimal y = sc.nextBigDecimal();\n System.out.println(x.multiply(y).toBigInteger());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal x = sc.nextBigDecimal();",
"x",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"BigDecimal y = sc.nextBigDecimal();",
"y",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"System.out.println(x.multiply(y).toBigInteger())",
"System.out.println",
"System.out",
"System",
"System.out",
"x.multiply(y).toBigInteger()",
"x.multiply(y).toBigInteger",
"x.multiply(y)",
"x.multiply",
"x",
"y",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n BigDecimal x = sc.nextBigDecimal();\n BigDecimal y = sc.nextBigDecimal();\n System.out.println(x.multiply(y).toBigInteger());\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n BigDecimal x = sc.nextBigDecimal();\n BigDecimal y = sc.nextBigDecimal();\n System.out.println(x.multiply(y).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 x = sc.nextBigDecimal();
BigDecimal y = sc.nextBigDecimal();
System.out.println(x.multiply(y).toBigInteger());
}
}
|
[
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,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
39,
5
],
[
39,
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
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong a = scan.nextLong();\n\t\tlong b = (long)(scan.nextDouble() * 100 + 0.001);\n\n\n\t\tSystem.out.println((a * b)/100);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong a = scan.nextLong();\n\t\tlong b = (long)(scan.nextDouble() * 100 + 0.001);\n\n\n\t\tSystem.out.println((a * b)/100);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong a = scan.nextLong();\n\t\tlong b = (long)(scan.nextDouble() * 100 + 0.001);\n\n\n\t\tSystem.out.println((a * b)/100);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong a = scan.nextLong();\n\t\tlong b = (long)(scan.nextDouble() * 100 + 0.001);\n\n\n\t\tSystem.out.println((a * b)/100);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long a = scan.nextLong();",
"a",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long b = (long)(scan.nextDouble() * 100 + 0.001);",
"b",
"(long)(scan.nextDouble() * 100 + 0.001)",
"scan.nextDouble() * 100",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"100",
"0.001",
"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\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong a = scan.nextLong();\n\t\tlong b = (long)(scan.nextDouble() * 100 + 0.001);\n\n\n\t\tSystem.out.println((a * b)/100);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong a = scan.nextLong();\n\t\tlong b = (long)(scan.nextDouble() * 100 + 0.001);\n\n\n\t\tSystem.out.println((a * b)/100);\n\t}\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();
long b = (long)(scan.nextDouble() * 100 + 0.001);
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.