node_ids
listlengths 4
1.4k
| edge_index
listlengths 1
2.22k
| text
listlengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
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,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
140,
20
],
[
140,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
23,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
23,
46
],
[
46,
47
],
[
47,
48
],
[
21,
49
],
[
49,
50
],
[
140,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
68,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
61,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
51,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
90,
91
],
[
51,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
99,
107
],
[
107,
108
],
[
108,
109
],
[
99,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
94,
117
],
[
117,
118
],
[
92,
119
],
[
119,
120
],
[
51,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
128,
129
],
[
51,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
137,
138
],
[
0,
139
],
[
139,
140
],
[
139,
141
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\nimport java.util.Arrays;\n// Solution Starts here\npublic class Main{\n public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int a=in.nextInt();\n int b=in.nextInt();\n out.println(a*b);\n out.close();\n }\n // solution ends here\n static class FastScanner{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer sr = new StringTokenizer(\"\");\n String next(){\n while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }\n return sr.nextToken();\n }\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int a[]=new int[n];\n for(int i=0;i<n;i++)\n a[i]=nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n double nextDouble(){\n return Double.parseDouble(next());\n }\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main{\n public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int a=in.nextInt();\n int b=in.nextInt();\n out.println(a*b);\n out.close();\n }\n // solution ends here\n static class FastScanner{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer sr = new StringTokenizer(\"\");\n String next(){\n while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }\n return sr.nextToken();\n }\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int a[]=new int[n];\n for(int i=0;i<n;i++)\n a[i]=nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n double nextDouble(){\n return Double.parseDouble(next());\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int a=in.nextInt();\n int b=in.nextInt();\n out.println(a*b);\n out.close();\n }",
"main",
"{\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int a=in.nextInt();\n int b=in.nextInt();\n out.println(a*b);\n out.close();\n }",
"FastScanner in = new FastScanner();",
"in",
"new FastScanner()",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"int a=in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"int b=in.nextInt();",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"out.println(a*b)",
"out.println",
"out",
"a*b",
"a",
"b",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class FastScanner{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer sr = new StringTokenizer(\"\");\n String next(){\n while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }\n return sr.nextToken();\n }\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int a[]=new int[n];\n for(int i=0;i<n;i++)\n a[i]=nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n double nextDouble(){\n return Double.parseDouble(next());\n }\n }",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer sr = new StringTokenizer(\"\");",
"sr",
"new StringTokenizer(\"\")",
"String next(){\n while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }\n return sr.nextToken();\n }",
"next",
"{\n while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }\n return sr.nextToken();\n }",
"while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }",
"!sr.hasMoreTokens()",
"sr.hasMoreTokens()",
"sr.hasMoreTokens",
"sr",
"{\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }",
"try{\n sr=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 sr=new StringTokenizer(br.readLine());\n }",
"sr=new StringTokenizer(br.readLine())",
"sr",
"new StringTokenizer(br.readLine())",
"return sr.nextToken();",
"sr.nextToken()",
"sr.nextToken",
"sr",
"int nextInt(){\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n){\n int a[]=new int[n];\n for(int i=0;i<n;i++)\n a[i]=nextInt();\n return a;\n }",
"readArray",
"{\n int a[]=new int[n];\n for(int i=0;i<n;i++)\n a[i]=nextInt();\n return a;\n }",
"int a[]=new int[n];",
"a",
"new int[n]",
"n",
"for(int i=0;i<n;i++)\n a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"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",
"public class Main{\n public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int a=in.nextInt();\n int b=in.nextInt();\n out.println(a*b);\n out.close();\n }\n // solution ends here\n static class FastScanner{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer sr = new StringTokenizer(\"\");\n String next(){\n while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }\n return sr.nextToken();\n }\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int a[]=new int[n];\n for(int i=0;i<n;i++)\n a[i]=nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n double nextDouble(){\n return Double.parseDouble(next());\n }\n }\n\n}",
"public class Main{\n public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int a=in.nextInt();\n int b=in.nextInt();\n out.println(a*b);\n out.close();\n }\n // solution ends here\n static class FastScanner{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer sr = new StringTokenizer(\"\");\n String next(){\n while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }\n return sr.nextToken();\n }\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int a[]=new int[n];\n for(int i=0;i<n;i++)\n a[i]=nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n double nextDouble(){\n return Double.parseDouble(next());\n }\n }\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.util.Arrays;
// Solution Starts here
public class Main{
public static void main(String[] args) {
FastScanner in = new FastScanner();
PrintWriter out = new PrintWriter(System.out);
int a=in.nextInt();
int b=in.nextInt();
out.println(a*b);
out.close();
}
// solution ends here
static class FastScanner{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer sr = new StringTokenizer("");
String next(){
while(!sr.hasMoreTokens()){
try{
sr=new StringTokenizer(br.readLine());
}catch(IOException e){
e.printStackTrace();
}
}
return sr.nextToken();
}
int nextInt(){
return Integer.parseInt(next());
}
int[] readArray(int n){
int a[]=new int[n];
for(int i=0;i<n;i++)
a[i]=nextInt();
return a;
}
long nextLong(){
return Long.parseLong(next());
}
double nextDouble(){
return Double.parseDouble(next());
}
}
}
|
[
7,
15,
13,
17,
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,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
41,
13,
18,
13,
13,
4,
18,
13,
41,
13,
18,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
71,
26
],
[
71,
27
],
[
27,
28
],
[
27,
29
],
[
71,
31
],
[
31,
32
],
[
31,
33
],
[
71,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
36,
43
],
[
43,
44
],
[
44,
45
],
[
36,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
36,
51
],
[
51,
52
],
[
52,
53
],
[
36,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
36,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
36,
65
],
[
65,
66
],
[
66,
67
],
[
34,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] |
[
"import java.math.*;\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.OutputStreamWriter;\nimport java.io.PrintWriter;\nimport java.io.StreamTokenizer;\nimport java.util.*;\npublic class Main {\n public static long num[] = new long[1023];\n public static int k=0;\n public static void main(String args[])throws IOException\n {\n StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n in.nextToken();\n int a = (int)in.nval;\n in.nextToken();\n int b = (int)in.nval;\n out.println(a*b);\n out.flush();\n }\n }",
"import java.math.*;",
"math.*",
"java",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.StreamTokenizer;",
"StreamTokenizer",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static long num[] = new long[1023];\n public static int k=0;\n public static void main(String args[])throws IOException\n {\n StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n in.nextToken();\n int a = (int)in.nval;\n in.nextToken();\n int b = (int)in.nval;\n out.println(a*b);\n out.flush();\n }\n }",
"Main",
"public static long num[] = new long[1023];",
"num",
"new long[1023]",
"1023",
"public static int k=0;",
"k",
"0",
"public static void main(String args[])throws IOException\n {\n StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n in.nextToken();\n int a = (int)in.nval;\n in.nextToken();\n int b = (int)in.nval;\n out.println(a*b);\n out.flush();\n }",
"main",
"{\n StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n in.nextToken();\n int a = (int)in.nval;\n in.nextToken();\n int b = (int)in.nval;\n out.println(a*b);\n out.flush();\n }",
"StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));",
"in",
"new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)))",
"PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));",
"out",
"new PrintWriter(new OutputStreamWriter(System.out))",
"in.nextToken()",
"in.nextToken",
"in",
"int a = (int)in.nval;",
"a",
"(int)in.nval",
"in",
"in.nval",
"in.nextToken()",
"in.nextToken",
"in",
"int b = (int)in.nval;",
"b",
"(int)in.nval",
"in",
"in.nval",
"out.println(a*b)",
"out.println",
"out",
"a*b",
"a",
"b",
"out.flush()",
"out.flush",
"out",
"String args[]",
"args",
"public class Main {\n public static long num[] = new long[1023];\n public static int k=0;\n public static void main(String args[])throws IOException\n {\n StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n in.nextToken();\n int a = (int)in.nval;\n in.nextToken();\n int b = (int)in.nval;\n out.println(a*b);\n out.flush();\n }\n }",
"public class Main {\n public static long num[] = new long[1023];\n public static int k=0;\n public static void main(String args[])throws IOException\n {\n StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n in.nextToken();\n int a = (int)in.nval;\n in.nextToken();\n int b = (int)in.nval;\n out.println(a*b);\n out.flush();\n }\n }",
"Main"
] |
import java.math.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.io.StreamTokenizer;
import java.util.*;
public class Main {
public static long num[] = new long[1023];
public static int k=0;
public static void main(String args[])throws IOException
{
StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));
PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
in.nextToken();
int a = (int)in.nval;
in.nextToken();
int b = (int)in.nval;
out.println(a*b);
out.flush();
}
}
|
[
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,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
67,
17
],
[
67,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
26,
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
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
20,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
20,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
20,
61
],
[
61,
62
],
[
62,
63
],
[
18,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] |
[
"\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\nimport java.util.*;\nimport java.math.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\npublic class Main {\n\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String in[] = br.readLine().trim().split(\" \");\n long a = Long.parseLong(in[0]);\n long b = Long.parseLong(in[1]);\n long mult = a*b;\n System.out.println(mult);\n\n br.close();\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String in[] = br.readLine().trim().split(\" \");\n long a = Long.parseLong(in[0]);\n long b = Long.parseLong(in[1]);\n long mult = a*b;\n System.out.println(mult);\n\n br.close();\n\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String in[] = br.readLine().trim().split(\" \");\n long a = Long.parseLong(in[0]);\n long b = Long.parseLong(in[1]);\n long mult = a*b;\n System.out.println(mult);\n\n br.close();\n\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String in[] = br.readLine().trim().split(\" \");\n long a = Long.parseLong(in[0]);\n long b = Long.parseLong(in[1]);\n long mult = a*b;\n System.out.println(mult);\n\n br.close();\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String in[] = br.readLine().trim().split(\" \");",
"in",
"br.readLine().trim().split(\" \")",
"br.readLine().trim().split",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"long a = Long.parseLong(in[0]);",
"a",
"Long.parseLong(in[0])",
"Long.parseLong",
"Long",
"in[0]",
"in",
"0",
"long b = Long.parseLong(in[1]);",
"b",
"Long.parseLong(in[1])",
"Long.parseLong",
"Long",
"in[1]",
"in",
"1",
"long mult = a*b;",
"mult",
"a*b",
"a",
"b",
"System.out.println(mult)",
"System.out.println",
"System.out",
"System",
"System.out",
"mult",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String in[] = br.readLine().trim().split(\" \");\n long a = Long.parseLong(in[0]);\n long b = Long.parseLong(in[1]);\n long mult = a*b;\n System.out.println(mult);\n\n br.close();\n\n }\n}",
"public class Main {\n\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String in[] = br.readLine().trim().split(\" \");\n long a = Long.parseLong(in[0]);\n long b = Long.parseLong(in[1]);\n long mult = a*b;\n System.out.println(mult);\n\n br.close();\n\n }\n}",
"Main"
] |
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.*;
import java.math.*;
/* Name of the class has to be "Main" only if the class is public. */
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String in[] = br.readLine().trim().split(" ");
long a = Long.parseLong(in[0]);
long b = Long.parseLong(in[1]);
long mult = a*b;
System.out.println(mult);
br.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
12,
13,
30,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
12,
13,
30,
4,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
29,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
14,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
14,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
418,
14
],
[
418,
15
],
[
15,
16
],
[
15,
17
],
[
418,
18
],
[
18,
19
],
[
18,
20
],
[
418,
21
],
[
21,
22
],
[
418,
23
],
[
23,
24
],
[
418,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
27,
44
],
[
44,
45
],
[
45,
46
],
[
25,
47
],
[
47,
48
],
[
418,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
49,
56
],
[
56,
57
],
[
56,
58
],
[
49,
60
],
[
60,
61
],
[
60,
62
],
[
49,
63
],
[
63,
64
],
[
63,
65
],
[
49,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
69,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
80,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
76,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
68,
101
],
[
101,
102
],
[
49,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
106,
114
],
[
114,
115
],
[
115,
116
],
[
49,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
125,
126
],
[
125,
127
],
[
117,
128
],
[
128,
129
],
[
49,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
140,
142
],
[
133,
143
],
[
143,
144
],
[
49,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
150,
151
],
[
151,
152
],
[
49,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
156,
160
],
[
160,
161
],
[
155,
162
],
[
162,
163
],
[
162,
164
],
[
155,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
155,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
174,
177
],
[
173,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
155,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
49,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
189,
193
],
[
193,
194
],
[
188,
195
],
[
195,
196
],
[
195,
197
],
[
188,
198
],
[
198,
199
],
[
198,
200
],
[
188,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
188,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
188,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
218,
222
],
[
222,
223
],
[
222,
224
],
[
217,
225
],
[
225,
226
],
[
226,
227
],
[
188,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
232,
236
],
[
236,
237
],
[
236,
238
],
[
231,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
239,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
245,
247
],
[
231,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
249,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
248,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
260,
264
],
[
248,
265
],
[
265,
266
],
[
266,
267
],
[
230,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
49,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
275,
276
],
[
276,
277
],
[
49,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
282,
285
],
[
285,
286
],
[
49,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
296,
297
],
[
296,
298
],
[
292,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
299,
304
],
[
304,
305
],
[
304,
306
],
[
299,
307
],
[
307,
308
],
[
308,
309
],
[
299,
310
],
[
311,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
312,
316
],
[
316,
317
],
[
317,
318
],
[
292,
319
],
[
319,
320
],
[
290,
321
],
[
321,
322
],
[
322,
323
],
[
322,
324
],
[
321,
326
],
[
326,
327
],
[
327,
328
],
[
328,
329
],
[
328,
330
],
[
326,
331
],
[
331,
332
],
[
331,
333
],
[
326,
334
],
[
334,
335
],
[
335,
336
],
[
326,
337
],
[
338,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
339,
343
],
[
343,
344
],
[
344,
345
],
[
321,
346
],
[
346,
347
],
[
287,
348
],
[
348,
349
],
[
287,
350
],
[
350,
351
],
[
49,
352
],
[
352,
353
],
[
352,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
361,
362
],
[
361,
363
],
[
357,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
364,
369
],
[
369,
370
],
[
369,
371
],
[
364,
372
],
[
372,
373
],
[
373,
374
],
[
364,
375
],
[
376,
376
],
[
376,
377
],
[
377,
378
],
[
378,
379
],
[
378,
380
],
[
377,
381
],
[
381,
382
],
[
382,
383
],
[
357,
384
],
[
384,
385
],
[
355,
386
],
[
386,
387
],
[
387,
388
],
[
387,
389
],
[
386,
391
],
[
391,
392
],
[
392,
393
],
[
393,
394
],
[
393,
395
],
[
391,
396
],
[
396,
397
],
[
396,
398
],
[
391,
399
],
[
399,
400
],
[
400,
401
],
[
391,
402
],
[
403,
403
],
[
403,
404
],
[
404,
405
],
[
405,
406
],
[
405,
407
],
[
404,
408
],
[
408,
409
],
[
409,
410
],
[
386,
411
],
[
411,
412
],
[
352,
413
],
[
413,
414
],
[
352,
415
],
[
415,
416
],
[
0,
417
],
[
417,
418
],
[
417,
419
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.NoSuchElementException;\n\n\npublic class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\tstatic String s;\n\t//static Queue <Long> q = new ArrayDeque <Long>();\n\t//static List<ArrayList<Integer>> e;\n\t//static LinkedList<Integer> adj[]; \n\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\t\n\t\tout.println(n*a);\n\t\tout.flush();\n\t}\n\t\n\t\n\t\n\t\tstatic class FastScanner {\n\t\t private final InputStream in = System.in;\n\t\t private final byte[] buffer = new byte[1024];\n\t\t private int ptr = 0;\n\t\t private int buflen = 0;\n\n\t\t private boolean hasNextByte() {\n\t\t if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }\n\n\t\t private int readByte() {\n\t\t if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;\n\t\t }\n\n\t\t private static boolean isPrintableChar(int c) {\n\t\t return 33 <= c && c <= 126;\n\t\t }\n\n\t\t private void skipUnprintable() {\n\t\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t\t }\n\n\t\t public boolean hasNext() {\n\t\t skipUnprintable();\n\t\t return hasNextByte();\n\t\t }\n\n\t\t public String next() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int b = readByte();\n\t\t while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }\n\t\t return sb.toString();\n\t\t }\n\n\t\t public long nextLong() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t long n = 0;\n\t\t boolean minus = false;\n\t\t int b = readByte();\n\t\t if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }\n\t\t if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return (int) nextLong();\n\t\t }\n\t\t \n\t\t public double nextDouble(){\n\t\t \treturn Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\n\t\t public long[] nextLongArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t }\n\n\t\t}\t \n\n\n",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\tstatic String s;\n\t//static Queue <Long> q = new ArrayDeque <Long>();\n\t//static List<ArrayList<Integer>> e;\n\t//static LinkedList<Integer> adj[]; \n\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\t\n\t\tout.println(n*a);\n\t\tout.flush();\n\t}\n\t\n\t\n\t\n\t\tstatic class FastScanner {\n\t\t private final InputStream in = System.in;\n\t\t private final byte[] buffer = new byte[1024];\n\t\t private int ptr = 0;\n\t\t private int buflen = 0;\n\n\t\t private boolean hasNextByte() {\n\t\t if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }\n\n\t\t private int readByte() {\n\t\t if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;\n\t\t }\n\n\t\t private static boolean isPrintableChar(int c) {\n\t\t return 33 <= c && c <= 126;\n\t\t }\n\n\t\t private void skipUnprintable() {\n\t\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t\t }\n\n\t\t public boolean hasNext() {\n\t\t skipUnprintable();\n\t\t return hasNextByte();\n\t\t }\n\n\t\t public String next() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int b = readByte();\n\t\t while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }\n\t\t return sb.toString();\n\t\t }\n\n\t\t public long nextLong() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t long n = 0;\n\t\t boolean minus = false;\n\t\t int b = readByte();\n\t\t if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }\n\t\t if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return (int) nextLong();\n\t\t }\n\t\t \n\t\t public double nextDouble(){\n\t\t \treturn Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\n\t\t public long[] nextLongArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t }\n\n\t\t}",
"Main",
"static FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"static int n;",
"n",
"static String s;",
"s",
"public static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\t\n\t\tout.println(n*a);\n\t\tout.flush();\n\t}",
"main",
"{\n\t\tn = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\t\n\t\tout.println(n*a);\n\t\tout.flush();\n\t}",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"out.println(n*a)",
"out.println",
"out",
"n*a",
"n",
"a",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"static class FastScanner {\n\t\t private final InputStream in = System.in;\n\t\t private final byte[] buffer = new byte[1024];\n\t\t private int ptr = 0;\n\t\t private int buflen = 0;\n\n\t\t private boolean hasNextByte() {\n\t\t if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }\n\n\t\t private int readByte() {\n\t\t if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;\n\t\t }\n\n\t\t private static boolean isPrintableChar(int c) {\n\t\t return 33 <= c && c <= 126;\n\t\t }\n\n\t\t private void skipUnprintable() {\n\t\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t\t }\n\n\t\t public boolean hasNext() {\n\t\t skipUnprintable();\n\t\t return hasNextByte();\n\t\t }\n\n\t\t public String next() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int b = readByte();\n\t\t while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }\n\t\t return sb.toString();\n\t\t }\n\n\t\t public long nextLong() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t long n = 0;\n\t\t boolean minus = false;\n\t\t int b = readByte();\n\t\t if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }\n\t\t if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return (int) nextLong();\n\t\t }\n\t\t \n\t\t public double nextDouble(){\n\t\t \treturn Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\n\t\t public long[] nextLongArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t }",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n\t\t if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }",
"hasNextByte",
"{\n\t\t if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }",
"if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }",
"ptr < buflen",
"ptr",
"buflen",
"{\n\t\t return true;\n\t\t }",
"return true;",
"true",
"{\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }",
"ptr = 0",
"ptr",
"0",
"try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }",
"catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }",
"IOException e",
"{\n\t\t e.printStackTrace();\n\t\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t buflen = in.read(buffer);\n\t\t }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n\t\t return false;\n\t\t }",
"buflen <= 0",
"buflen",
"0",
"{\n\t\t return false;\n\t\t }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n\t\t if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;\n\t\t }",
"readByte",
"{\n\t\t if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;\n\t\t }",
"if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n\t\t return 33 <= c && c <= 126;\n\t\t }",
"isPrintableChar",
"{\n\t\t return 33 <= c && c <= 126;\n\t\t }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"private void skipUnprintable() {\n\t\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t\t }",
"skipUnprintable",
"{\n\t\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t\t }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"public boolean hasNext() {\n\t\t skipUnprintable();\n\t\t return hasNextByte();\n\t\t }",
"hasNext",
"{\n\t\t skipUnprintable();\n\t\t return hasNextByte();\n\t\t }",
"skipUnprintable()",
"skipUnprintable",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int b = readByte();\n\t\t while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }\n\t\t return sb.toString();\n\t\t }",
"next",
"{\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int b = readByte();\n\t\t while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }\n\t\t return sb.toString();\n\t\t }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t long n = 0;\n\t\t boolean minus = false;\n\t\t int b = readByte();\n\t\t if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }\n\t\t if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }\n\t\t }",
"nextLong",
"{\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t long n = 0;\n\t\t boolean minus = false;\n\t\t int b = readByte();\n\t\t if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }\n\t\t if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }\n\t\t }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }",
"b == '-'",
"b",
"'-'",
"{\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n\t\t throw new NumberFormatException();\n\t\t }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }",
"true",
"{\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }",
"if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t\t return minus ? -n : n;\n\t\t }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n\t\t throw new NumberFormatException();\n\t\t }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n\t\t return (int) nextLong();\n\t\t }",
"nextInt",
"{\n\t\t return (int) nextLong();\n\t\t }",
"return (int) nextLong();",
"(int) nextLong()",
"nextLong",
"public double nextDouble(){\n\t\t \treturn Double.parseDouble(next());\n\t\t }",
"nextDouble",
"{\n\t\t \treturn Double.parseDouble(next());\n\t\t }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public int[] nextIntArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }",
"nextIntArray",
"{\n\t\t if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }",
"if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }",
"oneBased",
"{\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }",
"int[] array = new int[N + 1];",
"array",
"new int[N + 1]",
"N + 1",
"N",
"1",
"for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t array[i] = sc.nextInt();\n\t\t }",
"{\n\t\t array[i] = sc.nextInt();\n\t\t }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return array;",
"array",
"{\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }",
"int[] array = new int[N];",
"array",
"new int[N]",
"N",
"for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t array[i] = sc.nextInt();\n\t\t }",
"{\n\t\t array[i] = sc.nextInt();\n\t\t }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return array;",
"array",
"int N",
"N",
"boolean oneBased",
"oneBased",
"public long[] nextLongArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }",
"nextLongArray",
"{\n\t\t if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }",
"if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }",
"oneBased",
"{\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }",
"long[] array = new long[N + 1];",
"array",
"new long[N + 1]",
"N + 1",
"N",
"1",
"for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t array[i] = sc.nextLong();\n\t\t }",
"{\n\t\t array[i] = sc.nextLong();\n\t\t }",
"array[i] = sc.nextLong()",
"array[i]",
"array",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"return array;",
"array",
"{\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }",
"long[] array = new long[N];",
"array",
"new long[N]",
"N",
"for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t array[i] = sc.nextLong();\n\t\t }",
"{\n\t\t array[i] = sc.nextLong();\n\t\t }",
"array[i] = sc.nextLong()",
"array[i]",
"array",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"return array;",
"array",
"int N",
"N",
"boolean oneBased",
"oneBased",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\tstatic String s;\n\t//static Queue <Long> q = new ArrayDeque <Long>();\n\t//static List<ArrayList<Integer>> e;\n\t//static LinkedList<Integer> adj[]; \n\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\t\n\t\tout.println(n*a);\n\t\tout.flush();\n\t}\n\t\n\t\n\t\n\t\tstatic class FastScanner {\n\t\t private final InputStream in = System.in;\n\t\t private final byte[] buffer = new byte[1024];\n\t\t private int ptr = 0;\n\t\t private int buflen = 0;\n\n\t\t private boolean hasNextByte() {\n\t\t if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }\n\n\t\t private int readByte() {\n\t\t if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;\n\t\t }\n\n\t\t private static boolean isPrintableChar(int c) {\n\t\t return 33 <= c && c <= 126;\n\t\t }\n\n\t\t private void skipUnprintable() {\n\t\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t\t }\n\n\t\t public boolean hasNext() {\n\t\t skipUnprintable();\n\t\t return hasNextByte();\n\t\t }\n\n\t\t public String next() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int b = readByte();\n\t\t while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }\n\t\t return sb.toString();\n\t\t }\n\n\t\t public long nextLong() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t long n = 0;\n\t\t boolean minus = false;\n\t\t int b = readByte();\n\t\t if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }\n\t\t if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return (int) nextLong();\n\t\t }\n\t\t \n\t\t public double nextDouble(){\n\t\t \treturn Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\n\t\t public long[] nextLongArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t }\n\n\t\t}",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\tstatic String s;\n\t//static Queue <Long> q = new ArrayDeque <Long>();\n\t//static List<ArrayList<Integer>> e;\n\t//static LinkedList<Integer> adj[]; \n\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\t\n\t\tout.println(n*a);\n\t\tout.flush();\n\t}\n\t\n\t\n\t\n\t\tstatic class FastScanner {\n\t\t private final InputStream in = System.in;\n\t\t private final byte[] buffer = new byte[1024];\n\t\t private int ptr = 0;\n\t\t private int buflen = 0;\n\n\t\t private boolean hasNextByte() {\n\t\t if (ptr < buflen) {\n\t\t return true;\n\t\t } else {\n\t\t ptr = 0;\n\t\t try {\n\t\t buflen = in.read(buffer);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t if (buflen <= 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }\n\n\t\t private int readByte() {\n\t\t if (hasNextByte()) return buffer[ptr++];\n\t\t else return -1;\n\t\t }\n\n\t\t private static boolean isPrintableChar(int c) {\n\t\t return 33 <= c && c <= 126;\n\t\t }\n\n\t\t private void skipUnprintable() {\n\t\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t\t }\n\n\t\t public boolean hasNext() {\n\t\t skipUnprintable();\n\t\t return hasNextByte();\n\t\t }\n\n\t\t public String next() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int b = readByte();\n\t\t while (isPrintableChar(b)) {\n\t\t sb.appendCodePoint(b);\n\t\t b = readByte();\n\t\t }\n\t\t return sb.toString();\n\t\t }\n\n\t\t public long nextLong() {\n\t\t if (!hasNext()) throw new NoSuchElementException();\n\t\t long n = 0;\n\t\t boolean minus = false;\n\t\t int b = readByte();\n\t\t if (b == '-') {\n\t\t minus = true;\n\t\t b = readByte();\n\t\t }\n\t\t if (b < '0' || '9' < b) {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t while (true) {\n\t\t if ('0' <= b && b <= '9') {\n\t\t n *= 10;\n\t\t n += b - '0';\n\t\t } else if (b == -1 || !isPrintableChar(b)) {\n\t\t return minus ? -n : n;\n\t\t } else {\n\t\t throw new NumberFormatException();\n\t\t }\n\t\t b = readByte();\n\t\t }\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return (int) nextLong();\n\t\t }\n\t\t \n\t\t public double nextDouble(){\n\t\t \treturn Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t int[] array = new int[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t int[] array = new int[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextInt();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\n\t\t public long[] nextLongArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t long[] array = new long[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t long[] array = new long[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextLong();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t }\n\n\t\t}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.NoSuchElementException;
public class Main{
static FastScanner sc = new FastScanner();
static PrintWriter out = new PrintWriter(System.out);
static int n;
static String s;
//static Queue <Long> q = new ArrayDeque <Long>();
//static List<ArrayList<Integer>> e;
//static LinkedList<Integer> adj[];
public static void main(String[] args) {
n = sc.nextInt();
int a = sc.nextInt();
out.println(n*a);
out.flush();
}
static class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte()) return buffer[ptr++];
else return -1;
}
private static boolean isPrintableChar(int c) {
return 33 <= c && c <= 126;
}
private void skipUnprintable() {
while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
}
public boolean hasNext() {
skipUnprintable();
return hasNextByte();
}
public String next() {
if (!hasNext()) throw new NoSuchElementException();
StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext()) throw new NoSuchElementException();
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
return (int) nextLong();
}
public double nextDouble(){
return Double.parseDouble(next());
}
public int[] nextIntArray(int N, boolean oneBased) {
if (oneBased) {
int[] array = new int[N + 1];
for (int i = 1; i <= N; i++) {
array[i] = sc.nextInt();
}
return array;
} else {
int[] array = new int[N];
for (int i = 0; i < N; i++) {
array[i] = sc.nextInt();
}
return array;
}
}
public long[] nextLongArray(int N, boolean oneBased) {
if (oneBased) {
long[] array = new long[N + 1];
for (int i = 1; i <= N; i++) {
array[i] = sc.nextLong();
}
return array;
} else {
long[] array = new long[N];
for (int i = 0; i < N; i++) {
array[i] = sc.nextLong();
}
return array;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
12,
13,
30,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
18,
13,
17,
4,
18,
13,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
73,
14
],
[
73,
15
],
[
15,
16
],
[
15,
17
],
[
73,
18
],
[
18,
19
],
[
73,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
20,
31
],
[
31,
32
],
[
20,
33
],
[
33,
34
],
[
73,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
37,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
37,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
37,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
55,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
67,
69
],
[
35,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] |
[
"import java.util.*;\nimport java.io.*;\nimport java.nio.file.Files;\nimport java.nio.charset.StandardCharsets;\npublic class Main {\n public void sol(int a, int b){\n\n System.out.println(a*b);\n }\n Map<Long,Long> memo = new HashMap<>();\n static Map<Long, Long> cache;\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n Main aka = new Main();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n //int tot = Integer.parseInt(br.readLine());\n String[] ss = s.split(\" \");\n aka.sol(Integer.parseInt(ss[0]),Integer.parseInt(ss[1]));\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.nio.file.Files;",
"Files",
"java.nio.file",
"import java.nio.charset.StandardCharsets;",
"StandardCharsets",
"java.nio.charset",
"public class Main {\n public void sol(int a, int b){\n\n System.out.println(a*b);\n }\n Map<Long,Long> memo = new HashMap<>();\n static Map<Long, Long> cache;\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n Main aka = new Main();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n //int tot = Integer.parseInt(br.readLine());\n String[] ss = s.split(\" \");\n aka.sol(Integer.parseInt(ss[0]),Integer.parseInt(ss[1]));\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }\n\n}",
"Main",
"Map<Long,Long> memo = new HashMap<>();",
"memo",
"new HashMap<>()",
"static Map<Long, Long> cache;",
"cache",
"public void sol(int a, int b){\n\n System.out.println(a*b);\n }",
"sol",
"{\n\n System.out.println(a*b);\n }",
"System.out.println(a*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"public static void main(String[] args) throws IOException {\n // Use the Scanner class\n Main aka = new Main();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n //int tot = Integer.parseInt(br.readLine());\n String[] ss = s.split(\" \");\n aka.sol(Integer.parseInt(ss[0]),Integer.parseInt(ss[1]));\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }",
"main",
"{\n // Use the Scanner class\n Main aka = new Main();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n //int tot = Integer.parseInt(br.readLine());\n String[] ss = s.split(\" \");\n aka.sol(Integer.parseInt(ss[0]),Integer.parseInt(ss[1]));\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }",
"Main aka = new Main();",
"aka",
"new Main()",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"String[] ss = s.split(\" \");",
"ss",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"aka.sol(Integer.parseInt(ss[0]),Integer.parseInt(ss[1]))",
"aka.sol",
"aka",
"Integer.parseInt(ss[0])",
"Integer.parseInt",
"Integer",
"ss[0]",
"ss",
"0",
"Integer.parseInt(ss[1])",
"Integer.parseInt",
"Integer",
"ss[1]",
"ss",
"1",
"String[] args",
"args",
"public class Main {\n public void sol(int a, int b){\n\n System.out.println(a*b);\n }\n Map<Long,Long> memo = new HashMap<>();\n static Map<Long, Long> cache;\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n Main aka = new Main();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n //int tot = Integer.parseInt(br.readLine());\n String[] ss = s.split(\" \");\n aka.sol(Integer.parseInt(ss[0]),Integer.parseInt(ss[1]));\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }\n\n}",
"public class Main {\n public void sol(int a, int b){\n\n System.out.println(a*b);\n }\n Map<Long,Long> memo = new HashMap<>();\n static Map<Long, Long> cache;\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n Main aka = new Main();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n //int tot = Integer.parseInt(br.readLine());\n String[] ss = s.split(\" \");\n aka.sol(Integer.parseInt(ss[0]),Integer.parseInt(ss[1]));\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }\n\n}",
"Main"
] |
import java.util.*;
import java.io.*;
import java.nio.file.Files;
import java.nio.charset.StandardCharsets;
public class Main {
public void sol(int a, int b){
System.out.println(a*b);
}
Map<Long,Long> memo = new HashMap<>();
static Map<Long, Long> cache;
public static void main(String[] args) throws IOException {
// Use the Scanner class
Main aka = new Main();
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s = br.readLine();
//int tot = Integer.parseInt(br.readLine());
String[] ss = s.split(" ");
aka.sol(Integer.parseInt(ss[0]),Integer.parseInt(ss[1]));
// int i =1;
// System.out.println();
// while(tot>0){
//
// String s = br.readLine();
// String[] sr = s.split(" ");
// List<Long> ls = new ArrayList<>();
// for(String ss:sr){
// ls.add(Long.parseLong(ss));
// }
// Main tt = new Main();
// tt.sol(ls);
// // String Buffer to store answer
// StringBuffer sb = new StringBuffer();
//// Solution obj = new Solution();
////
//// System.out.println("Case #"+i+": "+obj.sol());
// tot--;
// i++;
// }
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
6
],
[
6,
7
],
[
6,
8
],
[
36,
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
],
[
30,
32
],
[
9,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n static int n = 0;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a * b);\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n static int n = 0;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a * b);\n }\n\n}",
"Main",
"static int n = 0;",
"n",
"0",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a * b);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a * b);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(a * b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b",
"a",
"b",
"String[] args",
"args",
"public class Main {\n static int n = 0;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a * b);\n }\n\n}",
"public class Main {\n static int n = 0;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a * b);\n }\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
static int n = 0;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a * b);
}
}
|
[
7,
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,
4,
18,
18,
13,
13,
2,
13,
13,
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
],
[
312,
14
],
[
312,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
15,
21
],
[
21,
22
],
[
312,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
25,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
25,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
312,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
47,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
61,
68
],
[
68,
69
],
[
68,
70
],
[
61,
72
],
[
72,
73
],
[
72,
74
],
[
61,
75
],
[
75,
76
],
[
75,
77
],
[
61,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
81,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
92,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
88,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
111,
112
],
[
80,
113
],
[
113,
114
],
[
61,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
118,
126
],
[
126,
127
],
[
127,
128
],
[
61,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
137,
138
],
[
137,
139
],
[
129,
140
],
[
140,
141
],
[
61,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
146,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
152,
154
],
[
145,
155
],
[
155,
156
],
[
144,
157
],
[
157,
158
],
[
158,
159
],
[
61,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
163,
167
],
[
167,
168
],
[
162,
169
],
[
169,
170
],
[
169,
171
],
[
162,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
162,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
180,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
162,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
61,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
196,
200
],
[
200,
201
],
[
195,
202
],
[
202,
203
],
[
202,
204
],
[
195,
205
],
[
205,
206
],
[
205,
207
],
[
195,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
195,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
195,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
225,
229
],
[
229,
230
],
[
229,
231
],
[
224,
232
],
[
232,
233
],
[
233,
234
],
[
195,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
239,
243
],
[
243,
244
],
[
243,
245
],
[
238,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
246,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
252,
254
],
[
238,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
256,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
255,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
267,
271
],
[
255,
272
],
[
272,
273
],
[
273,
274
],
[
237,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
61,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
281,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
290,
292
],
[
287,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
295,
297
],
[
286,
298
],
[
298,
299
],
[
281,
300
],
[
300,
301
],
[
61,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
306,
309
],
[
309,
310
],
[
0,
311
],
[
311,
312
],
[
311,
313
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.util.Arrays;\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\n\tvoid run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tint A=sc.nextInt();\n\t\tint B=sc.nextInt();\n\t\tSystem.out.println(A*B);\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.Arrays;",
"Arrays",
"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\n\tvoid run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tint A=sc.nextInt();\n\t\tint B=sc.nextInt();\n\t\tSystem.out.println(A*B);\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\tint A=sc.nextInt();\n\t\tint B=sc.nextInt();\n\t\tSystem.out.println(A*B);\n\t}",
"run",
"{\n\t\tFastScanner sc=new FastScanner();\n\t\tint A=sc.nextInt();\n\t\tint B=sc.nextInt();\n\t\tSystem.out.println(A*B);\n\t}",
"FastScanner sc=new FastScanner();",
"sc",
"new FastScanner()",
"int A=sc.nextInt();",
"A",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int B=sc.nextInt();",
"B",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(A*B)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*B",
"A",
"B",
"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\n\tvoid run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tint A=sc.nextInt();\n\t\tint B=sc.nextInt();\n\t\tSystem.out.println(A*B);\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\n\tvoid run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tint A=sc.nextInt();\n\t\tint B=sc.nextInt();\n\t\tSystem.out.println(A*B);\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.Arrays;
import java.util.NoSuchElementException;
public class Main{
public static void main(String[] args) {
new Main().run();
}
void run() {
FastScanner sc=new FastScanner();
int A=sc.nextInt();
int B=sc.nextInt();
System.out.println(A*B);
}
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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
20,
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
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
60,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
37,
49
],
[
49,
50
],
[
60,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
51,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] |
[
"\nimport java.io.PrintWriter;\nimport java.util.*;\n\npublic class Main {\n void run() {\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n out.println(a * b);\n out.flush();\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n}",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n void run() {\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n out.println(a * b);\n out.flush();\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n}",
"Main",
"void run() {\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n out.println(a * b);\n out.flush();\n }",
"run",
"{\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n out.println(a * b);\n out.flush();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"out.println(a * b)",
"out.println",
"out",
"a * b",
"a",
"b",
"out.flush()",
"out.flush",
"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",
"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",
"public class Main {\n void run() {\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n out.println(a * b);\n out.flush();\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n}",
"public class Main {\n void run() {\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n out.println(a * b);\n out.flush();\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n}",
"Main"
] |
import java.io.PrintWriter;
import java.util.*;
public class Main {
void run() {
Scanner sc = new Scanner(System.in);
PrintWriter out = new PrintWriter(System.out);
int a = sc.nextInt();
int b = sc.nextInt();
out.println(a * b);
out.flush();
}
void debug(Object... os) {
System.err.println(Arrays.deepToString(os));
}
public static void main(String[] args) {
new Main().run();
}
}
|
[
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,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
42,
11
],
[
42,
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
],
[
30,
32
],
[
14,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
12,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.*;\nimport javax.lang.model.util.ElementScanner6;\nimport java.lang.Math;\n\npublic class Main {\n\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n\n // 入力\n //String t = sc.next();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n // 処理\n int out = a * b;\n\n // 出力\n System.out.println(out);\n } \n}",
"import java.util.*;",
"util.*",
"java",
"import javax.lang.model.util.ElementScanner6;",
"ElementScanner6",
"javax.lang.model.util",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n\n // 入力\n //String t = sc.next();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n // 処理\n int out = a * b;\n\n // 出力\n System.out.println(out);\n } \n}",
"Main",
"public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n\n // 入力\n //String t = sc.next();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n // 処理\n int out = a * b;\n\n // 出力\n System.out.println(out);\n }",
"main",
"{\n final Scanner sc = new Scanner(System.in);\n\n // 入力\n //String t = sc.next();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n // 処理\n int out = a * b;\n\n // 出力\n System.out.println(out);\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int out = a * b;",
"out",
"a * b",
"a",
"b",
"System.out.println(out)",
"System.out.println",
"System.out",
"System",
"System.out",
"out",
"final String[] args",
"args",
"public class Main {\n\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n\n // 入力\n //String t = sc.next();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n // 処理\n int out = a * b;\n\n // 出力\n System.out.println(out);\n } \n}",
"public class Main {\n\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n\n // 入力\n //String t = sc.next();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n // 処理\n int out = a * b;\n\n // 出力\n System.out.println(out);\n } \n}",
"Main"
] |
import java.util.*;
import javax.lang.model.util.ElementScanner6;
import java.lang.Math;
public class Main {
public static void main(final String[] args) {
final Scanner sc = new Scanner(System.in);
// 入力
//String t = sc.next();
int a = sc.nextInt();
int b = sc.nextInt();
// 処理
int out = a * b;
// 出力
System.out.println(out);
}
}
|
[
7,
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,
2,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
6,
30
],
[
30,
31
]
] |
[
"import java.util.Scanner;\n\nclass Main{\n public static void main(String args[]){\n\tScanner sc = new Scanner(System.in);\n\tint i = sc.nextInt();\n\tint j= sc.nextInt();\n\tSystem.out.println(i*j);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String args[]){\n\tScanner sc = new Scanner(System.in);\n\tint i = sc.nextInt();\n\tint j= sc.nextInt();\n\tSystem.out.println(i*j);\n }\n}",
"Main",
"public static void main(String args[]){\n\tScanner sc = new Scanner(System.in);\n\tint i = sc.nextInt();\n\tint j= sc.nextInt();\n\tSystem.out.println(i*j);\n }",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\tint i = sc.nextInt();\n\tint j= sc.nextInt();\n\tSystem.out.println(i*j);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = sc.nextInt();",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int j= sc.nextInt();",
"j",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(i*j)",
"System.out.println",
"System.out",
"System",
"System.out",
"i*j",
"i",
"j",
"String args[]",
"args"
] |
import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int i = sc.nextInt();
int j= sc.nextInt();
System.out.println(i*j);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
6,
36
],
[
36,
37
]
] |
[
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = Integer.parseInt(sc.next());\n\t\tint B = Integer.parseInt(sc.next());\n\t\tSystem.out.println(A*B);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = Integer.parseInt(sc.next());\n\t\tint B = Integer.parseInt(sc.next());\n\t\tSystem.out.println(A*B);\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = Integer.parseInt(sc.next());\n\t\tint B = Integer.parseInt(sc.next());\n\t\tSystem.out.println(A*B);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = Integer.parseInt(sc.next());\n\t\tint B = Integer.parseInt(sc.next());\n\t\tSystem.out.println(A*B);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int A = Integer.parseInt(sc.next());",
"A",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int B = Integer.parseInt(sc.next());",
"B",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"System.out.println(A*B)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*B",
"A",
"B",
"String[] args",
"args"
] |
import java.util.Scanner;
class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int A = Integer.parseInt(sc.next());
int B = Integer.parseInt(sc.next());
System.out.println(A*B);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
2,
4,
18,
13,
4,
18,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
9,
15
],
[
15,
16
],
[
4,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
]
] |
[
"import java.util.*;\n\nclass Main {\n final Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n private void run() {\n System.out.println(sc.nextInt()*sc.nextInt());\n }\n}\n",
"import java.util.*;",
"util.*",
"java",
"class Main {\n final Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n private void run() {\n System.out.println(sc.nextInt()*sc.nextInt());\n }\n}",
"Main",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"private void run() {\n System.out.println(sc.nextInt()*sc.nextInt());\n }",
"run",
"{\n System.out.println(sc.nextInt()*sc.nextInt());\n }",
"System.out.println(sc.nextInt()*sc.nextInt())",
"System.out.println",
"System.out",
"System",
"System.out",
"sc.nextInt()*sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc"
] |
import java.util.*;
class Main {
final Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
new Main().run();
}
private void run() {
System.out.println(sc.nextInt()*sc.nextInt());
}
}
|
[
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,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
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
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
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\t\tint value1 = scan.nextInt();\n\t\tint value2 = scan.nextInt();\n\t\tint sum = value1 * value2;\n\t\tscan.close();\n\t\tSystem.out.println(sum);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint value1 = scan.nextInt();\n\t\tint value2 = scan.nextInt();\n\t\tint sum = value1 * value2;\n\t\tscan.close();\n\t\tSystem.out.println(sum);\n\t}\n\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint value1 = scan.nextInt();\n\t\tint value2 = scan.nextInt();\n\t\tint sum = value1 * value2;\n\t\tscan.close();\n\t\tSystem.out.println(sum);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint value1 = scan.nextInt();\n\t\tint value2 = scan.nextInt();\n\t\tint sum = value1 * value2;\n\t\tscan.close();\n\t\tSystem.out.println(sum);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int value1 = scan.nextInt();",
"value1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int value2 = scan.nextInt();",
"value2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int sum = value1 * value2;",
"sum",
"value1 * value2",
"value1",
"value2",
"scan.close()",
"scan.close",
"scan",
"System.out.println(sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint value1 = scan.nextInt();\n\t\tint value2 = scan.nextInt();\n\t\tint sum = value1 * value2;\n\t\tscan.close();\n\t\tSystem.out.println(sum);\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint value1 = scan.nextInt();\n\t\tint value2 = scan.nextInt();\n\t\tint sum = value1 * value2;\n\t\tscan.close();\n\t\tSystem.out.println(sum);\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
int value1 = scan.nextInt();
int value2 = scan.nextInt();
int sum = value1 * value2;
scan.close();
System.out.println(sum);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
12,
39
],
[
39,
40
]
] |
[
"//package Contest169;\n\n\nimport java.util.*;\nimport java.io.*;\nimport java.math.*;\n\n\nclass Main {\n public static void main(String args[] ) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n //Start here:\n \n Scanner sc=new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n \n System.out.println(a*b);\n \n \n \n \n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"class Main {\n public static void main(String args[] ) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n //Start here:\n \n Scanner sc=new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n \n System.out.println(a*b);\n \n \n \n \n\n }\n}",
"Main",
"public static void main(String args[] ) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n //Start here:\n \n Scanner sc=new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n \n System.out.println(a*b);\n \n \n \n \n\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n //Start here:\n \n Scanner sc=new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n \n System.out.println(a*b);\n \n \n \n \n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b=sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(a*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"String args[]",
"args"
] |
//package Contest169;
import java.util.*;
import java.io.*;
import java.math.*;
class Main {
public static void main(String args[] ) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
//Start here:
Scanner sc=new Scanner(System.in);
int a=sc.nextInt();
int b=sc.nextInt();
System.out.println(a*b);
}
}
|
[
7,
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,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
33,
5
],
[
33,
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
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
6,
30
],
[
30,
31
],
[
0,
32
],
[
32,
33
],
[
32,
34
]
] |
[
"import java.util.Scanner;\n\npublic class Main{\n\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n short a = sc.nextShort();\n short b = sc.nextShort();\n System.out.println(a*b);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n short a = sc.nextShort();\n short b = sc.nextShort();\n System.out.println(a*b);\n }\n}",
"Main",
"public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n short a = sc.nextShort();\n short b = sc.nextShort();\n System.out.println(a*b);\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n short a = sc.nextShort();\n short b = sc.nextShort();\n System.out.println(a*b);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"short a = sc.nextShort();",
"a",
"sc.nextShort()",
"sc.nextShort",
"sc",
"short b = sc.nextShort();",
"b",
"sc.nextShort()",
"sc.nextShort",
"sc",
"System.out.println(a*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"String[] args",
"args",
"public class Main{\n\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n short a = sc.nextShort();\n short b = sc.nextShort();\n System.out.println(a*b);\n }\n}",
"public class Main{\n\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n short a = sc.nextShort();\n short b = sc.nextShort();\n System.out.println(a*b);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
short a = sc.nextShort();
short b = sc.nextShort();
System.out.println(a*b);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
55,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
13,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
13,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
13,
41
],
[
41,
42
],
[
42,
43
],
[
13,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
9,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\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 int a = Integer.parseInt(in[0]);\n int b = Integer.parseInt(in[1]);\n \n br.close();\n \n System.out.println(a * b);\n\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 try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String[] in = br.readLine().split(\" \");\n \n int a = Integer.parseInt(in[0]);\n int b = Integer.parseInt(in[1]);\n \n br.close();\n \n System.out.println(a * b);\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 int a = Integer.parseInt(in[0]);\n int b = Integer.parseInt(in[1]);\n \n br.close();\n \n System.out.println(a * b);\n\n }\n }",
"main",
"{\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String[] in = br.readLine().split(\" \");\n \n int a = Integer.parseInt(in[0]);\n int b = Integer.parseInt(in[1]);\n \n br.close();\n \n System.out.println(a * b);\n\n }\n }",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String[] in = br.readLine().split(\" \");\n \n int a = Integer.parseInt(in[0]);\n int b = Integer.parseInt(in[1]);\n \n br.close();\n \n System.out.println(a * b);\n\n }",
"{\n\n String[] in = br.readLine().split(\" \");\n \n int a = Integer.parseInt(in[0]);\n int b = Integer.parseInt(in[1]);\n \n br.close();\n \n System.out.println(a * b);\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",
"\" \"",
"int a = Integer.parseInt(in[0]);",
"a",
"Integer.parseInt(in[0])",
"Integer.parseInt",
"Integer",
"in[0]",
"in",
"0",
"int b = Integer.parseInt(in[1]);",
"b",
"Integer.parseInt(in[1])",
"Integer.parseInt",
"Integer",
"in[1]",
"in",
"1",
"br.close()",
"br.close",
"br",
"System.out.println(a * b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b",
"a",
"b",
"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 int a = Integer.parseInt(in[0]);\n int b = Integer.parseInt(in[1]);\n \n br.close();\n \n System.out.println(a * b);\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 int a = Integer.parseInt(in[0]);\n int b = Integer.parseInt(in[1]);\n \n br.close();\n \n System.out.println(a * b);\n\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
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(" ");
int a = Integer.parseInt(in[0]);
int b = Integer.parseInt(in[1]);
br.close();
System.out.println(a * b);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
40,
5
],
[
40,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
6,
37
],
[
37,
38
],
[
0,
39
],
[
39,
40
],
[
39,
41
]
] |
[
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String [] args){\n\t\t/*int n,k;\n\t\tint arrA[];\n\t\tScanner t = new Scanner(System.in);\n\n\t\tn = t.nextInt();\n\t\tk = t.nextInt();\n\t\tarrA = new int[n];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint numb = t.nextInt();\n\t\t\tarrA[i] = numb;\n\t\t}\n\n\t\tint valor = arrA[k];\n\n\t\tif (valor == 0){\n\t\t\tSystem.out.println(valor);\n\t\t}else{\n\t\t\tint nv = valor - 1;\n\t\t\tSystem.out.println(nv);\n\t\t}*/\n\n\t\tint n, k;\n\t\tScanner t = new Scanner(System.in);\n\t\tn = t.nextInt();\n\t\tk = t.nextInt();\n\t\t\n\t\tint resp = n * k;\n\n\t\tSystem.out.println(resp);\n\t\t\n\t}\n\t\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String [] args){\n\t\t/*int n,k;\n\t\tint arrA[];\n\t\tScanner t = new Scanner(System.in);\n\n\t\tn = t.nextInt();\n\t\tk = t.nextInt();\n\t\tarrA = new int[n];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint numb = t.nextInt();\n\t\t\tarrA[i] = numb;\n\t\t}\n\n\t\tint valor = arrA[k];\n\n\t\tif (valor == 0){\n\t\t\tSystem.out.println(valor);\n\t\t}else{\n\t\t\tint nv = valor - 1;\n\t\t\tSystem.out.println(nv);\n\t\t}*/\n\n\t\tint n, k;\n\t\tScanner t = new Scanner(System.in);\n\t\tn = t.nextInt();\n\t\tk = t.nextInt();\n\t\t\n\t\tint resp = n * k;\n\n\t\tSystem.out.println(resp);\n\t\t\n\t}\n\t\n}",
"Main",
"public static void main(String [] args){\n\t\t/*int n,k;\n\t\tint arrA[];\n\t\tScanner t = new Scanner(System.in);\n\n\t\tn = t.nextInt();\n\t\tk = t.nextInt();\n\t\tarrA = new int[n];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint numb = t.nextInt();\n\t\t\tarrA[i] = numb;\n\t\t}\n\n\t\tint valor = arrA[k];\n\n\t\tif (valor == 0){\n\t\t\tSystem.out.println(valor);\n\t\t}else{\n\t\t\tint nv = valor - 1;\n\t\t\tSystem.out.println(nv);\n\t\t}*/\n\n\t\tint n, k;\n\t\tScanner t = new Scanner(System.in);\n\t\tn = t.nextInt();\n\t\tk = t.nextInt();\n\t\t\n\t\tint resp = n * k;\n\n\t\tSystem.out.println(resp);\n\t\t\n\t}",
"main",
"{\n\t\t/*int n,k;\n\t\tint arrA[];\n\t\tScanner t = new Scanner(System.in);\n\n\t\tn = t.nextInt();\n\t\tk = t.nextInt();\n\t\tarrA = new int[n];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint numb = t.nextInt();\n\t\t\tarrA[i] = numb;\n\t\t}\n\n\t\tint valor = arrA[k];\n\n\t\tif (valor == 0){\n\t\t\tSystem.out.println(valor);\n\t\t}else{\n\t\t\tint nv = valor - 1;\n\t\t\tSystem.out.println(nv);\n\t\t}*/\n\n\t\tint n, k;\n\t\tScanner t = new Scanner(System.in);\n\t\tn = t.nextInt();\n\t\tk = t.nextInt();\n\t\t\n\t\tint resp = n * k;\n\n\t\tSystem.out.println(resp);\n\t\t\n\t}",
"int n",
"n",
"k;",
"k",
"Scanner t = new Scanner(System.in);",
"t",
"new Scanner(System.in)",
"n = t.nextInt()",
"n",
"t.nextInt()",
"t.nextInt",
"t",
"k = t.nextInt()",
"k",
"t.nextInt()",
"t.nextInt",
"t",
"int resp = n * k;",
"resp",
"n * k",
"n",
"k",
"System.out.println(resp)",
"System.out.println",
"System.out",
"System",
"System.out",
"resp",
"String [] args",
"args",
"public class Main{\n\tpublic static void main(String [] args){\n\t\t/*int n,k;\n\t\tint arrA[];\n\t\tScanner t = new Scanner(System.in);\n\n\t\tn = t.nextInt();\n\t\tk = t.nextInt();\n\t\tarrA = new int[n];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint numb = t.nextInt();\n\t\t\tarrA[i] = numb;\n\t\t}\n\n\t\tint valor = arrA[k];\n\n\t\tif (valor == 0){\n\t\t\tSystem.out.println(valor);\n\t\t}else{\n\t\t\tint nv = valor - 1;\n\t\t\tSystem.out.println(nv);\n\t\t}*/\n\n\t\tint n, k;\n\t\tScanner t = new Scanner(System.in);\n\t\tn = t.nextInt();\n\t\tk = t.nextInt();\n\t\t\n\t\tint resp = n * k;\n\n\t\tSystem.out.println(resp);\n\t\t\n\t}\n\t\n}",
"public class Main{\n\tpublic static void main(String [] args){\n\t\t/*int n,k;\n\t\tint arrA[];\n\t\tScanner t = new Scanner(System.in);\n\n\t\tn = t.nextInt();\n\t\tk = t.nextInt();\n\t\tarrA = new int[n];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint numb = t.nextInt();\n\t\t\tarrA[i] = numb;\n\t\t}\n\n\t\tint valor = arrA[k];\n\n\t\tif (valor == 0){\n\t\t\tSystem.out.println(valor);\n\t\t}else{\n\t\t\tint nv = valor - 1;\n\t\t\tSystem.out.println(nv);\n\t\t}*/\n\n\t\tint n, k;\n\t\tScanner t = new Scanner(System.in);\n\t\tn = t.nextInt();\n\t\tk = t.nextInt();\n\t\t\n\t\tint resp = n * k;\n\n\t\tSystem.out.println(resp);\n\t\t\n\t}\n\t\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String [] args){
/*int n,k;
int arrA[];
Scanner t = new Scanner(System.in);
n = t.nextInt();
k = t.nextInt();
arrA = new int[n];
for(int i = 0; i < n; i++){
int numb = t.nextInt();
arrA[i] = numb;
}
int valor = arrA[k];
if (valor == 0){
System.out.println(valor);
}else{
int nv = valor - 1;
System.out.println(nv);
}*/
int n, k;
Scanner t = new Scanner(System.in);
n = t.nextInt();
k = t.nextInt();
int resp = n * k;
System.out.println(resp);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
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
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"import java.util.*;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.next());\n\t\tint b = Integer.parseInt(scan.next());\n\t\tSystem.out.print(a*b);\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\tint a = Integer.parseInt(scan.next());\n\t\tint b = Integer.parseInt(scan.next());\n\t\tSystem.out.print(a*b);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.next());\n\t\tint b = Integer.parseInt(scan.next());\n\t\tSystem.out.print(a*b);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.next());\n\t\tint b = Integer.parseInt(scan.next());\n\t\tSystem.out.print(a*b);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = Integer.parseInt(scan.next());",
"a",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"int b = Integer.parseInt(scan.next());",
"b",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"System.out.print(a*b)",
"System.out.print",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.next());\n\t\tint b = Integer.parseInt(scan.next());\n\t\tSystem.out.print(a*b);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.next());\n\t\tint b = Integer.parseInt(scan.next());\n\t\tSystem.out.print(a*b);\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int a = Integer.parseInt(scan.next());
int b = Integer.parseInt(scan.next());
System.out.print(a*b);
}
}
|
[
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,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
42,
14
],
[
42,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
15,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.lang.reflect.Array;\nimport java.util.*;\nimport java.io.*;\nimport java.lang.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(a*b);\n }\n}",
"import java.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(a*b);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(a*b);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(a*b);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(a*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(a*b);\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(a*b);\n }\n}",
"Main"
] |
import java.lang.reflect.Array;
import java.util.*;
import java.io.*;
import java.lang.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a*b);
}
}
|
[
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,
4,
18,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
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.*;\n\npublic class Main {\n\tpublic static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n \n Integer N = sc.nextInt(); // 数列\n Integer Q = sc.nextInt(); // クエリ\n\n sc.nextLine();\n\n sc.close();\n\n Integer ans = N*Q;\n\n System.out.println(ans);\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n \n Integer N = sc.nextInt(); // 数列\n Integer Q = sc.nextInt(); // クエリ\n\n sc.nextLine();\n\n sc.close();\n\n Integer ans = N*Q;\n\n System.out.println(ans);\n\n }\n}",
"Main",
"public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n \n Integer N = sc.nextInt(); // 数列\n Integer Q = sc.nextInt(); // クエリ\n\n sc.nextLine();\n\n sc.close();\n\n Integer ans = N*Q;\n\n System.out.println(ans);\n\n }",
"main",
"{\n final Scanner sc = new Scanner(System.in);\n \n Integer N = sc.nextInt(); // 数列\n Integer Q = sc.nextInt(); // クエリ\n\n sc.nextLine();\n\n sc.close();\n\n Integer ans = N*Q;\n\n System.out.println(ans);\n\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Integer N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Integer Q = sc.nextInt();",
"Q",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextLine()",
"sc.nextLine",
"sc",
"sc.close()",
"sc.close",
"sc",
"Integer ans = N*Q;",
"ans",
"N*Q",
"N",
"Q",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"final String[] args",
"args",
"public class Main {\n\tpublic static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n \n Integer N = sc.nextInt(); // 数列\n Integer Q = sc.nextInt(); // クエリ\n\n sc.nextLine();\n\n sc.close();\n\n Integer ans = N*Q;\n\n System.out.println(ans);\n\n }\n}",
"public class Main {\n\tpublic static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n \n Integer N = sc.nextInt(); // 数列\n Integer Q = sc.nextInt(); // クエリ\n\n sc.nextLine();\n\n sc.close();\n\n Integer ans = N*Q;\n\n System.out.println(ans);\n\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(final String[] args) {
final Scanner sc = new Scanner(System.in);
Integer N = sc.nextInt(); // 数列
Integer Q = sc.nextInt(); // クエリ
sc.nextLine();
sc.close();
Integer ans = N*Q;
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,
13,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
41,
13,
4,
18,
13,
2,
13,
13,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] |
[
"import java.util.Scanner;\n\n/*\n\n*/\n\npublic class Main {\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n\n long std = a;\n if (a >= 100) {\n \ta = a/100;\n }\n double ans = Math.floor(a * b);\n if (std >= 100) {\n \tans = ans*100;\n }\n System.out.println((long)ans);\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n\n long std = a;\n if (a >= 100) {\n \ta = a/100;\n }\n double ans = Math.floor(a * b);\n if (std >= 100) {\n \tans = ans*100;\n }\n System.out.println((long)ans);\n\n }\n}",
"Main",
"public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n\n long std = a;\n if (a >= 100) {\n \ta = a/100;\n }\n double ans = Math.floor(a * b);\n if (std >= 100) {\n \tans = ans*100;\n }\n System.out.println((long)ans);\n\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n\n long std = a;\n if (a >= 100) {\n \ta = a/100;\n }\n double ans = Math.floor(a * b);\n if (std >= 100) {\n \tans = ans*100;\n }\n System.out.println((long)ans);\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 std = a;",
"std",
"a",
"if (a >= 100) {\n \ta = a/100;\n }",
"a >= 100",
"a",
"100",
"{\n \ta = a/100;\n }",
"a = a/100",
"a",
"a/100",
"a",
"100",
"double ans = Math.floor(a * b);",
"ans",
"Math.floor(a * b)",
"Math.floor",
"Math",
"a * b",
"a",
"b",
"if (std >= 100) {\n \tans = ans*100;\n }",
"std >= 100",
"std",
"100",
"{\n \tans = ans*100;\n }",
"ans = ans*100",
"ans",
"ans*100",
"ans",
"100",
"System.out.println((long)ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"(long)ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n\n long std = a;\n if (a >= 100) {\n \ta = a/100;\n }\n double ans = Math.floor(a * b);\n if (std >= 100) {\n \tans = ans*100;\n }\n System.out.println((long)ans);\n\n }\n}",
"public class Main {\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n double b = sc.nextDouble();\n\n long std = a;\n if (a >= 100) {\n \ta = a/100;\n }\n double ans = Math.floor(a * b);\n if (std >= 100) {\n \tans = ans*100;\n }\n System.out.println((long)ans);\n\n }\n}",
"Main"
] |
import java.util.Scanner;
/*
*/
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
double b = sc.nextDouble();
long std = a;
if (a >= 100) {
a = a/100;
}
double ans = Math.floor(a * b);
if (std >= 100) {
ans = ans*100;
}
System.out.println((long)ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
29,
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
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
355,
38
],
[
355,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
41,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
41,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
39,
63
],
[
63,
64
],
[
355,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
67,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
73,
83
],
[
83,
84
],
[
84,
85
],
[
73,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
88,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
67,
100
],
[
100,
101
],
[
65,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
108,
110
],
[
104,
111
],
[
111,
112
],
[
111,
113
],
[
104,
115
],
[
115,
116
],
[
115,
117
],
[
104,
118
],
[
118,
119
],
[
118,
120
],
[
104,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
124,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
135,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
145,
148
],
[
131,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
153
],
[
153,
154
],
[
154,
155
],
[
123,
156
],
[
156,
157
],
[
104,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
161,
169
],
[
169,
170
],
[
170,
171
],
[
104,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
180,
181
],
[
180,
182
],
[
172,
183
],
[
183,
184
],
[
104,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
189,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
195,
197
],
[
188,
198
],
[
198,
199
],
[
187,
200
],
[
200,
201
],
[
201,
202
],
[
104,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
206,
210
],
[
210,
211
],
[
205,
212
],
[
212,
213
],
[
212,
214
],
[
205,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
205,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
219,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
224,
227
],
[
223,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
205,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
104,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
239,
243
],
[
243,
244
],
[
238,
245
],
[
245,
246
],
[
245,
247
],
[
238,
248
],
[
248,
249
],
[
248,
250
],
[
238,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
238,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
255,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
259,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
238,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
268,
272
],
[
272,
273
],
[
272,
274
],
[
267,
275
],
[
275,
276
],
[
276,
277
],
[
238,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
286,
287
],
[
286,
288
],
[
281,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
289,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
295,
297
],
[
281,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
299,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
298,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
310,
314
],
[
298,
315
],
[
315,
316
],
[
316,
317
],
[
280,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
104,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
324,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
333,
335
],
[
330,
336
],
[
336,
337
],
[
336,
338
],
[
338,
339
],
[
338,
340
],
[
329,
341
],
[
341,
342
],
[
324,
343
],
[
343,
344
],
[
104,
345
],
[
345,
346
],
[
345,
347
],
[
347,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
349,
352
],
[
352,
353
],
[
0,
354
],
[
354,
355
],
[
354,
356
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Comparator;\nimport java.util.LinkedList;\nimport java.util.List;\nimport java.util.NoSuchElementException;\nimport java.util.PriorityQueue;\nimport java.util.ArrayDeque;\nimport java.util.Queue;\nimport java.util.HashSet;\n\npublic class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int n = fs.nextInt();\n int x = fs.nextInt();\n System.out.println(n*x);\n \n \n }\n public static int calcMin(int[] array) {\n\n int intMin = array[0];\n\n for (int i = 1; i < array.length; i++ ) {\n if(intMin > array[i]) {\n intMin = array[i];\n }\n }\n return intMin;\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\n private int readByte(){\n if(hasNextByte())return buffer[ptr++];\n else return -1;\n }\n\n private static boolean isPrintableChar(int c){\n return 33<=c && c<=126;\n }\n public boolean hasNext(){\n while(hasNextByte() && !isPrintableChar(buffer[ptr]))ptr++;\n return hasNextByte();\n }\n\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\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 public double nextDoutble(){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.Comparator;",
"Comparator",
"java.util",
"import java.util.LinkedList;",
"LinkedList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"import java.util.PriorityQueue;",
"PriorityQueue",
"java.util",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.Queue;",
"Queue",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int n = fs.nextInt();\n int x = fs.nextInt();\n System.out.println(n*x);\n \n \n }\n public static int calcMin(int[] array) {\n\n int intMin = array[0];\n\n for (int i = 1; i < array.length; i++ ) {\n if(intMin > array[i]) {\n intMin = array[i];\n }\n }\n return intMin;\n}\n}",
"Main",
"public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int n = fs.nextInt();\n int x = fs.nextInt();\n System.out.println(n*x);\n \n \n }",
"main",
"{\n FastScanner fs = new FastScanner();\n int n = fs.nextInt();\n int x = fs.nextInt();\n System.out.println(n*x);\n \n \n }",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"int n = fs.nextInt();",
"n",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int x = fs.nextInt();",
"x",
"fs.nextInt()",
"fs.nextInt",
"fs",
"System.out.println(n*x)",
"System.out.println",
"System.out",
"System",
"System.out",
"n*x",
"n",
"x",
"String[] args",
"args",
"public static int calcMin(int[] array) {\n\n int intMin = array[0];\n\n for (int i = 1; i < array.length; i++ ) {\n if(intMin > array[i]) {\n intMin = array[i];\n }\n }\n return intMin;\n}",
"calcMin",
"{\n\n int intMin = array[0];\n\n for (int i = 1; i < array.length; i++ ) {\n if(intMin > array[i]) {\n intMin = array[i];\n }\n }\n return intMin;\n}",
"int intMin = array[0];",
"intMin",
"array[0]",
"array",
"0",
"for (int i = 1; i < array.length; i++ ) {\n if(intMin > array[i]) {\n intMin = array[i];\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n if(intMin > array[i]) {\n intMin = array[i];\n }\n }",
"{\n if(intMin > array[i]) {\n intMin = array[i];\n }\n }",
"if(intMin > array[i]) {\n intMin = array[i];\n }",
"intMin > array[i]",
"intMin",
"array[i]",
"array",
"i",
"{\n intMin = array[i];\n }",
"intMin = array[i]",
"intMin",
"array[i]",
"array",
"i",
"return intMin;",
"intMin",
"int[] array",
"array",
"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\n private int readByte(){\n if(hasNextByte())return buffer[ptr++];\n else return -1;\n }\n\n private static boolean isPrintableChar(int c){\n return 33<=c && c<=126;\n }\n public boolean hasNext(){\n while(hasNextByte() && !isPrintableChar(buffer[ptr]))ptr++;\n return hasNextByte();\n }\n\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\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 public double nextDoutble(){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(){\n if(hasNextByte())return buffer[ptr++];\n else return -1;\n }",
"readByte",
"{\n if(hasNextByte())return buffer[ptr++];\n else return -1;\n }",
"if(hasNextByte())return buffer[ptr++];\n else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"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]))ptr++;\n return hasNextByte();\n }",
"hasNext",
"{\n while(hasNextByte() && !isPrintableChar(buffer[ptr]))ptr++;\n return hasNextByte();\n }",
"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 nextDoutble(){return Double.parseDouble(next());}",
"nextDoutble",
"{return Double.parseDouble(next());}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int n = fs.nextInt();\n int x = fs.nextInt();\n System.out.println(n*x);\n \n \n }\n public static int calcMin(int[] array) {\n\n int intMin = array[0];\n\n for (int i = 1; i < array.length; i++ ) {\n if(intMin > array[i]) {\n intMin = array[i];\n }\n }\n return intMin;\n}\n}",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int n = fs.nextInt();\n int x = fs.nextInt();\n System.out.println(n*x);\n \n \n }\n public static int calcMin(int[] array) {\n\n int intMin = array[0];\n\n for (int i = 1; i < array.length; i++ ) {\n if(intMin > array[i]) {\n intMin = array[i];\n }\n }\n return intMin;\n}\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.LinkedList;
import java.util.List;
import java.util.NoSuchElementException;
import java.util.PriorityQueue;
import java.util.ArrayDeque;
import java.util.Queue;
import java.util.HashSet;
public class Main {
public static void main(String[] args) {
FastScanner fs = new FastScanner();
int n = fs.nextInt();
int x = fs.nextInt();
System.out.println(n*x);
}
public static int calcMin(int[] array) {
int intMin = array[0];
for (int i = 1; i < array.length; i++ ) {
if(intMin > array[i]) {
intMin = array[i];
}
}
return intMin;
}
}
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 nextDoutble(){return Double.parseDouble(next());}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
18,
13,
17,
18,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input=new Scanner(System.in);\n\t\t\n\t\tint a[]=new int[2];\n\t\t\n\t\tfor(int i=0;i<2;i++)\n\t\t\ta[i]=input.nextInt();\n\t\t\n\t\tSystem.out.println(a[1]*a[0]);\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 input=new Scanner(System.in);\n\t\t\n\t\tint a[]=new int[2];\n\t\t\n\t\tfor(int i=0;i<2;i++)\n\t\t\ta[i]=input.nextInt();\n\t\t\n\t\tSystem.out.println(a[1]*a[0]);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner input=new Scanner(System.in);\n\t\t\n\t\tint a[]=new int[2];\n\t\t\n\t\tfor(int i=0;i<2;i++)\n\t\t\ta[i]=input.nextInt();\n\t\t\n\t\tSystem.out.println(a[1]*a[0]);\n\t}",
"main",
"{\n\t\tScanner input=new Scanner(System.in);\n\t\t\n\t\tint a[]=new int[2];\n\t\t\n\t\tfor(int i=0;i<2;i++)\n\t\t\ta[i]=input.nextInt();\n\t\t\n\t\tSystem.out.println(a[1]*a[0]);\n\t}",
"Scanner input=new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int a[]=new int[2];",
"a",
"new int[2]",
"2",
"for(int i=0;i<2;i++)\n\t\t\ta[i]=input.nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<2",
"i",
"2",
"i++",
"i++",
"i",
"a[i]=input.nextInt();",
"a[i]=input.nextInt()",
"a[i]",
"a",
"i",
"input.nextInt()",
"input.nextInt",
"input",
"System.out.println(a[1]*a[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[1]*a[0]",
"a[1]",
"a",
"1",
"a[0]",
"a",
"0",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input=new Scanner(System.in);\n\t\t\n\t\tint a[]=new int[2];\n\t\t\n\t\tfor(int i=0;i<2;i++)\n\t\t\ta[i]=input.nextInt();\n\t\t\n\t\tSystem.out.println(a[1]*a[0]);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input=new Scanner(System.in);\n\t\t\n\t\tint a[]=new int[2];\n\t\t\n\t\tfor(int i=0;i<2;i++)\n\t\t\ta[i]=input.nextInt();\n\t\t\n\t\tSystem.out.println(a[1]*a[0]);\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int a[]=new int[2];
for(int i=0;i<2;i++)
a[i]=input.nextInt();
System.out.println(a[1]*a[0]);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
41,
13,
4,
13,
4,
18,
13,
41,
13,
4,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
60,
20
],
[
60,
21
],
[
21,
22
],
[
21,
23
],
[
60,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
26,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
26,
48
],
[
48,
49
],
[
49,
50
],
[
26,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
24,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] |
[
"import java.util.*;\nimport java.io.PrintWriter;\nimport static java.lang.Integer.*;\nimport static java.lang.Long.*;\nimport static java.lang.Math.*;\nimport static java.lang.System.*;\n\npublic class Main {\n\tpublic static final int MOD = 1000000007;\n\tpublic static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tint a = parseInt(sc.next());\n\t\tint b = parseInt(sc.next());\n\t\tsc.close();\n\t\tout.println(a*b);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import static java.lang.Integer.*;",
"import static java.lang.Integer.*;",
"import static java.lang.Integer.*;",
"import static java.lang.Long.*;",
"import static java.lang.Long.*;",
"import static java.lang.Long.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.System.*;",
"import static java.lang.System.*;",
"import static java.lang.System.*;",
"public class Main {\n\tpublic static final int MOD = 1000000007;\n\tpublic static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tint a = parseInt(sc.next());\n\t\tint b = parseInt(sc.next());\n\t\tsc.close();\n\t\tout.println(a*b);\n\t}\n}",
"Main",
"public static final int MOD = 1000000007;",
"MOD",
"1000000007",
"public static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tint a = parseInt(sc.next());\n\t\tint b = parseInt(sc.next());\n\t\tsc.close();\n\t\tout.println(a*b);\n\t}",
"main",
"{\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tint a = parseInt(sc.next());\n\t\tint b = parseInt(sc.next());\n\t\tsc.close();\n\t\tout.println(a*b);\n\t}",
"int i",
"i",
"j;",
"j",
"Scanner sc = new Scanner(in);",
"sc",
"new Scanner(in)",
"int a = parseInt(sc.next());",
"a",
"parseInt(sc.next())",
"parseInt",
"sc.next()",
"sc.next",
"sc",
"int b = parseInt(sc.next());",
"b",
"parseInt(sc.next())",
"parseInt",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"out.println(a*b)",
"out.println",
"out",
"a*b",
"a",
"b",
"String[] args",
"args",
"public class Main {\n\tpublic static final int MOD = 1000000007;\n\tpublic static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tint a = parseInt(sc.next());\n\t\tint b = parseInt(sc.next());\n\t\tsc.close();\n\t\tout.println(a*b);\n\t}\n}",
"public class Main {\n\tpublic static final int MOD = 1000000007;\n\tpublic static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tint a = parseInt(sc.next());\n\t\tint b = parseInt(sc.next());\n\t\tsc.close();\n\t\tout.println(a*b);\n\t}\n}",
"Main"
] |
import java.util.*;
import java.io.PrintWriter;
import static java.lang.Integer.*;
import static java.lang.Long.*;
import static java.lang.Math.*;
import static java.lang.System.*;
public class Main {
public static final int MOD = 1000000007;
public static void main(String[] args) {
int i,j;
Scanner sc = new Scanner(in);
int a = parseInt(sc.next());
int b = parseInt(sc.next());
sc.close();
out.println(a*b);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
38,
5,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
30,
34
],
[
22,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
22,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] |
[
"import java.io.*;\npublic class Main{\n\n public static void main(String[] args){\n\n int a=0;\n int b=0;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try{\n String line = reader.readLine();\n String[] inp = line.split(\" \", 0);\n a = Integer.parseInt(inp[0]);\n b = Integer.parseInt(inp[1]);\n \n }catch(IOException e){\n }\n\n System.out.println(a * b);\n\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\n public static void main(String[] args){\n\n int a=0;\n int b=0;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try{\n String line = reader.readLine();\n String[] inp = line.split(\" \", 0);\n a = Integer.parseInt(inp[0]);\n b = Integer.parseInt(inp[1]);\n \n }catch(IOException e){\n }\n\n System.out.println(a * b);\n\n }\n}",
"Main",
"public static void main(String[] args){\n\n int a=0;\n int b=0;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try{\n String line = reader.readLine();\n String[] inp = line.split(\" \", 0);\n a = Integer.parseInt(inp[0]);\n b = Integer.parseInt(inp[1]);\n \n }catch(IOException e){\n }\n\n System.out.println(a * b);\n\n }",
"main",
"{\n\n int a=0;\n int b=0;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try{\n String line = reader.readLine();\n String[] inp = line.split(\" \", 0);\n a = Integer.parseInt(inp[0]);\n b = Integer.parseInt(inp[1]);\n \n }catch(IOException e){\n }\n\n System.out.println(a * b);\n\n }",
"int a=0;",
"a",
"0",
"int b=0;",
"b",
"0",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n String line = reader.readLine();\n String[] inp = line.split(\" \", 0);\n a = Integer.parseInt(inp[0]);\n b = Integer.parseInt(inp[1]);\n \n }catch(IOException e){\n }",
"catch(IOException e){\n }",
"IOException e",
"{\n }",
"{\n String line = reader.readLine();\n String[] inp = line.split(\" \", 0);\n a = Integer.parseInt(inp[0]);\n b = Integer.parseInt(inp[1]);\n \n }",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"String[] inp = line.split(\" \", 0);",
"inp",
"line.split(\" \", 0)",
"line.split",
"line",
"\" \"",
"0",
"a = Integer.parseInt(inp[0])",
"a",
"Integer.parseInt(inp[0])",
"Integer.parseInt",
"Integer",
"inp[0]",
"inp",
"0",
"b = Integer.parseInt(inp[1])",
"b",
"Integer.parseInt(inp[1])",
"Integer.parseInt",
"Integer",
"inp[1]",
"inp",
"1",
"System.out.println(a * b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b",
"a",
"b",
"String[] args",
"args",
"public class Main{\n\n public static void main(String[] args){\n\n int a=0;\n int b=0;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try{\n String line = reader.readLine();\n String[] inp = line.split(\" \", 0);\n a = Integer.parseInt(inp[0]);\n b = Integer.parseInt(inp[1]);\n \n }catch(IOException e){\n }\n\n System.out.println(a * b);\n\n }\n}",
"public class Main{\n\n public static void main(String[] args){\n\n int a=0;\n int b=0;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try{\n String line = reader.readLine();\n String[] inp = line.split(\" \", 0);\n a = Integer.parseInt(inp[0]);\n b = Integer.parseInt(inp[1]);\n \n }catch(IOException e){\n }\n\n System.out.println(a * b);\n\n }\n}",
"Main"
] |
import java.io.*;
public class Main{
public static void main(String[] args){
int a=0;
int b=0;
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
try{
String line = reader.readLine();
String[] inp = line.split(" ", 0);
a = Integer.parseInt(inp[0]);
b = Integer.parseInt(inp[1]);
}catch(IOException e){
}
System.out.println(a * b);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
18,
13,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
2,
13,
13,
23,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
58,
11
],
[
58,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
12,
23
],
[
23,
24
],
[
58,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
27,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
27,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
25,
53
],
[
53,
54
],
[
25,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
"import java.io.InputStream;\nimport java.io.PrintStream;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n resolve(System.in, System.out);\n }\n\n static void resolve(InputStream is, PrintStream pw) {\n Scanner sc = new Scanner(is);\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n pw.println(a * b);\n }\n}",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintStream;",
"PrintStream",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n resolve(System.in, System.out);\n }\n\n static void resolve(InputStream is, PrintStream pw) {\n Scanner sc = new Scanner(is);\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n pw.println(a * b);\n }\n}",
"Main",
"public static void main(String[] args) {\n resolve(System.in, System.out);\n }",
"main",
"{\n resolve(System.in, System.out);\n }",
"resolve(System.in, System.out)",
"resolve",
"System.in",
"System",
"System.in",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"static void resolve(InputStream is, PrintStream pw) {\n Scanner sc = new Scanner(is);\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n pw.println(a * b);\n }",
"resolve",
"{\n Scanner sc = new Scanner(is);\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n pw.println(a * b);\n }",
"Scanner sc = new Scanner(is);",
"sc",
"new Scanner(is)",
"int a = Integer.parseInt(sc.next());",
"a",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int b = Integer.parseInt(sc.next());",
"b",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"pw.println(a * b)",
"pw.println",
"pw",
"a * b",
"a",
"b",
"InputStream is",
"is",
"PrintStream pw",
"pw",
"public class Main {\n\n public static void main(String[] args) {\n resolve(System.in, System.out);\n }\n\n static void resolve(InputStream is, PrintStream pw) {\n Scanner sc = new Scanner(is);\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n pw.println(a * b);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n resolve(System.in, System.out);\n }\n\n static void resolve(InputStream is, PrintStream pw) {\n Scanner sc = new Scanner(is);\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n pw.println(a * b);\n }\n}",
"Main"
] |
import java.io.InputStream;
import java.io.PrintStream;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
resolve(System.in, System.out);
}
static void resolve(InputStream is, PrintStream pw) {
Scanner sc = new Scanner(is);
int a = Integer.parseInt(sc.next());
int b = Integer.parseInt(sc.next());
pw.println(a * b);
}
}
|
[
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,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] |
[
"\nimport java.util.*;\n\npublic class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n int i = sc.nextInt();\n int j = sc.nextInt();\n sc.close();\n System.out.println(i * j);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n int i = sc.nextInt();\n int j = sc.nextInt();\n sc.close();\n System.out.println(i * j);\n }\n}",
"Main",
"public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n int i = sc.nextInt();\n int j = sc.nextInt();\n sc.close();\n System.out.println(i * j);\n }",
"main",
"{\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n int i = sc.nextInt();\n int j = sc.nextInt();\n sc.close();\n System.out.println(i * j);\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = sc.nextInt();",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int j = sc.nextInt();",
"j",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"System.out.println(i * j)",
"System.out.println",
"System.out",
"System",
"System.out",
"i * j",
"i",
"j",
"final String[] args",
"args",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n int i = sc.nextInt();\n int j = sc.nextInt();\n sc.close();\n System.out.println(i * j);\n }\n}",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n int i = sc.nextInt();\n int j = sc.nextInt();\n sc.close();\n System.out.println(i * j);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(final String[] args) {
final Scanner sc = new Scanner(System.in);
// 整数の入力
// final int a = sc.nextInt();
// 文字列の入力
// final String s1 = sc.next();
int i = sc.nextInt();
int j = sc.nextInt();
sc.close();
System.out.println(i * j);
}
}
|
[
7,
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,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
33,
5
],
[
33,
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
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
6,
30
],
[
30,
31
],
[
0,
32
],
[
32,
33
],
[
32,
34
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(n*b);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(n*b);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(n*b);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(n*b);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(n*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"n*b",
"n",
"b",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(n*b);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(n*b);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int b = sc.nextInt();
System.out.println(n*b);
}
}
|
[
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,
13,
4,
18,
18,
13,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
6,
33
],
[
33,
34
]
] |
[
"import java.util.Scanner;\nclass Main {\n\tpublic static void main(String[] args) {\n \t\tScanner in = new Scanner(System.in);\n \tint A = in.nextInt();\n \tint B = in.nextInt();\n \tint product = A * B;\n \tSystem.out.println(product);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n \t\tScanner in = new Scanner(System.in);\n \tint A = in.nextInt();\n \tint B = in.nextInt();\n \tint product = A * B;\n \tSystem.out.println(product);\n }\n}",
"Main",
"public static void main(String[] args) {\n \t\tScanner in = new Scanner(System.in);\n \tint A = in.nextInt();\n \tint B = in.nextInt();\n \tint product = A * B;\n \tSystem.out.println(product);\n }",
"main",
"{\n \t\tScanner in = new Scanner(System.in);\n \tint A = in.nextInt();\n \tint B = in.nextInt();\n \tint product = A * B;\n \tSystem.out.println(product);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int A = in.nextInt();",
"A",
"in.nextInt()",
"in.nextInt",
"in",
"int B = in.nextInt();",
"B",
"in.nextInt()",
"in.nextInt",
"in",
"int product = A * B;",
"product",
"A * B",
"A",
"B",
"System.out.println(product)",
"System.out.println",
"System.out",
"System",
"System.out",
"product",
"String[] args",
"args"
] |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int A = in.nextInt();
int B = in.nextInt();
int product = A * B;
System.out.println(product);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
29,
4,
18,
13,
29,
4,
18,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
198,
8
],
[
198,
9
],
[
9,
10
],
[
198,
11
],
[
11,
12
],
[
198,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
19,
21
],
[
15,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
15,
32
],
[
32,
33
],
[
33,
34
],
[
13,
35
],
[
35,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
45,
54
],
[
54,
55
],
[
37,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
59,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
69,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
58,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
37,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
86,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
96,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
85,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
37,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
119,
120
],
[
37,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
128,
129
],
[
37,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
137,
138
],
[
37,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
146,
151
],
[
151,
152
],
[
151,
153
],
[
146,
154
],
[
154,
155
],
[
155,
156
],
[
146,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
162,
163
],
[
141,
164
],
[
164,
165
],
[
139,
166
],
[
166,
167
],
[
37,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
175,
180
],
[
180,
181
],
[
180,
182
],
[
175,
183
],
[
183,
184
],
[
184,
185
],
[
175,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
191,
192
],
[
170,
193
],
[
193,
194
],
[
168,
195
],
[
195,
196
],
[
0,
197
],
[
197,
198
],
[
197,
199
]
] |
[
"import java.util.*;\nimport java.io.*;\n \npublic class Main {\n static boolean[][] used;\n static int[] ans;\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n out.println(sc.nextInt()*sc.nextInt());\n out.close();\n }\n}\n\nclass FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n } \n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n static boolean[][] used;\n static int[] ans;\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n out.println(sc.nextInt()*sc.nextInt());\n out.close();\n }\n}",
"Main",
"static boolean[][] used;",
"used",
"static int[] ans;",
"ans",
"public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n out.println(sc.nextInt()*sc.nextInt());\n out.close();\n }",
"main",
"{\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n out.println(sc.nextInt()*sc.nextInt());\n out.close();\n }",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"out.println(sc.nextInt()*sc.nextInt())",
"out.println",
"out",
"sc.nextInt()*sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n } \n}",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }",
"FastScanner",
"{\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream in",
"in",
"public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken(\"\\n\");\n }",
"nextLine",
"{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken(\"\\n\");\n }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n return reader.readLine();\n }",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"return tokenizer.nextToken(\"\\n\");",
"tokenizer.nextToken(\"\\n\")",
"tokenizer.nextToken",
"tokenizer",
"\"\\n\"",
"public long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"nextIntArray",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n a[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"nextLongArray",
"{\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n a[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextLong();",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"public class Main {\n static boolean[][] used;\n static int[] ans;\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n out.println(sc.nextInt()*sc.nextInt());\n out.close();\n }\n}",
"public class Main {\n static boolean[][] used;\n static int[] ans;\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n out.println(sc.nextInt()*sc.nextInt());\n out.close();\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
static boolean[][] used;
static int[] ans;
public static void main(String[] args) throws Exception {
FastScanner sc = new FastScanner(System.in);
PrintWriter out = new PrintWriter(System.out);
out.println(sc.nextInt()*sc.nextInt());
out.close();
}
}
class FastScanner {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public FastScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
tokenizer = null;
}
public String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public String nextLine() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
return reader.readLine();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken("\n");
}
public long nextLong() {
return Long.parseLong(next());
}
public int nextInt() {
return Integer.parseInt(next());
}
public double nextDouble() {
return Double.parseDouble(next());
}
public int[] nextIntArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
public long[] nextLongArray(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nextLong();
return a;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
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
],
[
120,
14
],
[
120,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
15,
39
],
[
39,
40
],
[
120,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
57,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
51,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
41,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
41,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
88,
96
],
[
96,
97
],
[
97,
98
],
[
88,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
83,
106
],
[
106,
107
],
[
81,
108
],
[
108,
109
],
[
41,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
117,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int a = fs.nextInt();\n int b = fs.nextInt();\n System.out.println(a*b);\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n 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.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int a = fs.nextInt();\n int b = fs.nextInt();\n System.out.println(a*b);\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int a = fs.nextInt();\n int b = fs.nextInt();\n System.out.println(a*b);\n }",
"main",
"{\n FastScanner fs = new FastScanner();\n int a = fs.nextInt();\n int b = fs.nextInt();\n System.out.println(a*b);\n }",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"int a = fs.nextInt();",
"a",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int b = fs.nextInt();",
"b",
"fs.nextInt()",
"fs.nextInt",
"fs",
"System.out.println(a*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"String[] args",
"args",
"static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }",
"FastScanner",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"next",
"{\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }",
"readArray",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) a[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int a = fs.nextInt();\n int b = fs.nextInt();\n System.out.println(a*b);\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int a = fs.nextInt();\n int b = fs.nextInt();\n System.out.println(a*b);\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\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) {
FastScanner fs = new FastScanner();
int a = fs.nextInt();
int b = fs.nextInt();
System.out.println(a*b);
}
static class FastScanner {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++) a[i] = nextInt();
return a;
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
33,
5
],
[
33,
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
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
6,
30
],
[
30,
31
],
[
0,
32
],
[
32,
33
],
[
32,
34
]
] |
[
"import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t \tScanner scn = new Scanner(System.in);\n \tlong a = scn.nextLong();\n \tlong b = scn.nextLong();\n \tSystem.out.println(a*b);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t \tScanner scn = new Scanner(System.in);\n \tlong a = scn.nextLong();\n \tlong b = scn.nextLong();\n \tSystem.out.println(a*b);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t \tScanner scn = new Scanner(System.in);\n \tlong a = scn.nextLong();\n \tlong b = scn.nextLong();\n \tSystem.out.println(a*b);\n\t}",
"main",
"{\n\t \tScanner scn = new Scanner(System.in);\n \tlong a = scn.nextLong();\n \tlong b = scn.nextLong();\n \tSystem.out.println(a*b);\n\t}",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"long a = scn.nextLong();",
"a",
"scn.nextLong()",
"scn.nextLong",
"scn",
"long b = scn.nextLong();",
"b",
"scn.nextLong()",
"scn.nextLong",
"scn",
"System.out.println(a*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t \tScanner scn = new Scanner(System.in);\n \tlong a = scn.nextLong();\n \tlong b = scn.nextLong();\n \tSystem.out.println(a*b);\n\t}\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t \tScanner scn = new Scanner(System.in);\n \tlong a = scn.nextLong();\n \tlong b = scn.nextLong();\n \tSystem.out.println(a*b);\n\t}\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();
long b = scn.nextLong();
System.out.println(a*b);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
19,
20
],
[
20,
21
],
[
10,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
10,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int totalnum = Integer.parseInt(sc.next());\n int al = Integer.parseInt(sc.next());\n \n System.out.println(totalnum * al);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int totalnum = Integer.parseInt(sc.next());\n int al = Integer.parseInt(sc.next());\n \n System.out.println(totalnum * al);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int totalnum = Integer.parseInt(sc.next());\n int al = Integer.parseInt(sc.next());\n \n System.out.println(totalnum * al);\n }\n }",
"main",
"{\n try (Scanner sc = new Scanner(System.in)) {\n int totalnum = Integer.parseInt(sc.next());\n int al = Integer.parseInt(sc.next());\n \n System.out.println(totalnum * al);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n int totalnum = Integer.parseInt(sc.next());\n int al = Integer.parseInt(sc.next());\n \n System.out.println(totalnum * al);\n }",
"{\n int totalnum = Integer.parseInt(sc.next());\n int al = Integer.parseInt(sc.next());\n \n System.out.println(totalnum * al);\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int totalnum = Integer.parseInt(sc.next());",
"totalnum",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int al = Integer.parseInt(sc.next());",
"al",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"System.out.println(totalnum * al)",
"System.out.println",
"System.out",
"System",
"System.out",
"totalnum * al",
"totalnum",
"al",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int totalnum = Integer.parseInt(sc.next());\n int al = Integer.parseInt(sc.next());\n \n System.out.println(totalnum * al);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int totalnum = Integer.parseInt(sc.next());\n int al = Integer.parseInt(sc.next());\n \n System.out.println(totalnum * al);\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
int totalnum = Integer.parseInt(sc.next());
int al = Integer.parseInt(sc.next());
System.out.println(totalnum * al);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
18,
13,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
30,
5
],
[
30,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
6,
27
],
[
27,
28
],
[
0,
29
],
[
29,
30
],
[
29,
31
]
] |
[
"\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n System.out.println(sc.nextInt() * sc.nextInt());\n sc.close();\n\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n System.out.println(sc.nextInt() * sc.nextInt());\n sc.close();\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n System.out.println(sc.nextInt() * sc.nextInt());\n sc.close();\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n System.out.println(sc.nextInt() * sc.nextInt());\n sc.close();\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"System.out.println(sc.nextInt() * sc.nextInt())",
"System.out.println",
"System.out",
"System",
"System.out",
"sc.nextInt() * sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"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\n System.out.println(sc.nextInt() * sc.nextInt());\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\n System.out.println(sc.nextInt() * sc.nextInt());\n sc.close();\n\n }\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println(sc.nextInt() * sc.nextInt());
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
13,
2,
17,
17,
41,
13,
13,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
13,
2,
17,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
13,
2,
17,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
0,
13,
2,
17,
17,
29,
2,
13,
2,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
152,
5
],
[
152,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
8,
10
],
[
152,
11
],
[
11,
12
],
[
11,
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
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
152,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
39,
71
],
[
71,
72
],
[
71,
73
],
[
39,
74
],
[
74,
75
],
[
74,
76
],
[
39,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
77,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
96,
98
],
[
39,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
108,
110
],
[
99,
111
],
[
111,
112
],
[
112,
113
],
[
99,
114
],
[
115,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
122,
124
],
[
39,
125
],
[
125,
126
],
[
37,
127
],
[
127,
128
],
[
37,
129
],
[
129,
130
],
[
152,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
140,
142
],
[
133,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
146,
148
],
[
131,
149
],
[
149,
150
],
[
0,
151
],
[
151,
152
],
[
151,
153
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tstatic long bignum = 1000000000+7;\n\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tlong k = sc.nextLong();\n\t\tSystem.out.println(n*k);\n\n\n\n\n\n\n\n\t}\n\n\tstatic long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}\n\n\tstatic long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}\n\n}\n/*\nclass City{\n\tint order;\n\tint prefecture;\n\tint year;\n\tint number;\n\tCity(int order,int prefecture, int year){\n\t\tthis.order = order;\n\t\tthis.prefecture = prefecture;\n\t\tthis.year = year;\n\t}\n}\n*/",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic long bignum = 1000000000+7;\n\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tlong k = sc.nextLong();\n\t\tSystem.out.println(n*k);\n\n\n\n\n\n\n\n\t}\n\n\tstatic long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}\n\n\tstatic long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}\n\n}",
"Main",
"static long bignum = 1000000000+7;",
"bignum",
"1000000000+7",
"1000000000",
"7",
"public static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tlong k = sc.nextLong();\n\t\tSystem.out.println(n*k);\n\n\n\n\n\n\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tlong k = sc.nextLong();\n\t\tSystem.out.println(n*k);\n\n\n\n\n\n\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long k = sc.nextLong();",
"k",
"sc.nextLong()",
"sc.nextLong",
"sc",
"System.out.println(n*k)",
"System.out.println",
"System.out",
"System",
"System.out",
"n*k",
"n",
"k",
"String[] args",
"args",
"static long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}",
"divn",
"{//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}",
"int sqtimes = (int)Math.sqrt(times);",
"sqtimes",
"(int)Math.sqrt(times)",
"Math.sqrt",
"Math",
"times",
"long ans = 1;",
"ans",
"1",
"for(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}",
"int i =0;",
"int i =0;",
"i",
"0",
"i<sqtimes",
"i",
"sqtimes",
"i++",
"i++",
"i",
"{\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}",
"{\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}",
"ans = (ans * target)%(1000000000+7)",
"ans",
"(ans * target)%(1000000000+7)",
"(ans * target)",
"ans",
"target",
"(1000000000+7)",
"1000000000",
"7",
"long holder = ans;",
"holder",
"ans",
"ans = 1",
"ans",
"1",
"for(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}",
"int i =0;",
"int i =0;",
"i",
"0",
"i<sqtimes",
"i",
"sqtimes",
"i++",
"i++",
"i",
"{\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}",
"{\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}",
"ans = (ans*holder)%(1000000000+7)",
"ans",
"(ans*holder)%(1000000000+7)",
"(ans*holder)",
"ans",
"holder",
"(1000000000+7)",
"1000000000",
"7",
"for(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<times - sqtimes*sqtimes",
"i",
"times - sqtimes*sqtimes",
"times",
"sqtimes*sqtimes",
"sqtimes",
"sqtimes",
"i++",
"i++",
"i",
"{\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}",
"{\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}",
"ans = (ans * target)%(1000000000+7)",
"ans",
"(ans * target)%(1000000000+7)",
"(ans * target)",
"ans",
"target",
"(1000000000+7)",
"1000000000",
"7",
"return ans;",
"ans",
"int target",
"target",
"int times",
"times",
"static long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}",
"div",
"{//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}",
"if(a<0)a+=1000000000+7;",
"a<0",
"a",
"0",
"a+=1000000000+7",
"a",
"1000000000+7",
"1000000000",
"7",
"return a%(1000000000+7);",
"a%(1000000000+7)",
"a",
"(1000000000+7)",
"1000000000",
"7",
"long a",
"a",
"public class Main {\n\n\tstatic long bignum = 1000000000+7;\n\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tlong k = sc.nextLong();\n\t\tSystem.out.println(n*k);\n\n\n\n\n\n\n\n\t}\n\n\tstatic long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}\n\n\tstatic long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}\n\n}",
"public class Main {\n\n\tstatic long bignum = 1000000000+7;\n\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tlong k = sc.nextLong();\n\t\tSystem.out.println(n*k);\n\n\n\n\n\n\n\n\t}\n\n\tstatic long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}\n\n\tstatic long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
static long bignum = 1000000000+7;
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
long k = sc.nextLong();
System.out.println(n*k);
}
static long divn(int target, int times) {//10_9+7のあまり累乗版
int sqtimes = (int)Math.sqrt(times);
long ans = 1;
for(int i =0;i<sqtimes;i++) {
ans = (ans * target)%(1000000000+7);
}
long holder = ans;
ans = 1;
for(int i =0;i<sqtimes;i++) {
ans = (ans*holder)%(1000000000+7);
}
for(int i=0;i<times - sqtimes*sqtimes;i++) {
ans = (ans * target)%(1000000000+7);
}
return ans;
}
static long div(long a) {//10_9+7のあまり
if(a<0)a+=1000000000+7;
return a%(1000000000+7);
}
}
/*
class City{
int order;
int prefecture;
int year;
int number;
City(int order,int prefecture, int year){
this.order = order;
this.prefecture = prefecture;
this.year = year;
}
}
*/
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
50,
8
],
[
50,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
9,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\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 int A = Integer.parseInt(line[0]);\n int B = Integer.parseInt(line[1]);\n System.out.println(A * B);\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 bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String[] line = bufferedReader.readLine().split(\" \");\n int A = Integer.parseInt(line[0]);\n int B = Integer.parseInt(line[1]);\n System.out.println(A * B);\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 int A = Integer.parseInt(line[0]);\n int B = Integer.parseInt(line[1]);\n System.out.println(A * B);\n }",
"main",
"{\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String[] line = bufferedReader.readLine().split(\" \");\n int A = Integer.parseInt(line[0]);\n int B = Integer.parseInt(line[1]);\n System.out.println(A * B);\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",
"\" \"",
"int A = Integer.parseInt(line[0]);",
"A",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"int B = Integer.parseInt(line[1]);",
"B",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"System.out.println(A * B)",
"System.out.println",
"System.out",
"System",
"System.out",
"A * B",
"A",
"B",
"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 int A = Integer.parseInt(line[0]);\n int B = Integer.parseInt(line[1]);\n System.out.println(A * B);\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 int A = Integer.parseInt(line[0]);\n int B = Integer.parseInt(line[1]);\n System.out.println(A * B);\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
String[] line = bufferedReader.readLine().split(" ");
int A = Integer.parseInt(line[0]);
int B = Integer.parseInt(line[1]);
System.out.println(A * B);
}
}
|
[
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,
13,
4,
18,
18,
13,
13,
2,
13,
13,
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
],
[
18,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
18,
40
]
] |
[
"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 int A = sc.nextInt();\n int B = sc.nextInt();\n\n System.out.println(A*B);\n\n\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 int A = sc.nextInt();\n int B = sc.nextInt();\n\n System.out.println(A*B);\n\n\n return;\n }\n\n}",
"Solver",
"public void run() {\n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n System.out.println(A*B);\n\n\n return;\n }",
"run",
"{\n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n System.out.println(A*B);\n\n\n return;\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int A = sc.nextInt();",
"A",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int B = sc.nextInt();",
"B",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(A*B)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*B",
"A",
"B",
"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);
int A = sc.nextInt();
int B = sc.nextInt();
System.out.println(A*B);
return;
}
}
|
[
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,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int num2 = sc.nextInt();\n int result = num * num2;\n System.out.println(result);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int num2 = sc.nextInt();\n int result = num * num2;\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int num2 = sc.nextInt();\n int result = num * num2;\n System.out.println(result);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int num2 = sc.nextInt();\n int result = num * num2;\n System.out.println(result);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int num = sc.nextInt();",
"num",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num2 = sc.nextInt();",
"num2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int result = num * num2;",
"result",
"num * num2",
"num",
"num2",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int num2 = sc.nextInt();\n int result = num * num2;\n System.out.println(result);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int num2 = sc.nextInt();\n int result = num * num2;\n System.out.println(result);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
int num = sc.nextInt();
int num2 = sc.nextInt();
int result = num * num2;
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
39,
11
],
[
39,
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
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
12,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"import java.util.*;\nimport java.math.RoundingMode;\nimport java.math.BigDecimal;\n \n \n \npublic class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println(a*b);\n\t }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println(a*b);\n\t }\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println(a*b);\n\t }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println(a*b);\n\t }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(a*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"String[] args",
"args",
"public class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println(a*b);\n\t }\n}",
"public class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println(a*b);\n\t }\n}",
"Main"
] |
import java.util.*;
import java.math.RoundingMode;
import java.math.BigDecimal;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a*b);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
2,
17,
17,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
13,
41,
13,
2,
17,
13,
0,
13,
13,
4,
13,
2,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
40,
13,
17,
4,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
17,
2,
17,
4,
13,
2,
13,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
2,
13,
17,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
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
],
[
315,
11
],
[
315,
12
],
[
12,
13
],
[
315,
14
],
[
14,
15
],
[
315,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
315,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
23,
37
],
[
37,
38
],
[
37,
39
],
[
23,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
315,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
47,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
47,
59
],
[
59,
60
],
[
59,
61
],
[
47,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
62,
67
],
[
67,
68
],
[
47,
69
],
[
69,
70
],
[
70,
71
],
[
47,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
78,
82
],
[
77,
83
],
[
45,
84
],
[
84,
85
],
[
315,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
86,
93
],
[
93,
94
],
[
315,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
95,
102
],
[
102,
103
],
[
315,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
112,
113
],
[
315,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
121,
122
],
[
122,
123
],
[
315,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
131,
132
],
[
132,
133
],
[
315,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
315,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
145,
150
],
[
150,
151
],
[
150,
152
],
[
150,
153
],
[
153,
154
],
[
153,
155
],
[
141,
156
],
[
156,
157
],
[
141,
158
],
[
158,
159
],
[
315,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
164,
169
],
[
169,
170
],
[
169,
171
],
[
169,
172
],
[
172,
173
],
[
172,
174
],
[
160,
175
],
[
175,
176
],
[
160,
177
],
[
177,
178
],
[
315,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
187
],
[
183,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
194,
196
],
[
179,
197
],
[
197,
198
],
[
315,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
209,
211
],
[
205,
212
],
[
212,
213
],
[
212,
214
],
[
205,
215
],
[
215,
216
],
[
216,
217
],
[
205,
218
],
[
219,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
222,
225
],
[
225,
226
],
[
225,
227
],
[
219,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
230,
232
],
[
219,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
233,
237
],
[
237,
238
],
[
237,
239
],
[
219,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
201,
245
],
[
245,
246
],
[
246,
247
],
[
245,
248
],
[
199,
249
],
[
249,
250
],
[
199,
251
],
[
251,
252
],
[
315,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
253,
257
],
[
257,
258
],
[
253,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
253,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
269,
273
],
[
273,
274
],
[
274,
275
],
[
275,
276
],
[
268,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
278,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
267,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
253,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
295,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
299,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
310,
311
],
[
295,
312
],
[
312,
313
],
[
0,
314
],
[
314,
315
],
[
314,
316
]
] |
[
"import java.util.*;\nimport java.io.*;\nimport java.math.*;\n\npublic class Main\n{\n\n public static void process()throws IOException\n {\n Long a=nl();\n Double x=nd();\n Long b=(long)(100l*x);\n\n a*=b;\n pn(a/100l);\n }\n\n\n static FastReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new FastReader();\n\n long s = System.currentTimeMillis();\n int t=1;\n //t=ni();\n while(t-->0)\n process();\n\n out.flush();\n System.err.println(System.currentTimeMillis()-s+\"ms\");\n }\n \n \n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static int ni()throws IOException{return Integer.parseInt(sc.next());}\n static long nl()throws IOException{return Long.parseLong(sc.next());}\n static double nd()throws IOException{return Double.parseDouble(sc.next());}\n static String nln()throws IOException{return sc.nextLine();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n \n static long mod=(long)1e9+7l;\n\n static<T> void r_sort(T arr[],int n){\n Random r = new Random(); \n for (int i = n-1; i > 0; i--){ \n int j = r.nextInt(i+1); \n \n T temp = arr[i]; \n arr[i] = arr[j]; \n arr[j] = temp; \n } \n Arrays.sort(arr); \n }\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class FastReader{ \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader(){ \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n \n String next(){ \n while (st == null || !st.hasMoreElements()){ \n try{ st = new StringTokenizer(br.readLine()); } catch (IOException e){ e.printStackTrace(); } \n } \n return st.nextToken(); \n } \n \n String nextLine(){ \n String str = \"\"; \n try{ str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } \n return str; \n } \n } \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main\n{\n\n public static void process()throws IOException\n {\n Long a=nl();\n Double x=nd();\n Long b=(long)(100l*x);\n\n a*=b;\n pn(a/100l);\n }\n\n\n static FastReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new FastReader();\n\n long s = System.currentTimeMillis();\n int t=1;\n //t=ni();\n while(t-->0)\n process();\n\n out.flush();\n System.err.println(System.currentTimeMillis()-s+\"ms\");\n }\n \n \n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static int ni()throws IOException{return Integer.parseInt(sc.next());}\n static long nl()throws IOException{return Long.parseLong(sc.next());}\n static double nd()throws IOException{return Double.parseDouble(sc.next());}\n static String nln()throws IOException{return sc.nextLine();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n \n static long mod=(long)1e9+7l;\n\n static<T> void r_sort(T arr[],int n){\n Random r = new Random(); \n for (int i = n-1; i > 0; i--){ \n int j = r.nextInt(i+1); \n \n T temp = arr[i]; \n arr[i] = arr[j]; \n arr[j] = temp; \n } \n Arrays.sort(arr); \n }\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class FastReader{ \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader(){ \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n \n String next(){ \n while (st == null || !st.hasMoreElements()){ \n try{ st = new StringTokenizer(br.readLine()); } catch (IOException e){ e.printStackTrace(); } \n } \n return st.nextToken(); \n } \n \n String nextLine(){ \n String str = \"\"; \n try{ str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } \n return str; \n } \n } \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}",
"Main",
"static FastReader sc;",
"sc",
"static PrintWriter out;",
"out",
"static long mod=(long)1e9+7l;",
"mod",
"(long)1e9+7l",
"(long)1e9",
"7l",
"public static void process()throws IOException\n {\n Long a=nl();\n Double x=nd();\n Long b=(long)(100l*x);\n\n a*=b;\n pn(a/100l);\n }",
"process",
"{\n Long a=nl();\n Double x=nd();\n Long b=(long)(100l*x);\n\n a*=b;\n pn(a/100l);\n }",
"Long a=nl();",
"a",
"nl()",
"nl",
"Double x=nd();",
"x",
"nd()",
"nd",
"Long b=(long)(100l*x);",
"b",
"(long)(100l*x)",
"100l",
"x",
"a*=b",
"a",
"b",
"pn(a/100l)",
"pn",
"a/100l",
"a",
"100l",
"public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new FastReader();\n\n long s = System.currentTimeMillis();\n int t=1;\n //t=ni();\n while(t-->0)\n process();\n\n out.flush();\n System.err.println(System.currentTimeMillis()-s+\"ms\");\n }",
"main",
"{\n out = new PrintWriter(System.out);\n sc=new FastReader();\n\n long s = System.currentTimeMillis();\n int t=1;\n //t=ni();\n while(t-->0)\n process();\n\n out.flush();\n System.err.println(System.currentTimeMillis()-s+\"ms\");\n }",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"sc=new FastReader()",
"sc",
"new FastReader()",
"long s = System.currentTimeMillis();",
"s",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"int t=1;",
"t",
"1",
"while(t-->0)\n process();",
"t-->0",
"t--",
"t",
"0",
"process()",
"process",
"out.flush()",
"out.flush",
"out",
"System.err.println(System.currentTimeMillis()-s+\"ms\")",
"System.err.println",
"System.err",
"System",
"System.err",
"System.currentTimeMillis()-s+\"ms\"",
"System.currentTimeMillis()-s",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"s",
"\"ms\"",
"String[]args",
"args",
"static void pn(Object o){out.println(o);}",
"pn",
"{out.println(o);}",
"out.println(o)",
"out.println",
"out",
"o",
"Object o",
"o",
"static void p(Object o){out.print(o);}",
"p",
"{out.print(o);}",
"out.print(o)",
"out.print",
"out",
"o",
"Object o",
"o",
"static int ni()throws IOException{return Integer.parseInt(sc.next());}",
"ni",
"{return Integer.parseInt(sc.next());}",
"return Integer.parseInt(sc.next());",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"static long nl()throws IOException{return Long.parseLong(sc.next());}",
"nl",
"{return Long.parseLong(sc.next());}",
"return Long.parseLong(sc.next());",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"static double nd()throws IOException{return Double.parseDouble(sc.next());}",
"nd",
"{return Double.parseDouble(sc.next());}",
"return Double.parseDouble(sc.next());",
"Double.parseDouble(sc.next())",
"Double.parseDouble",
"Double",
"sc.next()",
"sc.next",
"sc",
"static String nln()throws IOException{return sc.nextLine();}",
"nln",
"{return sc.nextLine();}",
"return sc.nextLine();",
"sc.nextLine()",
"sc.nextLine",
"sc",
"static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}",
"gcd",
"{return (b==0)?a:gcd(b,a%b);}",
"return (b==0)?a:gcd(b,a%b);",
"(b==0)?a:gcd(b,a%b)",
"(b==0)",
"b",
"0",
"a",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}",
"gcd",
"{return (b==0)?a:gcd(b,a%b);}",
"return (b==0)?a:gcd(b,a%b);",
"(b==0)?a:gcd(b,a%b)",
"(b==0)",
"b",
"0",
"a",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}",
"bit",
"{return (n==0)?0:(1+bit(n&(n-1)));}",
"return (n==0)?0:(1+bit(n&(n-1)));",
"(n==0)?0:(1+bit(n&(n-1)))",
"(n==0)",
"n",
"0",
"0",
"(1+bit(n&(n-1)))",
"1",
"bit(n&(n-1))",
"bit",
"n&(n-1)",
"n",
"(n-1)",
"n",
"1",
"long n",
"n",
"static<T> void r_sort(T arr[],int n){\n Random r = new Random(); \n for (int i = n-1; i > 0; i--){ \n int j = r.nextInt(i+1); \n \n T temp = arr[i]; \n arr[i] = arr[j]; \n arr[j] = temp; \n } \n Arrays.sort(arr); \n }",
"r_sort",
"{\n Random r = new Random(); \n for (int i = n-1; i > 0; i--){ \n int j = r.nextInt(i+1); \n \n T temp = arr[i]; \n arr[i] = arr[j]; \n arr[j] = temp; \n } \n Arrays.sort(arr); \n }",
"Random r = new Random();",
"r",
"new Random()",
"for (int i = n-1; i > 0; i--){ \n int j = r.nextInt(i+1); \n \n T temp = arr[i]; \n arr[i] = arr[j]; \n arr[j] = temp; \n }",
"int i = n-1;",
"int i = n-1;",
"i",
"n-1",
"n",
"1",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{ \n int j = r.nextInt(i+1); \n \n T temp = arr[i]; \n arr[i] = arr[j]; \n arr[j] = temp; \n }",
"{ \n int j = r.nextInt(i+1); \n \n T temp = arr[i]; \n arr[i] = arr[j]; \n arr[j] = temp; \n }",
"int j = r.nextInt(i+1);",
"j",
"r.nextInt(i+1)",
"r.nextInt",
"r",
"i+1",
"i",
"1",
"T temp = arr[i];",
"temp",
"arr[i]",
"arr",
"i",
"arr[i] = arr[j]",
"arr[i]",
"arr",
"i",
"arr[j]",
"arr",
"j",
"arr[j] = temp",
"arr[j]",
"arr",
"j",
"temp",
"Arrays.sort(arr)",
"Arrays.sort",
"Arrays",
"arr",
"T arr[]",
"arr",
"int n",
"n",
" static class FastReader{ \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader(){ \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n \n String next(){ \n while (st == null || !st.hasMoreElements()){ \n try{ st = new StringTokenizer(br.readLine()); } catch (IOException e){ e.printStackTrace(); } \n } \n return st.nextToken(); \n } \n \n String nextLine(){ \n String str = \"\"; \n try{ str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } \n return str; \n } \n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader(){ \n br = new BufferedReader(new InputStreamReader(System.in)); \n }",
"FastReader",
"{ \n br = new BufferedReader(new InputStreamReader(System.in)); \n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next(){ \n while (st == null || !st.hasMoreElements()){ \n try{ st = new StringTokenizer(br.readLine()); } catch (IOException e){ e.printStackTrace(); } \n } \n return st.nextToken(); \n }",
"next",
"{ \n while (st == null || !st.hasMoreElements()){ \n try{ st = new StringTokenizer(br.readLine()); } catch (IOException e){ e.printStackTrace(); } \n } \n return st.nextToken(); \n }",
"while (st == null || !st.hasMoreElements()){ \n try{ st = new StringTokenizer(br.readLine()); } catch (IOException e){ e.printStackTrace(); } \n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{ \n try{ st = new StringTokenizer(br.readLine()); } catch (IOException e){ e.printStackTrace(); } \n }",
"try{ st = new StringTokenizer(br.readLine()); } catch (IOException e){ e.printStackTrace(); }",
"catch (IOException e){ e.printStackTrace(); }",
"IOException e",
"{ e.printStackTrace(); }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ st = new StringTokenizer(br.readLine()); }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"String nextLine(){ \n String str = \"\"; \n try{ str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } \n return str; \n }",
"nextLine",
"{ \n String str = \"\"; \n try{ str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } \n return str; \n }",
"String str = \"\";",
"str",
"\"\"",
"try{ str = br.readLine(); } catch (IOException e) { e.printStackTrace(); }",
"catch (IOException e) { e.printStackTrace(); }",
"IOException e",
"{ e.printStackTrace(); }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ str = br.readLine(); }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main\n{\n\n public static void process()throws IOException\n {\n Long a=nl();\n Double x=nd();\n Long b=(long)(100l*x);\n\n a*=b;\n pn(a/100l);\n }\n\n\n static FastReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new FastReader();\n\n long s = System.currentTimeMillis();\n int t=1;\n //t=ni();\n while(t-->0)\n process();\n\n out.flush();\n System.err.println(System.currentTimeMillis()-s+\"ms\");\n }\n \n \n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static int ni()throws IOException{return Integer.parseInt(sc.next());}\n static long nl()throws IOException{return Long.parseLong(sc.next());}\n static double nd()throws IOException{return Double.parseDouble(sc.next());}\n static String nln()throws IOException{return sc.nextLine();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n \n static long mod=(long)1e9+7l;\n\n static<T> void r_sort(T arr[],int n){\n Random r = new Random(); \n for (int i = n-1; i > 0; i--){ \n int j = r.nextInt(i+1); \n \n T temp = arr[i]; \n arr[i] = arr[j]; \n arr[j] = temp; \n } \n Arrays.sort(arr); \n }\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class FastReader{ \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader(){ \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n \n String next(){ \n while (st == null || !st.hasMoreElements()){ \n try{ st = new StringTokenizer(br.readLine()); } catch (IOException e){ e.printStackTrace(); } \n } \n return st.nextToken(); \n } \n \n String nextLine(){ \n String str = \"\"; \n try{ str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } \n return str; \n } \n } \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}",
"public class Main\n{\n\n public static void process()throws IOException\n {\n Long a=nl();\n Double x=nd();\n Long b=(long)(100l*x);\n\n a*=b;\n pn(a/100l);\n }\n\n\n static FastReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new FastReader();\n\n long s = System.currentTimeMillis();\n int t=1;\n //t=ni();\n while(t-->0)\n process();\n\n out.flush();\n System.err.println(System.currentTimeMillis()-s+\"ms\");\n }\n \n \n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static int ni()throws IOException{return Integer.parseInt(sc.next());}\n static long nl()throws IOException{return Long.parseLong(sc.next());}\n static double nd()throws IOException{return Double.parseDouble(sc.next());}\n static String nln()throws IOException{return sc.nextLine();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n \n static long mod=(long)1e9+7l;\n\n static<T> void r_sort(T arr[],int n){\n Random r = new Random(); \n for (int i = n-1; i > 0; i--){ \n int j = r.nextInt(i+1); \n \n T temp = arr[i]; \n arr[i] = arr[j]; \n arr[j] = temp; \n } \n Arrays.sort(arr); \n }\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class FastReader{ \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader(){ \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n \n String next(){ \n while (st == null || !st.hasMoreElements()){ \n try{ st = new StringTokenizer(br.readLine()); } catch (IOException e){ e.printStackTrace(); } \n } \n return st.nextToken(); \n } \n \n String nextLine(){ \n String str = \"\"; \n try{ str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } \n return str; \n } \n } \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}",
"Main"
] |
import java.util.*;
import java.io.*;
import java.math.*;
public class Main
{
public static void process()throws IOException
{
Long a=nl();
Double x=nd();
Long b=(long)(100l*x);
a*=b;
pn(a/100l);
}
static FastReader sc;
static PrintWriter out;
public static void main(String[]args)throws IOException
{
out = new PrintWriter(System.out);
sc=new FastReader();
long s = System.currentTimeMillis();
int t=1;
//t=ni();
while(t-->0)
process();
out.flush();
System.err.println(System.currentTimeMillis()-s+"ms");
}
static void pn(Object o){out.println(o);}
static void p(Object o){out.print(o);}
static int ni()throws IOException{return Integer.parseInt(sc.next());}
static long nl()throws IOException{return Long.parseLong(sc.next());}
static double nd()throws IOException{return Double.parseDouble(sc.next());}
static String nln()throws IOException{return sc.nextLine();}
static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}
static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}
static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}
static long mod=(long)1e9+7l;
static<T> void r_sort(T arr[],int n){
Random r = new Random();
for (int i = n-1; i > 0; i--){
int j = r.nextInt(i+1);
T temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
}
Arrays.sort(arr);
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////
static class FastReader{
BufferedReader br;
StringTokenizer st;
public FastReader(){
br = new BufferedReader(new InputStreamReader(System.in));
}
String next(){
while (st == null || !st.hasMoreElements()){
try{ st = new StringTokenizer(br.readLine()); } catch (IOException e){ e.printStackTrace(); }
}
return st.nextToken();
}
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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
42,
14
],
[
42,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
15,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Scanner;\nimport java.util.Set;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int A = scan.nextInt();\n int B = scan.nextInt();\n System.out.println(A*B);\n }\n}\n",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Set;",
"Set",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int A = scan.nextInt();\n int B = scan.nextInt();\n System.out.println(A*B);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int A = scan.nextInt();\n int B = scan.nextInt();\n System.out.println(A*B);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n\n int A = scan.nextInt();\n int B = scan.nextInt();\n System.out.println(A*B);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int A = scan.nextInt();",
"A",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int B = scan.nextInt();",
"B",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.println(A*B)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*B",
"A",
"B",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int A = scan.nextInt();\n int B = scan.nextInt();\n System.out.println(A*B);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int A = scan.nextInt();\n int B = scan.nextInt();\n System.out.println(A*B);\n }\n}",
"Main"
] |
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;
import java.util.Set;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int A = scan.nextInt();
int B = scan.nextInt();
System.out.println(A*B);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
4,
18,
18,
13,
13,
2,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
27,
5
],
[
27,
6
],
[
6,
7
],
[
6,
8
],
[
27,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
9,
24
],
[
24,
25
],
[
0,
26
],
[
26,
27
],
[
26,
28
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n private static final Scanner in = new Scanner(System.in);\n\n public static void main(String[] args) {\n System.out.println(in.nextInt() * in.nextInt());\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n private static final Scanner in = new Scanner(System.in);\n\n public static void main(String[] args) {\n System.out.println(in.nextInt() * in.nextInt());\n }\n\n}",
"Main",
"private static final Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"public static void main(String[] args) {\n System.out.println(in.nextInt() * in.nextInt());\n }",
"main",
"{\n System.out.println(in.nextInt() * in.nextInt());\n }",
"System.out.println(in.nextInt() * in.nextInt())",
"System.out.println",
"System.out",
"System",
"System.out",
"in.nextInt() * in.nextInt()",
"in.nextInt()",
"in.nextInt",
"in",
"in.nextInt()",
"in.nextInt",
"in",
"String[] args",
"args",
"public class Main {\n private static final Scanner in = new Scanner(System.in);\n\n public static void main(String[] args) {\n System.out.println(in.nextInt() * in.nextInt());\n }\n\n}",
"public class Main {\n private static final Scanner in = new Scanner(System.in);\n\n public static void main(String[] args) {\n System.out.println(in.nextInt() * in.nextInt());\n }\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
private static final Scanner in = new Scanner(System.in);
public static void main(String[] args) {
System.out.println(in.nextInt() * in.nextInt());
}
}
|
[
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,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] |
[
"import java.util.*;\n \npublic class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n \n int ans = a * b;\n\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n \n int ans = a * b;\n\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n \n int ans = a * b;\n\n System.out.println(ans);\n }",
"main",
"{\n\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n \n int ans = a * b;\n\n System.out.println(ans);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int ans = a * b;",
"ans",
"a * b",
"a",
"b",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n \n int ans = a * b;\n\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n \n int ans = a * b;\n\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int ans = a * b;
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,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] |
[
"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\tint Int1 = sc.nextInt();\n\t\tint Int2 = sc.nextInt();\n\t\tsc.close();\n\n\t\tSystem.out.println(Int1 * Int2);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint Int1 = sc.nextInt();\n\t\tint Int2 = sc.nextInt();\n\t\tsc.close();\n\n\t\tSystem.out.println(Int1 * Int2);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint Int1 = sc.nextInt();\n\t\tint Int2 = sc.nextInt();\n\t\tsc.close();\n\n\t\tSystem.out.println(Int1 * Int2);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint Int1 = sc.nextInt();\n\t\tint Int2 = sc.nextInt();\n\t\tsc.close();\n\n\t\tSystem.out.println(Int1 * Int2);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int Int1 = sc.nextInt();",
"Int1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int Int2 = sc.nextInt();",
"Int2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"System.out.println(Int1 * Int2)",
"System.out.println",
"System.out",
"System",
"System.out",
"Int1 * Int2",
"Int1",
"Int2",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint Int1 = sc.nextInt();\n\t\tint Int2 = sc.nextInt();\n\t\tsc.close();\n\n\t\tSystem.out.println(Int1 * Int2);\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint Int1 = sc.nextInt();\n\t\tint Int2 = sc.nextInt();\n\t\tsc.close();\n\n\t\tSystem.out.println(Int1 * Int2);\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);
int Int1 = sc.nextInt();
int Int2 = sc.nextInt();
sc.close();
System.out.println(Int1 * Int2);
}
}
|
[
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,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
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
],
[
100,
17
],
[
100,
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
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
18,
42
],
[
42,
43
],
[
100,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
52,
61
],
[
61,
62
],
[
44,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
66,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
76,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
65,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
44,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\n//import java.util.Scanner;\nimport java.util.StringTokenizer;\n\npublic class Main{\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tSystem.out.println(a*b);\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main{\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tSystem.out.println(a*b);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tSystem.out.println(a*b);\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tSystem.out.println(a*b);\n\t}",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(a*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"String[] args",
"args",
"private static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}",
"FastScanner",
"{\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream in",
"in",
"public String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}",
"next",
"{\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t}",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public class Main{\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tSystem.out.println(a*b);\n\t}\n\n}",
"public class Main{\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tSystem.out.println(a*b);\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
//import java.util.Scanner;
import java.util.StringTokenizer;
public class Main{
private static class FastScanner {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public FastScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
tokenizer = null;
}
public String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
}
public static void main(String[] args) {
FastScanner sc = new FastScanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a*b);
}
}
|
[
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,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
25,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scn = new Scanner(System.in);\n\t\tint A = scn.nextInt();\n\t\tint B = scn.nextInt();\n\t\tint ans=0;\n\t\tif(((A>=1) && (A<=100)) && ((B>=1) && (B<=100))) {\n\t\t\tans = A*B;\n\t\t\tSystem.out.println(ans);\n\t\t}\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scn = new Scanner(System.in);\n\t\tint A = scn.nextInt();\n\t\tint B = scn.nextInt();\n\t\tint ans=0;\n\t\tif(((A>=1) && (A<=100)) && ((B>=1) && (B<=100))) {\n\t\t\tans = A*B;\n\t\t\tSystem.out.println(ans);\n\t\t}\n}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scn = new Scanner(System.in);\n\t\tint A = scn.nextInt();\n\t\tint B = scn.nextInt();\n\t\tint ans=0;\n\t\tif(((A>=1) && (A<=100)) && ((B>=1) && (B<=100))) {\n\t\t\tans = A*B;\n\t\t\tSystem.out.println(ans);\n\t\t}\n}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scn = new Scanner(System.in);\n\t\tint A = scn.nextInt();\n\t\tint B = scn.nextInt();\n\t\tint ans=0;\n\t\tif(((A>=1) && (A<=100)) && ((B>=1) && (B<=100))) {\n\t\t\tans = A*B;\n\t\t\tSystem.out.println(ans);\n\t\t}\n}",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"int A = scn.nextInt();",
"A",
"scn.nextInt()",
"scn.nextInt",
"scn",
"int B = scn.nextInt();",
"B",
"scn.nextInt()",
"scn.nextInt",
"scn",
"int ans=0;",
"ans",
"0",
"if(((A>=1) && (A<=100)) && ((B>=1) && (B<=100))) {\n\t\t\tans = A*B;\n\t\t\tSystem.out.println(ans);\n\t\t}",
"((A>=1) && (A<=100)) && ((B>=1) && (B<=100))",
"((A>=1) && (A<=100))",
"(A>=1)",
"A",
"1",
"(A<=100)",
"A",
"100",
"((B>=1) && (B<=100))",
"(B>=1)",
"B",
"1",
"(B<=100)",
"B",
"100",
"{\n\t\t\tans = A*B;\n\t\t\tSystem.out.println(ans);\n\t\t}",
"ans = A*B",
"ans",
"A*B",
"A",
"B",
"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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scn = new Scanner(System.in);\n\t\tint A = scn.nextInt();\n\t\tint B = scn.nextInt();\n\t\tint ans=0;\n\t\tif(((A>=1) && (A<=100)) && ((B>=1) && (B<=100))) {\n\t\t\tans = A*B;\n\t\t\tSystem.out.println(ans);\n\t\t}\n}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scn = new Scanner(System.in);\n\t\tint A = scn.nextInt();\n\t\tint B = scn.nextInt();\n\t\tint ans=0;\n\t\tif(((A>=1) && (A<=100)) && ((B>=1) && (B<=100))) {\n\t\t\tans = A*B;\n\t\t\tSystem.out.println(ans);\n\t\t}\n}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scn = new Scanner(System.in);
int A = scn.nextInt();
int B = scn.nextInt();
int ans=0;
if(((A>=1) && (A<=100)) && ((B>=1) && (B<=100))) {
ans = A*B;
System.out.println(ans);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
35,
5
],
[
35,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
10,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
6,
32
],
[
32,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scn = new Scanner(System.in)) {\n\t\t\tint a = scn.nextInt();\n\t\t\tint b = scn.nextInt();\n\t\t\tSystem.out.println(a * b);\n\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scn = new Scanner(System.in)) {\n\t\t\tint a = scn.nextInt();\n\t\t\tint b = scn.nextInt();\n\t\t\tSystem.out.println(a * b);\n\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry (Scanner scn = new Scanner(System.in)) {\n\t\t\tint a = scn.nextInt();\n\t\t\tint b = scn.nextInt();\n\t\t\tSystem.out.println(a * b);\n\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner scn = new Scanner(System.in)) {\n\t\t\tint a = scn.nextInt();\n\t\t\tint b = scn.nextInt();\n\t\t\tSystem.out.println(a * b);\n\n\t\t}\n\t}",
"try (Scanner scn = new Scanner(System.in)) {\n\t\t\tint a = scn.nextInt();\n\t\t\tint b = scn.nextInt();\n\t\t\tSystem.out.println(a * b);\n\n\t\t}",
"{\n\t\t\tint a = scn.nextInt();\n\t\t\tint b = scn.nextInt();\n\t\t\tSystem.out.println(a * b);\n\n\t\t}",
"Scanner scn = new Scanner(System.in)",
"Scanner scn = new Scanner(System.in)",
"new Scanner(System.in)",
"int a = scn.nextInt();",
"a",
"scn.nextInt()",
"scn.nextInt",
"scn",
"int b = scn.nextInt();",
"b",
"scn.nextInt()",
"scn.nextInt",
"scn",
"System.out.println(a * b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b",
"a",
"b",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scn = new Scanner(System.in)) {\n\t\t\tint a = scn.nextInt();\n\t\t\tint b = scn.nextInt();\n\t\t\tSystem.out.println(a * b);\n\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scn = new Scanner(System.in)) {\n\t\t\tint a = scn.nextInt();\n\t\t\tint b = scn.nextInt();\n\t\t\tSystem.out.println(a * b);\n\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner scn = new Scanner(System.in)) {
int a = scn.nextInt();
int b = scn.nextInt();
System.out.println(a * b);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
12,
36
],
[
36,
37
]
] |
[
"import java.util.*;\nimport java.io.*;\nimport java.lang.*;\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n System.out.println(a*b);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"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 = sc.nextLong();\n System.out.println(a*b);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n System.out.println(a*b);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n System.out.println(a*b);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"System.out.println(a*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"String[] args",
"args"
] |
import java.util.*;
import java.io.*;
import java.lang.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
System.out.println(a*b);
}
}
|
[
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,
18,
13,
13,
2,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
130,
14
],
[
130,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
15,
39
],
[
39,
40
],
[
130,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
41,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
41,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
56,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
66,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
55,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
41,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
41,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
97,
98
],
[
41,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
106,
107
],
[
41,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
114,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
110,
127
],
[
127,
128
],
[
0,
129
],
[
129,
130
],
[
129,
131
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) throws IOException{\n FastReader sc = new FastReader();\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a*b);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) throws IOException{\n FastReader sc = new FastReader();\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a*b);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n FastReader sc = new FastReader();\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a*b);\n }",
"main",
"{\n FastReader sc = new FastReader();\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a*b);\n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(a*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"String[] args",
"args",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"br = new BufferedReader(new\n InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n InputStreamReader(System.in))",
"String next() {\n 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 public static void main(String[] args) throws IOException{\n FastReader sc = new FastReader();\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a*b);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException{\n FastReader sc = new FastReader();\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a*b);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException{
FastReader sc = new FastReader();
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a*b);
}
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
13,
13,
41,
13,
4,
13,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
18,
13,
13,
41,
13,
20,
18,
13,
13,
29,
4,
13,
13,
13,
13,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
18,
13,
13,
30,
4,
18,
13,
4,
18,
13,
29,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
18,
13,
13,
30,
9,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
17,
0,
13,
4,
13,
13,
13,
13,
13,
2,
13,
17,
0,
18,
13,
13,
17,
29,
13,
23,
13,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
281,
20
],
[
281,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
23,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
21,
45
],
[
45,
46
],
[
281,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
56,
57
],
[
56,
58
],
[
49,
59
],
[
59,
60
],
[
59,
61
],
[
62,
63
],
[
62,
64
],
[
49,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
66,
69
],
[
66,
70
],
[
66,
71
],
[
66,
72
],
[
47,
73
],
[
73,
74
],
[
281,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
89,
90
],
[
84,
91
],
[
91,
92
],
[
77,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
93,
103
],
[
103,
104
],
[
104,
105
],
[
93,
106
],
[
107,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
107,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
118,
120
],
[
107,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
107,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
128,
130
],
[
128,
131
],
[
128,
132
],
[
128,
133
],
[
128,
134
],
[
134,
135
],
[
134,
136
],
[
107,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
77,
142
],
[
142,
143
],
[
75,
144
],
[
144,
145
],
[
75,
146
],
[
146,
147
],
[
75,
148
],
[
148,
149
],
[
75,
150
],
[
150,
151
],
[
75,
152
],
[
152,
153
],
[
281,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
161,
162
],
[
162,
163
],
[
154,
164
],
[
164,
165
],
[
281,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
170,
173
],
[
173,
174
],
[
174,
175
],
[
166,
176
],
[
176,
177
],
[
281,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
178,
185
],
[
185,
186
],
[
281,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
194,
197
],
[
193,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
189,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
206,
209
],
[
189,
210
],
[
210,
211
],
[
210,
212
],
[
213,
214
],
[
213,
215
],
[
189,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
216,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
223,
225
],
[
216,
226
],
[
226,
227
],
[
227,
228
],
[
216,
229
],
[
230,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
235
],
[
235,
236
],
[
236,
237
],
[
235,
238
],
[
238,
239
],
[
238,
240
],
[
189,
241
],
[
241,
242
],
[
187,
243
],
[
243,
244
],
[
0,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
247,
249
],
[
245,
250
],
[
250,
251
],
[
250,
252
],
[
245,
253
],
[
253,
254
],
[
253,
255
],
[
245,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
259,
263
],
[
258,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
268
],
[
258,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
269,
273
],
[
256,
274
],
[
274,
275
],
[
256,
276
],
[
276,
277
],
[
256,
278
],
[
278,
279
],
[
0,
280
],
[
280,
281
],
[
280,
282
]
] |
[
"import java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Scanner;\nimport java.util.function.IntToDoubleFunction;\n \npublic class Main {\n \n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = getInt(sc);\n\t\tint b = getInt(sc);\n\t\tSystem.out.println(a * b);\n\t}\n \n\t/**\n\t * *汎用メソッド<br>\n\t * 入力した配列に対する順列を取得\n\t *\n\t * @param numArray\n\t * @return\n\t */\n\tprivate static List<Integer[]> getPermutation(int[] numArray) {\n\t\tList<Integer[]> permutation = new ArrayList<>();\n\t\tInteger[] ans = new Integer[numArray.length];\n\t\tboolean[] used = new boolean[numArray.length];\n \n\t\treturn buildPermutaion(permutation, numArray, ans, used, 0);\n\t}\n \n\t/**\n\t * *汎用メソッド(内部)<br>\n\t * 入力した配列に対する順列を作成\n\t *\n\t * @param list\n\t * @param numArray\n\t * @param ans\n\t * @param used\n\t * @param depth\n\t * @return\n\t */\n\tprivate static List<Integer[]> buildPermutaion(List<Integer[]> list, int[] numArray, Integer[] ans, boolean[] used,\n\t\t\tint depth) {\n \n\t\t// 全部使い切った時=>できた順列を返す\n\t\tif (depth == numArray.length) {\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}\n\t\t// 使い切っていない場合\n \n\t\tfor (int i = 0; i < numArray.length; i++) {\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n \n\t\t\tused[i] = false;\n\t\t}\n \n\t\treturn list;\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をlongで返却\n\t *\n\t * @return\n\t */\n\tpublic static long getLong(Scanner sc) {\n \n\t\treturn Long.parseLong(sc.next());\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をintで返却\n\t *\n\t * @return\n\t */\n\tpublic static int getInt(Scanner sc) {\n \n\t\treturn Integer.parseInt(sc.next());\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をStringで返却\n\t *\n\t * @return\n\t */\n\tpublic static String getString(Scanner sc) {\n \n\t\treturn sc.next();\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をint配列で返却\n\t *\n\t * @return\n\t */\n\tpublic static int[] getIntArray(Scanner sc) {\n\t\tString line = \"\";\n\t\t// 直前にnext()を実行していると改行コードだけ取ってしまうのでその対策\n\t\twhile (line.equals(\"\")) {\n\t\t\tline = sc.nextLine();\n\t\t}\n \n\t\tString[] strArray = line.split(\" \");\n\t\tint[] intArray = new int[strArray.length];\n\t\tfor (int i = 0; i < strArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n \n}\n \nclass Status {\n\tint row = 0;\n\tint col = 0;\n\tint candies = 0;\n \n\tpublic Status(int row, int col, int candies) {\n\t\tthis.row = row;\n\t\tthis.col = col;\n\t\tthis.candies = candies;\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.function.IntToDoubleFunction;",
"IntToDoubleFunction",
"java.util.function",
"public class Main {\n \n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = getInt(sc);\n\t\tint b = getInt(sc);\n\t\tSystem.out.println(a * b);\n\t}\n \n\t/**\n\t * *汎用メソッド<br>\n\t * 入力した配列に対する順列を取得\n\t *\n\t * @param numArray\n\t * @return\n\t */\n\tprivate static List<Integer[]> getPermutation(int[] numArray) {\n\t\tList<Integer[]> permutation = new ArrayList<>();\n\t\tInteger[] ans = new Integer[numArray.length];\n\t\tboolean[] used = new boolean[numArray.length];\n \n\t\treturn buildPermutaion(permutation, numArray, ans, used, 0);\n\t}\n \n\t/**\n\t * *汎用メソッド(内部)<br>\n\t * 入力した配列に対する順列を作成\n\t *\n\t * @param list\n\t * @param numArray\n\t * @param ans\n\t * @param used\n\t * @param depth\n\t * @return\n\t */\n\tprivate static List<Integer[]> buildPermutaion(List<Integer[]> list, int[] numArray, Integer[] ans, boolean[] used,\n\t\t\tint depth) {\n \n\t\t// 全部使い切った時=>できた順列を返す\n\t\tif (depth == numArray.length) {\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}\n\t\t// 使い切っていない場合\n \n\t\tfor (int i = 0; i < numArray.length; i++) {\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n \n\t\t\tused[i] = false;\n\t\t}\n \n\t\treturn list;\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をlongで返却\n\t *\n\t * @return\n\t */\n\tpublic static long getLong(Scanner sc) {\n \n\t\treturn Long.parseLong(sc.next());\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をintで返却\n\t *\n\t * @return\n\t */\n\tpublic static int getInt(Scanner sc) {\n \n\t\treturn Integer.parseInt(sc.next());\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をStringで返却\n\t *\n\t * @return\n\t */\n\tpublic static String getString(Scanner sc) {\n \n\t\treturn sc.next();\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をint配列で返却\n\t *\n\t * @return\n\t */\n\tpublic static int[] getIntArray(Scanner sc) {\n\t\tString line = \"\";\n\t\t// 直前にnext()を実行していると改行コードだけ取ってしまうのでその対策\n\t\twhile (line.equals(\"\")) {\n\t\t\tline = sc.nextLine();\n\t\t}\n \n\t\tString[] strArray = line.split(\" \");\n\t\tint[] intArray = new int[strArray.length];\n\t\tfor (int i = 0; i < strArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n \n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = getInt(sc);\n\t\tint b = getInt(sc);\n\t\tSystem.out.println(a * b);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = getInt(sc);\n\t\tint b = getInt(sc);\n\t\tSystem.out.println(a * b);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = getInt(sc);",
"a",
"getInt(sc)",
"getInt",
"sc",
"int b = getInt(sc);",
"b",
"getInt(sc)",
"getInt",
"sc",
"System.out.println(a * b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b",
"a",
"b",
"String[] args",
"args",
"/**\n\t * *汎用メソッド<br>\n\t * 入力した配列に対する順列を取得\n\t *\n\t * @param numArray\n\t * @return\n\t */\n\tprivate static List<Integer[]> getPermutation(int[] numArray) {\n\t\tList<Integer[]> permutation = new ArrayList<>();\n\t\tInteger[] ans = new Integer[numArray.length];\n\t\tboolean[] used = new boolean[numArray.length];\n \n\t\treturn buildPermutaion(permutation, numArray, ans, used, 0);\n\t}",
"getPermutation",
"{\n\t\tList<Integer[]> permutation = new ArrayList<>();\n\t\tInteger[] ans = new Integer[numArray.length];\n\t\tboolean[] used = new boolean[numArray.length];\n \n\t\treturn buildPermutaion(permutation, numArray, ans, used, 0);\n\t}",
"List<Integer[]> permutation = new ArrayList<>();",
"permutation",
"new ArrayList<>()",
"Integer[] ans = new Integer[numArray.length];",
"ans",
"new Integer[numArray.length]",
"numArray.length",
"numArray",
"numArray.length",
"boolean[] used = new boolean[numArray.length];",
"used",
"new boolean[numArray.length]",
"numArray.length",
"numArray",
"numArray.length",
"return buildPermutaion(permutation, numArray, ans, used, 0);",
"buildPermutaion(permutation, numArray, ans, used, 0)",
"buildPermutaion",
"permutation",
"numArray",
"ans",
"used",
"0",
"int[] numArray",
"numArray",
"/**\n\t * *汎用メソッド(内部)<br>\n\t * 入力した配列に対する順列を作成\n\t *\n\t * @param list\n\t * @param numArray\n\t * @param ans\n\t * @param used\n\t * @param depth\n\t * @return\n\t */\n\tprivate static List<Integer[]> buildPermutaion(List<Integer[]> list, int[] numArray, Integer[] ans, boolean[] used,\n\t\t\tint depth) {\n \n\t\t// 全部使い切った時=>できた順列を返す\n\t\tif (depth == numArray.length) {\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}\n\t\t// 使い切っていない場合\n \n\t\tfor (int i = 0; i < numArray.length; i++) {\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n \n\t\t\tused[i] = false;\n\t\t}\n \n\t\treturn list;\n\t}",
"buildPermutaion",
"{\n \n\t\t// 全部使い切った時=>できた順列を返す\n\t\tif (depth == numArray.length) {\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}\n\t\t// 使い切っていない場合\n \n\t\tfor (int i = 0; i < numArray.length; i++) {\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n \n\t\t\tused[i] = false;\n\t\t}\n \n\t\treturn list;\n\t}",
"if (depth == numArray.length) {\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}",
"depth == numArray.length",
"depth",
"numArray.length",
"numArray",
"numArray.length",
"{\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}",
"list.add(ans.clone())",
"list.add",
"list",
"ans.clone()",
"ans.clone",
"ans",
"return list;",
"list",
"for (int i = 0; i < numArray.length; i++) {\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n \n\t\t\tused[i] = false;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < numArray.length",
"i",
"numArray.length",
"numArray",
"numArray.length",
"i++",
"i++",
"i",
"{\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n \n\t\t\tused[i] = false;\n\t\t}",
"{\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n \n\t\t\tused[i] = false;\n\t\t}",
"if (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}",
"used[i]",
"used",
"i",
"{\n\t\t\t\tcontinue;\n\t\t\t}",
"continue;",
"ans[depth] = numArray[i]",
"ans[depth]",
"ans",
"depth",
"numArray[i]",
"numArray",
"i",
"used[i] = true",
"used[i]",
"used",
"i",
"true",
"list = buildPermutaion(list, numArray, ans, used, depth + 1)",
"list",
"buildPermutaion(list, numArray, ans, used, depth + 1)",
"buildPermutaion",
"list",
"numArray",
"ans",
"used",
"depth + 1",
"depth",
"1",
"used[i] = false",
"used[i]",
"used",
"i",
"false",
"return list;",
"list",
"List<Integer[]> list",
"list",
"int[] numArray",
"numArray",
"Integer[] ans",
"ans",
"boolean[] used",
"used",
"int depth",
"depth",
"/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をlongで返却\n\t *\n\t * @return\n\t */\n\tpublic static long getLong(Scanner sc) {\n \n\t\treturn Long.parseLong(sc.next());\n\t}",
"getLong",
"{\n \n\t\treturn Long.parseLong(sc.next());\n\t}",
"return Long.parseLong(sc.next());",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"Scanner sc",
"sc",
"/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をintで返却\n\t *\n\t * @return\n\t */\n\tpublic static int getInt(Scanner sc) {\n \n\t\treturn Integer.parseInt(sc.next());\n\t}",
"getInt",
"{\n \n\t\treturn Integer.parseInt(sc.next());\n\t}",
"return Integer.parseInt(sc.next());",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"Scanner sc",
"sc",
"/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をStringで返却\n\t *\n\t * @return\n\t */\n\tpublic static String getString(Scanner sc) {\n \n\t\treturn sc.next();\n\t}",
"getString",
"{\n \n\t\treturn sc.next();\n\t}",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"Scanner sc",
"sc",
"/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をint配列で返却\n\t *\n\t * @return\n\t */\n\tpublic static int[] getIntArray(Scanner sc) {\n\t\tString line = \"\";\n\t\t// 直前にnext()を実行していると改行コードだけ取ってしまうのでその対策\n\t\twhile (line.equals(\"\")) {\n\t\t\tline = sc.nextLine();\n\t\t}\n \n\t\tString[] strArray = line.split(\" \");\n\t\tint[] intArray = new int[strArray.length];\n\t\tfor (int i = 0; i < strArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}",
"getIntArray",
"{\n\t\tString line = \"\";\n\t\t// 直前にnext()を実行していると改行コードだけ取ってしまうのでその対策\n\t\twhile (line.equals(\"\")) {\n\t\t\tline = sc.nextLine();\n\t\t}\n \n\t\tString[] strArray = line.split(\" \");\n\t\tint[] intArray = new int[strArray.length];\n\t\tfor (int i = 0; i < strArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}",
"String line = \"\";",
"line",
"\"\"",
"while (line.equals(\"\")) {\n\t\t\tline = sc.nextLine();\n\t\t}",
"line.equals(\"\")",
"line.equals",
"line",
"\"\"",
"{\n\t\t\tline = sc.nextLine();\n\t\t}",
"line = sc.nextLine()",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] strArray = line.split(\" \");",
"strArray",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int[] intArray = new int[strArray.length];",
"intArray",
"new int[strArray.length]",
"strArray.length",
"strArray",
"strArray.length",
"for (int i = 0; i < strArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < strArray.length",
"i",
"strArray.length",
"strArray",
"strArray.length",
"i++",
"i++",
"i",
"{\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}",
"{\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}",
"intArray[i] = Integer.parseInt(strArray[i])",
"intArray[i]",
"intArray",
"i",
"Integer.parseInt(strArray[i])",
"Integer.parseInt",
"Integer",
"strArray[i]",
"strArray",
"i",
"return intArray;",
"intArray",
"Scanner sc",
"sc",
"class Status {\n\tint row = 0;\n\tint col = 0;\n\tint candies = 0;\n \n\tpublic Status(int row, int col, int candies) {\n\t\tthis.row = row;\n\t\tthis.col = col;\n\t\tthis.candies = candies;\n\t}\n}",
"Status",
"int row = 0;",
"row",
"0",
"int col = 0;",
"col",
"0",
"int candies = 0;",
"candies",
"0",
"public Status(int row, int col, int candies) {\n\t\tthis.row = row;\n\t\tthis.col = col;\n\t\tthis.candies = candies;\n\t}",
"Status",
"{\n\t\tthis.row = row;\n\t\tthis.col = col;\n\t\tthis.candies = candies;\n\t}",
"this.row = row",
"this.row",
"this",
"this.row",
"row",
"this.col = col",
"this.col",
"this",
"this.col",
"col",
"this.candies = candies",
"this.candies",
"this",
"this.candies",
"candies",
"int row",
"row",
"int col",
"col",
"int candies",
"candies",
"public class Main {\n \n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = getInt(sc);\n\t\tint b = getInt(sc);\n\t\tSystem.out.println(a * b);\n\t}\n \n\t/**\n\t * *汎用メソッド<br>\n\t * 入力した配列に対する順列を取得\n\t *\n\t * @param numArray\n\t * @return\n\t */\n\tprivate static List<Integer[]> getPermutation(int[] numArray) {\n\t\tList<Integer[]> permutation = new ArrayList<>();\n\t\tInteger[] ans = new Integer[numArray.length];\n\t\tboolean[] used = new boolean[numArray.length];\n \n\t\treturn buildPermutaion(permutation, numArray, ans, used, 0);\n\t}\n \n\t/**\n\t * *汎用メソッド(内部)<br>\n\t * 入力した配列に対する順列を作成\n\t *\n\t * @param list\n\t * @param numArray\n\t * @param ans\n\t * @param used\n\t * @param depth\n\t * @return\n\t */\n\tprivate static List<Integer[]> buildPermutaion(List<Integer[]> list, int[] numArray, Integer[] ans, boolean[] used,\n\t\t\tint depth) {\n \n\t\t// 全部使い切った時=>できた順列を返す\n\t\tif (depth == numArray.length) {\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}\n\t\t// 使い切っていない場合\n \n\t\tfor (int i = 0; i < numArray.length; i++) {\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n \n\t\t\tused[i] = false;\n\t\t}\n \n\t\treturn list;\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をlongで返却\n\t *\n\t * @return\n\t */\n\tpublic static long getLong(Scanner sc) {\n \n\t\treturn Long.parseLong(sc.next());\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をintで返却\n\t *\n\t * @return\n\t */\n\tpublic static int getInt(Scanner sc) {\n \n\t\treturn Integer.parseInt(sc.next());\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をStringで返却\n\t *\n\t * @return\n\t */\n\tpublic static String getString(Scanner sc) {\n \n\t\treturn sc.next();\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をint配列で返却\n\t *\n\t * @return\n\t */\n\tpublic static int[] getIntArray(Scanner sc) {\n\t\tString line = \"\";\n\t\t// 直前にnext()を実行していると改行コードだけ取ってしまうのでその対策\n\t\twhile (line.equals(\"\")) {\n\t\t\tline = sc.nextLine();\n\t\t}\n \n\t\tString[] strArray = line.split(\" \");\n\t\tint[] intArray = new int[strArray.length];\n\t\tfor (int i = 0; i < strArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n \n}",
"public class Main {\n \n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = getInt(sc);\n\t\tint b = getInt(sc);\n\t\tSystem.out.println(a * b);\n\t}\n \n\t/**\n\t * *汎用メソッド<br>\n\t * 入力した配列に対する順列を取得\n\t *\n\t * @param numArray\n\t * @return\n\t */\n\tprivate static List<Integer[]> getPermutation(int[] numArray) {\n\t\tList<Integer[]> permutation = new ArrayList<>();\n\t\tInteger[] ans = new Integer[numArray.length];\n\t\tboolean[] used = new boolean[numArray.length];\n \n\t\treturn buildPermutaion(permutation, numArray, ans, used, 0);\n\t}\n \n\t/**\n\t * *汎用メソッド(内部)<br>\n\t * 入力した配列に対する順列を作成\n\t *\n\t * @param list\n\t * @param numArray\n\t * @param ans\n\t * @param used\n\t * @param depth\n\t * @return\n\t */\n\tprivate static List<Integer[]> buildPermutaion(List<Integer[]> list, int[] numArray, Integer[] ans, boolean[] used,\n\t\t\tint depth) {\n \n\t\t// 全部使い切った時=>できた順列を返す\n\t\tif (depth == numArray.length) {\n\t\t\tlist.add(ans.clone());\n\t\t\treturn list;\n\t\t}\n\t\t// 使い切っていない場合\n \n\t\tfor (int i = 0; i < numArray.length; i++) {\n\t\t\tif (used[i]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tans[depth] = numArray[i];\n\t\t\tused[i] = true;\n\t\t\tlist = buildPermutaion(list, numArray, ans, used, depth + 1);\n \n\t\t\tused[i] = false;\n\t\t}\n \n\t\treturn list;\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をlongで返却\n\t *\n\t * @return\n\t */\n\tpublic static long getLong(Scanner sc) {\n \n\t\treturn Long.parseLong(sc.next());\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をintで返却\n\t *\n\t * @return\n\t */\n\tpublic static int getInt(Scanner sc) {\n \n\t\treturn Integer.parseInt(sc.next());\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をStringで返却\n\t *\n\t * @return\n\t */\n\tpublic static String getString(Scanner sc) {\n \n\t\treturn sc.next();\n\t}\n \n\t/**\n\t * *汎用メソッド <br>\n\t * スキャナーからの入力値をint配列で返却\n\t *\n\t * @return\n\t */\n\tpublic static int[] getIntArray(Scanner sc) {\n\t\tString line = \"\";\n\t\t// 直前にnext()を実行していると改行コードだけ取ってしまうのでその対策\n\t\twhile (line.equals(\"\")) {\n\t\t\tline = sc.nextLine();\n\t\t}\n \n\t\tString[] strArray = line.split(\" \");\n\t\tint[] intArray = new int[strArray.length];\n\t\tfor (int i = 0; i < strArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n \n}",
"Main"
] |
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import java.util.function.IntToDoubleFunction;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = getInt(sc);
int b = getInt(sc);
System.out.println(a * b);
}
/**
* *汎用メソッド<br>
* 入力した配列に対する順列を取得
*
* @param numArray
* @return
*/
private static List<Integer[]> getPermutation(int[] numArray) {
List<Integer[]> permutation = new ArrayList<>();
Integer[] ans = new Integer[numArray.length];
boolean[] used = new boolean[numArray.length];
return buildPermutaion(permutation, numArray, ans, used, 0);
}
/**
* *汎用メソッド(内部)<br>
* 入力した配列に対する順列を作成
*
* @param list
* @param numArray
* @param ans
* @param used
* @param depth
* @return
*/
private static List<Integer[]> buildPermutaion(List<Integer[]> list, int[] numArray, Integer[] ans, boolean[] used,
int depth) {
// 全部使い切った時=>できた順列を返す
if (depth == numArray.length) {
list.add(ans.clone());
return list;
}
// 使い切っていない場合
for (int i = 0; i < numArray.length; i++) {
if (used[i]) {
continue;
}
ans[depth] = numArray[i];
used[i] = true;
list = buildPermutaion(list, numArray, ans, used, depth + 1);
used[i] = false;
}
return list;
}
/**
* *汎用メソッド <br>
* スキャナーからの入力値をlongで返却
*
* @return
*/
public static long getLong(Scanner sc) {
return Long.parseLong(sc.next());
}
/**
* *汎用メソッド <br>
* スキャナーからの入力値をintで返却
*
* @return
*/
public static int getInt(Scanner sc) {
return Integer.parseInt(sc.next());
}
/**
* *汎用メソッド <br>
* スキャナーからの入力値をStringで返却
*
* @return
*/
public static String getString(Scanner sc) {
return sc.next();
}
/**
* *汎用メソッド <br>
* スキャナーからの入力値をint配列で返却
*
* @return
*/
public static int[] getIntArray(Scanner sc) {
String line = "";
// 直前にnext()を実行していると改行コードだけ取ってしまうのでその対策
while (line.equals("")) {
line = sc.nextLine();
}
String[] strArray = line.split(" ");
int[] intArray = new int[strArray.length];
for (int i = 0; i < strArray.length; i++) {
intArray[i] = Integer.parseInt(strArray[i]);
}
return intArray;
}
}
class Status {
int row = 0;
int col = 0;
int candies = 0;
public Status(int row, int col, int candies) {
this.row = row;
this.col = col;
this.candies = candies;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tScanner temp = new Scanner(scan.nextLine());\n\t\tint a = temp.nextInt();\n\t\tint b = temp.nextInt();\n\t\tSystem.out.println(a * b);\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\t\tScanner temp = new Scanner(scan.nextLine());\n\t\tint a = temp.nextInt();\n\t\tint b = temp.nextInt();\n\t\tSystem.out.println(a * b);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tScanner temp = new Scanner(scan.nextLine());\n\t\tint a = temp.nextInt();\n\t\tint b = temp.nextInt();\n\t\tSystem.out.println(a * b);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tScanner temp = new Scanner(scan.nextLine());\n\t\tint a = temp.nextInt();\n\t\tint b = temp.nextInt();\n\t\tSystem.out.println(a * b);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"Scanner temp = new Scanner(scan.nextLine());",
"temp",
"new Scanner(scan.nextLine())",
"int a = temp.nextInt();",
"a",
"temp.nextInt()",
"temp.nextInt",
"temp",
"int b = temp.nextInt();",
"b",
"temp.nextInt()",
"temp.nextInt",
"temp",
"System.out.println(a * b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b",
"a",
"b",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tScanner temp = new Scanner(scan.nextLine());\n\t\tint a = temp.nextInt();\n\t\tint b = temp.nextInt();\n\t\tSystem.out.println(a * b);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tScanner temp = new Scanner(scan.nextLine());\n\t\tint a = temp.nextInt();\n\t\tint b = temp.nextInt();\n\t\tSystem.out.println(a * b);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
Scanner temp = new Scanner(scan.nextLine());
int a = temp.nextInt();
int b = temp.nextInt();
System.out.println(a * b);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
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
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n int A = Integer.parseInt(scan.next());\n int B = Integer.parseInt(scan.next());\n System.out.println(A*B);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n int A = Integer.parseInt(scan.next());\n int B = Integer.parseInt(scan.next());\n System.out.println(A*B);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n int A = Integer.parseInt(scan.next());\n int B = Integer.parseInt(scan.next());\n System.out.println(A*B);\n }",
"main",
"{\n // Your code here!\n Scanner scan = new Scanner(System.in);\n int A = Integer.parseInt(scan.next());\n int B = Integer.parseInt(scan.next());\n System.out.println(A*B);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int A = Integer.parseInt(scan.next());",
"A",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"int B = Integer.parseInt(scan.next());",
"B",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"System.out.println(A*B)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*B",
"A",
"B",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n int A = Integer.parseInt(scan.next());\n int B = Integer.parseInt(scan.next());\n System.out.println(A*B);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n int A = Integer.parseInt(scan.next());\n int B = Integer.parseInt(scan.next());\n System.out.println(A*B);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner scan = new Scanner(System.in);
int A = Integer.parseInt(scan.next());
int B = Integer.parseInt(scan.next());
System.out.println(A*B);
}
}
|
[
7,
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,
2,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] |
[
"import java.util.*;\n\npublic class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint A = keyboard.nextInt();\n\t\tint B = keyboard.nextInt();\n\n\t\tSystem.out.println(A*B);\n\t\tkeyboard.close();\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint A = keyboard.nextInt();\n\t\tint B = keyboard.nextInt();\n\n\t\tSystem.out.println(A*B);\n\t\tkeyboard.close();\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint A = keyboard.nextInt();\n\t\tint B = keyboard.nextInt();\n\n\t\tSystem.out.println(A*B);\n\t\tkeyboard.close();\t\n\t}",
"main",
"{\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint A = keyboard.nextInt();\n\t\tint B = keyboard.nextInt();\n\n\t\tSystem.out.println(A*B);\n\t\tkeyboard.close();\t\n\t}",
"Scanner keyboard = new Scanner(System.in);",
"keyboard",
"new Scanner(System.in)",
"int A = keyboard.nextInt();",
"A",
"keyboard.nextInt()",
"keyboard.nextInt",
"keyboard",
"int B = keyboard.nextInt();",
"B",
"keyboard.nextInt()",
"keyboard.nextInt",
"keyboard",
"System.out.println(A*B)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*B",
"A",
"B",
"keyboard.close()",
"keyboard.close",
"keyboard",
"String[] args",
"args",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint A = keyboard.nextInt();\n\t\tint B = keyboard.nextInt();\n\n\t\tSystem.out.println(A*B);\n\t\tkeyboard.close();\t\n\t}\n}",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint A = keyboard.nextInt();\n\t\tint B = keyboard.nextInt();\n\n\t\tSystem.out.println(A*B);\n\t\tkeyboard.close();\t\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner keyboard = new Scanner(System.in);
int A = keyboard.nextInt();
int B = keyboard.nextInt();
System.out.println(A*B);
keyboard.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
2,
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
],
[
43,
11
],
[
43,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
14,
37
],
[
37,
38
],
[
38,
39
],
[
12,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] |
[
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\npublic class Main{\n public static void main(String agrs[])\n {\n Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n double a = in.nextDouble();\n double b = in.nextDouble();\n out.println((long)(a * b));\n out.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String agrs[])\n {\n Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n double a = in.nextDouble();\n double b = in.nextDouble();\n out.println((long)(a * b));\n out.close();\n }\n}",
"Main",
"public static void main(String agrs[])\n {\n Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n double a = in.nextDouble();\n double b = in.nextDouble();\n out.println((long)(a * b));\n out.close();\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n double a = in.nextDouble();\n double b = in.nextDouble();\n out.println((long)(a * b));\n out.close();\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"double a = in.nextDouble();",
"a",
"in.nextDouble()",
"in.nextDouble",
"in",
"double b = in.nextDouble();",
"b",
"in.nextDouble()",
"in.nextDouble",
"in",
"out.println((long)(a * b))",
"out.println",
"out",
"(long)(a * b)",
"a",
"b",
"out.close()",
"out.close",
"out",
"String agrs[]",
"agrs",
"public class Main{\n public static void main(String agrs[])\n {\n Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n double a = in.nextDouble();\n double b = in.nextDouble();\n out.println((long)(a * b));\n out.close();\n }\n}",
"public class Main{\n public static void main(String agrs[])\n {\n Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n double a = in.nextDouble();\n double b = in.nextDouble();\n out.println((long)(a * b));\n out.close();\n }\n}",
"Main"
] |
import java.util.*;
import java.lang.*;
import java.io.*;
public class Main{
public static void main(String agrs[])
{
Scanner in = new Scanner(System.in);
PrintWriter out = new PrintWriter(System.out);
double a = in.nextDouble();
double b = in.nextDouble();
out.println((long)(a * b));
out.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
29,
2,
4,
18,
13,
4,
18,
13,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
4,
18,
13,
13,
14,
2,
2,
13,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
6,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
29,
2,
17,
2,
13,
2,
17,
13,
23,
13,
23,
13,
12,
13,
30,
29,
0,
13,
2,
17,
13,
23,
13,
23,
13,
12,
13,
30,
29,
0,
13,
40,
2,
17,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
4,
13,
13,
13,
4,
13,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
40,
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
],
[
194,
14
],
[
194,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
15,
32
],
[
32,
33
],
[
194,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
38,
45
],
[
45,
46
],
[
45,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
64,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
79,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
85,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
90,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
99,
100
],
[
99,
101
],
[
60,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
60,
106
],
[
106,
107
],
[
58,
108
],
[
108,
109
],
[
0,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
112,
120
],
[
120,
121
],
[
110,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
130,
132
],
[
122,
133
],
[
133,
134
],
[
122,
135
],
[
135,
136
],
[
110,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
143,
145
],
[
137,
146
],
[
146,
147
],
[
137,
148
],
[
148,
149
],
[
110,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
150,
160
],
[
160,
161
],
[
150,
162
],
[
162,
163
],
[
110,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
169,
172
],
[
168,
173
],
[
173,
174
],
[
173,
175
],
[
173,
176
],
[
168,
177
],
[
177,
178
],
[
177,
179
],
[
177,
180
],
[
164,
181
],
[
181,
182
],
[
164,
183
],
[
183,
184
],
[
110,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
185,
191
],
[
191,
192
],
[
0,
193
],
[
193,
194
],
[
193,
195
]
] |
[
"import java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.Collections;\n\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n static Object run() {\n try (Scanner sc = new Scanner(System.in)) {\n long resultNum = 0;\n String resultStr = \"\";\n\n return sc.nextInt() * sc.nextInt();\n }\n }\n}\n\nclass ChenNumberUtil {\n static Collection<Integer> getDivisors(int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }\n Collections.sort(al);\n return al;\n }\n}\n\nclass ChenBitUtil {\n static int popCount(int bit) {\n return Integer.bitCount(bit);\n }\n\n static boolean isFlag(int bit, int i) {\n return 0 != (bit & (1 << i));\n }\n\n static int setTrue(int bit, int i) {\n return bit |= (1 << i);\n }\n\n static int setFalse(int bit, int i) {\n return bit &= ~(1 << i);\n }\n\n static int setReverse(int bit, int i) {\n return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);\n }\n\n static int reverseAll(int bit) {\n return ~bit;\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collection;",
"Collection",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n static Object run() {\n try (Scanner sc = new Scanner(System.in)) {\n long resultNum = 0;\n String resultStr = \"\";\n\n return sc.nextInt() * sc.nextInt();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }",
"main",
"{\n Object o = run();\n if (o != null)\n System.out.println(o);\n }",
"Object o = run();",
"o",
"run()",
"run",
"if (o != null)\n System.out.println(o);",
"o != null",
"o",
"null",
"System.out.println(o)",
"System.out.println",
"System.out",
"System",
"System.out",
"o",
"String[] args",
"args",
"static Object run() {\n try (Scanner sc = new Scanner(System.in)) {\n long resultNum = 0;\n String resultStr = \"\";\n\n return sc.nextInt() * sc.nextInt();\n }\n }",
"run",
"{\n try (Scanner sc = new Scanner(System.in)) {\n long resultNum = 0;\n String resultStr = \"\";\n\n return sc.nextInt() * sc.nextInt();\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n long resultNum = 0;\n String resultStr = \"\";\n\n return sc.nextInt() * sc.nextInt();\n }",
"{\n long resultNum = 0;\n String resultStr = \"\";\n\n return sc.nextInt() * sc.nextInt();\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"long resultNum = 0;",
"resultNum",
"0",
"String resultStr = \"\";",
"resultStr",
"\"\"",
"return sc.nextInt() * sc.nextInt();",
"sc.nextInt() * sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"class ChenNumberUtil {\n static Collection<Integer> getDivisors(int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }\n Collections.sort(al);\n return al;\n }\n}",
"ChenNumberUtil",
"static Collection<Integer> getDivisors(int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }\n Collections.sort(al);\n return al;\n }",
"getDivisors",
"{\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }\n Collections.sort(al);\n return al;\n }",
"ArrayList<Integer> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"for (int i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i * i <= n",
"i * i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }",
"{\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }",
"if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }",
"n % i == 0",
"n % i",
"n",
"i",
"0",
"{\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }",
"al.add(i)",
"al.add",
"al",
"i",
"if (n / i != i)\n al.add(n / i);",
"n / i != i",
"n / i",
"n",
"i",
"i",
"al.add(n / i)",
"al.add",
"al",
"n / i",
"n",
"i",
"Collections.sort(al)",
"Collections.sort",
"Collections",
"al",
"return al;",
"al",
"int n",
"n",
"class ChenBitUtil {\n static int popCount(int bit) {\n return Integer.bitCount(bit);\n }\n\n static boolean isFlag(int bit, int i) {\n return 0 != (bit & (1 << i));\n }\n\n static int setTrue(int bit, int i) {\n return bit |= (1 << i);\n }\n\n static int setFalse(int bit, int i) {\n return bit &= ~(1 << i);\n }\n\n static int setReverse(int bit, int i) {\n return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);\n }\n\n static int reverseAll(int bit) {\n return ~bit;\n }\n}",
"ChenBitUtil",
"static int popCount(int bit) {\n return Integer.bitCount(bit);\n }",
"popCount",
"{\n return Integer.bitCount(bit);\n }",
"return Integer.bitCount(bit);",
"Integer.bitCount(bit)",
"Integer.bitCount",
"Integer",
"bit",
"int bit",
"bit",
"static boolean isFlag(int bit, int i) {\n return 0 != (bit & (1 << i));\n }",
"isFlag",
"{\n return 0 != (bit & (1 << i));\n }",
"return 0 != (bit & (1 << i));",
"0 != (bit & (1 << i))",
"0",
"(bit & (1 << i))",
"bit",
"(1 << i)",
"1",
"i",
"int bit",
"bit",
"int i",
"i",
"static int setTrue(int bit, int i) {\n return bit |= (1 << i);\n }",
"setTrue",
"{\n return bit |= (1 << i);\n }",
"return bit |= (1 << i);",
"bit |= (1 << i)",
"bit",
"(1 << i)",
"1",
"i",
"int bit",
"bit",
"int i",
"i",
"static int setFalse(int bit, int i) {\n return bit &= ~(1 << i);\n }",
"setFalse",
"{\n return bit &= ~(1 << i);\n }",
"return bit &= ~(1 << i);",
"bit &= ~(1 << i)",
"bit",
"~(1 << i)",
"(1 << i)",
"1",
"i",
"int bit",
"bit",
"int i",
"i",
"static int setReverse(int bit, int i) {\n return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);\n }",
"setReverse",
"{\n return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);\n }",
"return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);",
"isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i)",
"isFlag(bit, i)",
"isFlag",
"bit",
"i",
"setFalse(bit, i)",
"setFalse",
"bit",
"i",
"setTrue(bit, i)",
"setTrue",
"bit",
"i",
"int bit",
"bit",
"int i",
"i",
"static int reverseAll(int bit) {\n return ~bit;\n }",
"reverseAll",
"{\n return ~bit;\n }",
"return ~bit;",
"~bit",
"bit",
"int bit",
"bit",
"public class Main {\n public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n static Object run() {\n try (Scanner sc = new Scanner(System.in)) {\n long resultNum = 0;\n String resultStr = \"\";\n\n return sc.nextInt() * sc.nextInt();\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n static Object run() {\n try (Scanner sc = new Scanner(System.in)) {\n long resultNum = 0;\n String resultStr = \"\";\n\n return sc.nextInt() * sc.nextInt();\n }\n }\n}",
"Main"
] |
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Object o = run();
if (o != null)
System.out.println(o);
}
static Object run() {
try (Scanner sc = new Scanner(System.in)) {
long resultNum = 0;
String resultStr = "";
return sc.nextInt() * sc.nextInt();
}
}
}
class ChenNumberUtil {
static Collection<Integer> getDivisors(int n) {
ArrayList<Integer> al = new ArrayList<>();
for (int i = 1; i * i <= n; i++) {
if (n % i == 0) {
al.add(i);
if (n / i != i)
al.add(n / i);
}
}
Collections.sort(al);
return al;
}
}
class ChenBitUtil {
static int popCount(int bit) {
return Integer.bitCount(bit);
}
static boolean isFlag(int bit, int i) {
return 0 != (bit & (1 << i));
}
static int setTrue(int bit, int i) {
return bit |= (1 << i);
}
static int setFalse(int bit, int i) {
return bit &= ~(1 << i);
}
static int setReverse(int bit, int i) {
return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);
}
static int reverseAll(int bit) {
return ~bit;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
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
],
[
42,
11
],
[
42,
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
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
14,
36
],
[
36,
37
],
[
37,
38
],
[
12,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int A = in.nextInt();\n int B = in.nextInt();\n\n System.out.println(A * B);\n in.close();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int A = in.nextInt();\n int B = in.nextInt();\n\n System.out.println(A * B);\n in.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int A = in.nextInt();\n int B = in.nextInt();\n\n System.out.println(A * B);\n in.close();\n }",
"main",
"{\n Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int A = in.nextInt();\n int B = in.nextInt();\n\n System.out.println(A * B);\n in.close();\n }",
"Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"in",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"int A = in.nextInt();",
"A",
"in.nextInt()",
"in.nextInt",
"in",
"int B = in.nextInt();",
"B",
"in.nextInt()",
"in.nextInt",
"in",
"System.out.println(A * B)",
"System.out.println",
"System.out",
"System",
"System.out",
"A * B",
"A",
"B",
"in.close()",
"in.close",
"in",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int A = in.nextInt();\n int B = in.nextInt();\n\n System.out.println(A * B);\n in.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int A = in.nextInt();\n int B = in.nextInt();\n\n System.out.println(A * B);\n in.close();\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
int A = in.nextInt();
int B = in.nextInt();
System.out.println(A * B);
in.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
41,
13,
20,
17,
17,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
13,
30,
14,
2,
2,
18,
18,
13,
13,
13,
17,
2,
18,
18,
13,
13,
2,
13,
17,
17,
30,
29,
17,
29,
17,
29,
17,
23,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
180,
8
],
[
180,
9
],
[
9,
10
],
[
9,
11
],
[
180,
12
],
[
12,
13
],
[
12,
14
],
[
180,
15
],
[
15,
16
],
[
180,
17
],
[
17,
18
],
[
180,
19
],
[
19,
20
],
[
19,
21
],
[
180,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
26,
43
],
[
43,
44
],
[
44,
45
],
[
24,
46
],
[
46,
47
],
[
180,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
51,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
60,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
58,
76
],
[
76,
77
],
[
77,
78
],
[
57,
79
],
[
79,
80
],
[
50,
81
],
[
81,
82
],
[
48,
83
],
[
83,
84
],
[
48,
85
],
[
85,
86
],
[
48,
87
],
[
87,
88
],
[
48,
89
],
[
89,
90
],
[
180,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
91,
95
],
[
95,
96
],
[
91,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
91,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
106,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
116,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
105,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
91,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
138,
139
],
[
91,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
144,
147
],
[
147,
148
],
[
91,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
153,
156
],
[
156,
157
],
[
91,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
164,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
160,
177
],
[
177,
178
],
[
0,
179
],
[
179,
180
],
[
179,
181
]
] |
[
"import java.io.*;\nimport java.util.*;\n\n\n\npublic class Main {\n\n static MyScanner ob = new MyScanner();\n static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n static int N ;\n static int [] A;\n static char[][] arr = new char[100][1000];\n public static void main(String args[]) throws IOException {\n int A = ob.nextInt(); int B = ob.nextInt();\n pw.println(A*B);\n \n pw.flush();\n \n }\n\n \n static boolean check (int i, int j,int n ,int m){\n if(j+1<m){\n if(arr[i][j]=='.'&&arr[i][j+1]=='.'){\n return true;\n }\n return false;\n }\n return false;\n }\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n static MyScanner ob = new MyScanner();\n static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n static int N ;\n static int [] A;\n static char[][] arr = new char[100][1000];\n public static void main(String args[]) throws IOException {\n int A = ob.nextInt(); int B = ob.nextInt();\n pw.println(A*B);\n \n pw.flush();\n \n }\n\n \n static boolean check (int i, int j,int n ,int m){\n if(j+1<m){\n if(arr[i][j]=='.'&&arr[i][j+1]=='.'){\n return true;\n }\n return false;\n }\n return false;\n }\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}",
"Main",
"static MyScanner ob = new MyScanner();",
"ob",
"new MyScanner()",
"static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));",
"pw",
"new PrintWriter(new OutputStreamWriter(System.out))",
"static int N ;",
"N",
"static int [] A;",
"A",
"static char[][] arr = new char[100][1000];",
"arr",
"new char[100][1000]",
"100",
"1000",
"public static void main(String args[]) throws IOException {\n int A = ob.nextInt(); int B = ob.nextInt();\n pw.println(A*B);\n \n pw.flush();\n \n }",
"main",
"{\n int A = ob.nextInt(); int B = ob.nextInt();\n pw.println(A*B);\n \n pw.flush();\n \n }",
"int A = ob.nextInt();",
"A",
"ob.nextInt()",
"ob.nextInt",
"ob",
"int B = ob.nextInt();",
"B",
"ob.nextInt()",
"ob.nextInt",
"ob",
"pw.println(A*B)",
"pw.println",
"pw",
"A*B",
"A",
"B",
"pw.flush()",
"pw.flush",
"pw",
"String args[]",
"args",
"static boolean check (int i, int j,int n ,int m){\n if(j+1<m){\n if(arr[i][j]=='.'&&arr[i][j+1]=='.'){\n return true;\n }\n return false;\n }\n return false;\n }",
"check",
"{\n if(j+1<m){\n if(arr[i][j]=='.'&&arr[i][j+1]=='.'){\n return true;\n }\n return false;\n }\n return false;\n }",
"if(j+1<m){\n if(arr[i][j]=='.'&&arr[i][j+1]=='.'){\n return true;\n }\n return false;\n }",
"j+1<m",
"j+1",
"j",
"1",
"m",
"{\n if(arr[i][j]=='.'&&arr[i][j+1]=='.'){\n return true;\n }\n return false;\n }",
"if(arr[i][j]=='.'&&arr[i][j+1]=='.'){\n return true;\n }",
"arr[i][j]=='.'&&arr[i][j+1]=='.'",
"arr[i][j]=='.'",
"arr[i][j]",
"arr[i]",
"arr",
"i",
"j",
"'.'",
"arr[i][j+1]=='.'",
"arr[i][j+1]",
"arr[i]",
"arr",
"i",
"j+1",
"j",
"1",
"'.'",
"{\n return true;\n }",
"return true;",
"true",
"return false;",
"false",
"return false;",
"false",
"int i",
"i",
"int j",
"j",
"int n",
"n",
"int m",
"m",
"public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }",
"MyScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"MyScanner",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\n static MyScanner ob = new MyScanner();\n static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n static int N ;\n static int [] A;\n static char[][] arr = new char[100][1000];\n public static void main(String args[]) throws IOException {\n int A = ob.nextInt(); int B = ob.nextInt();\n pw.println(A*B);\n \n pw.flush();\n \n }\n\n \n static boolean check (int i, int j,int n ,int m){\n if(j+1<m){\n if(arr[i][j]=='.'&&arr[i][j+1]=='.'){\n return true;\n }\n return false;\n }\n return false;\n }\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}",
"public class Main {\n\n static MyScanner ob = new MyScanner();\n static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n static int N ;\n static int [] A;\n static char[][] arr = new char[100][1000];\n public static void main(String args[]) throws IOException {\n int A = ob.nextInt(); int B = ob.nextInt();\n pw.println(A*B);\n \n pw.flush();\n \n }\n\n \n static boolean check (int i, int j,int n ,int m){\n if(j+1<m){\n if(arr[i][j]=='.'&&arr[i][j+1]=='.'){\n return true;\n }\n return false;\n }\n return false;\n }\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
static MyScanner ob = new MyScanner();
static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));
static int N ;
static int [] A;
static char[][] arr = new char[100][1000];
public static void main(String args[]) throws IOException {
int A = ob.nextInt(); int B = ob.nextInt();
pw.println(A*B);
pw.flush();
}
static boolean check (int i, int j,int n ,int m){
if(j+1<m){
if(arr[i][j]=='.'&&arr[i][j+1]=='.'){
return true;
}
return false;
}
return false;
}
public static class MyScanner {
BufferedReader br;
StringTokenizer st;
public MyScanner() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine(){
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
12,
13,
30,
41,
13,
40,
17,
41,
13,
18,
13,
13,
41,
13,
42,
2,
2,
13,
13,
17,
30,
0,
13,
2,
2,
13,
13,
17,
14,
2,
18,
13,
13,
13,
30,
0,
13,
13,
30,
0,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
40,
17,
41,
13,
4,
18,
13,
41,
13,
42,
2,
2,
13,
13,
17,
30,
0,
13,
2,
2,
13,
13,
17,
14,
2,
4,
18,
13,
13,
13,
30,
0,
13,
13,
30,
0,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
174,
11
],
[
174,
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
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
12,
36
],
[
36,
37
],
[
174,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
40,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
66,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
40,
80
],
[
80,
81
],
[
38,
82
],
[
82,
83
],
[
38,
84
],
[
84,
85
],
[
174,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
88,
98
],
[
98,
99
],
[
88,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
100,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
106,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
115,
120
],
[
114,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
114,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
88,
129
],
[
129,
130
],
[
86,
131
],
[
131,
132
],
[
86,
133
],
[
133,
134
],
[
174,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
139,
144
],
[
144,
145
],
[
144,
146
],
[
144,
147
],
[
147,
148
],
[
147,
149
],
[
135,
150
],
[
150,
151
],
[
135,
152
],
[
152,
153
],
[
174,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
158,
163
],
[
163,
164
],
[
163,
165
],
[
163,
166
],
[
166,
167
],
[
166,
168
],
[
154,
169
],
[
169,
170
],
[
154,
171
],
[
171,
172
],
[
0,
173
],
[
173,
174
],
[
173,
175
]
] |
[
"import java.io.IOException;\nimport java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\n\n\n\n\t\tSystem.out.println(A*B);\n\n\t}\n\n\t//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\n\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\n\n\n\n\t\tSystem.out.println(A*B);\n\n\t}\n\n\t//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\n\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\n\n\n\n\t\tSystem.out.println(A*B);\n\n\t}",
"main",
"{\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\n\n\n\n\t\tSystem.out.println(A*B);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int A = sc.nextInt();",
"A",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int B = sc.nextInt();",
"B",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(A*B)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*B",
"A",
"B",
"String[] args",
"args",
"//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}",
"binarySearch",
"{\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}",
"int lowerBorder = -1;",
"lowerBorder",
"-1",
"1",
"int upperBorder = orderedArray.length;",
"upperBorder",
"orderedArray.length",
"orderedArray",
"orderedArray.length",
"int mid;",
"mid",
"while(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}",
"upperBorder - lowerBorder >1",
"upperBorder - lowerBorder",
"upperBorder",
"lowerBorder",
"1",
"{\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}",
"mid = (upperBorder + lowerBorder)/2",
"mid",
"(upperBorder + lowerBorder)/2",
"(upperBorder + lowerBorder)",
"upperBorder",
"lowerBorder",
"2",
"if(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}",
"orderedArray[mid]<=num",
"orderedArray[mid]",
"orderedArray",
"mid",
"num",
"{\n\t\t\t\tlowerBorder = mid;\n\t\t\t}",
"lowerBorder = mid",
"lowerBorder",
"mid",
"{\n\t\t\t\tupperBorder = mid;\n\t\t\t}",
"upperBorder = mid",
"upperBorder",
"mid",
"return lowerBorder;",
"lowerBorder",
"long num",
"num",
"long[] orderedArray",
"orderedArray",
"//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}",
"binarySearch",
"{\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}",
"int lowerBorder = -1;",
"lowerBorder",
"-1",
"1",
"int upperBorder = orderedList.size();",
"upperBorder",
"orderedList.size()",
"orderedList.size",
"orderedList",
"int mid;",
"mid",
"while(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}",
"upperBorder - lowerBorder >1",
"upperBorder - lowerBorder",
"upperBorder",
"lowerBorder",
"1",
"{\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}",
"mid = (upperBorder + lowerBorder)/2",
"mid",
"(upperBorder + lowerBorder)/2",
"(upperBorder + lowerBorder)",
"upperBorder",
"lowerBorder",
"2",
"if(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}",
"orderedList.get(mid)<=num",
"orderedList.get(mid)",
"orderedList.get",
"orderedList",
"mid",
"num",
"{\n\t\t\t\tlowerBorder = mid;\n\t\t\t}",
"lowerBorder = mid",
"lowerBorder",
"mid",
"{\n\t\t\t\tupperBorder = mid;\n\t\t\t}",
"upperBorder = mid",
"upperBorder",
"mid",
"return lowerBorder;",
"lowerBorder",
"long num",
"num",
"ArrayList<Long> orderedList",
"orderedList",
"//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}",
"gcd",
"{\n return b == 0 ? a: gcd(b, a % b);\n\t}",
"return b == 0 ? a: gcd(b, a % b);",
"b == 0 ? a: gcd(b, a % b)",
"b == 0",
"b",
"0",
"a",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"public static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}",
"gcd",
"{\n return b == 0 ? a: gcd(b, a % b);\n\t}",
"return b == 0 ? a: gcd(b, a % b);",
"b == 0 ? a: gcd(b, a % b)",
"b == 0",
"b",
"0",
"a",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\n\n\n\n\t\tSystem.out.println(A*B);\n\n\t}\n\n\t//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\n\n\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\n\n\n\n\t\tSystem.out.println(A*B);\n\n\t}\n\n\t//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\n\n\n}",
"Main"
] |
import java.io.IOException;
import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
// BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
// String W = in.readLine();
// int num = Integer.parseInt(W.split(" ")[0]);
Scanner sc = new Scanner(System.in);
int A = sc.nextInt();
int B = sc.nextInt();
System.out.println(A*B);
}
// //二分探索
//k <= num となる最小の配列要素kのインデックスを返す
static private int binarySearch(long num, long[] orderedArray){
int lowerBorder = -1;
int upperBorder = orderedArray.length;
int mid;
while(upperBorder - lowerBorder >1) {
mid = (upperBorder + lowerBorder)/2;
if(orderedArray[mid]<=num) {
lowerBorder = mid;
}else {
upperBorder = mid;
}
}
return lowerBorder;
}
//二分探索
//k <= num となる最小のList要素kのインデックスを返す
static private int binarySearch(long num, ArrayList<Long> orderedList){
int lowerBorder = -1;
int upperBorder = orderedList.size();
int mid;
while(upperBorder - lowerBorder >1) {
mid = (upperBorder + lowerBorder)/2;
if(orderedList.get(mid)<=num) {
lowerBorder = mid;
}else {
upperBorder = mid;
}
}
return lowerBorder;
}
//aとbの最小公倍数を求める
public static int gcd(int a, int b) {
return b == 0 ? a: gcd(b, a % b);
}
public static long gcd(long a, long b) {
return b == 0 ? a: gcd(b, a % b);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
20,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
42,
4,
18,
13,
30,
4,
13,
4,
18,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
4,
18,
13,
13,
29,
6,
13,
41,
13,
41,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
0,
13,
20,
12,
13,
30,
14,
4,
18,
13,
29,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
14,
2,
40,
4,
18,
13,
40,
4,
18,
13,
29,
17,
29,
17,
29,
17,
12,
13,
30,
29,
4,
18,
13,
4,
18,
36,
12,
13,
30,
29,
4,
18,
13,
4,
18,
36,
12,
13,
30,
29,
4,
18,
36,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
170,
11
],
[
170,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
0,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
26,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
26,
40
],
[
40,
41
],
[
41,
42
],
[
18,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
45,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
45,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
45,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
45,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
66,
70
],
[
70,
71
],
[
66,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
75,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
66,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
91,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
100,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
91,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
66,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
118,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
127,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
126,
136
],
[
136,
137
],
[
126,
138
],
[
138,
139
],
[
117,
140
],
[
140,
141
],
[
66,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
146,
149
],
[
149,
150
],
[
150,
151
],
[
66,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
156,
159
],
[
159,
160
],
[
160,
161
],
[
66,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
0,
169
],
[
169,
170
],
[
169,
171
]
] |
[
"//--- pA ---//\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\npublic class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception {\n\t\tnew Solution();\n\t}\n}\nclass Solution {\n\tReader reader;\n\tPrintWriter out;\n\tpublic Solution() {\n\t\treader = new Reader();\n\t\tout = new PrintWriter(System.out);\n\t\twhile (reader.hasNext()) {\n\t\t\trun_case();\n\t\t}\n\t\tout.flush();\n\t}\n\n\tprivate void run_case() {\n\t\tint a = reader.ni();\n\t\tint b = reader.ni();\n\t\tint c = a * b;\n\t\tout.println(c);\n\t\treturn;\n\t}\n}\n\n\nclass Reader {\n\tBufferedReader br;\n\tStringTokenizer st;\n\tpublic Reader(){\n\t\ttry {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\tpublic String next() {\n\t\tif (st.hasMoreTokens()) return st.nextToken();\n\t\ttry {\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\tpublic boolean hasNext() {\n\t\ttry {\n\t\t\tif (!st.hasMoreTokens() && !br.ready()) return false;\n\t\t\telse return true;\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn false;\n\t}\n\tpublic int ni() {return Integer.parseInt(this.next());}\n\tpublic long nl() {return Long.parseLong(this.next());}\n\tpublic String ns() {return this.next();}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception {\n\t\tnew Solution();\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception {\n\t\tnew Solution();\n\t}",
"main",
"{\n\t\tnew Solution();\n\t}",
"new Solution()",
"String[] args",
"args",
"class Solution {\n\tReader reader;\n\tPrintWriter out;\n\tpublic Solution() {\n\t\treader = new Reader();\n\t\tout = new PrintWriter(System.out);\n\t\twhile (reader.hasNext()) {\n\t\t\trun_case();\n\t\t}\n\t\tout.flush();\n\t}\n\n\tprivate void run_case() {\n\t\tint a = reader.ni();\n\t\tint b = reader.ni();\n\t\tint c = a * b;\n\t\tout.println(c);\n\t\treturn;\n\t}\n}",
"Solution",
"Reader reader;",
"reader",
"PrintWriter out;",
"out",
"public Solution() {\n\t\treader = new Reader();\n\t\tout = new PrintWriter(System.out);\n\t\twhile (reader.hasNext()) {\n\t\t\trun_case();\n\t\t}\n\t\tout.flush();\n\t}",
"Solution",
"{\n\t\treader = new Reader();\n\t\tout = new PrintWriter(System.out);\n\t\twhile (reader.hasNext()) {\n\t\t\trun_case();\n\t\t}\n\t\tout.flush();\n\t}",
"reader = new Reader()",
"reader",
"new Reader()",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"while (reader.hasNext()) {\n\t\t\trun_case();\n\t\t}",
"reader.hasNext()",
"reader.hasNext",
"reader",
"{\n\t\t\trun_case();\n\t\t}",
"run_case()",
"run_case",
"out.flush()",
"out.flush",
"out",
"private void run_case() {\n\t\tint a = reader.ni();\n\t\tint b = reader.ni();\n\t\tint c = a * b;\n\t\tout.println(c);\n\t\treturn;\n\t}",
"run_case",
"{\n\t\tint a = reader.ni();\n\t\tint b = reader.ni();\n\t\tint c = a * b;\n\t\tout.println(c);\n\t\treturn;\n\t}",
"int a = reader.ni();",
"a",
"reader.ni()",
"reader.ni",
"reader",
"int b = reader.ni();",
"b",
"reader.ni()",
"reader.ni",
"reader",
"int c = a * b;",
"c",
"a * b",
"a",
"b",
"out.println(c)",
"out.println",
"out",
"c",
"return;",
"class Reader {\n\tBufferedReader br;\n\tStringTokenizer st;\n\tpublic Reader(){\n\t\ttry {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\tpublic String next() {\n\t\tif (st.hasMoreTokens()) return st.nextToken();\n\t\ttry {\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\tpublic boolean hasNext() {\n\t\ttry {\n\t\t\tif (!st.hasMoreTokens() && !br.ready()) return false;\n\t\t\telse return true;\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn false;\n\t}\n\tpublic int ni() {return Integer.parseInt(this.next());}\n\tpublic long nl() {return Long.parseLong(this.next());}\n\tpublic String ns() {return this.next();}\n}",
"Reader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public Reader(){\n\t\ttry {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"Reader",
"{\n\t\ttry {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"try {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"public String next() {\n\t\tif (st.hasMoreTokens()) return st.nextToken();\n\t\ttry {\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn st.nextToken();\n\t}",
"next",
"{\n\t\tif (st.hasMoreTokens()) return st.nextToken();\n\t\ttry {\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn st.nextToken();\n\t}",
"if (st.hasMoreTokens()) return st.nextToken();",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"try {\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t}",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public boolean hasNext() {\n\t\ttry {\n\t\t\tif (!st.hasMoreTokens() && !br.ready()) return false;\n\t\t\telse return true;\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn false;\n\t}",
"hasNext",
"{\n\t\ttry {\n\t\t\tif (!st.hasMoreTokens() && !br.ready()) return false;\n\t\t\telse return true;\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn false;\n\t}",
"try {\n\t\t\tif (!st.hasMoreTokens() && !br.ready()) return false;\n\t\t\telse return true;\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tif (!st.hasMoreTokens() && !br.ready()) return false;\n\t\t\telse return true;\n\t\t}",
"if (!st.hasMoreTokens() && !br.ready()) return false;\n\t\t\telse return true;",
"!st.hasMoreTokens() && !br.ready()",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"!br.ready()",
"br.ready()",
"br.ready",
"br",
"return false;",
"false",
"return true;",
"true",
"return false;",
"false",
"public int ni() {return Integer.parseInt(this.next());}",
"ni",
"{return Integer.parseInt(this.next());}",
"return Integer.parseInt(this.next());",
"Integer.parseInt(this.next())",
"Integer.parseInt",
"Integer",
"this.next()",
"this.next",
"this",
"public long nl() {return Long.parseLong(this.next());}",
"nl",
"{return Long.parseLong(this.next());}",
"return Long.parseLong(this.next());",
"Long.parseLong(this.next())",
"Long.parseLong",
"Long",
"this.next()",
"this.next",
"this",
"public String ns() {return this.next();}",
"ns",
"{return this.next();}",
"return this.next();",
"this.next()",
"this.next",
"this",
"public class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception {\n\t\tnew Solution();\n\t}\n}",
"public class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception {\n\t\tnew Solution();\n\t}\n}",
"Main"
] |
//--- pA ---//
import java.util.*;
import java.lang.*;
import java.io.*;
public class Main {
public static void main (String[] args) throws java.lang.Exception {
new Solution();
}
}
class Solution {
Reader reader;
PrintWriter out;
public Solution() {
reader = new Reader();
out = new PrintWriter(System.out);
while (reader.hasNext()) {
run_case();
}
out.flush();
}
private void run_case() {
int a = reader.ni();
int b = reader.ni();
int c = a * b;
out.println(c);
return;
}
}
class Reader {
BufferedReader br;
StringTokenizer st;
public Reader(){
try {
br = new BufferedReader(new InputStreamReader(System.in));
st = new StringTokenizer(br.readLine());
} catch (Exception e) {
e.printStackTrace();
}
}
public String next() {
if (st.hasMoreTokens()) return st.nextToken();
try {
st = new StringTokenizer(br.readLine());
} catch (Exception e) {
e.printStackTrace();
}
return st.nextToken();
}
public boolean hasNext() {
try {
if (!st.hasMoreTokens() && !br.ready()) return false;
else return true;
} catch (Exception e) {
e.printStackTrace();
}
return false;
}
public int ni() {return Integer.parseInt(this.next());}
public long nl() {return Long.parseLong(this.next());}
public String ns() {return this.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,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] |
[
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n int ans = X * Y;\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n int ans = X * Y;\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n int ans = X * Y;\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n int ans = X * Y;\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int Y = sc.nextInt();",
"Y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = X * Y;",
"ans",
"X * Y",
"X",
"Y",
"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 int X = sc.nextInt();\n int Y = sc.nextInt();\n int ans = X * Y;\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 int X = sc.nextInt();\n int Y = sc.nextInt();\n int ans = X * Y;\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int X = sc.nextInt();
int Y = sc.nextInt();
int ans = X * Y;
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
51,
23
],
[
51,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
26,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
24,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.io.BufferedReader;\nimport java.io.*;\nimport java.util.*;\nimport java.util.ArrayList;\nimport java.util.Iterator;\nimport java.util.List;\nimport java.util.Collections;\npublic class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(a*b);\n\n \n \n \n\n\n \n\n\n \n \n\n\n \n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Iterator;",
"Iterator",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"public class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(a*b);\n\n \n \n \n\n\n \n\n\n \n \n\n\n \n\t}\n}",
"Main",
"public static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(a*b);\n\n \n \n \n\n\n \n\n\n \n \n\n\n \n\t}",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(a*b);\n\n \n \n \n\n\n \n\n\n \n \n\n\n \n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(a*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"final String[] args",
"args",
"public class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(a*b);\n\n \n \n \n\n\n \n\n\n \n \n\n\n \n\t}\n}",
"public class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n System.out.println(a*b);\n\n \n \n \n\n\n \n\n\n \n \n\n\n \n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.*;
import java.util.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Collections;
public class Main {
public static void main(final String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a*b);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
6
],
[
6,
7
],
[
6,
8
],
[
42,
9
],
[
9,
10
],
[
9,
11
],
[
42,
12
],
[
12,
13
],
[
12,
14
],
[
42,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
15,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n int M = sc.nextInt();\n\n System.out.println(N*M);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n int M = sc.nextInt();\n\n System.out.println(N*M);\n }\n}",
"Main",
"private static final int MOD = 1_000_000_007;",
"MOD",
"1_000_000_007",
"private static final String YES = \"Yes\";",
"YES",
"\"Yes\"",
"private static final String NO = \"No\";",
"NO",
"\"No\"",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n int M = sc.nextInt();\n\n System.out.println(N*M);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n int M = sc.nextInt();\n\n System.out.println(N*M);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int M = sc.nextInt();",
"M",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(N*M)",
"System.out.println",
"System.out",
"System",
"System.out",
"N*M",
"N",
"M",
"String[] args",
"args",
"public class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n int M = sc.nextInt();\n\n System.out.println(N*M);\n }\n}",
"public class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n int M = sc.nextInt();\n\n System.out.println(N*M);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
private static final int MOD = 1_000_000_007;
private static final String YES = "Yes";
private static final String NO = "No";
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int M = sc.nextInt();
System.out.println(N*M);
}
}
|
[
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,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
56,
11
],
[
56,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
12,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] |
[
"import java.util.Scanner;\nimport java.util.Arrays;\nimport java.util.List;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String input = sc.nextLine();\n\t\tString[] array = input.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[1]);\n\t System.out.println(a * b);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String input = sc.nextLine();\n\t\tString[] array = input.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[1]);\n\t System.out.println(a * b);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String input = sc.nextLine();\n\t\tString[] array = input.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[1]);\n\t System.out.println(a * b);\n\t}",
"main",
"{\n\t Scanner sc = new Scanner(System.in);\n\t String input = sc.nextLine();\n\t\tString[] array = input.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[1]);\n\t System.out.println(a * b);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String input = sc.nextLine();",
"input",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] array = input.split(\" \");",
"array",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int a = Integer.parseInt(array[0]);",
"a",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"int b = Integer.parseInt(array[1]);",
"b",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"System.out.println(a * b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b",
"a",
"b",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String input = sc.nextLine();\n\t\tString[] array = input.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[1]);\n\t System.out.println(a * b);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String input = sc.nextLine();\n\t\tString[] array = input.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[1]);\n\t System.out.println(a * b);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
import java.util.Arrays;
import java.util.List;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String input = sc.nextLine();
String[] array = input.split(" ");
int a = Integer.parseInt(array[0]);
int b = Integer.parseInt(array[1]);
System.out.println(a * b);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
38,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
12,
13,
30,
0,
13,
2,
13,
13,
4,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
65,
8
],
[
8,
9
],
[
65,
10
],
[
10,
11
],
[
65,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
12,
21
],
[
21,
22
],
[
65,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
65,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
53,
54
],
[
65,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n\n int a;\n int b;\n int ans;\n\n public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n a = sc.nextInt();\n b = sc.nextInt();\n } finally {\n sc.close();\n }\n }\n\n void solve() {\n ans = a * b;\n show();\n }\n\n void show() {\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n\n int a;\n int b;\n int ans;\n\n public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n a = sc.nextInt();\n b = sc.nextInt();\n } finally {\n sc.close();\n }\n }\n\n void solve() {\n ans = a * b;\n show();\n }\n\n void show() {\n System.out.println(ans);\n }\n}",
"Main",
"int a;",
"a",
"int b;",
"b",
"int ans;",
"ans",
"public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }",
"main",
"{\n Main main = new Main();\n main.solve();\n }",
"Main main = new Main();",
"main",
"new Main()",
"main.solve()",
"main.solve",
"main",
"String[] args",
"args",
"public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n a = sc.nextInt();\n b = sc.nextInt();\n } finally {\n sc.close();\n }\n }",
"Main",
"{\n Scanner sc = new Scanner(System.in);\n try {\n a = sc.nextInt();\n b = sc.nextInt();\n } finally {\n sc.close();\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"try {\n a = sc.nextInt();\n b = sc.nextInt();\n } finally {\n sc.close();\n }",
"{\n sc.close();\n }",
"sc.close()",
"sc.close",
"sc",
"{\n a = sc.nextInt();\n b = sc.nextInt();\n }",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"void solve() {\n ans = a * b;\n show();\n }",
"solve",
"{\n ans = a * b;\n show();\n }",
"ans = a * b",
"ans",
"a * b",
"a",
"b",
"show()",
"show",
"void show() {\n System.out.println(ans);\n }",
"show",
"{\n System.out.println(ans);\n }",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n\n int a;\n int b;\n int ans;\n\n public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n a = sc.nextInt();\n b = sc.nextInt();\n } finally {\n sc.close();\n }\n }\n\n void solve() {\n ans = a * b;\n show();\n }\n\n void show() {\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n\n int a;\n int b;\n int ans;\n\n public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n a = sc.nextInt();\n b = sc.nextInt();\n } finally {\n sc.close();\n }\n }\n\n void solve() {\n ans = a * b;\n show();\n }\n\n void show() {\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.solve();
}
int a;
int b;
int ans;
public Main() {
Scanner sc = new Scanner(System.in);
try {
a = sc.nextInt();
b = sc.nextInt();
} finally {
sc.close();
}
}
void solve() {
ans = a * b;
show();
}
void show() {
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,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
33,
5
],
[
33,
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
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
6,
30
],
[
30,
31
],
[
0,
32
],
[
32,
33
],
[
32,
34
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n int A = scanner.nextInt();\n int B = scanner.nextInt();\n \n System.out.println(A*B);\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n int A = scanner.nextInt();\n int B = scanner.nextInt();\n \n System.out.println(A*B);\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n int A = scanner.nextInt();\n int B = scanner.nextInt();\n \n System.out.println(A*B);\n\n }",
"main",
"{\n \n Scanner scanner = new Scanner(System.in);\n \n int A = scanner.nextInt();\n int B = scanner.nextInt();\n \n System.out.println(A*B);\n\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int A = scanner.nextInt();",
"A",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int B = scanner.nextInt();",
"B",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println(A*B)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*B",
"A",
"B",
"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 int A = scanner.nextInt();\n int B = scanner.nextInt();\n \n System.out.println(A*B);\n\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n int A = scanner.nextInt();\n int B = scanner.nextInt();\n \n System.out.println(A*B);\n\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scanner = new Scanner(System.in);
int A = scanner.nextInt();
int B = scanner.nextInt();
System.out.println(A*B);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
39,
11
],
[
39,
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
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
12,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"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\tint A = input.nextInt();\n\t\tint B = input.nextInt();\n\t\tSystem.out.println(A*B);\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\tint A = input.nextInt();\n\t\tint B = input.nextInt();\n\t\tSystem.out.println(A*B);\n\t}\t\n}",
"Main",
"public static void main(String[] args) { //\n\t\tScanner input = new Scanner(System.in);\n\t\tint A = input.nextInt();\n\t\tint B = input.nextInt();\n\t\tSystem.out.println(A*B);\n\t}",
"main",
"{ //\n\t\tScanner input = new Scanner(System.in);\n\t\tint A = input.nextInt();\n\t\tint B = input.nextInt();\n\t\tSystem.out.println(A*B);\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int A = input.nextInt();",
"A",
"input.nextInt()",
"input.nextInt",
"input",
"int B = input.nextInt();",
"B",
"input.nextInt()",
"input.nextInt",
"input",
"System.out.println(A*B)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*B",
"A",
"B",
"String[] args",
"args",
"public class Main { \n\n\tpublic static void main(String[] args) { //\n\t\tScanner input = new Scanner(System.in);\n\t\tint A = input.nextInt();\n\t\tint B = input.nextInt();\n\t\tSystem.out.println(A*B);\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\tint A = input.nextInt();\n\t\tint B = input.nextInt();\n\t\tSystem.out.println(A*B);\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);
int A = input.nextInt();
int B = input.nextInt();
System.out.println(A*B);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
2,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
20,
17,
0,
18,
36,
13,
17,
0,
18,
36,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
13,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
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,
30,
40,
13,
12,
13,
30,
4,
13,
29,
4,
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,
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,
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
],
[
292,
23
],
[
292,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
46,
51
],
[
26,
52
],
[
52,
53
],
[
53,
54
],
[
24,
55
],
[
55,
56
],
[
292,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
75,
77
],
[
59,
78
],
[
78,
79
],
[
59,
80
],
[
80,
81
],
[
59,
82
],
[
82,
83
],
[
292,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
84,
88
],
[
88,
89
],
[
84,
90
],
[
90,
91
],
[
84,
92
],
[
92,
93
],
[
84,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
96,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
96,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
96,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
94,
118
],
[
118,
119
],
[
84,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
123,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
133,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
129,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
122,
153
],
[
153,
154
],
[
84,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
157,
166
],
[
166,
167
],
[
167,
168
],
[
84,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
177,
178
],
[
177,
179
],
[
169,
180
],
[
180,
181
],
[
84,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
192,
194
],
[
185,
195
],
[
195,
196
],
[
196,
197
],
[
84,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
200,
203
],
[
203,
204
],
[
204,
205
],
[
84,
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
],
[
208,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
251,
255
],
[
255,
256
],
[
255,
257
],
[
250,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
258,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
264,
266
],
[
250,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
268,
273
],
[
273,
274
],
[
274,
275
],
[
274,
276
],
[
267,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
279,
283
],
[
267,
284
],
[
284,
285
],
[
285,
286
],
[
249,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
0,
291
],
[
291,
292
],
[
291,
293
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.io.IOException;\nimport java.util.NoSuchElementException;\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 Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n AMultiplication1 solver = new AMultiplication1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class AMultiplication1 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int a = in.nextInt();\n int b = in.nextInt();\n out.println(a * b);\n }\n\n }\n\n static class Scanner {\n private final InputStream in;\n private final byte[] buffer;\n private int ptr;\n private int buflen;\n\n public Scanner(InputStream in) {\n this.in = in;\n this.buffer = new byte[1024];\n this.ptr = 0;\n this.buflen = 0;\n }\n\n private boolean hasNextByte() {\n if (ptr < buflen) 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) return false;\n }\n return true;\n }\n\n private byte readByte() {\n if (hasNextByte()) return buffer[ptr++];\n return -1;\n }\n\n private boolean isPrintableChar(byte c) {\n return '!' <= c && c <= '~';\n }\n\n private void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n }\n\n public boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }\n\n public int nextInt() {\n if (!hasNext()) throw new NoSuchElementException();\n int n = 0;\n boolean minus = false;\n byte b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) throw new NumberFormatException();\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 }\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.IOException;",
"IOException",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"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 Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n AMultiplication1 solver = new AMultiplication1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class AMultiplication1 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int a = in.nextInt();\n int b = in.nextInt();\n out.println(a * b);\n }\n\n }\n\n static class Scanner {\n private final InputStream in;\n private final byte[] buffer;\n private int ptr;\n private int buflen;\n\n public Scanner(InputStream in) {\n this.in = in;\n this.buffer = new byte[1024];\n this.ptr = 0;\n this.buflen = 0;\n }\n\n private boolean hasNextByte() {\n if (ptr < buflen) 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) return false;\n }\n return true;\n }\n\n private byte readByte() {\n if (hasNextByte()) return buffer[ptr++];\n return -1;\n }\n\n private boolean isPrintableChar(byte c) {\n return '!' <= c && c <= '~';\n }\n\n private void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n }\n\n public boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }\n\n public int nextInt() {\n if (!hasNext()) throw new NoSuchElementException();\n int n = 0;\n boolean minus = false;\n byte b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) throw new NumberFormatException();\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 }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n AMultiplication1 solver = new AMultiplication1();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n AMultiplication1 solver = new AMultiplication1();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"Scanner in = new Scanner(inputStream);",
"in",
"new Scanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"AMultiplication1 solver = new AMultiplication1();",
"solver",
"new AMultiplication1()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class AMultiplication1 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int a = in.nextInt();\n int b = in.nextInt();\n out.println(a * b);\n }\n\n }",
"AMultiplication1",
"public void solve(int testNumber, Scanner in, PrintWriter out) {\n int a = in.nextInt();\n int b = in.nextInt();\n out.println(a * b);\n }",
"solve",
"{\n int a = in.nextInt();\n int b = in.nextInt();\n out.println(a * b);\n }",
"int a = in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"int b = in.nextInt();",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"out.println(a * b)",
"out.println",
"out",
"a * b",
"a",
"b",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"static class Scanner {\n private final InputStream in;\n private final byte[] buffer;\n private int ptr;\n private int buflen;\n\n public Scanner(InputStream in) {\n this.in = in;\n this.buffer = new byte[1024];\n this.ptr = 0;\n this.buflen = 0;\n }\n\n private boolean hasNextByte() {\n if (ptr < buflen) 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) return false;\n }\n return true;\n }\n\n private byte readByte() {\n if (hasNextByte()) return buffer[ptr++];\n return -1;\n }\n\n private boolean isPrintableChar(byte c) {\n return '!' <= c && c <= '~';\n }\n\n private void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n }\n\n public boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }\n\n public int nextInt() {\n if (!hasNext()) throw new NoSuchElementException();\n int n = 0;\n boolean minus = false;\n byte b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) throw new NumberFormatException();\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 }",
"Scanner",
"private final InputStream in;",
"in",
"private final byte[] buffer;",
"buffer",
"private int ptr;",
"ptr",
"private int buflen;",
"buflen",
"public Scanner(InputStream in) {\n this.in = in;\n this.buffer = new byte[1024];\n this.ptr = 0;\n this.buflen = 0;\n }",
"Scanner",
"{\n this.in = in;\n this.buffer = new byte[1024];\n this.ptr = 0;\n this.buflen = 0;\n }",
"this.in = in",
"this.in",
"this",
"this.in",
"in",
"this.buffer = new byte[1024]",
"this.buffer",
"this",
"this.buffer",
"new byte[1024]",
"1024",
"this.ptr = 0",
"this.ptr",
"this",
"this.ptr",
"0",
"this.buflen = 0",
"this.buflen",
"this",
"this.buflen",
"0",
"InputStream in",
"in",
"private boolean hasNextByte() {\n if (ptr < buflen) 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) return false;\n }\n return true;\n }",
"hasNextByte",
"{\n if (ptr < buflen) 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) return false;\n }\n return true;\n }",
"if (ptr < buflen) 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) return false;\n }",
"ptr < buflen",
"ptr",
"buflen",
"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) return false;\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) return false;",
"buflen <= 0",
"buflen",
"0",
"return false;",
"false",
"return true;",
"true",
"private byte readByte() {\n if (hasNextByte()) return buffer[ptr++];\n return -1;\n }",
"readByte",
"{\n if (hasNextByte()) return buffer[ptr++];\n return -1;\n }",
"if (hasNextByte()) return buffer[ptr++];",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private boolean isPrintableChar(byte c) {\n return '!' <= c && c <= '~';\n }",
"isPrintableChar",
"{\n return '!' <= c && c <= '~';\n }",
"return '!' <= c && c <= '~';",
"'!' <= c && c <= '~'",
"'!' <= c",
"'!'",
"c",
"c <= '~'",
"c",
"'~'",
"byte c",
"c",
"private void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n }",
"skipUnprintable",
"{\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\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",
"public boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }",
"hasNext",
"{\n skipUnprintable();\n return hasNextByte();\n }",
"skipUnprintable()",
"skipUnprintable",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public int nextInt() {\n if (!hasNext()) throw new NoSuchElementException();\n int n = 0;\n boolean minus = false;\n byte b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) throw new NumberFormatException();\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 }",
"nextInt",
"{\n if (!hasNext()) throw new NoSuchElementException();\n int n = 0;\n boolean minus = false;\n byte b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) throw new NumberFormatException();\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()",
"int n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"byte 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) throw new NumberFormatException();",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"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 class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n AMultiplication1 solver = new AMultiplication1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class AMultiplication1 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int a = in.nextInt();\n int b = in.nextInt();\n out.println(a * b);\n }\n\n }\n\n static class Scanner {\n private final InputStream in;\n private final byte[] buffer;\n private int ptr;\n private int buflen;\n\n public Scanner(InputStream in) {\n this.in = in;\n this.buffer = new byte[1024];\n this.ptr = 0;\n this.buflen = 0;\n }\n\n private boolean hasNextByte() {\n if (ptr < buflen) 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) return false;\n }\n return true;\n }\n\n private byte readByte() {\n if (hasNextByte()) return buffer[ptr++];\n return -1;\n }\n\n private boolean isPrintableChar(byte c) {\n return '!' <= c && c <= '~';\n }\n\n private void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n }\n\n public boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }\n\n public int nextInt() {\n if (!hasNext()) throw new NoSuchElementException();\n int n = 0;\n boolean minus = false;\n byte b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) throw new NumberFormatException();\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 }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n AMultiplication1 solver = new AMultiplication1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class AMultiplication1 {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int a = in.nextInt();\n int b = in.nextInt();\n out.println(a * b);\n }\n\n }\n\n static class Scanner {\n private final InputStream in;\n private final byte[] buffer;\n private int ptr;\n private int buflen;\n\n public Scanner(InputStream in) {\n this.in = in;\n this.buffer = new byte[1024];\n this.ptr = 0;\n this.buflen = 0;\n }\n\n private boolean hasNextByte() {\n if (ptr < buflen) 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) return false;\n }\n return true;\n }\n\n private byte readByte() {\n if (hasNextByte()) return buffer[ptr++];\n return -1;\n }\n\n private boolean isPrintableChar(byte c) {\n return '!' <= c && c <= '~';\n }\n\n private void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n }\n\n public boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }\n\n public int nextInt() {\n if (!hasNext()) throw new NoSuchElementException();\n int n = 0;\n boolean minus = false;\n byte b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) throw new NumberFormatException();\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 }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.IOException;
import java.util.NoSuchElementException;
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;
Scanner in = new Scanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
AMultiplication1 solver = new AMultiplication1();
solver.solve(1, in, out);
out.close();
}
static class AMultiplication1 {
public void solve(int testNumber, Scanner in, PrintWriter out) {
int a = in.nextInt();
int b = in.nextInt();
out.println(a * b);
}
}
static class Scanner {
private final InputStream in;
private final byte[] buffer;
private int ptr;
private int buflen;
public Scanner(InputStream in) {
this.in = in;
this.buffer = new byte[1024];
this.ptr = 0;
this.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 byte readByte() {
if (hasNextByte()) return buffer[ptr++];
return -1;
}
private boolean isPrintableChar(byte c) {
return '!' <= c && c <= '~';
}
private void skipUnprintable() {
while (hasNextByte() && !isPrintableChar(buffer[ptr])) {
ptr++;
}
}
public boolean hasNext() {
skipUnprintable();
return hasNextByte();
}
public int nextInt() {
if (!hasNext()) throw new NoSuchElementException();
int n = 0;
boolean minus = false;
byte 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();
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
12,
13,
30,
4,
18,
18,
13,
13,
2,
4,
13,
4,
13,
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
],
[
216,
8
],
[
216,
9
],
[
9,
10
],
[
216,
11
],
[
11,
12
],
[
11,
13
],
[
216,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
216,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
29,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
29,
54
],
[
54,
55
],
[
54,
56
],
[
29,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
74,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
73,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
27,
93
],
[
93,
94
],
[
216,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
98,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
108,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
97,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
216,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
129,
130
],
[
216,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
138,
139
],
[
216,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
144,
147
],
[
147,
148
],
[
216,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
156,
161
],
[
161,
162
],
[
161,
163
],
[
156,
164
],
[
164,
165
],
[
165,
166
],
[
156,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
172,
173
],
[
151,
174
],
[
174,
175
],
[
149,
176
],
[
176,
177
],
[
216,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
216,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
188,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
193,
198
],
[
198,
199
],
[
198,
200
],
[
193,
201
],
[
201,
202
],
[
202,
203
],
[
193,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
188,
211
],
[
211,
212
],
[
186,
213
],
[
213,
214
],
[
0,
215
],
[
215,
216
],
[
215,
217
]
] |
[
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tSystem.out.println(ni() * ni());\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",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tSystem.out.println(ni() * ni());\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\tSystem.out.println(ni() * ni());\n\t}",
"solve",
"{\n\t\t//Implement solution here.\n\t\tSystem.out.println(ni() * ni());\n\t}",
"System.out.println(ni() * ni())",
"System.out.println",
"System.out",
"System",
"System.out",
"ni() * ni()",
"ni()",
"ni",
"ni()",
"ni",
"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\tSystem.out.println(ni() * ni());\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\tSystem.out.println(ni() * ni());\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.*;
public class Main {
private static void solve(){
//Implement solution here.
System.out.println(ni() * ni());
}
//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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
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
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.Scanner;\npublic class Main {\n \n\n\n public static void main(String args[]) {\n\n Scanner sc = new Scanner(System.in);\n int A = Integer.parseInt(sc.next());\n int B = Integer.parseInt(sc.next());\n \n \n System.out.println(A*B);\n\n sc.close();\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n\n\n public static void main(String args[]) {\n\n Scanner sc = new Scanner(System.in);\n int A = Integer.parseInt(sc.next());\n int B = Integer.parseInt(sc.next());\n \n \n System.out.println(A*B);\n\n sc.close();\n\n }\n}",
"Main",
"public static void main(String args[]) {\n\n Scanner sc = new Scanner(System.in);\n int A = Integer.parseInt(sc.next());\n int B = Integer.parseInt(sc.next());\n \n \n System.out.println(A*B);\n\n sc.close();\n\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n int A = Integer.parseInt(sc.next());\n int B = Integer.parseInt(sc.next());\n \n \n System.out.println(A*B);\n\n sc.close();\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int A = Integer.parseInt(sc.next());",
"A",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int B = Integer.parseInt(sc.next());",
"B",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"System.out.println(A*B)",
"System.out.println",
"System.out",
"System",
"System.out",
"A*B",
"A",
"B",
"sc.close()",
"sc.close",
"sc",
"String args[]",
"args",
"public class Main {\n \n\n\n public static void main(String args[]) {\n\n Scanner sc = new Scanner(System.in);\n int A = Integer.parseInt(sc.next());\n int B = Integer.parseInt(sc.next());\n \n \n System.out.println(A*B);\n\n sc.close();\n\n }\n}",
"public class Main {\n \n\n\n public static void main(String args[]) {\n\n Scanner sc = new Scanner(System.in);\n int A = Integer.parseInt(sc.next());\n int B = Integer.parseInt(sc.next());\n \n \n System.out.println(A*B);\n\n sc.close();\n\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int A = Integer.parseInt(sc.next());
int B = Integer.parseInt(sc.next());
System.out.println(A*B);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
4,
18,
18,
13,
13,
2,
18,
13,
17,
18,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
29,
39
],
[
39,
40
],
[
40,
41
],
[
29,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tString s = scan.nextLine();\n\n\t\tString[] str = s.split(\" \");\n\t\tint[] x = new int[str.length];\n\t\t\n for(int i = 0; i < str.length; i++){\n x[i] = Integer.parseInt(str[i]);\n }\n \n System.out.println(x[0] * x[1]);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tString s = scan.nextLine();\n\n\t\tString[] str = s.split(\" \");\n\t\tint[] x = new int[str.length];\n\t\t\n for(int i = 0; i < str.length; i++){\n x[i] = Integer.parseInt(str[i]);\n }\n \n System.out.println(x[0] * x[1]);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tString s = scan.nextLine();\n\n\t\tString[] str = s.split(\" \");\n\t\tint[] x = new int[str.length];\n\t\t\n for(int i = 0; i < str.length; i++){\n x[i] = Integer.parseInt(str[i]);\n }\n \n System.out.println(x[0] * x[1]);\n }",
"main",
"{\n\n Scanner scan = new Scanner(System.in);\n\t\tString s = scan.nextLine();\n\n\t\tString[] str = s.split(\" \");\n\t\tint[] x = new int[str.length];\n\t\t\n for(int i = 0; i < str.length; i++){\n x[i] = Integer.parseInt(str[i]);\n }\n \n System.out.println(x[0] * x[1]);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s = scan.nextLine();",
"s",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String[] str = s.split(\" \");",
"str",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int[] x = new int[str.length];",
"x",
"new int[str.length]",
"str.length",
"str",
"str.length",
"for(int i = 0; i < str.length; i++){\n x[i] = Integer.parseInt(str[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length",
"i",
"str.length",
"str",
"str.length",
"i++",
"i++",
"i",
"{\n x[i] = Integer.parseInt(str[i]);\n }",
"{\n x[i] = Integer.parseInt(str[i]);\n }",
"x[i] = Integer.parseInt(str[i])",
"x[i]",
"x",
"i",
"Integer.parseInt(str[i])",
"Integer.parseInt",
"Integer",
"str[i]",
"str",
"i",
"System.out.println(x[0] * x[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[0] * x[1]",
"x[0]",
"x",
"0",
"x[1]",
"x",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tString s = scan.nextLine();\n\n\t\tString[] str = s.split(\" \");\n\t\tint[] x = new int[str.length];\n\t\t\n for(int i = 0; i < str.length; i++){\n x[i] = Integer.parseInt(str[i]);\n }\n \n System.out.println(x[0] * x[1]);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tString s = scan.nextLine();\n\n\t\tString[] str = s.split(\" \");\n\t\tint[] x = new int[str.length];\n\t\t\n for(int i = 0; i < str.length; i++){\n x[i] = Integer.parseInt(str[i]);\n }\n \n System.out.println(x[0] * x[1]);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
String s = scan.nextLine();
String[] str = s.split(" ");
int[] x = new int[str.length];
for(int i = 0; i < str.length; i++){
x[i] = Integer.parseInt(str[i]);
}
System.out.println(x[0] * x[1]);
}
}
|
[
7,
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,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
33,
5
],
[
33,
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
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
6,
30
],
[
30,
31
],
[
0,
32
],
[
32,
33
],
[
32,
34
]
] |
[
"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\tint N = sc.nextInt();\n\t\tint M = sc.nextInt();\n\t\t\n\t\tSystem.out.println(N*M);\n\t}\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\tint N = sc.nextInt();\n\t\tint M = sc.nextInt();\n\t\t\n\t\tSystem.out.println(N*M);\n\t}\t\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint M = sc.nextInt();\n\t\t\n\t\tSystem.out.println(N*M);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint M = sc.nextInt();\n\t\t\n\t\tSystem.out.println(N*M);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int M = sc.nextInt();",
"M",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(N*M)",
"System.out.println",
"System.out",
"System",
"System.out",
"N*M",
"N",
"M",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint M = sc.nextInt();\n\t\t\n\t\tSystem.out.println(N*M);\n\t}\t\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint M = sc.nextInt();\n\t\t\n\t\tSystem.out.println(N*M);\n\t}\t\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int M = sc.nextInt();
System.out.println(N*M);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
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,
4,
18,
4,
18,
13,
2,
4,
18,
13,
4,
18,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
4,
13,
20,
23,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
0,
13,
17,
29,
36,
23,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
17,
4,
18,
13,
0,
13,
17,
29,
36,
23,
13,
12,
13,
30,
14,
40,
13,
30,
4,
13,
17,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
4,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
4,
18,
13,
0,
13,
17,
14,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
29,
36,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
18,
36,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
],
[
0,
43
],
[
312,
44
],
[
312,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
47,
58
],
[
58,
59
],
[
58,
60
],
[
47,
61
],
[
61,
62
],
[
61,
63
],
[
47,
64
],
[
64,
65
],
[
64,
66
],
[
47,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
67,
71
],
[
67,
72
],
[
47,
73
],
[
73,
74
],
[
74,
75
],
[
45,
76
],
[
76,
77
],
[
312,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
88,
92
],
[
92,
93
],
[
93,
94
],
[
80,
95
],
[
95,
96
],
[
80,
97
],
[
97,
98
],
[
80,
99
],
[
99,
100
],
[
312,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
101,
105
],
[
105,
106
],
[
105,
107
],
[
101,
108
],
[
108,
109
],
[
108,
110
],
[
101,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
111,
119
],
[
119,
120
],
[
101,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
121,
127
],
[
127,
128
],
[
101,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
132,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
139,
142
],
[
138,
143
],
[
143,
144
],
[
143,
145
],
[
131,
146
],
[
146,
147
],
[
129,
148
],
[
148,
149
],
[
101,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
153,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
160,
163
],
[
160,
164
],
[
160,
165
],
[
165,
166
],
[
166,
167
],
[
159,
168
],
[
168,
169
],
[
168,
170
],
[
152,
171
],
[
171,
172
],
[
150,
173
],
[
173,
174
],
[
101,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
177,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
175,
189
],
[
189,
190
],
[
101,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
197,
200
],
[
191,
201
],
[
201,
202
],
[
101,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
209,
210
],
[
205,
211
],
[
211,
212
],
[
211,
213
],
[
205,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
221,
222
],
[
217,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
205,
227
],
[
227,
228
],
[
101,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
236,
237
],
[
232,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
101,
242
],
[
312,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
245,
247
],
[
243,
248
],
[
248,
249
],
[
248,
250
],
[
243,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
251,
257
],
[
257,
258
],
[
243,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
263,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
262,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
276,
277
],
[
272,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
261,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
243,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
290,
293
],
[
293,
294
],
[
243,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
302,
303
],
[
298,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
243,
310
],
[
0,
311
],
[
311,
312
],
[
311,
313
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.BufferedOutputStream;\nimport java.io.UncheckedIOException;\nimport java.nio.charset.Charset;\nimport java.util.StringTokenizer;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\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 mikit\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n AMultiplication1 solver = new AMultiplication1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class AMultiplication1 {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n out.ans(in.longs() * in.longs()).ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(long l) {\n return ans(Long.toString(l));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedOutputStream;",
"BufferedOutputStream",
"java.io",
"import java.io.UncheckedIOException;",
"UncheckedIOException",
"java.io",
"import java.nio.charset.Charset;",
"Charset",
"java.nio.charset",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.Writer;",
"Writer",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"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 LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n AMultiplication1 solver = new AMultiplication1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class AMultiplication1 {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n out.ans(in.longs() * in.longs()).ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(long l) {\n return ans(Long.toString(l));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n AMultiplication1 solver = new AMultiplication1();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n AMultiplication1 solver = new AMultiplication1();\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",
"LightScanner in = new LightScanner(inputStream);",
"in",
"new LightScanner(inputStream)",
"LightWriter out = new LightWriter(outputStream);",
"out",
"new LightWriter(outputStream)",
"AMultiplication1 solver = new AMultiplication1();",
"solver",
"new AMultiplication1()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class AMultiplication1 {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n out.ans(in.longs() * in.longs()).ln();\n }\n\n }",
"AMultiplication1",
"public void solve(int testNumber, LightScanner in, LightWriter out) {\n out.ans(in.longs() * in.longs()).ln();\n }",
"solve",
"{\n out.ans(in.longs() * in.longs()).ln();\n }",
"out.ans(in.longs() * in.longs()).ln()",
"out.ans(in.longs() * in.longs()).ln",
"out.ans(in.longs() * in.longs())",
"out.ans",
"out",
"in.longs() * in.longs()",
"in.longs()",
"in.longs",
"in",
"in.longs()",
"in.longs",
"in",
"int testNumber",
"testNumber",
"LightScanner in",
"in",
"LightWriter out",
"out",
"static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(long l) {\n return ans(Long.toString(l));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }",
"LightWriter",
"private final Writer out;",
"out",
"private boolean autoflush = false;",
"autoflush",
"false",
"private boolean breaked = true;",
"breaked",
"true",
"public LightWriter(Writer out) {\n this.out = out;\n }",
"LightWriter",
"{\n this.out = out;\n }",
"this.out = out",
"this.out",
"this",
"this.out",
"out",
"Writer out",
"out",
"public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }",
"LightWriter",
"{\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }",
"this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()))",
"this",
"new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset())",
"OutputStream out",
"out",
"public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"print",
"{\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.write(c);\n breaked = false;\n }",
"out.write(c)",
"out.write",
"out",
"c",
"breaked = false",
"breaked",
"false",
"return this;",
"this",
"char c",
"c",
"public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"print",
"{\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.write(s, 0, s.length());\n breaked = false;\n }",
"out.write(s, 0, s.length())",
"out.write",
"out",
"s",
"0",
"s.length()",
"s.length",
"s",
"breaked = false",
"breaked",
"false",
"return this;",
"this",
"String s",
"s",
"public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }",
"ans",
"{\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }",
"if (!breaked) {\n print(' ');\n }",
"!breaked",
"breaked",
"{\n print(' ');\n }",
"print(' ')",
"print",
"' '",
"return print(s);",
"print(s)",
"print",
"s",
"String s",
"s",
"public LightWriter ans(long l) {\n return ans(Long.toString(l));\n }",
"ans",
"{\n return ans(Long.toString(l));\n }",
"return ans(Long.toString(l));",
"ans(Long.toString(l))",
"ans",
"Long.toString(l)",
"Long.toString",
"Long",
"l",
"long l",
"l",
"public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }",
"ln",
"{\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }",
"print(System.lineSeparator())",
"print",
"System.lineSeparator()",
"System.lineSeparator",
"System",
"breaked = true",
"breaked",
"true",
"if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"autoflush",
"{\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"return this;",
"this",
"public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"close",
"{\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.close();\n }",
"out.close()",
"out.close",
"out",
"AutoCloseable",
"static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }",
"LightScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }",
"LightScanner",
"{\n reader = new BufferedReader(new InputStreamReader(in));\n }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"InputStream in",
"in",
"public String string() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"string",
"{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(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 UncheckedIOException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }",
"catch (IOException e) {\n throw new UncheckedIOException(e);\n }",
"IOException e",
"{\n throw new UncheckedIOException(e);\n }",
"throw new UncheckedIOException(e);",
"new UncheckedIOException(e)",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public long longs() {\n return Long.parseLong(string());\n }",
"longs",
"{\n return Long.parseLong(string());\n }",
"return Long.parseLong(string());",
"Long.parseLong(string())",
"Long.parseLong",
"Long",
"string()",
"string",
"public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"close",
"{\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n this.reader.close();\n }",
"this.reader.close()",
"this.reader.close",
"this.reader",
"this",
"this.reader",
"AutoCloseable",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n AMultiplication1 solver = new AMultiplication1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class AMultiplication1 {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n out.ans(in.longs() * in.longs()).ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(long l) {\n return ans(Long.toString(l));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n AMultiplication1 solver = new AMultiplication1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class AMultiplication1 {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n out.ans(in.longs() * in.longs()).ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(long l) {\n return ans(Long.toString(l));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedOutputStream;
import java.io.UncheckedIOException;
import java.nio.charset.Charset;
import java.util.StringTokenizer;
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.io.BufferedReader;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author mikit
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
LightScanner in = new LightScanner(inputStream);
LightWriter out = new LightWriter(outputStream);
AMultiplication1 solver = new AMultiplication1();
solver.solve(1, in, out);
out.close();
}
static class AMultiplication1 {
public void solve(int testNumber, LightScanner in, LightWriter out) {
out.ans(in.longs() * in.longs()).ln();
}
}
static class LightWriter implements AutoCloseable {
private final Writer out;
private boolean autoflush = false;
private boolean breaked = true;
public LightWriter(Writer out) {
this.out = out;
}
public LightWriter(OutputStream out) {
this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));
}
public LightWriter print(char c) {
try {
out.write(c);
breaked = false;
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
return this;
}
public LightWriter print(String s) {
try {
out.write(s, 0, s.length());
breaked = false;
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
return this;
}
public LightWriter ans(String s) {
if (!breaked) {
print(' ');
}
return print(s);
}
public LightWriter ans(long l) {
return ans(Long.toString(l));
}
public LightWriter ln() {
print(System.lineSeparator());
breaked = true;
if (autoflush) {
try {
out.flush();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
return this;
}
public void close() {
try {
out.close();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
}
static class LightScanner implements AutoCloseable {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public LightScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
}
public String string() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new UncheckedIOException(e);
}
}
return tokenizer.nextToken();
}
public long longs() {
return Long.parseLong(string());
}
public void close() {
try {
this.reader.close();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
}
}
|
[
7,
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,
2,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
6,
30
],
[
30,
31
]
] |
[
"import java.util.Scanner;\n\nclass Main{\npublic static void main(String arg[]){\n\tScanner sc = new Scanner(System.in);\n\tint n = sc.nextInt();\n\tint m = sc.nextInt();\n\n\tSystem.out.println(n*m);\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\npublic static void main(String arg[]){\n\tScanner sc = new Scanner(System.in);\n\tint n = sc.nextInt();\n\tint m = sc.nextInt();\n\n\tSystem.out.println(n*m);\n}\n}",
"Main",
"public static void main(String arg[]){\n\tScanner sc = new Scanner(System.in);\n\tint n = sc.nextInt();\n\tint m = sc.nextInt();\n\n\tSystem.out.println(n*m);\n}",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\tint n = sc.nextInt();\n\tint m = sc.nextInt();\n\n\tSystem.out.println(n*m);\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int m = sc.nextInt();",
"m",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(n*m)",
"System.out.println",
"System.out",
"System",
"System.out",
"n*m",
"n",
"m",
"String arg[]",
"arg"
] |
import java.util.Scanner;
class Main{
public static void main(String arg[]){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int m = sc.nextInt();
System.out.println(n*m);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
53,
8
],
[
53,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
9,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main{\n public static void main(String [] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String temp[] = br.readLine().split(\" \");\n \n long n = Long.parseLong(temp[0]);\n double y = Double.parseDouble(temp[1]);\n\n double temp2 = y*(double)(n);\n\n\n\n System.out.println((long)temp2);\n \n\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String [] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String temp[] = br.readLine().split(\" \");\n \n long n = Long.parseLong(temp[0]);\n double y = Double.parseDouble(temp[1]);\n\n double temp2 = y*(double)(n);\n\n\n\n System.out.println((long)temp2);\n \n\n }\n}",
"Main",
"public static void main(String [] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String temp[] = br.readLine().split(\" \");\n \n long n = Long.parseLong(temp[0]);\n double y = Double.parseDouble(temp[1]);\n\n double temp2 = y*(double)(n);\n\n\n\n System.out.println((long)temp2);\n \n\n }",
"main",
"{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String temp[] = br.readLine().split(\" \");\n \n long n = Long.parseLong(temp[0]);\n double y = Double.parseDouble(temp[1]);\n\n double temp2 = y*(double)(n);\n\n\n\n System.out.println((long)temp2);\n \n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String temp[] = br.readLine().split(\" \");",
"temp",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"long n = Long.parseLong(temp[0]);",
"n",
"Long.parseLong(temp[0])",
"Long.parseLong",
"Long",
"temp[0]",
"temp",
"0",
"double y = Double.parseDouble(temp[1]);",
"y",
"Double.parseDouble(temp[1])",
"Double.parseDouble",
"Double",
"temp[1]",
"temp",
"1",
"double temp2 = y*(double)(n);",
"temp2",
"y*(double)(n)",
"y",
"(double)(n)",
"System.out.println((long)temp2)",
"System.out.println",
"System.out",
"System",
"System.out",
"(long)temp2",
"String [] args",
"args",
"public class Main{\n public static void main(String [] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String temp[] = br.readLine().split(\" \");\n \n long n = Long.parseLong(temp[0]);\n double y = Double.parseDouble(temp[1]);\n\n double temp2 = y*(double)(n);\n\n\n\n System.out.println((long)temp2);\n \n\n }\n}",
"public class Main{\n public static void main(String [] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String temp[] = br.readLine().split(\" \");\n \n long n = Long.parseLong(temp[0]);\n double y = Double.parseDouble(temp[1]);\n\n double temp2 = y*(double)(n);\n\n\n\n System.out.println((long)temp2);\n \n\n }\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main{
public static void main(String [] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String temp[] = br.readLine().split(" ");
long n = Long.parseLong(temp[0]);
double y = Double.parseDouble(temp[1]);
double temp2 = y*(double)(n);
System.out.println((long)temp2);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
39,
11
],
[
39,
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
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
12,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"import java.util.HashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a * b);\n }\n}",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Set;",
"Set",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a * b);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a * b);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a * b);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(a * b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b",
"a",
"b",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a * b);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(a * b);\n }\n}",
"Main"
] |
import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a * b);
}
}
|
[
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,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n int c = a * b;\n System.out.println(c);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n int c = a * b;\n System.out.println(c);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n int c = a * b;\n System.out.println(c);\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n int c = a * b;\n System.out.println(c);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int a = in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"int b = in.nextInt();",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"int c = a * b;",
"c",
"a * b",
"a",
"b",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n int c = a * b;\n System.out.println(c);\n }\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n int c = a * b;\n System.out.println(c);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt();
int b = in.nextInt();
int c = a * b;
System.out.println(c);
}
}
|
[
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,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
36,
8
],
[
36,
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
],
[
30,
32
],
[
9,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] |
[
"import java.util.*;\nimport java.util.function.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int M = sc.nextInt(); \n System.out.println(N*M);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.function.*;",
"function.*",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int M = sc.nextInt(); \n System.out.println(N*M);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int M = sc.nextInt(); \n System.out.println(N*M);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int M = sc.nextInt(); \n System.out.println(N*M);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int M = sc.nextInt();",
"M",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(N*M)",
"System.out.println",
"System.out",
"System",
"System.out",
"N*M",
"N",
"M",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int M = sc.nextInt(); \n System.out.println(N*M);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int M = sc.nextInt(); \n System.out.println(N*M);\n }\n}",
"Main"
] |
import java.util.*;
import java.util.function.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int M = sc.nextInt();
System.out.println(N*M);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
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
],
[
65,
20
],
[
65,
21
],
[
21,
22
],
[
21,
23
],
[
65,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
32,
37
],
[
26,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
26,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
24,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] |
[
"\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.Map;\nimport java.util.Set;\n\n\npublic class Main {\n private static final Map<Integer,Boolean> happy = new HashMap<>();\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 int a= Integer.parseInt(tokens[0]);\n int b= Integer.parseInt(tokens[1]);\n System.out.println(a*b);\n }\n\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.Set;",
"Set",
"java.util",
"public class Main {\n private static final Map<Integer,Boolean> happy = new HashMap<>();\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 int a= Integer.parseInt(tokens[0]);\n int b= Integer.parseInt(tokens[1]);\n System.out.println(a*b);\n }\n\n\n}",
"Main",
"private static final Map<Integer,Boolean> happy = new HashMap<>();",
"happy",
"new HashMap<>()",
"public static void main(String args[]) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] tokens = br.readLine().split(\" \");\n int a= Integer.parseInt(tokens[0]);\n int b= Integer.parseInt(tokens[1]);\n System.out.println(a*b);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] tokens = br.readLine().split(\" \");\n int a= Integer.parseInt(tokens[0]);\n int b= Integer.parseInt(tokens[1]);\n System.out.println(a*b);\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",
"\" \"",
"int a= Integer.parseInt(tokens[0]);",
"a",
"Integer.parseInt(tokens[0])",
"Integer.parseInt",
"Integer",
"tokens[0]",
"tokens",
"0",
"int b= Integer.parseInt(tokens[1]);",
"b",
"Integer.parseInt(tokens[1])",
"Integer.parseInt",
"Integer",
"tokens[1]",
"tokens",
"1",
"System.out.println(a*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"String args[]",
"args",
"public class Main {\n private static final Map<Integer,Boolean> happy = new HashMap<>();\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 int a= Integer.parseInt(tokens[0]);\n int b= Integer.parseInt(tokens[1]);\n System.out.println(a*b);\n }\n\n\n}",
"public class Main {\n private static final Map<Integer,Boolean> happy = new HashMap<>();\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 int a= Integer.parseInt(tokens[0]);\n int b= Integer.parseInt(tokens[1]);\n System.out.println(a*b);\n }\n\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class Main {
private static final Map<Integer,Boolean> happy = new HashMap<>();
public static void main(String args[]) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] tokens = br.readLine().split(" ");
int a= Integer.parseInt(tokens[0]);
int b= Integer.parseInt(tokens[1]);
System.out.println(a*b);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
17,
13,
2,
13,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
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
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(1 <= a && a <= 100){\n if(1 <= b && b <= 100){\n System.out.println(a * b);\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(1 <= a && a <= 100){\n if(1 <= b && b <= 100){\n System.out.println(a * b);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(1 <= a && a <= 100){\n if(1 <= b && b <= 100){\n System.out.println(a * b);\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(1 <= a && a <= 100){\n if(1 <= b && b <= 100){\n System.out.println(a * b);\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(1 <= a && a <= 100){\n if(1 <= b && b <= 100){\n System.out.println(a * b);\n }\n }",
"1 <= a && a <= 100",
"1 <= a",
"1",
"a",
"a <= 100",
"a",
"100",
"{\n if(1 <= b && b <= 100){\n System.out.println(a * b);\n }\n }",
"if(1 <= b && b <= 100){\n System.out.println(a * b);\n }",
"1 <= b && b <= 100",
"1 <= b",
"1",
"b",
"b <= 100",
"b",
"100",
"{\n System.out.println(a * b);\n }",
"System.out.println(a * b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b",
"a",
"b",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(1 <= a && a <= 100){\n if(1 <= b && b <= 100){\n System.out.println(a * b);\n }\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(1 <= a && a <= 100){\n if(1 <= b && b <= 100){\n System.out.println(a * b);\n }\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
if(1 <= a && a <= 100){
if(1 <= b && b <= 100){
System.out.println(a * b);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
50,
8
],
[
50,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
9,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] |
[
"import java.io.*;\nimport java.util.*;\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] lo =reader.readLine().split(\" \");\n\t\tint a = Integer.parseInt(lo[0]);\n\t\tint b = Integer.parseInt(lo[1]);\n\t\tSystem.out.println(a*b);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] lo =reader.readLine().split(\" \");\n\t\tint a = Integer.parseInt(lo[0]);\n\t\tint b = Integer.parseInt(lo[1]);\n\t\tSystem.out.println(a*b);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] lo =reader.readLine().split(\" \");\n\t\tint a = Integer.parseInt(lo[0]);\n\t\tint b = Integer.parseInt(lo[1]);\n\t\tSystem.out.println(a*b);\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] lo =reader.readLine().split(\" \");\n\t\tint a = Integer.parseInt(lo[0]);\n\t\tint b = Integer.parseInt(lo[1]);\n\t\tSystem.out.println(a*b);\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] lo =reader.readLine().split(\" \");",
"lo",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"int a = Integer.parseInt(lo[0]);",
"a",
"Integer.parseInt(lo[0])",
"Integer.parseInt",
"Integer",
"lo[0]",
"lo",
"0",
"int b = Integer.parseInt(lo[1]);",
"b",
"Integer.parseInt(lo[1])",
"Integer.parseInt",
"Integer",
"lo[1]",
"lo",
"1",
"System.out.println(a*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] lo =reader.readLine().split(\" \");\n\t\tint a = Integer.parseInt(lo[0]);\n\t\tint b = Integer.parseInt(lo[1]);\n\t\tSystem.out.println(a*b);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] lo =reader.readLine().split(\" \");\n\t\tint a = Integer.parseInt(lo[0]);\n\t\tint b = Integer.parseInt(lo[1]);\n\t\tSystem.out.println(a*b);\n\t}\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String[] lo =reader.readLine().split(" ");
int a = Integer.parseInt(lo[0]);
int b = Integer.parseInt(lo[1]);
System.out.println(a*b);
}
}
|
[
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,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
4,
18,
13,
17,
29,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
2,
4,
18,
13,
17,
17,
13,
30,
4,
18,
13,
40,
17,
29,
30,
0,
13,
2,
13,
18,
13,
13,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
4,
18,
13,
13,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
13,
23,
13,
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
],
[
420,
26
],
[
420,
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
],
[
49,
54
],
[
29,
55
],
[
55,
56
],
[
56,
57
],
[
27,
58
],
[
58,
59
],
[
420,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
64,
70
],
[
70,
71
],
[
70,
72
],
[
64,
74
],
[
74,
75
],
[
74,
76
],
[
64,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
77,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
95,
96
],
[
89,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
97,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
103,
108
],
[
64,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
64,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
113,
121
],
[
121,
122
],
[
122,
123
],
[
113,
124
],
[
125,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
132,
136
],
[
131,
137
],
[
126,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
139,
142
],
[
142,
143
],
[
138,
144
],
[
126,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
150,
152
],
[
64,
153
],
[
153,
154
],
[
154,
155
],
[
153,
156
],
[
62,
157
],
[
157,
158
],
[
62,
159
],
[
159,
160
],
[
62,
161
],
[
161,
162
],
[
420,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
163,
167
],
[
167,
168
],
[
167,
169
],
[
163,
171
],
[
171,
172
],
[
163,
173
],
[
173,
174
],
[
163,
175
],
[
175,
176
],
[
163,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
184
],
[
177,
185
],
[
185,
186
],
[
163,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
190,
195
],
[
195,
196
],
[
196,
197
],
[
189,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
206,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
216,
217
],
[
215,
218
],
[
202,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
219,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
189,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
163,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
234,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
239,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
234,
248
],
[
248,
249
],
[
248,
250
],
[
234,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
251,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
255,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
234,
264
],
[
264,
265
],
[
264,
266
],
[
234,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
267,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
275,
276
],
[
275,
277
],
[
274,
278
],
[
278,
279
],
[
278,
280
],
[
273,
281
],
[
281,
282
],
[
282,
283
],
[
272,
284
],
[
284,
285
],
[
284,
286
],
[
272,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
289,
291
],
[
272,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
234,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
163,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
302,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
307,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
314,
315
],
[
302,
316
],
[
316,
317
],
[
316,
318
],
[
302,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
319,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
323,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
302,
332
],
[
332,
333
],
[
332,
334
],
[
302,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
335,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
342,
346
],
[
346,
347
],
[
346,
348
],
[
341,
349
],
[
349,
350
],
[
350,
351
],
[
340,
352
],
[
352,
353
],
[
352,
354
],
[
340,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
357,
359
],
[
340,
360
],
[
360,
361
],
[
360,
362
],
[
362,
363
],
[
302,
364
],
[
364,
365
],
[
365,
366
],
[
365,
367
],
[
163,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
371,
375
],
[
375,
376
],
[
376,
377
],
[
377,
378
],
[
378,
379
],
[
377,
380
],
[
370,
381
],
[
381,
382
],
[
382,
383
],
[
382,
384
],
[
368,
385
],
[
385,
386
],
[
163,
387
],
[
387,
388
],
[
387,
389
],
[
389,
390
],
[
390,
391
],
[
394,
392
],
[
404,
393
],
[
401,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
394,
398
],
[
398,
399
],
[
398,
400
],
[
401,
401
],
[
401,
402
],
[
401,
403
],
[
404,
404
],
[
404,
405
],
[
404,
406
],
[
394,
407
],
[
407,
408
],
[
407,
409
],
[
409,
410
],
[
387,
411
],
[
411,
412
],
[
163,
413
],
[
413,
414
],
[
413,
415
],
[
415,
416
],
[
415,
417
],
[
417,
418
],
[
0,
419
],
[
419,
420
],
[
419,
421
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Arrays;\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 Vishal Burman\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultiplication2 solver = new BMultiplication2();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultiplication2 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int n = in.nextInt();\n long a[] = new long[n];\n long mult = 1;\n for (int i = 0; i < n; i++) {\n a[i] = in.nextLong();\n if (a[i] == 0) {\n out.println(0);\n return;\n }\n }\n Arrays.sort(a);\n for (int i = 0; i < n; i++) {\n if (a[i] > (long) Math.pow(10, 18) / mult) {\n out.println(-1);\n return;\n } else {\n mult = mult * a[i];\n }\n }\n out.println(mult);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultiplication2 solver = new BMultiplication2();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultiplication2 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int n = in.nextInt();\n long a[] = new long[n];\n long mult = 1;\n for (int i = 0; i < n; i++) {\n a[i] = in.nextLong();\n if (a[i] == 0) {\n out.println(0);\n return;\n }\n }\n Arrays.sort(a);\n for (int i = 0; i < n; i++) {\n if (a[i] > (long) Math.pow(10, 18) / mult) {\n out.println(-1);\n return;\n } else {\n mult = mult * a[i];\n }\n }\n out.println(mult);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultiplication2 solver = new BMultiplication2();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultiplication2 solver = new BMultiplication2();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"BMultiplication2 solver = new BMultiplication2();",
"solver",
"new BMultiplication2()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class BMultiplication2 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int n = in.nextInt();\n long a[] = new long[n];\n long mult = 1;\n for (int i = 0; i < n; i++) {\n a[i] = in.nextLong();\n if (a[i] == 0) {\n out.println(0);\n return;\n }\n }\n Arrays.sort(a);\n for (int i = 0; i < n; i++) {\n if (a[i] > (long) Math.pow(10, 18) / mult) {\n out.println(-1);\n return;\n } else {\n mult = mult * a[i];\n }\n }\n out.println(mult);\n }\n\n }",
"BMultiplication2",
"public void solve(int testNumber, InputReader in, PrintWriter out) {\n int n = in.nextInt();\n long a[] = new long[n];\n long mult = 1;\n for (int i = 0; i < n; i++) {\n a[i] = in.nextLong();\n if (a[i] == 0) {\n out.println(0);\n return;\n }\n }\n Arrays.sort(a);\n for (int i = 0; i < n; i++) {\n if (a[i] > (long) Math.pow(10, 18) / mult) {\n out.println(-1);\n return;\n } else {\n mult = mult * a[i];\n }\n }\n out.println(mult);\n }",
"solve",
"{\n int n = in.nextInt();\n long a[] = new long[n];\n long mult = 1;\n for (int i = 0; i < n; i++) {\n a[i] = in.nextLong();\n if (a[i] == 0) {\n out.println(0);\n return;\n }\n }\n Arrays.sort(a);\n for (int i = 0; i < n; i++) {\n if (a[i] > (long) Math.pow(10, 18) / mult) {\n out.println(-1);\n return;\n } else {\n mult = mult * a[i];\n }\n }\n out.println(mult);\n }",
"int n = in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"long a[] = new long[n];",
"a",
"new long[n]",
"n",
"long mult = 1;",
"mult",
"1",
"for (int i = 0; i < n; i++) {\n a[i] = in.nextLong();\n if (a[i] == 0) {\n out.println(0);\n return;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = in.nextLong();\n if (a[i] == 0) {\n out.println(0);\n return;\n }\n }",
"{\n a[i] = in.nextLong();\n if (a[i] == 0) {\n out.println(0);\n return;\n }\n }",
"a[i] = in.nextLong()",
"a[i]",
"a",
"i",
"in.nextLong()",
"in.nextLong",
"in",
"if (a[i] == 0) {\n out.println(0);\n return;\n }",
"a[i] == 0",
"a[i]",
"a",
"i",
"0",
"{\n out.println(0);\n return;\n }",
"out.println(0)",
"out.println",
"out",
"0",
"return;",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"for (int i = 0; i < n; i++) {\n if (a[i] > (long) Math.pow(10, 18) / mult) {\n out.println(-1);\n return;\n } else {\n mult = mult * a[i];\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if (a[i] > (long) Math.pow(10, 18) / mult) {\n out.println(-1);\n return;\n } else {\n mult = mult * a[i];\n }\n }",
"{\n if (a[i] > (long) Math.pow(10, 18) / mult) {\n out.println(-1);\n return;\n } else {\n mult = mult * a[i];\n }\n }",
"if (a[i] > (long) Math.pow(10, 18) / mult) {\n out.println(-1);\n return;\n } else {\n mult = mult * a[i];\n }",
"a[i] > (long) Math.pow(10, 18) / mult",
"a[i]",
"a",
"i",
"(long) Math.pow(10, 18) / mult",
"(long) Math.pow(10, 18)",
"Math.pow",
"Math",
"10",
"18",
"mult",
"{\n out.println(-1);\n return;\n }",
"out.println(-1)",
"out.println",
"out",
"-1",
"1",
"return;",
"{\n mult = mult * a[i];\n }",
"mult = mult * a[i]",
"mult",
"mult * a[i]",
"mult",
"a[i]",
"a",
"i",
"out.println(mult)",
"out.println",
"out",
"mult",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private InputReader.SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"if (numChars == -1) {\n throw new InputMismatchException();\n }",
"numChars == -1",
"numChars",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0) {\n return -1;\n }",
"numChars <= 0",
"numChars",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"long res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"isSpaceChar",
"{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"if (filter != null) {\n return filter.isSpaceChar(c);\n }",
"filter != null",
"filter",
"null",
"{\n return filter.isSpaceChar(c);\n }",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return isWhitespace(c);",
"isWhitespace(c)",
"isWhitespace",
"c",
"int c",
"c",
"public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isWhitespace",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultiplication2 solver = new BMultiplication2();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultiplication2 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int n = in.nextInt();\n long a[] = new long[n];\n long mult = 1;\n for (int i = 0; i < n; i++) {\n a[i] = in.nextLong();\n if (a[i] == 0) {\n out.println(0);\n return;\n }\n }\n Arrays.sort(a);\n for (int i = 0; i < n; i++) {\n if (a[i] > (long) Math.pow(10, 18) / mult) {\n out.println(-1);\n return;\n } else {\n mult = mult * a[i];\n }\n }\n out.println(mult);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultiplication2 solver = new BMultiplication2();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultiplication2 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int n = in.nextInt();\n long a[] = new long[n];\n long mult = 1;\n for (int i = 0; i < n; i++) {\n a[i] = in.nextLong();\n if (a[i] == 0) {\n out.println(0);\n return;\n }\n }\n Arrays.sort(a);\n for (int i = 0; i < n; i++) {\n if (a[i] > (long) Math.pow(10, 18) / mult) {\n out.println(-1);\n return;\n } else {\n mult = mult * a[i];\n }\n }\n out.println(mult);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Vishal Burman
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
BMultiplication2 solver = new BMultiplication2();
solver.solve(1, in, out);
out.close();
}
static class BMultiplication2 {
public void solve(int testNumber, InputReader in, PrintWriter out) {
int n = in.nextInt();
long a[] = new long[n];
long mult = 1;
for (int i = 0; i < n; i++) {
a[i] = in.nextLong();
if (a[i] == 0) {
out.println(0);
return;
}
}
Arrays.sort(a);
for (int i = 0; i < n; i++) {
if (a[i] > (long) Math.pow(10, 18) / mult) {
out.println(-1);
return;
} else {
mult = mult * a[i];
}
}
out.println(mult);
}
}
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private InputReader.SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1) {
throw new InputMismatchException();
}
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0) {
return -1;
}
}
return buf[curChar++];
}
public int nextInt() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public long nextLong() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public boolean isSpaceChar(int c) {
if (filter != null) {
return filter.isSpaceChar(c);
}
return isWhitespace(c);
}
public static boolean isWhitespace(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
20,
30,
0,
13,
18,
13,
13,
3,
14,
2,
4,
18,
13,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
13,
29,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
20,
14,
2,
4,
18,
13,
13,
17,
30,
0,
13,
4,
18,
13,
40,
17,
3,
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
],
[
162,
8
],
[
162,
9
],
[
9,
10
],
[
9,
11
],
[
162,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
36,
41
],
[
14,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
14,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
14,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
74,
82
],
[
82,
83
],
[
83,
84
],
[
74,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
87,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
94,
100
],
[
14,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
106,
107
],
[
107,
108
],
[
102,
109
],
[
101,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
110,
117
],
[
14,
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
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
130,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
139,
142
],
[
138,
143
],
[
137,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
150,
151
],
[
144,
152
],
[
14,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
153,
158
],
[
12,
159
],
[
159,
160
],
[
0,
161
],
[
161,
162
],
[
161,
163
]
] |
[
"import java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tstatic long mod = 1000000007;\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] t = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(t[0]);\n\t\t//long k = Long.parseLong(t[1]);\n\n\t\tString[] r = sc.nextLine().split(\" \");\n\t\tBigInteger ans = BigInteger.ONE;\n\t\tBigInteger max = BigInteger.ONE;\n\t\tfor (int i = 0; i < 18; i++) {\n\t\t\tmax = max.multiply(BigInteger.valueOf(10));\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\n\t\t\tif (BigInteger.ZERO.equals(new BigInteger(r[i]))) {\n\t\t\t\tans = BigInteger.ZERO;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(Integer.parseInt(ans.toString()) == 0) {\n\t\t\tSystem.out.println(ans);\n\t\t\treturn;\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\t\t\tans = ans.multiply(new BigInteger(r[i]));\n\t\t\tif(ans.compareTo(max) > 0) {\n\n\t\t\tans = BigInteger.valueOf(-1);\n\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic long mod = 1000000007;\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] t = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(t[0]);\n\t\t//long k = Long.parseLong(t[1]);\n\n\t\tString[] r = sc.nextLine().split(\" \");\n\t\tBigInteger ans = BigInteger.ONE;\n\t\tBigInteger max = BigInteger.ONE;\n\t\tfor (int i = 0; i < 18; i++) {\n\t\t\tmax = max.multiply(BigInteger.valueOf(10));\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\n\t\t\tif (BigInteger.ZERO.equals(new BigInteger(r[i]))) {\n\t\t\t\tans = BigInteger.ZERO;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(Integer.parseInt(ans.toString()) == 0) {\n\t\t\tSystem.out.println(ans);\n\t\t\treturn;\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\t\t\tans = ans.multiply(new BigInteger(r[i]));\n\t\t\tif(ans.compareTo(max) > 0) {\n\n\t\t\tans = BigInteger.valueOf(-1);\n\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"static long mod = 1000000007;",
"mod",
"1000000007",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] t = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(t[0]);\n\t\t//long k = Long.parseLong(t[1]);\n\n\t\tString[] r = sc.nextLine().split(\" \");\n\t\tBigInteger ans = BigInteger.ONE;\n\t\tBigInteger max = BigInteger.ONE;\n\t\tfor (int i = 0; i < 18; i++) {\n\t\t\tmax = max.multiply(BigInteger.valueOf(10));\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\n\t\t\tif (BigInteger.ZERO.equals(new BigInteger(r[i]))) {\n\t\t\t\tans = BigInteger.ZERO;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(Integer.parseInt(ans.toString()) == 0) {\n\t\t\tSystem.out.println(ans);\n\t\t\treturn;\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\t\t\tans = ans.multiply(new BigInteger(r[i]));\n\t\t\tif(ans.compareTo(max) > 0) {\n\n\t\t\tans = BigInteger.valueOf(-1);\n\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] t = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(t[0]);\n\t\t//long k = Long.parseLong(t[1]);\n\n\t\tString[] r = sc.nextLine().split(\" \");\n\t\tBigInteger ans = BigInteger.ONE;\n\t\tBigInteger max = BigInteger.ONE;\n\t\tfor (int i = 0; i < 18; i++) {\n\t\t\tmax = max.multiply(BigInteger.valueOf(10));\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\n\t\t\tif (BigInteger.ZERO.equals(new BigInteger(r[i]))) {\n\t\t\t\tans = BigInteger.ZERO;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(Integer.parseInt(ans.toString()) == 0) {\n\t\t\tSystem.out.println(ans);\n\t\t\treturn;\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\t\t\tans = ans.multiply(new BigInteger(r[i]));\n\t\t\tif(ans.compareTo(max) > 0) {\n\n\t\t\tans = BigInteger.valueOf(-1);\n\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] t = sc.nextLine().split(\" \");",
"t",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int n = Integer.parseInt(t[0]);",
"n",
"Integer.parseInt(t[0])",
"Integer.parseInt",
"Integer",
"t[0]",
"t",
"0",
"String[] r = sc.nextLine().split(\" \");",
"r",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"BigInteger ans = BigInteger.ONE;",
"ans",
"BigInteger.ONE",
"BigInteger",
"BigInteger.ONE",
"BigInteger max = BigInteger.ONE;",
"max",
"BigInteger.ONE",
"BigInteger",
"BigInteger.ONE",
"for (int i = 0; i < 18; i++) {\n\t\t\tmax = max.multiply(BigInteger.valueOf(10));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 18",
"i",
"18",
"i++",
"i++",
"i",
"{\n\t\t\tmax = max.multiply(BigInteger.valueOf(10));\n\t\t}",
"{\n\t\t\tmax = max.multiply(BigInteger.valueOf(10));\n\t\t}",
"max = max.multiply(BigInteger.valueOf(10))",
"max",
"max.multiply(BigInteger.valueOf(10))",
"max.multiply",
"max",
"BigInteger.valueOf(10)",
"BigInteger.valueOf",
"BigInteger",
"10",
"for(int i = 0; i < n; i ++) {\n\n\t\t\tif (BigInteger.ZERO.equals(new BigInteger(r[i]))) {\n\t\t\t\tans = BigInteger.ZERO;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i ++",
"i ++",
"i",
"{\n\n\t\t\tif (BigInteger.ZERO.equals(new BigInteger(r[i]))) {\n\t\t\t\tans = BigInteger.ZERO;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\n\t\t\tif (BigInteger.ZERO.equals(new BigInteger(r[i]))) {\n\t\t\t\tans = BigInteger.ZERO;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if (BigInteger.ZERO.equals(new BigInteger(r[i]))) {\n\t\t\t\tans = BigInteger.ZERO;\n\t\t\t\tbreak;\n\t\t\t}",
"BigInteger.ZERO.equals(new BigInteger(r[i]))",
"BigInteger.ZERO.equals",
"BigInteger.ZERO",
"BigInteger",
"BigInteger.ZERO",
"new BigInteger(r[i])",
"{\n\t\t\t\tans = BigInteger.ZERO;\n\t\t\t\tbreak;\n\t\t\t}",
"ans = BigInteger.ZERO",
"ans",
"BigInteger.ZERO",
"BigInteger",
"BigInteger.ZERO",
"break;",
"if(Integer.parseInt(ans.toString()) == 0) {\n\t\t\tSystem.out.println(ans);\n\t\t\treturn;\n\t\t}",
"Integer.parseInt(ans.toString()) == 0",
"Integer.parseInt(ans.toString())",
"Integer.parseInt",
"Integer",
"ans.toString()",
"ans.toString",
"ans",
"0",
"{\n\t\t\tSystem.out.println(ans);\n\t\t\treturn;\n\t\t}",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"return;",
"for(int i = 0; i < n; i ++) {\n\t\t\tans = ans.multiply(new BigInteger(r[i]));\n\t\t\tif(ans.compareTo(max) > 0) {\n\n\t\t\tans = BigInteger.valueOf(-1);\n\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i ++",
"i ++",
"i",
"{\n\t\t\tans = ans.multiply(new BigInteger(r[i]));\n\t\t\tif(ans.compareTo(max) > 0) {\n\n\t\t\tans = BigInteger.valueOf(-1);\n\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tans = ans.multiply(new BigInteger(r[i]));\n\t\t\tif(ans.compareTo(max) > 0) {\n\n\t\t\tans = BigInteger.valueOf(-1);\n\t\t\tbreak;\n\t\t\t}\n\t\t}",
"ans = ans.multiply(new BigInteger(r[i]))",
"ans",
"ans.multiply(new BigInteger(r[i]))",
"ans.multiply",
"ans",
"new BigInteger(r[i])",
"if(ans.compareTo(max) > 0) {\n\n\t\t\tans = BigInteger.valueOf(-1);\n\t\t\tbreak;\n\t\t\t}",
"ans.compareTo(max) > 0",
"ans.compareTo(max)",
"ans.compareTo",
"ans",
"max",
"0",
"{\n\n\t\t\tans = BigInteger.valueOf(-1);\n\t\t\tbreak;\n\t\t\t}",
"ans = BigInteger.valueOf(-1)",
"ans",
"BigInteger.valueOf(-1)",
"BigInteger.valueOf",
"BigInteger",
"-1",
"1",
"break;",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n\tstatic long mod = 1000000007;\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] t = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(t[0]);\n\t\t//long k = Long.parseLong(t[1]);\n\n\t\tString[] r = sc.nextLine().split(\" \");\n\t\tBigInteger ans = BigInteger.ONE;\n\t\tBigInteger max = BigInteger.ONE;\n\t\tfor (int i = 0; i < 18; i++) {\n\t\t\tmax = max.multiply(BigInteger.valueOf(10));\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\n\t\t\tif (BigInteger.ZERO.equals(new BigInteger(r[i]))) {\n\t\t\t\tans = BigInteger.ZERO;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(Integer.parseInt(ans.toString()) == 0) {\n\t\t\tSystem.out.println(ans);\n\t\t\treturn;\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\t\t\tans = ans.multiply(new BigInteger(r[i]));\n\t\t\tif(ans.compareTo(max) > 0) {\n\n\t\t\tans = BigInteger.valueOf(-1);\n\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"public class Main {\n\n\tstatic long mod = 1000000007;\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] t = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(t[0]);\n\t\t//long k = Long.parseLong(t[1]);\n\n\t\tString[] r = sc.nextLine().split(\" \");\n\t\tBigInteger ans = BigInteger.ONE;\n\t\tBigInteger max = BigInteger.ONE;\n\t\tfor (int i = 0; i < 18; i++) {\n\t\t\tmax = max.multiply(BigInteger.valueOf(10));\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\n\t\t\tif (BigInteger.ZERO.equals(new BigInteger(r[i]))) {\n\t\t\t\tans = BigInteger.ZERO;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(Integer.parseInt(ans.toString()) == 0) {\n\t\t\tSystem.out.println(ans);\n\t\t\treturn;\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\t\t\tans = ans.multiply(new BigInteger(r[i]));\n\t\t\tif(ans.compareTo(max) > 0) {\n\n\t\t\tans = BigInteger.valueOf(-1);\n\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
] |
import java.math.BigInteger;
import java.util.Scanner;
public class Main {
static long mod = 1000000007;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] t = sc.nextLine().split(" ");
int n = Integer.parseInt(t[0]);
//long k = Long.parseLong(t[1]);
String[] r = sc.nextLine().split(" ");
BigInteger ans = BigInteger.ONE;
BigInteger max = BigInteger.ONE;
for (int i = 0; i < 18; i++) {
max = max.multiply(BigInteger.valueOf(10));
}
for(int i = 0; i < n; i ++) {
if (BigInteger.ZERO.equals(new BigInteger(r[i]))) {
ans = BigInteger.ZERO;
break;
}
}
if(Integer.parseInt(ans.toString()) == 0) {
System.out.println(ans);
return;
}
for(int i = 0; i < n; i ++) {
ans = ans.multiply(new BigInteger(r[i]));
if(ans.compareTo(max) > 0) {
ans = BigInteger.valueOf(-1);
break;
}
}
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,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
17,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
13,
0,
13,
2,
13,
18,
13,
13,
14,
2,
2,
13,
13,
2,
13,
17,
0,
13,
17,
14,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
40,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
59,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
11,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
11,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
74,
82
],
[
82,
83
],
[
83,
84
],
[
74,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
86,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
101,
103
],
[
96,
104
],
[
104,
105
],
[
104,
106
],
[
11,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
107,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
9,
122
],
[
122,
123
]
] |
[
"import java.util.*;\nimport java.io.*;\n \nclass Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n long result = 1;\n boolean flag = true;\n long num = 1000000000000000000l;\n long[] arr = new long[n];\n \n for(int i = 0; i < n; i++) {\n arr[i] = sc.nextLong();\n if (arr[i] == 0) {\n System.out.println(0);\n System.exit(0);\n }\n }\n Arrays.sort(arr);\n for(int i = 0; i < n; i++) {\n \tif(flag) result = result*arr[i];\n \tif(result > num || result < 1) flag = false;\n }\n \n if(flag) System.out.println(result);\n else System.out.println(-1);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n long result = 1;\n boolean flag = true;\n long num = 1000000000000000000l;\n long[] arr = new long[n];\n \n for(int i = 0; i < n; i++) {\n arr[i] = sc.nextLong();\n if (arr[i] == 0) {\n System.out.println(0);\n System.exit(0);\n }\n }\n Arrays.sort(arr);\n for(int i = 0; i < n; i++) {\n \tif(flag) result = result*arr[i];\n \tif(result > num || result < 1) flag = false;\n }\n \n if(flag) System.out.println(result);\n else System.out.println(-1);\n }\n}",
"Main",
"public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n long result = 1;\n boolean flag = true;\n long num = 1000000000000000000l;\n long[] arr = new long[n];\n \n for(int i = 0; i < n; i++) {\n arr[i] = sc.nextLong();\n if (arr[i] == 0) {\n System.out.println(0);\n System.exit(0);\n }\n }\n Arrays.sort(arr);\n for(int i = 0; i < n; i++) {\n \tif(flag) result = result*arr[i];\n \tif(result > num || result < 1) flag = false;\n }\n \n if(flag) System.out.println(result);\n else System.out.println(-1);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n long result = 1;\n boolean flag = true;\n long num = 1000000000000000000l;\n long[] arr = new long[n];\n \n for(int i = 0; i < n; i++) {\n arr[i] = sc.nextLong();\n if (arr[i] == 0) {\n System.out.println(0);\n System.exit(0);\n }\n }\n Arrays.sort(arr);\n for(int i = 0; i < n; i++) {\n \tif(flag) result = result*arr[i];\n \tif(result > num || result < 1) flag = false;\n }\n \n if(flag) System.out.println(result);\n else System.out.println(-1);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long result = 1;",
"result",
"1",
"boolean flag = true;",
"flag",
"true",
"long num = 1000000000000000000l;",
"num",
"1000000000000000000l",
"long[] arr = new long[n];",
"arr",
"new long[n]",
"n",
"for(int i = 0; i < n; i++) {\n arr[i] = sc.nextLong();\n if (arr[i] == 0) {\n System.out.println(0);\n System.exit(0);\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n arr[i] = sc.nextLong();\n if (arr[i] == 0) {\n System.out.println(0);\n System.exit(0);\n }\n }",
"{\n arr[i] = sc.nextLong();\n if (arr[i] == 0) {\n System.out.println(0);\n System.exit(0);\n }\n }",
"arr[i] = sc.nextLong()",
"arr[i]",
"arr",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if (arr[i] == 0) {\n System.out.println(0);\n System.exit(0);\n }",
"arr[i] == 0",
"arr[i]",
"arr",
"i",
"0",
"{\n System.out.println(0);\n System.exit(0);\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"System.exit(0)",
"System.exit",
"System",
"0",
"Arrays.sort(arr)",
"Arrays.sort",
"Arrays",
"arr",
"for(int i = 0; i < n; i++) {\n \tif(flag) result = result*arr[i];\n \tif(result > num || result < 1) flag = false;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n \tif(flag) result = result*arr[i];\n \tif(result > num || result < 1) flag = false;\n }",
"{\n \tif(flag) result = result*arr[i];\n \tif(result > num || result < 1) flag = false;\n }",
"if(flag) result = result*arr[i];",
"flag",
"result = result*arr[i]",
"result",
"result*arr[i]",
"result",
"arr[i]",
"arr",
"i",
"if(result > num || result < 1) flag = false;",
"result > num || result < 1",
"result > num",
"result",
"num",
"result < 1",
"result",
"1",
"flag = false",
"flag",
"false",
"if(flag) System.out.println(result);\n else System.out.println(-1);",
"flag",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"System.out.println(-1)",
"System.out.println",
"System.out",
"System",
"System.out",
"-1",
"1",
"String[]args",
"args"
] |
import java.util.*;
import java.io.*;
class Main{
public static void main(String[]args){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
long result = 1;
boolean flag = true;
long num = 1000000000000000000l;
long[] arr = new long[n];
for(int i = 0; i < n; i++) {
arr[i] = sc.nextLong();
if (arr[i] == 0) {
System.out.println(0);
System.exit(0);
}
}
Arrays.sort(arr);
for(int i = 0; i < n; i++) {
if(flag) result = result*arr[i];
if(result > num || result < 1) flag = false;
}
if(flag) System.out.println(result);
else System.out.println(-1);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
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,
18,
13,
14,
4,
18,
18,
13,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
41,
13,
4,
18,
13,
4,
18,
13,
17,
17,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
4,
18,
13,
18,
13,
13,
13,
17,
30,
4,
18,
18,
13,
13,
40,
17,
29,
0,
13,
4,
18,
13,
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
],
[
130,
8
],
[
130,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
47,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
56,
63
],
[
11,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
69,
73
],
[
11,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
11,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
79,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
99,
100
],
[
99,
101
],
[
94,
102
],
[
93,
103
],
[
92,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
110,
111
],
[
104,
112
],
[
91,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
118,
119
],
[
118,
120
],
[
11,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
121,
126
],
[
9,
127
],
[
127,
128
],
[
0,
129
],
[
129,
130
],
[
129,
131
]
] |
[
"import java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n BigInteger[] A = new BigInteger[N];\n\n for (int i = 0; i < N; i++) {\n A[i] = BigInteger.valueOf(sc.nextLong());\n\n if (A[i].equals(BigInteger.ZERO)) {\n System.out.println(0);\n return;\n }\n }\n\n BigInteger max = BigInteger.valueOf((long) Math.pow(10, 18));\n BigInteger res = BigInteger.ONE;\n\n for (int i = 0; i < N; i++) {\n if (res.multiply(A[i]).compareTo(max) == 1){\n System.out.println(-1);\n return;\n }\n\n res = res.multiply(A[i]);\n }\n\n System.out.println(res);\n\n }\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n BigInteger[] A = new BigInteger[N];\n\n for (int i = 0; i < N; i++) {\n A[i] = BigInteger.valueOf(sc.nextLong());\n\n if (A[i].equals(BigInteger.ZERO)) {\n System.out.println(0);\n return;\n }\n }\n\n BigInteger max = BigInteger.valueOf((long) Math.pow(10, 18));\n BigInteger res = BigInteger.ONE;\n\n for (int i = 0; i < N; i++) {\n if (res.multiply(A[i]).compareTo(max) == 1){\n System.out.println(-1);\n return;\n }\n\n res = res.multiply(A[i]);\n }\n\n System.out.println(res);\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n BigInteger[] A = new BigInteger[N];\n\n for (int i = 0; i < N; i++) {\n A[i] = BigInteger.valueOf(sc.nextLong());\n\n if (A[i].equals(BigInteger.ZERO)) {\n System.out.println(0);\n return;\n }\n }\n\n BigInteger max = BigInteger.valueOf((long) Math.pow(10, 18));\n BigInteger res = BigInteger.ONE;\n\n for (int i = 0; i < N; i++) {\n if (res.multiply(A[i]).compareTo(max) == 1){\n System.out.println(-1);\n return;\n }\n\n res = res.multiply(A[i]);\n }\n\n System.out.println(res);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n BigInteger[] A = new BigInteger[N];\n\n for (int i = 0; i < N; i++) {\n A[i] = BigInteger.valueOf(sc.nextLong());\n\n if (A[i].equals(BigInteger.ZERO)) {\n System.out.println(0);\n return;\n }\n }\n\n BigInteger max = BigInteger.valueOf((long) Math.pow(10, 18));\n BigInteger res = BigInteger.ONE;\n\n for (int i = 0; i < N; i++) {\n if (res.multiply(A[i]).compareTo(max) == 1){\n System.out.println(-1);\n return;\n }\n\n res = res.multiply(A[i]);\n }\n\n System.out.println(res);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"BigInteger[] A = new BigInteger[N];",
"A",
"new BigInteger[N]",
"N",
"for (int i = 0; i < N; i++) {\n A[i] = BigInteger.valueOf(sc.nextLong());\n\n if (A[i].equals(BigInteger.ZERO)) {\n System.out.println(0);\n return;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n A[i] = BigInteger.valueOf(sc.nextLong());\n\n if (A[i].equals(BigInteger.ZERO)) {\n System.out.println(0);\n return;\n }\n }",
"{\n A[i] = BigInteger.valueOf(sc.nextLong());\n\n if (A[i].equals(BigInteger.ZERO)) {\n System.out.println(0);\n return;\n }\n }",
"A[i] = BigInteger.valueOf(sc.nextLong())",
"A[i]",
"A",
"i",
"BigInteger.valueOf(sc.nextLong())",
"BigInteger.valueOf",
"BigInteger",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if (A[i].equals(BigInteger.ZERO)) {\n System.out.println(0);\n return;\n }",
"A[i].equals(BigInteger.ZERO)",
"A[i].equals",
"A[i]",
"A",
"i",
"BigInteger.ZERO",
"BigInteger",
"BigInteger.ZERO",
"{\n System.out.println(0);\n return;\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"return;",
"BigInteger max = BigInteger.valueOf((long) Math.pow(10, 18));",
"max",
"BigInteger.valueOf((long) Math.pow(10, 18))",
"BigInteger.valueOf",
"BigInteger",
"(long) Math.pow(10, 18)",
"Math.pow",
"Math",
"10",
"18",
"BigInteger res = BigInteger.ONE;",
"res",
"BigInteger.ONE",
"BigInteger",
"BigInteger.ONE",
"for (int i = 0; i < N; i++) {\n if (res.multiply(A[i]).compareTo(max) == 1){\n System.out.println(-1);\n return;\n }\n\n res = res.multiply(A[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n if (res.multiply(A[i]).compareTo(max) == 1){\n System.out.println(-1);\n return;\n }\n\n res = res.multiply(A[i]);\n }",
"{\n if (res.multiply(A[i]).compareTo(max) == 1){\n System.out.println(-1);\n return;\n }\n\n res = res.multiply(A[i]);\n }",
"if (res.multiply(A[i]).compareTo(max) == 1){\n System.out.println(-1);\n return;\n }",
"res.multiply(A[i]).compareTo(max) == 1",
"res.multiply(A[i]).compareTo(max)",
"res.multiply(A[i]).compareTo",
"res.multiply(A[i])",
"res.multiply",
"res",
"A[i]",
"A",
"i",
"max",
"1",
"{\n System.out.println(-1);\n return;\n }",
"System.out.println(-1)",
"System.out.println",
"System.out",
"System",
"System.out",
"-1",
"1",
"return;",
"res = res.multiply(A[i])",
"res",
"res.multiply(A[i])",
"res.multiply",
"res",
"A[i]",
"A",
"i",
"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\n int N = sc.nextInt();\n BigInteger[] A = new BigInteger[N];\n\n for (int i = 0; i < N; i++) {\n A[i] = BigInteger.valueOf(sc.nextLong());\n\n if (A[i].equals(BigInteger.ZERO)) {\n System.out.println(0);\n return;\n }\n }\n\n BigInteger max = BigInteger.valueOf((long) Math.pow(10, 18));\n BigInteger res = BigInteger.ONE;\n\n for (int i = 0; i < N; i++) {\n if (res.multiply(A[i]).compareTo(max) == 1){\n System.out.println(-1);\n return;\n }\n\n res = res.multiply(A[i]);\n }\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\n int N = sc.nextInt();\n BigInteger[] A = new BigInteger[N];\n\n for (int i = 0; i < N; i++) {\n A[i] = BigInteger.valueOf(sc.nextLong());\n\n if (A[i].equals(BigInteger.ZERO)) {\n System.out.println(0);\n return;\n }\n }\n\n BigInteger max = BigInteger.valueOf((long) Math.pow(10, 18));\n BigInteger res = BigInteger.ONE;\n\n for (int i = 0; i < N; i++) {\n if (res.multiply(A[i]).compareTo(max) == 1){\n System.out.println(-1);\n return;\n }\n\n res = res.multiply(A[i]);\n }\n\n System.out.println(res);\n\n }\n}",
"Main"
] |
import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
BigInteger[] A = new BigInteger[N];
for (int i = 0; i < N; i++) {
A[i] = BigInteger.valueOf(sc.nextLong());
if (A[i].equals(BigInteger.ZERO)) {
System.out.println(0);
return;
}
}
BigInteger max = BigInteger.valueOf((long) Math.pow(10, 18));
BigInteger res = BigInteger.ONE;
for (int i = 0; i < N; i++) {
if (res.multiply(A[i]).compareTo(max) == 1){
System.out.println(-1);
return;
}
res = res.multiply(A[i]);
}
System.out.println(res);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
20,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
0,
13,
17,
3,
14,
40,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
13,
18,
13,
13,
13,
2,
2,
13,
17,
2,
18,
13,
13,
17,
30,
0,
13,
17,
3,
0,
13,
18,
13,
13,
14,
13,
30,
0,
13,
17,
14,
13,
30,
0,
13,
40,
17,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
136,
5
],
[
136,
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
],
[
19,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
57,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
72,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
87,
93
],
[
86,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
85,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
84,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
110,
112
],
[
8,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
113,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
119,
126
],
[
8,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
6,
133
],
[
133,
134
],
[
0,
135
],
[
135,
136
],
[
135,
137
]
] |
[
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n \tlong N = (long)Math.pow(10,18);\n \tlong[] num = new long[n];\n \tlong ans = 1;\n \tboolean overF = false;\n \tboolean zeroF = false;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnum[i] = sc.nextLong();\n \tif( num[i] == 0 ){\n zeroF = true;\n break;\n }\n }\n if( !zeroF ){\n \tfor(int i=0;i<n;i++){\n \tif( ans * num[i] > N || ( ( ans>100000000)&&(num[i]>1000000000) ) ){\n overF = true;\n break;\n }\n ans *= num[i];\n }\n }\n if( zeroF ){\n ans = 0;\n }else if( overF ){\n ans = -1;\n }else{\n \n } \n System.out.println(ans); \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 \tint n = sc.nextInt();\n \tlong N = (long)Math.pow(10,18);\n \tlong[] num = new long[n];\n \tlong ans = 1;\n \tboolean overF = false;\n \tboolean zeroF = false;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnum[i] = sc.nextLong();\n \tif( num[i] == 0 ){\n zeroF = true;\n break;\n }\n }\n if( !zeroF ){\n \tfor(int i=0;i<n;i++){\n \tif( ans * num[i] > N || ( ( ans>100000000)&&(num[i]>1000000000) ) ){\n overF = true;\n break;\n }\n ans *= num[i];\n }\n }\n if( zeroF ){\n ans = 0;\n }else if( overF ){\n ans = -1;\n }else{\n \n } \n System.out.println(ans); \n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n \tlong N = (long)Math.pow(10,18);\n \tlong[] num = new long[n];\n \tlong ans = 1;\n \tboolean overF = false;\n \tboolean zeroF = false;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnum[i] = sc.nextLong();\n \tif( num[i] == 0 ){\n zeroF = true;\n break;\n }\n }\n if( !zeroF ){\n \tfor(int i=0;i<n;i++){\n \tif( ans * num[i] > N || ( ( ans>100000000)&&(num[i]>1000000000) ) ){\n overF = true;\n break;\n }\n ans *= num[i];\n }\n }\n if( zeroF ){\n ans = 0;\n }else if( overF ){\n ans = -1;\n }else{\n \n } \n System.out.println(ans); \n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n \tlong N = (long)Math.pow(10,18);\n \tlong[] num = new long[n];\n \tlong ans = 1;\n \tboolean overF = false;\n \tboolean zeroF = false;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnum[i] = sc.nextLong();\n \tif( num[i] == 0 ){\n zeroF = true;\n break;\n }\n }\n if( !zeroF ){\n \tfor(int i=0;i<n;i++){\n \tif( ans * num[i] > N || ( ( ans>100000000)&&(num[i]>1000000000) ) ){\n overF = true;\n break;\n }\n ans *= num[i];\n }\n }\n if( zeroF ){\n ans = 0;\n }else if( overF ){\n ans = -1;\n }else{\n \n } \n System.out.println(ans); \n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long N = (long)Math.pow(10,18);",
"N",
"(long)Math.pow(10,18)",
"Math.pow",
"Math",
"10",
"18",
"long[] num = new long[n];",
"num",
"new long[n]",
"n",
"long ans = 1;",
"ans",
"1",
"boolean overF = false;",
"overF",
"false",
"boolean zeroF = false;",
"zeroF",
"false",
"for(int i=0;i<n;i++){\n\t\t\tnum[i] = sc.nextLong();\n \tif( num[i] == 0 ){\n zeroF = true;\n break;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tnum[i] = sc.nextLong();\n \tif( num[i] == 0 ){\n zeroF = true;\n break;\n }\n }",
"{\n\t\t\tnum[i] = sc.nextLong();\n \tif( num[i] == 0 ){\n zeroF = true;\n break;\n }\n }",
"num[i] = sc.nextLong()",
"num[i]",
"num",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if( num[i] == 0 ){\n zeroF = true;\n break;\n }",
"num[i] == 0",
"num[i]",
"num",
"i",
"0",
"{\n zeroF = true;\n break;\n }",
"zeroF = true",
"zeroF",
"true",
"break;",
"if( !zeroF ){\n \tfor(int i=0;i<n;i++){\n \tif( ans * num[i] > N || ( ( ans>100000000)&&(num[i]>1000000000) ) ){\n overF = true;\n break;\n }\n ans *= num[i];\n }\n }",
"!zeroF",
"zeroF",
"{\n \tfor(int i=0;i<n;i++){\n \tif( ans * num[i] > N || ( ( ans>100000000)&&(num[i]>1000000000) ) ){\n overF = true;\n break;\n }\n ans *= num[i];\n }\n }",
"for(int i=0;i<n;i++){\n \tif( ans * num[i] > N || ( ( ans>100000000)&&(num[i]>1000000000) ) ){\n overF = true;\n break;\n }\n ans *= num[i];\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n \tif( ans * num[i] > N || ( ( ans>100000000)&&(num[i]>1000000000) ) ){\n overF = true;\n break;\n }\n ans *= num[i];\n }",
"{\n \tif( ans * num[i] > N || ( ( ans>100000000)&&(num[i]>1000000000) ) ){\n overF = true;\n break;\n }\n ans *= num[i];\n }",
"if( ans * num[i] > N || ( ( ans>100000000)&&(num[i]>1000000000) ) ){\n overF = true;\n break;\n }",
"ans * num[i] > N || ( ( ans>100000000)&&(num[i]>1000000000) )",
"ans * num[i] > N",
"ans * num[i]",
"ans",
"num[i]",
"num",
"i",
"N",
"( ( ans>100000000)&&(num[i]>1000000000) )",
"( ans>100000000)",
"ans",
"100000000",
"(num[i]>1000000000)",
"num[i]",
"num",
"i",
"1000000000",
"{\n overF = true;\n break;\n }",
"overF = true",
"overF",
"true",
"break;",
"ans *= num[i]",
"ans",
"num[i]",
"num",
"i",
"if( zeroF ){\n ans = 0;\n }else if( overF ){\n ans = -1;\n }else{\n \n }",
"zeroF",
"{\n ans = 0;\n }",
"ans = 0",
"ans",
"0",
"if( overF ){\n ans = -1;\n }else{\n \n }",
"overF",
"{\n ans = -1;\n }",
"ans = -1",
"ans",
"-1",
"1",
"{\n \n }",
"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 \tint n = sc.nextInt();\n \tlong N = (long)Math.pow(10,18);\n \tlong[] num = new long[n];\n \tlong ans = 1;\n \tboolean overF = false;\n \tboolean zeroF = false;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnum[i] = sc.nextLong();\n \tif( num[i] == 0 ){\n zeroF = true;\n break;\n }\n }\n if( !zeroF ){\n \tfor(int i=0;i<n;i++){\n \tif( ans * num[i] > N || ( ( ans>100000000)&&(num[i]>1000000000) ) ){\n overF = true;\n break;\n }\n ans *= num[i];\n }\n }\n if( zeroF ){\n ans = 0;\n }else if( overF ){\n ans = -1;\n }else{\n \n } \n System.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 \tint n = sc.nextInt();\n \tlong N = (long)Math.pow(10,18);\n \tlong[] num = new long[n];\n \tlong ans = 1;\n \tboolean overF = false;\n \tboolean zeroF = false;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnum[i] = sc.nextLong();\n \tif( num[i] == 0 ){\n zeroF = true;\n break;\n }\n }\n if( !zeroF ){\n \tfor(int i=0;i<n;i++){\n \tif( ans * num[i] > N || ( ( ans>100000000)&&(num[i]>1000000000) ) ){\n overF = true;\n break;\n }\n ans *= num[i];\n }\n }\n if( zeroF ){\n ans = 0;\n }else if( overF ){\n ans = -1;\n }else{\n \n } \n System.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);
int n = sc.nextInt();
long N = (long)Math.pow(10,18);
long[] num = new long[n];
long ans = 1;
boolean overF = false;
boolean zeroF = false;
for(int i=0;i<n;i++){
num[i] = sc.nextLong();
if( num[i] == 0 ){
zeroF = true;
break;
}
}
if( !zeroF ){
for(int i=0;i<n;i++){
if( ans * num[i] > N || ( ( ans>100000000)&&(num[i]>1000000000) ) ){
overF = true;
break;
}
ans *= num[i];
}
}
if( zeroF ){
ans = 0;
}else if( overF ){
ans = -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,
18,
13,
13,
41,
13,
20,
13,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
4,
18,
18,
13,
13,
18,
13,
13,
17,
0,
13,
17,
14,
13,
4,
18,
18,
13,
13,
17,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
18,
13,
13,
14,
2,
4,
18,
13,
13,
17,
30,
0,
13,
17,
3,
14,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
40,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
132,
8
],
[
132,
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
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
56,
65
],
[
55,
66
],
[
66,
67
],
[
66,
68
],
[
11,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
81,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
99,
100
],
[
99,
101
],
[
93,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
103,
108
],
[
102,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
77,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
114,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
127,
128
],
[
9,
129
],
[
129,
130
],
[
0,
131
],
[
131,
132
],
[
131,
133
]
] |
[
"import java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in) ;\n int n = sc.nextInt() ;\n BigInteger ans = BigInteger.ONE ;\n BigInteger b[] = new BigInteger[n] ;\n BigInteger cmp = new BigInteger(\"1000000000000000000\") ;\n Boolean zero = false ;\n for (int i = 0 ; i < n ; i ++) {\n b[i] = sc.nextBigInteger() ;\n if(b[i].compareTo(BigInteger.ZERO) == 0) zero = true ;\n }\n if(zero) System.out.println(0);\n else {\n Boolean con = true ;\n for (int i = 0 ; i < n ; i ++) {\n ans = ans.multiply(b[i]) ;\n if(ans.compareTo(cmp) == 1) {\n con = false ;\n break ;\n }\n }\n if(con) System.out.println(ans);\n else System.out.println(-1);\n }\n }\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in) ;\n int n = sc.nextInt() ;\n BigInteger ans = BigInteger.ONE ;\n BigInteger b[] = new BigInteger[n] ;\n BigInteger cmp = new BigInteger(\"1000000000000000000\") ;\n Boolean zero = false ;\n for (int i = 0 ; i < n ; i ++) {\n b[i] = sc.nextBigInteger() ;\n if(b[i].compareTo(BigInteger.ZERO) == 0) zero = true ;\n }\n if(zero) System.out.println(0);\n else {\n Boolean con = true ;\n for (int i = 0 ; i < n ; i ++) {\n ans = ans.multiply(b[i]) ;\n if(ans.compareTo(cmp) == 1) {\n con = false ;\n break ;\n }\n }\n if(con) System.out.println(ans);\n else System.out.println(-1);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in) ;\n int n = sc.nextInt() ;\n BigInteger ans = BigInteger.ONE ;\n BigInteger b[] = new BigInteger[n] ;\n BigInteger cmp = new BigInteger(\"1000000000000000000\") ;\n Boolean zero = false ;\n for (int i = 0 ; i < n ; i ++) {\n b[i] = sc.nextBigInteger() ;\n if(b[i].compareTo(BigInteger.ZERO) == 0) zero = true ;\n }\n if(zero) System.out.println(0);\n else {\n Boolean con = true ;\n for (int i = 0 ; i < n ; i ++) {\n ans = ans.multiply(b[i]) ;\n if(ans.compareTo(cmp) == 1) {\n con = false ;\n break ;\n }\n }\n if(con) System.out.println(ans);\n else System.out.println(-1);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in) ;\n int n = sc.nextInt() ;\n BigInteger ans = BigInteger.ONE ;\n BigInteger b[] = new BigInteger[n] ;\n BigInteger cmp = new BigInteger(\"1000000000000000000\") ;\n Boolean zero = false ;\n for (int i = 0 ; i < n ; i ++) {\n b[i] = sc.nextBigInteger() ;\n if(b[i].compareTo(BigInteger.ZERO) == 0) zero = true ;\n }\n if(zero) System.out.println(0);\n else {\n Boolean con = true ;\n for (int i = 0 ; i < n ; i ++) {\n ans = ans.multiply(b[i]) ;\n if(ans.compareTo(cmp) == 1) {\n con = false ;\n break ;\n }\n }\n if(con) System.out.println(ans);\n else System.out.println(-1);\n }\n }",
"Scanner sc = new Scanner(System.in) ;",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt() ;",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"BigInteger ans = BigInteger.ONE ;",
"ans",
"BigInteger.ONE",
"BigInteger",
"BigInteger.ONE",
"BigInteger b[] = new BigInteger[n] ;",
"b",
"new BigInteger[n]",
"n",
"BigInteger cmp = new BigInteger(\"1000000000000000000\") ;",
"cmp",
"new BigInteger(\"1000000000000000000\")",
"Boolean zero = false ;",
"zero",
"false",
"for (int i = 0 ; i < n ; i ++) {\n b[i] = sc.nextBigInteger() ;\n if(b[i].compareTo(BigInteger.ZERO) == 0) zero = true ;\n }",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < n",
"i",
"n",
"i ++",
"i ++",
"i",
"{\n b[i] = sc.nextBigInteger() ;\n if(b[i].compareTo(BigInteger.ZERO) == 0) zero = true ;\n }",
"{\n b[i] = sc.nextBigInteger() ;\n if(b[i].compareTo(BigInteger.ZERO) == 0) zero = true ;\n }",
"b[i] = sc.nextBigInteger()",
"b[i]",
"b",
"i",
"sc.nextBigInteger()",
"sc.nextBigInteger",
"sc",
"if(b[i].compareTo(BigInteger.ZERO) == 0) zero = true ;",
"b[i].compareTo(BigInteger.ZERO) == 0",
"b[i].compareTo(BigInteger.ZERO)",
"b[i].compareTo",
"b[i]",
"b",
"i",
"BigInteger.ZERO",
"BigInteger",
"BigInteger.ZERO",
"0",
"zero = true",
"zero",
"true",
"if(zero) System.out.println(0);\n else {\n Boolean con = true ;\n for (int i = 0 ; i < n ; i ++) {\n ans = ans.multiply(b[i]) ;\n if(ans.compareTo(cmp) == 1) {\n con = false ;\n break ;\n }\n }\n if(con) System.out.println(ans);\n else System.out.println(-1);\n }",
"zero",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"{\n Boolean con = true ;\n for (int i = 0 ; i < n ; i ++) {\n ans = ans.multiply(b[i]) ;\n if(ans.compareTo(cmp) == 1) {\n con = false ;\n break ;\n }\n }\n if(con) System.out.println(ans);\n else System.out.println(-1);\n }",
"Boolean con = true ;",
"con",
"true",
"for (int i = 0 ; i < n ; i ++) {\n ans = ans.multiply(b[i]) ;\n if(ans.compareTo(cmp) == 1) {\n con = false ;\n break ;\n }\n }",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < n",
"i",
"n",
"i ++",
"i ++",
"i",
"{\n ans = ans.multiply(b[i]) ;\n if(ans.compareTo(cmp) == 1) {\n con = false ;\n break ;\n }\n }",
"{\n ans = ans.multiply(b[i]) ;\n if(ans.compareTo(cmp) == 1) {\n con = false ;\n break ;\n }\n }",
"ans = ans.multiply(b[i])",
"ans",
"ans.multiply(b[i])",
"ans.multiply",
"ans",
"b[i]",
"b",
"i",
"if(ans.compareTo(cmp) == 1) {\n con = false ;\n break ;\n }",
"ans.compareTo(cmp) == 1",
"ans.compareTo(cmp)",
"ans.compareTo",
"ans",
"cmp",
"1",
"{\n con = false ;\n break ;\n }",
"con = false",
"con",
"false",
"break ;",
"if(con) System.out.println(ans);\n else System.out.println(-1);",
"con",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"System.out.println(-1)",
"System.out.println",
"System.out",
"System",
"System.out",
"-1",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in) ;\n int n = sc.nextInt() ;\n BigInteger ans = BigInteger.ONE ;\n BigInteger b[] = new BigInteger[n] ;\n BigInteger cmp = new BigInteger(\"1000000000000000000\") ;\n Boolean zero = false ;\n for (int i = 0 ; i < n ; i ++) {\n b[i] = sc.nextBigInteger() ;\n if(b[i].compareTo(BigInteger.ZERO) == 0) zero = true ;\n }\n if(zero) System.out.println(0);\n else {\n Boolean con = true ;\n for (int i = 0 ; i < n ; i ++) {\n ans = ans.multiply(b[i]) ;\n if(ans.compareTo(cmp) == 1) {\n con = false ;\n break ;\n }\n }\n if(con) System.out.println(ans);\n else System.out.println(-1);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in) ;\n int n = sc.nextInt() ;\n BigInteger ans = BigInteger.ONE ;\n BigInteger b[] = new BigInteger[n] ;\n BigInteger cmp = new BigInteger(\"1000000000000000000\") ;\n Boolean zero = false ;\n for (int i = 0 ; i < n ; i ++) {\n b[i] = sc.nextBigInteger() ;\n if(b[i].compareTo(BigInteger.ZERO) == 0) zero = true ;\n }\n if(zero) System.out.println(0);\n else {\n Boolean con = true ;\n for (int i = 0 ; i < n ; i ++) {\n ans = ans.multiply(b[i]) ;\n if(ans.compareTo(cmp) == 1) {\n con = false ;\n break ;\n }\n }\n if(con) System.out.println(ans);\n else System.out.println(-1);\n }\n }\n}",
"Main"
] |
import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in) ;
int n = sc.nextInt() ;
BigInteger ans = BigInteger.ONE ;
BigInteger b[] = new BigInteger[n] ;
BigInteger cmp = new BigInteger("1000000000000000000") ;
Boolean zero = false ;
for (int i = 0 ; i < n ; i ++) {
b[i] = sc.nextBigInteger() ;
if(b[i].compareTo(BigInteger.ZERO) == 0) zero = true ;
}
if(zero) System.out.println(0);
else {
Boolean con = true ;
for (int i = 0 ; i < n ; i ++) {
ans = ans.multiply(b[i]) ;
if(ans.compareTo(cmp) == 1) {
con = false ;
break ;
}
}
if(con) System.out.println(ans);
else System.out.println(-1);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
17,
30,
14,
2,
2,
13,
2,
4,
18,
13,
17,
17,
13,
2,
13,
17,
30,
0,
13,
2,
13,
13,
30,
0,
13,
40,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
51,
57
],
[
48,
58
],
[
58,
59
],
[
58,
60
],
[
47,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
47,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] |
[
"\n\nimport java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner=new Scanner(System.in);\n\t\tlong ans = 1;\n\t\tint N = scanner.nextInt();\n\n\t\tfor(int i = 0 ; i < N ; i++) {\n\t\t\tlong A = scanner.nextLong();\n\t\t\tif(A == 0) {\n\t\t\t\tans = 0;\n\t\t\t} else {\n\t\t\t\tif(ans <= ((long)Math.pow(10, 18) / A) && ans >= 0) {\n\t\t\t\t\tans = ans * A;\n\t\t\t\t}else {\n\t\t\t\t\tans = -1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t\tscanner.close();\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner=new Scanner(System.in);\n\t\tlong ans = 1;\n\t\tint N = scanner.nextInt();\n\n\t\tfor(int i = 0 ; i < N ; i++) {\n\t\t\tlong A = scanner.nextLong();\n\t\t\tif(A == 0) {\n\t\t\t\tans = 0;\n\t\t\t} else {\n\t\t\t\tif(ans <= ((long)Math.pow(10, 18) / A) && ans >= 0) {\n\t\t\t\t\tans = ans * A;\n\t\t\t\t}else {\n\t\t\t\t\tans = -1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t\tscanner.close();\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scanner=new Scanner(System.in);\n\t\tlong ans = 1;\n\t\tint N = scanner.nextInt();\n\n\t\tfor(int i = 0 ; i < N ; i++) {\n\t\t\tlong A = scanner.nextLong();\n\t\t\tif(A == 0) {\n\t\t\t\tans = 0;\n\t\t\t} else {\n\t\t\t\tif(ans <= ((long)Math.pow(10, 18) / A) && ans >= 0) {\n\t\t\t\t\tans = ans * A;\n\t\t\t\t}else {\n\t\t\t\t\tans = -1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t\tscanner.close();\n\n\t}",
"main",
"{\n\n\t\tScanner scanner=new Scanner(System.in);\n\t\tlong ans = 1;\n\t\tint N = scanner.nextInt();\n\n\t\tfor(int i = 0 ; i < N ; i++) {\n\t\t\tlong A = scanner.nextLong();\n\t\t\tif(A == 0) {\n\t\t\t\tans = 0;\n\t\t\t} else {\n\t\t\t\tif(ans <= ((long)Math.pow(10, 18) / A) && ans >= 0) {\n\t\t\t\t\tans = ans * A;\n\t\t\t\t}else {\n\t\t\t\t\tans = -1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t\tscanner.close();\n\n\t}",
"Scanner scanner=new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long ans = 1;",
"ans",
"1",
"int N = scanner.nextInt();",
"N",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for(int i = 0 ; i < N ; i++) {\n\t\t\tlong A = scanner.nextLong();\n\t\t\tif(A == 0) {\n\t\t\t\tans = 0;\n\t\t\t} else {\n\t\t\t\tif(ans <= ((long)Math.pow(10, 18) / A) && ans >= 0) {\n\t\t\t\t\tans = ans * A;\n\t\t\t\t}else {\n\t\t\t\t\tans = -1;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t\tlong A = scanner.nextLong();\n\t\t\tif(A == 0) {\n\t\t\t\tans = 0;\n\t\t\t} else {\n\t\t\t\tif(ans <= ((long)Math.pow(10, 18) / A) && ans >= 0) {\n\t\t\t\t\tans = ans * A;\n\t\t\t\t}else {\n\t\t\t\t\tans = -1;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tlong A = scanner.nextLong();\n\t\t\tif(A == 0) {\n\t\t\t\tans = 0;\n\t\t\t} else {\n\t\t\t\tif(ans <= ((long)Math.pow(10, 18) / A) && ans >= 0) {\n\t\t\t\t\tans = ans * A;\n\t\t\t\t}else {\n\t\t\t\t\tans = -1;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"long A = scanner.nextLong();",
"A",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"if(A == 0) {\n\t\t\t\tans = 0;\n\t\t\t} else {\n\t\t\t\tif(ans <= ((long)Math.pow(10, 18) / A) && ans >= 0) {\n\t\t\t\t\tans = ans * A;\n\t\t\t\t}else {\n\t\t\t\t\tans = -1;\n\t\t\t\t}\n\t\t\t}",
"A == 0",
"A",
"0",
"{\n\t\t\t\tans = 0;\n\t\t\t}",
"ans = 0",
"ans",
"0",
"{\n\t\t\t\tif(ans <= ((long)Math.pow(10, 18) / A) && ans >= 0) {\n\t\t\t\t\tans = ans * A;\n\t\t\t\t}else {\n\t\t\t\t\tans = -1;\n\t\t\t\t}\n\t\t\t}",
"if(ans <= ((long)Math.pow(10, 18) / A) && ans >= 0) {\n\t\t\t\t\tans = ans * A;\n\t\t\t\t}else {\n\t\t\t\t\tans = -1;\n\t\t\t\t}",
"ans <= ((long)Math.pow(10, 18) / A) && ans >= 0",
"ans <= ((long)Math.pow(10, 18) / A)",
"ans",
"((long)Math.pow(10, 18) / A)",
"(long)Math.pow(10, 18)",
"Math.pow",
"Math",
"10",
"18",
"A",
"ans >= 0",
"ans",
"0",
"{\n\t\t\t\t\tans = ans * A;\n\t\t\t\t}",
"ans = ans * A",
"ans",
"ans * A",
"ans",
"A",
"{\n\t\t\t\t\tans = -1;\n\t\t\t\t}",
"ans = -1",
"ans",
"-1",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner=new Scanner(System.in);\n\t\tlong ans = 1;\n\t\tint N = scanner.nextInt();\n\n\t\tfor(int i = 0 ; i < N ; i++) {\n\t\t\tlong A = scanner.nextLong();\n\t\t\tif(A == 0) {\n\t\t\t\tans = 0;\n\t\t\t} else {\n\t\t\t\tif(ans <= ((long)Math.pow(10, 18) / A) && ans >= 0) {\n\t\t\t\t\tans = ans * A;\n\t\t\t\t}else {\n\t\t\t\t\tans = -1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t\tscanner.close();\n\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner=new Scanner(System.in);\n\t\tlong ans = 1;\n\t\tint N = scanner.nextInt();\n\n\t\tfor(int i = 0 ; i < N ; i++) {\n\t\t\tlong A = scanner.nextLong();\n\t\t\tif(A == 0) {\n\t\t\t\tans = 0;\n\t\t\t} else {\n\t\t\t\tif(ans <= ((long)Math.pow(10, 18) / A) && ans >= 0) {\n\t\t\t\t\tans = ans * A;\n\t\t\t\t}else {\n\t\t\t\t\tans = -1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t\tscanner.close();\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scanner=new Scanner(System.in);
long ans = 1;
int N = scanner.nextInt();
for(int i = 0 ; i < N ; i++) {
long A = scanner.nextLong();
if(A == 0) {
ans = 0;
} else {
if(ans <= ((long)Math.pow(10, 18) / A) && ans >= 0) {
ans = ans * A;
}else {
ans = -1;
}
}
}
System.out.println(ans);
scanner.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
41,
13,
17,
41,
13,
17,
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,
18,
13,
14,
2,
18,
13,
13,
17,
30,
0,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
40,
13,
1,
40,
13,
30,
30,
14,
2,
2,
17,
18,
13,
13,
13,
30,
0,
13,
18,
13,
13,
30,
0,
13,
17,
3,
14,
13,
30,
4,
18,
18,
13,
13,
17,
14,
13,
30,
4,
18,
18,
13,
13,
40,
17,
30,
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
],
[
139,
8
],
[
139,
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
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
48,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
11,
69
],
[
69,
70
],
[
69,
71
],
[
11,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
72,
83
],
[
83,
84
],
[
84,
85
],
[
72,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
89,
95
],
[
88,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
99,
101
],
[
88,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
11,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
107,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
124,
125
],
[
116,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
11,
133
],
[
133,
134
],
[
134,
135
],
[
9,
136
],
[
136,
137
],
[
0,
138
],
[
138,
139
],
[
138,
140
]
] |
[
"import java.util.*;\nimport java.io.*;\npublic class Main {\n public static void main (String [] args) throws IOException \n {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n int len = Integer.parseInt(in.readLine());\n\n StringTokenizer s = new StringTokenizer(in.readLine());\n\n boolean isZero = false;\n boolean tooLong = false;\n long[] nums = new long[len];\n for(int i = 0; i < len; i++)\n {\n nums[i] = Long.parseLong(s.nextToken());\n if(nums[i] == 0)\n {\n isZero = true;\n }\n }\n long result = 1;\n \n for(int i = 0; i < len && !isZero; i++)\n {\n if(1000000000000000000L/nums[i] >= result)\n {\n result *= nums[i];\n }\n else\n {\n tooLong = true;\n break;\n }\n }\n\n if(isZero)\n {\n System.out.println(0);\n }\n else if(tooLong)\n {\n System.out.println(-1);\n }\n else\n {\n System.out.println(result);\n }\n in.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main (String [] args) throws IOException \n {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n int len = Integer.parseInt(in.readLine());\n\n StringTokenizer s = new StringTokenizer(in.readLine());\n\n boolean isZero = false;\n boolean tooLong = false;\n long[] nums = new long[len];\n for(int i = 0; i < len; i++)\n {\n nums[i] = Long.parseLong(s.nextToken());\n if(nums[i] == 0)\n {\n isZero = true;\n }\n }\n long result = 1;\n \n for(int i = 0; i < len && !isZero; i++)\n {\n if(1000000000000000000L/nums[i] >= result)\n {\n result *= nums[i];\n }\n else\n {\n tooLong = true;\n break;\n }\n }\n\n if(isZero)\n {\n System.out.println(0);\n }\n else if(tooLong)\n {\n System.out.println(-1);\n }\n else\n {\n System.out.println(result);\n }\n in.close();\n }\n}",
"Main",
"public static void main (String [] args) throws IOException \n {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n int len = Integer.parseInt(in.readLine());\n\n StringTokenizer s = new StringTokenizer(in.readLine());\n\n boolean isZero = false;\n boolean tooLong = false;\n long[] nums = new long[len];\n for(int i = 0; i < len; i++)\n {\n nums[i] = Long.parseLong(s.nextToken());\n if(nums[i] == 0)\n {\n isZero = true;\n }\n }\n long result = 1;\n \n for(int i = 0; i < len && !isZero; i++)\n {\n if(1000000000000000000L/nums[i] >= result)\n {\n result *= nums[i];\n }\n else\n {\n tooLong = true;\n break;\n }\n }\n\n if(isZero)\n {\n System.out.println(0);\n }\n else if(tooLong)\n {\n System.out.println(-1);\n }\n else\n {\n System.out.println(result);\n }\n in.close();\n }",
"main",
"{\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n int len = Integer.parseInt(in.readLine());\n\n StringTokenizer s = new StringTokenizer(in.readLine());\n\n boolean isZero = false;\n boolean tooLong = false;\n long[] nums = new long[len];\n for(int i = 0; i < len; i++)\n {\n nums[i] = Long.parseLong(s.nextToken());\n if(nums[i] == 0)\n {\n isZero = true;\n }\n }\n long result = 1;\n \n for(int i = 0; i < len && !isZero; i++)\n {\n if(1000000000000000000L/nums[i] >= result)\n {\n result *= nums[i];\n }\n else\n {\n tooLong = true;\n break;\n }\n }\n\n if(isZero)\n {\n System.out.println(0);\n }\n else if(tooLong)\n {\n System.out.println(-1);\n }\n else\n {\n System.out.println(result);\n }\n in.close();\n }",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"int len = Integer.parseInt(in.readLine());",
"len",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"StringTokenizer s = new StringTokenizer(in.readLine());",
"s",
"new StringTokenizer(in.readLine())",
"boolean isZero = false;",
"isZero",
"false",
"boolean tooLong = false;",
"tooLong",
"false",
"long[] nums = new long[len];",
"nums",
"new long[len]",
"len",
"for(int i = 0; i < len; i++)\n {\n nums[i] = Long.parseLong(s.nextToken());\n if(nums[i] == 0)\n {\n isZero = true;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n nums[i] = Long.parseLong(s.nextToken());\n if(nums[i] == 0)\n {\n isZero = true;\n }\n }",
"{\n nums[i] = Long.parseLong(s.nextToken());\n if(nums[i] == 0)\n {\n isZero = true;\n }\n }",
"nums[i] = Long.parseLong(s.nextToken())",
"nums[i]",
"nums",
"i",
"Long.parseLong(s.nextToken())",
"Long.parseLong",
"Long",
"s.nextToken()",
"s.nextToken",
"s",
"if(nums[i] == 0)\n {\n isZero = true;\n }",
"nums[i] == 0",
"nums[i]",
"nums",
"i",
"0",
"{\n isZero = true;\n }",
"isZero = true",
"isZero",
"true",
"long result = 1;",
"result",
"1",
"for(int i = 0; i < len && !isZero; i++)\n {\n if(1000000000000000000L/nums[i] >= result)\n {\n result *= nums[i];\n }\n else\n {\n tooLong = true;\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len && !isZero",
"i < len",
"i",
"len",
"!isZero",
"isZero",
"i++",
"i++",
"i",
"{\n if(1000000000000000000L/nums[i] >= result)\n {\n result *= nums[i];\n }\n else\n {\n tooLong = true;\n break;\n }\n }",
"{\n if(1000000000000000000L/nums[i] >= result)\n {\n result *= nums[i];\n }\n else\n {\n tooLong = true;\n break;\n }\n }",
"if(1000000000000000000L/nums[i] >= result)\n {\n result *= nums[i];\n }\n else\n {\n tooLong = true;\n break;\n }",
"1000000000000000000L/nums[i] >= result",
"1000000000000000000L/nums[i]",
"1000000000000000000L",
"nums[i]",
"nums",
"i",
"result",
"{\n result *= nums[i];\n }",
"result *= nums[i]",
"result",
"nums[i]",
"nums",
"i",
"{\n tooLong = true;\n break;\n }",
"tooLong = true",
"tooLong",
"true",
"break;",
"if(isZero)\n {\n System.out.println(0);\n }\n else if(tooLong)\n {\n System.out.println(-1);\n }\n else\n {\n System.out.println(result);\n }",
"isZero",
"{\n System.out.println(0);\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"if(tooLong)\n {\n System.out.println(-1);\n }\n else\n {\n System.out.println(result);\n }",
"tooLong",
"{\n System.out.println(-1);\n }",
"System.out.println(-1)",
"System.out.println",
"System.out",
"System",
"System.out",
"-1",
"1",
"{\n System.out.println(result);\n }",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"in.close()",
"in.close",
"in",
"String [] args",
"args",
"public class Main {\n public static void main (String [] args) throws IOException \n {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n int len = Integer.parseInt(in.readLine());\n\n StringTokenizer s = new StringTokenizer(in.readLine());\n\n boolean isZero = false;\n boolean tooLong = false;\n long[] nums = new long[len];\n for(int i = 0; i < len; i++)\n {\n nums[i] = Long.parseLong(s.nextToken());\n if(nums[i] == 0)\n {\n isZero = true;\n }\n }\n long result = 1;\n \n for(int i = 0; i < len && !isZero; i++)\n {\n if(1000000000000000000L/nums[i] >= result)\n {\n result *= nums[i];\n }\n else\n {\n tooLong = true;\n break;\n }\n }\n\n if(isZero)\n {\n System.out.println(0);\n }\n else if(tooLong)\n {\n System.out.println(-1);\n }\n else\n {\n System.out.println(result);\n }\n in.close();\n }\n}",
"public class Main {\n public static void main (String [] args) throws IOException \n {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n int len = Integer.parseInt(in.readLine());\n\n StringTokenizer s = new StringTokenizer(in.readLine());\n\n boolean isZero = false;\n boolean tooLong = false;\n long[] nums = new long[len];\n for(int i = 0; i < len; i++)\n {\n nums[i] = Long.parseLong(s.nextToken());\n if(nums[i] == 0)\n {\n isZero = true;\n }\n }\n long result = 1;\n \n for(int i = 0; i < len && !isZero; i++)\n {\n if(1000000000000000000L/nums[i] >= result)\n {\n result *= nums[i];\n }\n else\n {\n tooLong = true;\n break;\n }\n }\n\n if(isZero)\n {\n System.out.println(0);\n }\n else if(tooLong)\n {\n System.out.println(-1);\n }\n else\n {\n System.out.println(result);\n }\n in.close();\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
public static void main (String [] args) throws IOException
{
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
int len = Integer.parseInt(in.readLine());
StringTokenizer s = new StringTokenizer(in.readLine());
boolean isZero = false;
boolean tooLong = false;
long[] nums = new long[len];
for(int i = 0; i < len; i++)
{
nums[i] = Long.parseLong(s.nextToken());
if(nums[i] == 0)
{
isZero = true;
}
}
long result = 1;
for(int i = 0; i < len && !isZero; i++)
{
if(1000000000000000000L/nums[i] >= result)
{
result *= nums[i];
}
else
{
tooLong = true;
break;
}
}
if(isZero)
{
System.out.println(0);
}
else if(tooLong)
{
System.out.println(-1);
}
else
{
System.out.println(result);
}
in.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
17,
14,
2,
13,
17,
30,
0,
13,
20,
14,
40,
13,
30,
0,
13,
4,
18,
13,
20,
14,
2,
4,
18,
13,
13,
17,
30,
0,
13,
17,
14,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
110,
8
],
[
110,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
51,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
41,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
73,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
81,
86
],
[
80,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
11,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
91,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
9,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
] |
[
"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 int n = scanner.nextInt();\n\n BigDecimal max = new BigDecimal(Math.pow(10, 18));\n BigDecimal decimal = null;\n boolean overflow = false;\n\n for (int i = 0; i < n; i++) {\n long val = scanner.nextLong();\n if (val == 0) {\n System.out.println(\"0\");\n System.exit(0);\n }\n if (decimal == null) {\n decimal = new BigDecimal(val);\n } else if (!overflow) {\n decimal = decimal.multiply(new BigDecimal(val));\n if (decimal.compareTo(max) > 0) {\n overflow = true;\n }\n }\n }\n\n if (overflow) {\n System.out.println(\"-1\");\n } else {\n System.out.println(decimal);\n }\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 int n = scanner.nextInt();\n\n BigDecimal max = new BigDecimal(Math.pow(10, 18));\n BigDecimal decimal = null;\n boolean overflow = false;\n\n for (int i = 0; i < n; i++) {\n long val = scanner.nextLong();\n if (val == 0) {\n System.out.println(\"0\");\n System.exit(0);\n }\n if (decimal == null) {\n decimal = new BigDecimal(val);\n } else if (!overflow) {\n decimal = decimal.multiply(new BigDecimal(val));\n if (decimal.compareTo(max) > 0) {\n overflow = true;\n }\n }\n }\n\n if (overflow) {\n System.out.println(\"-1\");\n } else {\n System.out.println(decimal);\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n\n BigDecimal max = new BigDecimal(Math.pow(10, 18));\n BigDecimal decimal = null;\n boolean overflow = false;\n\n for (int i = 0; i < n; i++) {\n long val = scanner.nextLong();\n if (val == 0) {\n System.out.println(\"0\");\n System.exit(0);\n }\n if (decimal == null) {\n decimal = new BigDecimal(val);\n } else if (!overflow) {\n decimal = decimal.multiply(new BigDecimal(val));\n if (decimal.compareTo(max) > 0) {\n overflow = true;\n }\n }\n }\n\n if (overflow) {\n System.out.println(\"-1\");\n } else {\n System.out.println(decimal);\n }\n\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n\n BigDecimal max = new BigDecimal(Math.pow(10, 18));\n BigDecimal decimal = null;\n boolean overflow = false;\n\n for (int i = 0; i < n; i++) {\n long val = scanner.nextLong();\n if (val == 0) {\n System.out.println(\"0\");\n System.exit(0);\n }\n if (decimal == null) {\n decimal = new BigDecimal(val);\n } else if (!overflow) {\n decimal = decimal.multiply(new BigDecimal(val));\n if (decimal.compareTo(max) > 0) {\n overflow = true;\n }\n }\n }\n\n if (overflow) {\n System.out.println(\"-1\");\n } else {\n System.out.println(decimal);\n }\n\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int n = scanner.nextInt();",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"BigDecimal max = new BigDecimal(Math.pow(10, 18));",
"max",
"new BigDecimal(Math.pow(10, 18))",
"BigDecimal decimal = null;",
"decimal",
"null",
"boolean overflow = false;",
"overflow",
"false",
"for (int i = 0; i < n; i++) {\n long val = scanner.nextLong();\n if (val == 0) {\n System.out.println(\"0\");\n System.exit(0);\n }\n if (decimal == null) {\n decimal = new BigDecimal(val);\n } else if (!overflow) {\n decimal = decimal.multiply(new BigDecimal(val));\n if (decimal.compareTo(max) > 0) {\n overflow = true;\n }\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n long val = scanner.nextLong();\n if (val == 0) {\n System.out.println(\"0\");\n System.exit(0);\n }\n if (decimal == null) {\n decimal = new BigDecimal(val);\n } else if (!overflow) {\n decimal = decimal.multiply(new BigDecimal(val));\n if (decimal.compareTo(max) > 0) {\n overflow = true;\n }\n }\n }",
"{\n long val = scanner.nextLong();\n if (val == 0) {\n System.out.println(\"0\");\n System.exit(0);\n }\n if (decimal == null) {\n decimal = new BigDecimal(val);\n } else if (!overflow) {\n decimal = decimal.multiply(new BigDecimal(val));\n if (decimal.compareTo(max) > 0) {\n overflow = true;\n }\n }\n }",
"long val = scanner.nextLong();",
"val",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"if (val == 0) {\n System.out.println(\"0\");\n System.exit(0);\n }",
"val == 0",
"val",
"0",
"{\n System.out.println(\"0\");\n System.exit(0);\n }",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"System.exit(0)",
"System.exit",
"System",
"0",
"if (decimal == null) {\n decimal = new BigDecimal(val);\n } else if (!overflow) {\n decimal = decimal.multiply(new BigDecimal(val));\n if (decimal.compareTo(max) > 0) {\n overflow = true;\n }\n }",
"decimal == null",
"decimal",
"null",
"{\n decimal = new BigDecimal(val);\n }",
"decimal = new BigDecimal(val)",
"decimal",
"new BigDecimal(val)",
"if (!overflow) {\n decimal = decimal.multiply(new BigDecimal(val));\n if (decimal.compareTo(max) > 0) {\n overflow = true;\n }\n }",
"!overflow",
"overflow",
"{\n decimal = decimal.multiply(new BigDecimal(val));\n if (decimal.compareTo(max) > 0) {\n overflow = true;\n }\n }",
"decimal = decimal.multiply(new BigDecimal(val))",
"decimal",
"decimal.multiply(new BigDecimal(val))",
"decimal.multiply",
"decimal",
"new BigDecimal(val)",
"if (decimal.compareTo(max) > 0) {\n overflow = true;\n }",
"decimal.compareTo(max) > 0",
"decimal.compareTo(max)",
"decimal.compareTo",
"decimal",
"max",
"0",
"{\n overflow = true;\n }",
"overflow = true",
"overflow",
"true",
"if (overflow) {\n System.out.println(\"-1\");\n } else {\n System.out.println(decimal);\n }",
"overflow",
"{\n System.out.println(\"-1\");\n }",
"System.out.println(\"-1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"-1\"",
"{\n System.out.println(decimal);\n }",
"System.out.println(decimal)",
"System.out.println",
"System.out",
"System",
"System.out",
"decimal",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n\n BigDecimal max = new BigDecimal(Math.pow(10, 18));\n BigDecimal decimal = null;\n boolean overflow = false;\n\n for (int i = 0; i < n; i++) {\n long val = scanner.nextLong();\n if (val == 0) {\n System.out.println(\"0\");\n System.exit(0);\n }\n if (decimal == null) {\n decimal = new BigDecimal(val);\n } else if (!overflow) {\n decimal = decimal.multiply(new BigDecimal(val));\n if (decimal.compareTo(max) > 0) {\n overflow = true;\n }\n }\n }\n\n if (overflow) {\n System.out.println(\"-1\");\n } else {\n System.out.println(decimal);\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n\n BigDecimal max = new BigDecimal(Math.pow(10, 18));\n BigDecimal decimal = null;\n boolean overflow = false;\n\n for (int i = 0; i < n; i++) {\n long val = scanner.nextLong();\n if (val == 0) {\n System.out.println(\"0\");\n System.exit(0);\n }\n if (decimal == null) {\n decimal = new BigDecimal(val);\n } else if (!overflow) {\n decimal = decimal.multiply(new BigDecimal(val));\n if (decimal.compareTo(max) > 0) {\n overflow = true;\n }\n }\n }\n\n if (overflow) {\n System.out.println(\"-1\");\n } else {\n System.out.println(decimal);\n }\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);
int n = scanner.nextInt();
BigDecimal max = new BigDecimal(Math.pow(10, 18));
BigDecimal decimal = null;
boolean overflow = false;
for (int i = 0; i < n; i++) {
long val = scanner.nextLong();
if (val == 0) {
System.out.println("0");
System.exit(0);
}
if (decimal == null) {
decimal = new BigDecimal(val);
} else if (!overflow) {
decimal = decimal.multiply(new BigDecimal(val));
if (decimal.compareTo(max) > 0) {
overflow = true;
}
}
}
if (overflow) {
System.out.println("-1");
} else {
System.out.println(decimal);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
19,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
17,
18,
13,
13,
30,
4,
18,
18,
13,
13,
40,
17,
29,
0,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
40,
17,
29,
4,
18,
18,
13,
13,
13,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
0,
13,
20,
17,
0,
13,
17,
0,
13,
20,
12,
13,
30,
38,
30,
4,
13,
30,
4,
18,
33,
12,
13,
30,
14,
2,
13,
17,
4,
18,
13,
12,
13,
30,
14,
2,
13,
18,
13,
13,
29,
18,
13,
40,
13,
41,
13,
4,
18,
13,
42,
2,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
17,
0,
13,
17,
29,
18,
13,
40,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
272,
26
],
[
272,
27
],
[
27,
28
],
[
272,
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
],
[
41,
42
],
[
29,
43
],
[
43,
44
],
[
272,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
48,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
61,
63
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
65,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
85,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
91,
98
],
[
55,
99
],
[
99,
100
],
[
99,
101
],
[
55,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
102,
110
],
[
110,
111
],
[
111,
112
],
[
102,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
120,
122
],
[
115,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
129,
130
],
[
123,
131
],
[
114,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
134,
136
],
[
114,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
142,
147
],
[
147,
148
],
[
141,
149
],
[
55,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
150,
155
],
[
272,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
156,
160
],
[
160,
161
],
[
156,
162
],
[
162,
163
],
[
156,
164
],
[
164,
165
],
[
164,
166
],
[
156,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
174
],
[
174,
175
],
[
174,
176
],
[
169,
177
],
[
177,
178
],
[
177,
179
],
[
156,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
183,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
156,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
198
],
[
198,
199
],
[
199,
200
],
[
156,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
207,
209
],
[
204,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
203,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
218,
219
],
[
203,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
220,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
227,
228
],
[
203,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
231,
234
],
[
231,
235
],
[
203,
236
],
[
236,
237
],
[
236,
238
],
[
203,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
156,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
248,
251
],
[
251,
252
],
[
156,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
257,
260
],
[
260,
261
],
[
156,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
266,
269
],
[
269,
270
],
[
0,
271
],
[
271,
272
],
[
271,
273
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.List;\nimport java.math.*;\n\npublic class Main {\n\n private static Scanner sc;\n\n public static void main(final String[] args) {\n final Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null)\n br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length)\n return s[i++];\n String st = br.readLine();\n while (st == \"\")\n st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n\n private void solve() {\n try {\n int n = sc.nextInt();\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i]=sc.nextLong();\n if (a[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n long ans = 1;\n for (int i = 0; i < n; i++) {\n if (ans > (long)1e18 / a[i]) {\n System.out.println(-1);\n return;\n }\n ans *= a[i];\n if (ans > (long)1e18) {\n System.out.println(-1);\n return;\n }\n }\n System.out.println(ans);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n\n private static Scanner sc;\n\n public static void main(final String[] args) {\n final Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null)\n br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length)\n return s[i++];\n String st = br.readLine();\n while (st == \"\")\n st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n\n private void solve() {\n try {\n int n = sc.nextInt();\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i]=sc.nextLong();\n if (a[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n long ans = 1;\n for (int i = 0; i < n; i++) {\n if (ans > (long)1e18 / a[i]) {\n System.out.println(-1);\n return;\n }\n ans *= a[i];\n if (ans > (long)1e18) {\n System.out.println(-1);\n return;\n }\n }\n System.out.println(ans);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n}",
"Main",
"private static Scanner sc;",
"sc",
"public static void main(final String[] args) {\n final Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }",
"main",
"{\n final Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }",
"final Main instance = new Main();",
"instance",
"new Main()",
"sc = instance.new Scanner()",
"sc",
"instance.new Scanner()",
"instance",
"instance",
"instance.solve()",
"instance.solve",
"instance",
"final String[] args",
"args",
"private void solve() {\n try {\n int n = sc.nextInt();\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i]=sc.nextLong();\n if (a[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n long ans = 1;\n for (int i = 0; i < n; i++) {\n if (ans > (long)1e18 / a[i]) {\n System.out.println(-1);\n return;\n }\n ans *= a[i];\n if (ans > (long)1e18) {\n System.out.println(-1);\n return;\n }\n }\n System.out.println(ans);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"solve",
"{\n try {\n int n = sc.nextInt();\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i]=sc.nextLong();\n if (a[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n long ans = 1;\n for (int i = 0; i < n; i++) {\n if (ans > (long)1e18 / a[i]) {\n System.out.println(-1);\n return;\n }\n ans *= a[i];\n if (ans > (long)1e18) {\n System.out.println(-1);\n return;\n }\n }\n System.out.println(ans);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"try {\n int n = sc.nextInt();\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i]=sc.nextLong();\n if (a[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n long ans = 1;\n for (int i = 0; i < n; i++) {\n if (ans > (long)1e18 / a[i]) {\n System.out.println(-1);\n return;\n }\n ans *= a[i];\n if (ans > (long)1e18) {\n System.out.println(-1);\n return;\n }\n }\n System.out.println(ans);\n\n } catch (Exception e) {\n e.printStackTrace();\n }",
"catch (Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n int n = sc.nextInt();\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i]=sc.nextLong();\n if (a[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n long ans = 1;\n for (int i = 0; i < n; i++) {\n if (ans > (long)1e18 / a[i]) {\n System.out.println(-1);\n return;\n }\n ans *= a[i];\n if (ans > (long)1e18) {\n System.out.println(-1);\n return;\n }\n }\n System.out.println(ans);\n\n }",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i]=sc.nextLong();\n if (a[i] == 0) {\n System.out.println(0);\n return;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i]=sc.nextLong();\n if (a[i] == 0) {\n System.out.println(0);\n return;\n }\n }",
"{\n a[i]=sc.nextLong();\n if (a[i] == 0) {\n System.out.println(0);\n return;\n }\n }",
"a[i]=sc.nextLong()",
"a[i]",
"a",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if (a[i] == 0) {\n System.out.println(0);\n return;\n }",
"a[i] == 0",
"a[i]",
"a",
"i",
"0",
"{\n System.out.println(0);\n return;\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"return;",
"long ans = 1;",
"ans",
"1",
"for (int i = 0; i < n; i++) {\n if (ans > (long)1e18 / a[i]) {\n System.out.println(-1);\n return;\n }\n ans *= a[i];\n if (ans > (long)1e18) {\n System.out.println(-1);\n return;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if (ans > (long)1e18 / a[i]) {\n System.out.println(-1);\n return;\n }\n ans *= a[i];\n if (ans > (long)1e18) {\n System.out.println(-1);\n return;\n }\n }",
"{\n if (ans > (long)1e18 / a[i]) {\n System.out.println(-1);\n return;\n }\n ans *= a[i];\n if (ans > (long)1e18) {\n System.out.println(-1);\n return;\n }\n }",
"if (ans > (long)1e18 / a[i]) {\n System.out.println(-1);\n return;\n }",
"ans > (long)1e18 / a[i]",
"ans",
"(long)1e18 / a[i]",
"(long)1e18",
"a[i]",
"a",
"i",
"{\n System.out.println(-1);\n return;\n }",
"System.out.println(-1)",
"System.out.println",
"System.out",
"System",
"System.out",
"-1",
"1",
"return;",
"ans *= a[i]",
"ans",
"a[i]",
"a",
"i",
"if (ans > (long)1e18) {\n System.out.println(-1);\n return;\n }",
"ans > (long)1e18",
"ans",
"(long)1e18",
"{\n System.out.println(-1);\n return;\n }",
"System.out.println(-1)",
"System.out.println",
"System.out",
"System",
"System.out",
"-1",
"1",
"return;",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null)\n br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length)\n return s[i++];\n String st = br.readLine();\n while (st == \"\")\n st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }",
"Scanner",
"String[] s;",
"s",
"int i;",
"i",
"BufferedReader br;",
"br",
"String regex = \" \";",
"regex",
"\" \"",
"public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"Scanner",
"{\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"s = new String[0]",
"s",
"new String[0]",
"0",
"i = 0",
"i",
"0",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"@Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }",
"finalize",
"{\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }",
"try {\n super.finalize();\n } finally {\n destruction();\n }",
"{\n destruction();\n }",
"destruction()",
"destruction",
"{\n super.finalize();\n }",
"super.finalize()",
"super.finalize",
"super",
"private void destruction() throws IOException {\n if (br != null)\n br.close();\n }",
"destruction",
"{\n if (br != null)\n br.close();\n }",
"if (br != null)\n br.close();",
"br != null",
"br",
"null",
"br.close()",
"br.close",
"br",
"public String next() throws IOException {\n if (i < s.length)\n return s[i++];\n String st = br.readLine();\n while (st == \"\")\n st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }",
"next",
"{\n if (i < s.length)\n return s[i++];\n String st = br.readLine();\n while (st == \"\")\n st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }",
"if (i < s.length)\n return s[i++];",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"return s[i++];",
"s[i++]",
"s",
"i++",
"i",
"String st = br.readLine();",
"st",
"br.readLine()",
"br.readLine",
"br",
"while (st == \"\")\n st = br.readLine();",
"st == \"\"",
"st",
"\"\"",
"st = br.readLine()",
"st",
"br.readLine()",
"br.readLine",
"br",
"s = st.split(regex, 0)",
"s",
"st.split(regex, 0)",
"st.split",
"st",
"regex",
"0",
"i = 0",
"i",
"0",
"return s[i++];",
"s[i++]",
"s",
"i++",
"i",
"public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public Double nextDouble() throws NumberFormatException, IOException {\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 private static Scanner sc;\n\n public static void main(final String[] args) {\n final Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null)\n br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length)\n return s[i++];\n String st = br.readLine();\n while (st == \"\")\n st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n\n private void solve() {\n try {\n int n = sc.nextInt();\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i]=sc.nextLong();\n if (a[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n long ans = 1;\n for (int i = 0; i < n; i++) {\n if (ans > (long)1e18 / a[i]) {\n System.out.println(-1);\n return;\n }\n ans *= a[i];\n if (ans > (long)1e18) {\n System.out.println(-1);\n return;\n }\n }\n System.out.println(ans);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n}",
"public class Main {\n\n private static Scanner sc;\n\n public static void main(final String[] args) {\n final Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null)\n br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length)\n return s[i++];\n String st = br.readLine();\n while (st == \"\")\n st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n\n private void solve() {\n try {\n int n = sc.nextInt();\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i]=sc.nextLong();\n if (a[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n long ans = 1;\n for (int i = 0; i < n; i++) {\n if (ans > (long)1e18 / a[i]) {\n System.out.println(-1);\n return;\n }\n ans *= a[i];\n if (ans > (long)1e18) {\n System.out.println(-1);\n return;\n }\n }\n System.out.println(ans);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.math.*;
public class Main {
private static Scanner sc;
public static void main(final String[] args) {
final Main instance = new Main();
sc = instance.new Scanner();
instance.solve();
}
private class Scanner {
String[] s;
int i;
BufferedReader br;
String regex = " ";
public Scanner() {
s = new String[0];
i = 0;
br = new BufferedReader(new InputStreamReader(System.in));
}
@Override
protected void finalize() throws Throwable {
try {
super.finalize();
} finally {
destruction();
}
}
private void destruction() throws IOException {
if (br != null)
br.close();
}
public String next() throws IOException {
if (i < s.length)
return s[i++];
String st = br.readLine();
while (st == "")
st = br.readLine();
s = st.split(regex, 0);
i = 0;
return s[i++];
}
public int nextInt() throws NumberFormatException, IOException {
return Integer.parseInt(next());
}
public Long nextLong() throws NumberFormatException, IOException {
return Long.parseLong(next());
}
public Double nextDouble() throws NumberFormatException, IOException {
return Double.parseDouble(next());
}
}
private void solve() {
try {
int n = sc.nextInt();
long[] a = new long[n];
for (int i = 0; i < n; i++) {
a[i]=sc.nextLong();
if (a[i] == 0) {
System.out.println(0);
return;
}
}
long ans = 1;
for (int i = 0; i < n; i++) {
if (ans > (long)1e18 / a[i]) {
System.out.println(-1);
return;
}
ans *= a[i];
if (ans > (long)1e18) {
System.out.println(-1);
return;
}
}
System.out.println(ans);
} catch (Exception e) {
e.printStackTrace();
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
2,
4,
18,
13,
13,
4,
18,
13,
13,
17,
2,
2,
13,
13,
17,
30,
0,
13,
40,
17,
14,
2,
13,
17,
30,
0,
13,
17,
14,
2,
13,
40,
17,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
93,
5
],
[
93,
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
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
35,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
46,
56
],
[
45,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
44,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
44,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
6,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] |
[
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tlong ans = 1;\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tlong a = Long.parseLong(scan.next());\n\t\t\tif(Math.log10(a) + Math.log10(ans) > 18 || ans*a > 1000000000000000000L){\n\t\t\t\tans = -1;\n\t\t\t}else if(a == 0){\n\t\t\t\tans = 0;\n\t\t\t}else if(ans != -1){\n\t\t\t\tans *= a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(ans);\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\tint n = Integer.parseInt(scan.next());\n\t\tlong ans = 1;\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tlong a = Long.parseLong(scan.next());\n\t\t\tif(Math.log10(a) + Math.log10(ans) > 18 || ans*a > 1000000000000000000L){\n\t\t\t\tans = -1;\n\t\t\t}else if(a == 0){\n\t\t\t\tans = 0;\n\t\t\t}else if(ans != -1){\n\t\t\t\tans *= a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(ans);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tlong ans = 1;\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tlong a = Long.parseLong(scan.next());\n\t\t\tif(Math.log10(a) + Math.log10(ans) > 18 || ans*a > 1000000000000000000L){\n\t\t\t\tans = -1;\n\t\t\t}else if(a == 0){\n\t\t\t\tans = 0;\n\t\t\t}else if(ans != -1){\n\t\t\t\tans *= a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(ans);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tlong ans = 1;\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tlong a = Long.parseLong(scan.next());\n\t\t\tif(Math.log10(a) + Math.log10(ans) > 18 || ans*a > 1000000000000000000L){\n\t\t\t\tans = -1;\n\t\t\t}else if(a == 0){\n\t\t\t\tans = 0;\n\t\t\t}else if(ans != -1){\n\t\t\t\tans *= a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(ans);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = Integer.parseInt(scan.next());",
"n",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"long ans = 1;",
"ans",
"1",
"for(int i = 0;i < n; ++i){\n\t\t\tlong a = Long.parseLong(scan.next());\n\t\t\tif(Math.log10(a) + Math.log10(ans) > 18 || ans*a > 1000000000000000000L){\n\t\t\t\tans = -1;\n\t\t\t}else if(a == 0){\n\t\t\t\tans = 0;\n\t\t\t}else if(ans != -1){\n\t\t\t\tans *= a;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"++i",
"++i",
"i",
"{\n\t\t\tlong a = Long.parseLong(scan.next());\n\t\t\tif(Math.log10(a) + Math.log10(ans) > 18 || ans*a > 1000000000000000000L){\n\t\t\t\tans = -1;\n\t\t\t}else if(a == 0){\n\t\t\t\tans = 0;\n\t\t\t}else if(ans != -1){\n\t\t\t\tans *= a;\n\t\t\t}\n\t\t}",
"{\n\t\t\tlong a = Long.parseLong(scan.next());\n\t\t\tif(Math.log10(a) + Math.log10(ans) > 18 || ans*a > 1000000000000000000L){\n\t\t\t\tans = -1;\n\t\t\t}else if(a == 0){\n\t\t\t\tans = 0;\n\t\t\t}else if(ans != -1){\n\t\t\t\tans *= a;\n\t\t\t}\n\t\t}",
"long a = Long.parseLong(scan.next());",
"a",
"Long.parseLong(scan.next())",
"Long.parseLong",
"Long",
"scan.next()",
"scan.next",
"scan",
"if(Math.log10(a) + Math.log10(ans) > 18 || ans*a > 1000000000000000000L){\n\t\t\t\tans = -1;\n\t\t\t}else if(a == 0){\n\t\t\t\tans = 0;\n\t\t\t}else if(ans != -1){\n\t\t\t\tans *= a;\n\t\t\t}",
"Math.log10(a) + Math.log10(ans) > 18 || ans*a > 1000000000000000000L",
"Math.log10(a) + Math.log10(ans) > 18",
"Math.log10(a) + Math.log10(ans)",
"Math.log10(a)",
"Math.log10",
"Math",
"a",
"Math.log10(ans)",
"Math.log10",
"Math",
"ans",
"18",
"ans*a > 1000000000000000000L",
"ans*a",
"ans",
"a",
"1000000000000000000L",
"{\n\t\t\t\tans = -1;\n\t\t\t}",
"ans = -1",
"ans",
"-1",
"1",
"if(a == 0){\n\t\t\t\tans = 0;\n\t\t\t}else if(ans != -1){\n\t\t\t\tans *= a;\n\t\t\t}",
"a == 0",
"a",
"0",
"{\n\t\t\t\tans = 0;\n\t\t\t}",
"ans = 0",
"ans",
"0",
"if(ans != -1){\n\t\t\t\tans *= a;\n\t\t\t}",
"ans != -1",
"ans",
"-1",
"1",
"{\n\t\t\t\tans *= a;\n\t\t\t}",
"ans *= a",
"ans",
"a",
"System.out.print(ans)",
"System.out.print",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tlong ans = 1;\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tlong a = Long.parseLong(scan.next());\n\t\t\tif(Math.log10(a) + Math.log10(ans) > 18 || ans*a > 1000000000000000000L){\n\t\t\t\tans = -1;\n\t\t\t}else if(a == 0){\n\t\t\t\tans = 0;\n\t\t\t}else if(ans != -1){\n\t\t\t\tans *= a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(ans);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tlong ans = 1;\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tlong a = Long.parseLong(scan.next());\n\t\t\tif(Math.log10(a) + Math.log10(ans) > 18 || ans*a > 1000000000000000000L){\n\t\t\t\tans = -1;\n\t\t\t}else if(a == 0){\n\t\t\t\tans = 0;\n\t\t\t}else if(ans != -1){\n\t\t\t\tans *= a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(ans);\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int n = Integer.parseInt(scan.next());
long ans = 1;
for(int i = 0;i < n; ++i){
long a = Long.parseLong(scan.next());
if(Math.log10(a) + Math.log10(ans) > 18 || ans*a > 1000000000000000000L){
ans = -1;
}else if(a == 0){
ans = 0;
}else if(ans != -1){
ans *= a;
}
}
System.out.print(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
14,
2,
13,
40,
17,
30,
9,
14,
2,
13,
2,
13,
13,
30,
0,
13,
40,
17,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
45,
52
],
[
41,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
53,
58
],
[
58,
59
],
[
53,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
60,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int time = sc.nextInt();\n long ans = 1L;\n long std = 1000000000000000000L;\n for (int i = 0; i < time; i++) {\n long mul = sc.nextLong();\n if(mul == 0){\n System.out.println(0);\n return;\n }else if(ans == -1){\n continue;\n }else if(mul > std / ans){\n ans = -1;\n }else{\n ans *= mul;\n }\n }\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int time = sc.nextInt();\n long ans = 1L;\n long std = 1000000000000000000L;\n for (int i = 0; i < time; i++) {\n long mul = sc.nextLong();\n if(mul == 0){\n System.out.println(0);\n return;\n }else if(ans == -1){\n continue;\n }else if(mul > std / ans){\n ans = -1;\n }else{\n ans *= mul;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int time = sc.nextInt();\n long ans = 1L;\n long std = 1000000000000000000L;\n for (int i = 0; i < time; i++) {\n long mul = sc.nextLong();\n if(mul == 0){\n System.out.println(0);\n return;\n }else if(ans == -1){\n continue;\n }else if(mul > std / ans){\n ans = -1;\n }else{\n ans *= mul;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int time = sc.nextInt();\n long ans = 1L;\n long std = 1000000000000000000L;\n for (int i = 0; i < time; i++) {\n long mul = sc.nextLong();\n if(mul == 0){\n System.out.println(0);\n return;\n }else if(ans == -1){\n continue;\n }else if(mul > std / ans){\n ans = -1;\n }else{\n ans *= mul;\n }\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int time = sc.nextInt();",
"time",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long ans = 1L;",
"ans",
"1L",
"long std = 1000000000000000000L;",
"std",
"1000000000000000000L",
"for (int i = 0; i < time; i++) {\n long mul = sc.nextLong();\n if(mul == 0){\n System.out.println(0);\n return;\n }else if(ans == -1){\n continue;\n }else if(mul > std / ans){\n ans = -1;\n }else{\n ans *= mul;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < time",
"i",
"time",
"i++",
"i++",
"i",
"{\n long mul = sc.nextLong();\n if(mul == 0){\n System.out.println(0);\n return;\n }else if(ans == -1){\n continue;\n }else if(mul > std / ans){\n ans = -1;\n }else{\n ans *= mul;\n }\n }",
"{\n long mul = sc.nextLong();\n if(mul == 0){\n System.out.println(0);\n return;\n }else if(ans == -1){\n continue;\n }else if(mul > std / ans){\n ans = -1;\n }else{\n ans *= mul;\n }\n }",
"long mul = sc.nextLong();",
"mul",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if(mul == 0){\n System.out.println(0);\n return;\n }else if(ans == -1){\n continue;\n }else if(mul > std / ans){\n ans = -1;\n }else{\n ans *= mul;\n }",
"mul == 0",
"mul",
"0",
"{\n System.out.println(0);\n return;\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"return;",
"if(ans == -1){\n continue;\n }else if(mul > std / ans){\n ans = -1;\n }else{\n ans *= mul;\n }",
"ans == -1",
"ans",
"-1",
"1",
"{\n continue;\n }",
"continue;",
"if(mul > std / ans){\n ans = -1;\n }else{\n ans *= mul;\n }",
"mul > std / ans",
"mul",
"std / ans",
"std",
"ans",
"{\n ans = -1;\n }",
"ans = -1",
"ans",
"-1",
"1",
"{\n ans *= mul;\n }",
"ans *= mul",
"ans",
"mul",
"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 int time = sc.nextInt();\n long ans = 1L;\n long std = 1000000000000000000L;\n for (int i = 0; i < time; i++) {\n long mul = sc.nextLong();\n if(mul == 0){\n System.out.println(0);\n return;\n }else if(ans == -1){\n continue;\n }else if(mul > std / ans){\n ans = -1;\n }else{\n ans *= mul;\n }\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int time = sc.nextInt();\n long ans = 1L;\n long std = 1000000000000000000L;\n for (int i = 0; i < time; i++) {\n long mul = sc.nextLong();\n if(mul == 0){\n System.out.println(0);\n return;\n }else if(ans == -1){\n continue;\n }else if(mul > std / ans){\n ans = -1;\n }else{\n ans *= mul;\n }\n }\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int time = sc.nextInt();
long ans = 1L;
long std = 1000000000000000000L;
for (int i = 0; i < time; i++) {
long mul = sc.nextLong();
if(mul == 0){
System.out.println(0);
return;
}else if(ans == -1){
continue;
}else if(mul > std / ans){
ans = -1;
}else{
ans *= mul;
}
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
40,
17,
29,
0,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
107,
5
],
[
107,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
10,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
10,
22
],
[
22,
23
],
[
22,
24
],
[
10,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
46,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
52,
59
],
[
10,
60
],
[
60,
61
],
[
60,
62
],
[
10,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
84,
92
],
[
75,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
10,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
6,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long max = (long) 1e18;\n int N = sc.nextInt();\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n if (A[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n\n long multi = 1;\n for (int i = 0; i < N; i++) {\n if (multi > max / A[i]) {\n System.out.println(-1);\n return;\n }\n multi *= A[i];\n }\n System.out.println(multi);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long max = (long) 1e18;\n int N = sc.nextInt();\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n if (A[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n\n long multi = 1;\n for (int i = 0; i < N; i++) {\n if (multi > max / A[i]) {\n System.out.println(-1);\n return;\n }\n multi *= A[i];\n }\n System.out.println(multi);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long max = (long) 1e18;\n int N = sc.nextInt();\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n if (A[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n\n long multi = 1;\n for (int i = 0; i < N; i++) {\n if (multi > max / A[i]) {\n System.out.println(-1);\n return;\n }\n multi *= A[i];\n }\n System.out.println(multi);\n }\n }",
"main",
"{\n try (Scanner sc = new Scanner(System.in)) {\n long max = (long) 1e18;\n int N = sc.nextInt();\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n if (A[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n\n long multi = 1;\n for (int i = 0; i < N; i++) {\n if (multi > max / A[i]) {\n System.out.println(-1);\n return;\n }\n multi *= A[i];\n }\n System.out.println(multi);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n long max = (long) 1e18;\n int N = sc.nextInt();\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n if (A[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n\n long multi = 1;\n for (int i = 0; i < N; i++) {\n if (multi > max / A[i]) {\n System.out.println(-1);\n return;\n }\n multi *= A[i];\n }\n System.out.println(multi);\n }",
"{\n long max = (long) 1e18;\n int N = sc.nextInt();\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n if (A[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n\n long multi = 1;\n for (int i = 0; i < N; i++) {\n if (multi > max / A[i]) {\n System.out.println(-1);\n return;\n }\n multi *= A[i];\n }\n System.out.println(multi);\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"long max = (long) 1e18;",
"max",
"(long) 1e18",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long[] A = new long[N];",
"A",
"new long[N]",
"N",
"for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n if (A[i] == 0) {\n System.out.println(0);\n return;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n A[i] = sc.nextLong();\n if (A[i] == 0) {\n System.out.println(0);\n return;\n }\n }",
"{\n A[i] = sc.nextLong();\n if (A[i] == 0) {\n System.out.println(0);\n return;\n }\n }",
"A[i] = sc.nextLong()",
"A[i]",
"A",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if (A[i] == 0) {\n System.out.println(0);\n return;\n }",
"A[i] == 0",
"A[i]",
"A",
"i",
"0",
"{\n System.out.println(0);\n return;\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"return;",
"long multi = 1;",
"multi",
"1",
"for (int i = 0; i < N; i++) {\n if (multi > max / A[i]) {\n System.out.println(-1);\n return;\n }\n multi *= A[i];\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n if (multi > max / A[i]) {\n System.out.println(-1);\n return;\n }\n multi *= A[i];\n }",
"{\n if (multi > max / A[i]) {\n System.out.println(-1);\n return;\n }\n multi *= A[i];\n }",
"if (multi > max / A[i]) {\n System.out.println(-1);\n return;\n }",
"multi > max / A[i]",
"multi",
"max / A[i]",
"max",
"A[i]",
"A",
"i",
"{\n System.out.println(-1);\n return;\n }",
"System.out.println(-1)",
"System.out.println",
"System.out",
"System",
"System.out",
"-1",
"1",
"return;",
"multi *= A[i]",
"multi",
"A[i]",
"A",
"i",
"System.out.println(multi)",
"System.out.println",
"System.out",
"System",
"System.out",
"multi",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long max = (long) 1e18;\n int N = sc.nextInt();\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n if (A[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n\n long multi = 1;\n for (int i = 0; i < N; i++) {\n if (multi > max / A[i]) {\n System.out.println(-1);\n return;\n }\n multi *= A[i];\n }\n System.out.println(multi);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long max = (long) 1e18;\n int N = sc.nextInt();\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n if (A[i] == 0) {\n System.out.println(0);\n return;\n }\n }\n\n long multi = 1;\n for (int i = 0; i < N; i++) {\n if (multi > max / A[i]) {\n System.out.println(-1);\n return;\n }\n multi *= A[i];\n }\n System.out.println(multi);\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
long max = (long) 1e18;
int N = sc.nextInt();
long[] A = new long[N];
for (int i = 0; i < N; i++) {
A[i] = sc.nextLong();
if (A[i] == 0) {
System.out.println(0);
return;
}
}
long multi = 1;
for (int i = 0; i < N; i++) {
if (multi > max / A[i]) {
System.out.println(-1);
return;
}
multi *= A[i];
}
System.out.println(multi);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
0,
13,
2,
13,
13,
41,
13,
4,
18,
13,
17,
17,
14,
2,
2,
13,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
40,
17,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
94,
11
],
[
94,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
48,
55
],
[
38,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
14,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
63,
67
],
[
14,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
68,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
12,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int N = sc.nextInt();\n long Ans = 1;\n for (int i =0 ; i < N; i++){\n long a = sc.nextLong();\n if(a ==0 ){\n System.out.println(0);\n return;\n }\n Ans = Ans * a;\n }\n long b = (long)Math.pow(10 , 18);\n if(Ans > b || Ans == 0){\n System.out.println(-1);\n }else{\n System.out.println(Ans);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int N = sc.nextInt();\n long Ans = 1;\n for (int i =0 ; i < N; i++){\n long a = sc.nextLong();\n if(a ==0 ){\n System.out.println(0);\n return;\n }\n Ans = Ans * a;\n }\n long b = (long)Math.pow(10 , 18);\n if(Ans > b || Ans == 0){\n System.out.println(-1);\n }else{\n System.out.println(Ans);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int N = sc.nextInt();\n long Ans = 1;\n for (int i =0 ; i < N; i++){\n long a = sc.nextLong();\n if(a ==0 ){\n System.out.println(0);\n return;\n }\n Ans = Ans * a;\n }\n long b = (long)Math.pow(10 , 18);\n if(Ans > b || Ans == 0){\n System.out.println(-1);\n }else{\n System.out.println(Ans);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int N = sc.nextInt();\n long Ans = 1;\n for (int i =0 ; i < N; i++){\n long a = sc.nextLong();\n if(a ==0 ){\n System.out.println(0);\n return;\n }\n Ans = Ans * a;\n }\n long b = (long)Math.pow(10 , 18);\n if(Ans > b || Ans == 0){\n System.out.println(-1);\n }else{\n System.out.println(Ans);\n }\n }",
"Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"sc",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long Ans = 1;",
"Ans",
"1",
"for (int i =0 ; i < N; i++){\n long a = sc.nextLong();\n if(a ==0 ){\n System.out.println(0);\n return;\n }\n Ans = Ans * a;\n }",
"int i =0 ;",
"int i =0 ;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n long a = sc.nextLong();\n if(a ==0 ){\n System.out.println(0);\n return;\n }\n Ans = Ans * a;\n }",
"{\n long a = sc.nextLong();\n if(a ==0 ){\n System.out.println(0);\n return;\n }\n Ans = Ans * a;\n }",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if(a ==0 ){\n System.out.println(0);\n return;\n }",
"a ==0",
"a",
"0",
"{\n System.out.println(0);\n return;\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"return;",
"Ans = Ans * a",
"Ans",
"Ans * a",
"Ans",
"a",
"long b = (long)Math.pow(10 , 18);",
"b",
"(long)Math.pow(10 , 18)",
"Math.pow",
"Math",
"10",
"18",
"if(Ans > b || Ans == 0){\n System.out.println(-1);\n }else{\n System.out.println(Ans);\n }",
"Ans > b || Ans == 0",
"Ans > b",
"Ans",
"b",
"Ans == 0",
"Ans",
"0",
"{\n System.out.println(-1);\n }",
"System.out.println(-1)",
"System.out.println",
"System.out",
"System",
"System.out",
"-1",
"1",
"{\n System.out.println(Ans);\n }",
"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(new BufferedReader(new InputStreamReader(System.in)));\n int N = sc.nextInt();\n long Ans = 1;\n for (int i =0 ; i < N; i++){\n long a = sc.nextLong();\n if(a ==0 ){\n System.out.println(0);\n return;\n }\n Ans = Ans * a;\n }\n long b = (long)Math.pow(10 , 18);\n if(Ans > b || Ans == 0){\n System.out.println(-1);\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(new BufferedReader(new InputStreamReader(System.in)));\n int N = sc.nextInt();\n long Ans = 1;\n for (int i =0 ; i < N; i++){\n long a = sc.nextLong();\n if(a ==0 ){\n System.out.println(0);\n return;\n }\n Ans = Ans * a;\n }\n long b = (long)Math.pow(10 , 18);\n if(Ans > b || Ans == 0){\n System.out.println(-1);\n }else{\n System.out.println(Ans);\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
int N = sc.nextInt();
long Ans = 1;
for (int i =0 ; i < N; i++){
long a = sc.nextLong();
if(a ==0 ){
System.out.println(0);
return;
}
Ans = Ans * a;
}
long b = (long)Math.pow(10 , 18);
if(Ans > b || Ans == 0){
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,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
0,
13,
20,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
17,
3,
14,
2,
2,
4,
18,
13,
17,
17,
13,
13,
30,
0,
13,
17,
0,
13,
13,
14,
13,
4,
18,
13,
40,
17,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
105,
8
],
[
105,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
50,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
63,
70
],
[
50,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
74,
78
],
[
73,
79
],
[
72,
80
],
[
71,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
71,
85
],
[
85,
86
],
[
85,
87
],
[
11,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
93,
94
],
[
88,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
11,
99
],
[
99,
100
],
[
100,
101
],
[
9,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
] |
[
"import java.util.*;\nimport java.io.*;\npublic class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long n = Long.parseLong(st.nextToken());\n st = new StringTokenizer(br.readLine());\n long prod = 1;\n boolean fail = false;\n for(int i = 0; i < n; i++){\n long next = Long.parseLong(st.nextToken());\n if(next == 0){\n prod = 0;\n fail = false;\n break;\n }\n if(((long)Math.pow(10,18))/prod < next){\n fail = true;\n }\n else\n prod *= next;\n }\n if(fail)\n out.println(-1);\n else\n out.println(prod);\n out.close();\n }\n}\n",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long n = Long.parseLong(st.nextToken());\n st = new StringTokenizer(br.readLine());\n long prod = 1;\n boolean fail = false;\n for(int i = 0; i < n; i++){\n long next = Long.parseLong(st.nextToken());\n if(next == 0){\n prod = 0;\n fail = false;\n break;\n }\n if(((long)Math.pow(10,18))/prod < next){\n fail = true;\n }\n else\n prod *= next;\n }\n if(fail)\n out.println(-1);\n else\n out.println(prod);\n out.close();\n }\n}",
"Main",
"public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long n = Long.parseLong(st.nextToken());\n st = new StringTokenizer(br.readLine());\n long prod = 1;\n boolean fail = false;\n for(int i = 0; i < n; i++){\n long next = Long.parseLong(st.nextToken());\n if(next == 0){\n prod = 0;\n fail = false;\n break;\n }\n if(((long)Math.pow(10,18))/prod < next){\n fail = true;\n }\n else\n prod *= next;\n }\n if(fail)\n out.println(-1);\n else\n out.println(prod);\n out.close();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long n = Long.parseLong(st.nextToken());\n st = new StringTokenizer(br.readLine());\n long prod = 1;\n boolean fail = false;\n for(int i = 0; i < n; i++){\n long next = Long.parseLong(st.nextToken());\n if(next == 0){\n prod = 0;\n fail = false;\n break;\n }\n if(((long)Math.pow(10,18))/prod < next){\n fail = true;\n }\n else\n prod *= next;\n }\n if(fail)\n out.println(-1);\n else\n out.println(prod);\n out.close();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"long n = Long.parseLong(st.nextToken());",
"n",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"long prod = 1;",
"prod",
"1",
"boolean fail = false;",
"fail",
"false",
"for(int i = 0; i < n; i++){\n long next = Long.parseLong(st.nextToken());\n if(next == 0){\n prod = 0;\n fail = false;\n break;\n }\n if(((long)Math.pow(10,18))/prod < next){\n fail = true;\n }\n else\n prod *= next;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n long next = Long.parseLong(st.nextToken());\n if(next == 0){\n prod = 0;\n fail = false;\n break;\n }\n if(((long)Math.pow(10,18))/prod < next){\n fail = true;\n }\n else\n prod *= next;\n }",
"{\n long next = Long.parseLong(st.nextToken());\n if(next == 0){\n prod = 0;\n fail = false;\n break;\n }\n if(((long)Math.pow(10,18))/prod < next){\n fail = true;\n }\n else\n prod *= next;\n }",
"long next = Long.parseLong(st.nextToken());",
"next",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"if(next == 0){\n prod = 0;\n fail = false;\n break;\n }",
"next == 0",
"next",
"0",
"{\n prod = 0;\n fail = false;\n break;\n }",
"prod = 0",
"prod",
"0",
"fail = false",
"fail",
"false",
"break;",
"if(((long)Math.pow(10,18))/prod < next){\n fail = true;\n }\n else\n prod *= next;",
"((long)Math.pow(10,18))/prod < next",
"((long)Math.pow(10,18))/prod",
"((long)Math.pow(10,18))",
"Math.pow",
"Math",
"10",
"18",
"prod",
"next",
"{\n fail = true;\n }",
"fail = true",
"fail",
"true",
"prod *= next",
"prod",
"next",
"if(fail)\n out.println(-1);\n else\n out.println(prod);",
"fail",
"out.println(-1)",
"out.println",
"out",
"-1",
"1",
"out.println(prod)",
"out.println",
"out",
"prod",
"out.close()",
"out.close",
"out",
"String[] main",
"main",
"public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long n = Long.parseLong(st.nextToken());\n st = new StringTokenizer(br.readLine());\n long prod = 1;\n boolean fail = false;\n for(int i = 0; i < n; i++){\n long next = Long.parseLong(st.nextToken());\n if(next == 0){\n prod = 0;\n fail = false;\n break;\n }\n if(((long)Math.pow(10,18))/prod < next){\n fail = true;\n }\n else\n prod *= next;\n }\n if(fail)\n out.println(-1);\n else\n out.println(prod);\n out.close();\n }\n}",
"public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long n = Long.parseLong(st.nextToken());\n st = new StringTokenizer(br.readLine());\n long prod = 1;\n boolean fail = false;\n for(int i = 0; i < n; i++){\n long next = Long.parseLong(st.nextToken());\n if(next == 0){\n prod = 0;\n fail = false;\n break;\n }\n if(((long)Math.pow(10,18))/prod < next){\n fail = true;\n }\n else\n prod *= next;\n }\n if(fail)\n out.println(-1);\n else\n out.println(prod);\n out.close();\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] main) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
PrintWriter out = new PrintWriter(System.out);
long n = Long.parseLong(st.nextToken());
st = new StringTokenizer(br.readLine());
long prod = 1;
boolean fail = false;
for(int i = 0; i < n; i++){
long next = Long.parseLong(st.nextToken());
if(next == 0){
prod = 0;
fail = false;
break;
}
if(((long)Math.pow(10,18))/prod < next){
fail = true;
}
else
prod *= next;
}
if(fail)
out.println(-1);
else
out.println(prod);
out.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
0,
13,
17,
3,
14,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
2,
17,
13,
30,
0,
13,
40,
17,
3,
0,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
101,
5
],
[
101,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
81,
86
],
[
72,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
8,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
6,
98
],
[
98,
99
],
[
0,
100
],
[
100,
101
],
[
100,
102
]
] |
[
"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\tint N = sc.nextInt();\n\t\tlong total = 1;\n\t\tlong input[] = new long[N];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tinput[i] = sc.nextLong();\n\t\t\tif (input[i] == 0) {\n\t\t\t\ttotal = 0;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (total != 0) {\n\t\t\tfor (int i = 0; i < N; i++) {\n\t\t\t\tif (input[i] > 1000000000000000000L / total) {\n\t\t\t\t\ttotal = -1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttotal *= input[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(total);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong total = 1;\n\t\tlong input[] = new long[N];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tinput[i] = sc.nextLong();\n\t\t\tif (input[i] == 0) {\n\t\t\t\ttotal = 0;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (total != 0) {\n\t\t\tfor (int i = 0; i < N; i++) {\n\t\t\t\tif (input[i] > 1000000000000000000L / total) {\n\t\t\t\t\ttotal = -1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttotal *= input[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(total);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong total = 1;\n\t\tlong input[] = new long[N];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tinput[i] = sc.nextLong();\n\t\t\tif (input[i] == 0) {\n\t\t\t\ttotal = 0;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (total != 0) {\n\t\t\tfor (int i = 0; i < N; i++) {\n\t\t\t\tif (input[i] > 1000000000000000000L / total) {\n\t\t\t\t\ttotal = -1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttotal *= input[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(total);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong total = 1;\n\t\tlong input[] = new long[N];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tinput[i] = sc.nextLong();\n\t\t\tif (input[i] == 0) {\n\t\t\t\ttotal = 0;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (total != 0) {\n\t\t\tfor (int i = 0; i < N; i++) {\n\t\t\t\tif (input[i] > 1000000000000000000L / total) {\n\t\t\t\t\ttotal = -1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttotal *= input[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(total);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long total = 1;",
"total",
"1",
"long input[] = new long[N];",
"input",
"new long[N]",
"N",
"for (int i = 0; i < N; i++) {\n\t\t\tinput[i] = sc.nextLong();\n\t\t\tif (input[i] == 0) {\n\t\t\t\ttotal = 0;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t\tinput[i] = sc.nextLong();\n\t\t\tif (input[i] == 0) {\n\t\t\t\ttotal = 0;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tinput[i] = sc.nextLong();\n\t\t\tif (input[i] == 0) {\n\t\t\t\ttotal = 0;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"input[i] = sc.nextLong()",
"input[i]",
"input",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if (input[i] == 0) {\n\t\t\t\ttotal = 0;\n\t\t\t\tbreak;\n\t\t\t}",
"input[i] == 0",
"input[i]",
"input",
"i",
"0",
"{\n\t\t\t\ttotal = 0;\n\t\t\t\tbreak;\n\t\t\t}",
"total = 0",
"total",
"0",
"break;",
"if (total != 0) {\n\t\t\tfor (int i = 0; i < N; i++) {\n\t\t\t\tif (input[i] > 1000000000000000000L / total) {\n\t\t\t\t\ttotal = -1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttotal *= input[i];\n\t\t\t}\n\t\t}",
"total != 0",
"total",
"0",
"{\n\t\t\tfor (int i = 0; i < N; i++) {\n\t\t\t\tif (input[i] > 1000000000000000000L / total) {\n\t\t\t\t\ttotal = -1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttotal *= input[i];\n\t\t\t}\n\t\t}",
"for (int i = 0; i < N; i++) {\n\t\t\t\tif (input[i] > 1000000000000000000L / total) {\n\t\t\t\t\ttotal = -1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttotal *= input[i];\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t\t\tif (input[i] > 1000000000000000000L / total) {\n\t\t\t\t\ttotal = -1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttotal *= input[i];\n\t\t\t}",
"{\n\t\t\t\tif (input[i] > 1000000000000000000L / total) {\n\t\t\t\t\ttotal = -1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttotal *= input[i];\n\t\t\t}",
"if (input[i] > 1000000000000000000L / total) {\n\t\t\t\t\ttotal = -1;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"input[i] > 1000000000000000000L / total",
"input[i]",
"input",
"i",
"1000000000000000000L / total",
"1000000000000000000L",
"total",
"{\n\t\t\t\t\ttotal = -1;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"total = -1",
"total",
"-1",
"1",
"break;",
"total *= input[i]",
"total",
"input[i]",
"input",
"i",
"System.out.println(total)",
"System.out.println",
"System.out",
"System",
"System.out",
"total",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong total = 1;\n\t\tlong input[] = new long[N];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tinput[i] = sc.nextLong();\n\t\t\tif (input[i] == 0) {\n\t\t\t\ttotal = 0;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (total != 0) {\n\t\t\tfor (int i = 0; i < N; i++) {\n\t\t\t\tif (input[i] > 1000000000000000000L / total) {\n\t\t\t\t\ttotal = -1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttotal *= input[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(total);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong total = 1;\n\t\tlong input[] = new long[N];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tinput[i] = sc.nextLong();\n\t\t\tif (input[i] == 0) {\n\t\t\t\ttotal = 0;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (total != 0) {\n\t\t\tfor (int i = 0; i < N; i++) {\n\t\t\t\tif (input[i] > 1000000000000000000L / total) {\n\t\t\t\t\ttotal = -1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttotal *= input[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(total);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
long total = 1;
long input[] = new long[N];
for (int i = 0; i < N; i++) {
input[i] = sc.nextLong();
if (input[i] == 0) {
total = 0;
break;
}
}
if (total != 0) {
for (int i = 0; i < N; i++) {
if (input[i] > 1000000000000000000L / total) {
total = -1;
break;
}
total *= input[i];
}
}
System.out.println(total);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
14,
2,
2,
13,
17,
17,
29,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
29,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
0,
13,
17,
28,
13,
13,
30,
30,
14,
2,
2,
13,
13,
13,
30,
0,
13,
17,
3,
30,
0,
13,
13,
14,
13,
4,
18,
13,
17,
30,
14,
13,
4,
18,
13,
13,
4,
18,
13,
40,
17,
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,
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,
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,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
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,
11,
1,
41,
13,
17,
41,
13,
18,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
2,
13,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
13,
23,
13,
23,
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,
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,
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,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
549,
11
],
[
549,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
15,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
23,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
38,
44
],
[
44,
45
],
[
14,
46
],
[
46,
47
],
[
12,
48
],
[
48,
49
],
[
549,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
52,
59
],
[
59,
60
],
[
59,
61
],
[
52,
62
],
[
62,
63
],
[
62,
64
],
[
52,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
70,
76
],
[
76,
77
],
[
76,
78
],
[
70,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
82,
86
],
[
70,
87
],
[
87,
88
],
[
87,
89
],
[
70,
90
],
[
90,
91
],
[
90,
92
],
[
70,
93
],
[
93,
94
],
[
93,
95
],
[
70,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
101,
103
],
[
96,
104
],
[
104,
105
],
[
105,
106
],
[
96,
107
],
[
108,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
114,
115
],
[
108,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
116,
122
],
[
122,
123
],
[
122,
124
],
[
70,
125
],
[
125,
126
],
[
125,
127
],
[
125,
128
],
[
129,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
130,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
130,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
70,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
145,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
154,
157
],
[
152,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
161,
162
],
[
52,
163
],
[
163,
164
],
[
164,
165
],
[
50,
166
],
[
166,
167
],
[
549,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
168,
172
],
[
172,
173
],
[
172,
174
],
[
168,
176
],
[
176,
177
],
[
168,
178
],
[
178,
179
],
[
168,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
187
],
[
180,
188
],
[
188,
189
],
[
168,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
193,
198
],
[
198,
199
],
[
192,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
208,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
218,
219
],
[
217,
220
],
[
204,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
221,
225
],
[
225,
226
],
[
226,
227
],
[
192,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
168,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
235,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
235,
249
],
[
249,
250
],
[
249,
251
],
[
235,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
256,
261
],
[
261,
262
],
[
261,
263
],
[
263,
264
],
[
235,
265
],
[
265,
266
],
[
265,
267
],
[
235,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
268,
273
],
[
273,
274
],
[
274,
275
],
[
274,
276
],
[
273,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
279,
281
],
[
273,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
235,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
168,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
292,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
297,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
292,
306
],
[
306,
307
],
[
306,
308
],
[
292,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
309,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
313,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
292,
322
],
[
322,
323
],
[
322,
324
],
[
292,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
325,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
330,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
336,
338
],
[
330,
339
],
[
339,
340
],
[
339,
341
],
[
341,
342
],
[
292,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
168,
347
],
[
347,
348
],
[
347,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
349,
354
],
[
354,
355
],
[
355,
356
],
[
356,
357
],
[
356,
358
],
[
354,
359
],
[
359,
360
],
[
359,
361
],
[
354,
362
],
[
362,
363
],
[
363,
364
],
[
354,
365
],
[
366,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
368,
370
],
[
367,
371
],
[
371,
372
],
[
349,
373
],
[
373,
374
],
[
347,
375
],
[
375,
376
],
[
168,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
382,
383
],
[
382,
384
],
[
381,
385
],
[
385,
386
],
[
385,
387
],
[
387,
388
],
[
387,
389
],
[
380,
390
],
[
390,
391
],
[
390,
392
],
[
380,
393
],
[
393,
394
],
[
394,
395
],
[
380,
396
],
[
397,
397
],
[
397,
398
],
[
398,
399
],
[
398,
400
],
[
400,
401
],
[
401,
402
],
[
402,
403
],
[
401,
404
],
[
404,
405
],
[
404,
406
],
[
400,
407
],
[
397,
408
],
[
408,
409
],
[
408,
410
],
[
410,
411
],
[
410,
412
],
[
397,
413
],
[
413,
414
],
[
414,
415
],
[
414,
416
],
[
413,
417
],
[
417,
418
],
[
417,
419
],
[
397,
420
],
[
420,
421
],
[
421,
422
],
[
421,
423
],
[
420,
424
],
[
379,
425
],
[
425,
426
],
[
377,
427
],
[
427,
428
],
[
377,
429
],
[
429,
430
],
[
168,
431
],
[
431,
432
],
[
431,
433
],
[
433,
434
],
[
434,
435
],
[
434,
436
],
[
436,
437
],
[
433,
438
],
[
438,
439
],
[
439,
440
],
[
439,
441
],
[
438,
442
],
[
442,
443
],
[
443,
444
],
[
443,
445
],
[
445,
446
],
[
433,
447
],
[
447,
448
],
[
447,
449
],
[
433,
450
],
[
450,
451
],
[
451,
452
],
[
452,
453
],
[
452,
454
],
[
450,
455
],
[
455,
456
],
[
456,
457
],
[
457,
458
],
[
456,
459
],
[
455,
460
],
[
460,
461
],
[
460,
462
],
[
462,
463
],
[
433,
464
],
[
464,
465
],
[
465,
466
],
[
466,
467
],
[
168,
468
],
[
468,
469
],
[
468,
470
],
[
470,
471
],
[
471,
472
],
[
471,
473
],
[
473,
474
],
[
470,
475
],
[
475,
476
],
[
476,
477
],
[
476,
478
],
[
475,
479
],
[
479,
480
],
[
479,
481
],
[
481,
482
],
[
470,
483
],
[
483,
484
],
[
483,
485
],
[
470,
486
],
[
486,
487
],
[
487,
488
],
[
488,
489
],
[
488,
490
],
[
486,
491
],
[
491,
492
],
[
492,
493
],
[
493,
494
],
[
492,
495
],
[
491,
496
],
[
496,
497
],
[
496,
498
],
[
498,
499
],
[
470,
500
],
[
500,
501
],
[
501,
502
],
[
502,
503
],
[
168,
504
],
[
504,
505
],
[
504,
506
],
[
506,
507
],
[
507,
508
],
[
511,
509
],
[
521,
510
],
[
518,
511
],
[
511,
512
],
[
512,
513
],
[
512,
514
],
[
511,
515
],
[
515,
516
],
[
515,
517
],
[
518,
518
],
[
518,
519
],
[
518,
520
],
[
521,
521
],
[
521,
522
],
[
521,
523
],
[
511,
524
],
[
524,
525
],
[
524,
526
],
[
526,
527
],
[
504,
528
],
[
528,
529
],
[
168,
530
],
[
530,
531
],
[
530,
532
],
[
532,
533
],
[
533,
534
],
[
535,
535
],
[
535,
536
],
[
536,
537
],
[
536,
538
],
[
535,
539
],
[
539,
540
],
[
539,
541
],
[
535,
542
],
[
542,
543
],
[
542,
544
],
[
544,
545
],
[
530,
546
],
[
546,
547
],
[
0,
548
],
[
548,
549
],
[
548,
550
]
] |
[
"import java.io.*;\nimport java.math.BigInteger;\nimport java.util.*;\npublic class Main {\n static int ffact(int n)\n {\n if(n%2==0)\n return 2;\n for(int i=3;i*i<=n;i++)\n {\n if(n%i==0)\n return i;\n }\n return n;\n }\n\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n int n = sc.nextInt();\n long [] ar = new long[n];\n long max = (long)Math.pow(10,18);\n long res = 1;\n boolean flag = true;\n boolean z = false;\n for(int i=0;i<n;i++)\n {\n ar[i] = sc.nextLong();\n if(ar[i]==0)\n z = true;\n }\n\n for(long i : ar)\n {\n if(max/res<i)\n {\n flag = false;\n break;\n }\n else\n {\n res*=i;\n }\n }\n if(z)\n pw.println(0);\n else {\n if (flag)\n pw.println(res);\n else\n pw.println(-1);\n }\n\n }\n pw.close();\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\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\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\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\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\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\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\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 res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\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 (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n static int ffact(int n)\n {\n if(n%2==0)\n return 2;\n for(int i=3;i*i<=n;i++)\n {\n if(n%i==0)\n return i;\n }\n return n;\n }\n\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n int n = sc.nextInt();\n long [] ar = new long[n];\n long max = (long)Math.pow(10,18);\n long res = 1;\n boolean flag = true;\n boolean z = false;\n for(int i=0;i<n;i++)\n {\n ar[i] = sc.nextLong();\n if(ar[i]==0)\n z = true;\n }\n\n for(long i : ar)\n {\n if(max/res<i)\n {\n flag = false;\n break;\n }\n else\n {\n res*=i;\n }\n }\n if(z)\n pw.println(0);\n else {\n if (flag)\n pw.println(res);\n else\n pw.println(-1);\n }\n\n }\n pw.close();\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\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\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\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\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\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\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\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 res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\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 (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}",
"Main",
"static int ffact(int n)\n {\n if(n%2==0)\n return 2;\n for(int i=3;i*i<=n;i++)\n {\n if(n%i==0)\n return i;\n }\n return n;\n }",
"ffact",
"{\n if(n%2==0)\n return 2;\n for(int i=3;i*i<=n;i++)\n {\n if(n%i==0)\n return i;\n }\n return n;\n }",
"if(n%2==0)\n return 2;",
"n%2==0",
"n%2",
"n",
"2",
"0",
"return 2;",
"2",
"for(int i=3;i*i<=n;i++)\n {\n if(n%i==0)\n return i;\n }",
"int i=3;",
"int i=3;",
"i",
"3",
"i*i<=n",
"i*i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(n%i==0)\n return i;\n }",
"{\n if(n%i==0)\n return i;\n }",
"if(n%i==0)\n return i;",
"n%i==0",
"n%i",
"n",
"i",
"0",
"return i;",
"i",
"return n;",
"n",
"int n",
"n",
"public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n int n = sc.nextInt();\n long [] ar = new long[n];\n long max = (long)Math.pow(10,18);\n long res = 1;\n boolean flag = true;\n boolean z = false;\n for(int i=0;i<n;i++)\n {\n ar[i] = sc.nextLong();\n if(ar[i]==0)\n z = true;\n }\n\n for(long i : ar)\n {\n if(max/res<i)\n {\n flag = false;\n break;\n }\n else\n {\n res*=i;\n }\n }\n if(z)\n pw.println(0);\n else {\n if (flag)\n pw.println(res);\n else\n pw.println(-1);\n }\n\n }\n pw.close();\n\n }",
"main",
"{\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n int n = sc.nextInt();\n long [] ar = new long[n];\n long max = (long)Math.pow(10,18);\n long res = 1;\n boolean flag = true;\n boolean z = false;\n for(int i=0;i<n;i++)\n {\n ar[i] = sc.nextLong();\n if(ar[i]==0)\n z = true;\n }\n\n for(long i : ar)\n {\n if(max/res<i)\n {\n flag = false;\n break;\n }\n else\n {\n res*=i;\n }\n }\n if(z)\n pw.println(0);\n else {\n if (flag)\n pw.println(res);\n else\n pw.println(-1);\n }\n\n }\n pw.close();\n\n }",
"InputReader sc = new InputReader(System.in);",
"sc",
"new InputReader(System.in)",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"Random gen = new Random();",
"gen",
"new Random()",
"int test = 1;",
"test",
"1",
"while(test-->0) {\n\n int n = sc.nextInt();\n long [] ar = new long[n];\n long max = (long)Math.pow(10,18);\n long res = 1;\n boolean flag = true;\n boolean z = false;\n for(int i=0;i<n;i++)\n {\n ar[i] = sc.nextLong();\n if(ar[i]==0)\n z = true;\n }\n\n for(long i : ar)\n {\n if(max/res<i)\n {\n flag = false;\n break;\n }\n else\n {\n res*=i;\n }\n }\n if(z)\n pw.println(0);\n else {\n if (flag)\n pw.println(res);\n else\n pw.println(-1);\n }\n\n }",
"test-->0",
"test--",
"test",
"0",
"{\n\n int n = sc.nextInt();\n long [] ar = new long[n];\n long max = (long)Math.pow(10,18);\n long res = 1;\n boolean flag = true;\n boolean z = false;\n for(int i=0;i<n;i++)\n {\n ar[i] = sc.nextLong();\n if(ar[i]==0)\n z = true;\n }\n\n for(long i : ar)\n {\n if(max/res<i)\n {\n flag = false;\n break;\n }\n else\n {\n res*=i;\n }\n }\n if(z)\n pw.println(0);\n else {\n if (flag)\n pw.println(res);\n else\n pw.println(-1);\n }\n\n }",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long [] ar = new long[n];",
"ar",
"new long[n]",
"n",
"long max = (long)Math.pow(10,18);",
"max",
"(long)Math.pow(10,18)",
"Math.pow",
"Math",
"10",
"18",
"long res = 1;",
"res",
"1",
"boolean flag = true;",
"flag",
"true",
"boolean z = false;",
"z",
"false",
"for(int i=0;i<n;i++)\n {\n ar[i] = sc.nextLong();\n if(ar[i]==0)\n z = true;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n ar[i] = sc.nextLong();\n if(ar[i]==0)\n z = true;\n }",
"{\n ar[i] = sc.nextLong();\n if(ar[i]==0)\n z = true;\n }",
"ar[i] = sc.nextLong()",
"ar[i]",
"ar",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if(ar[i]==0)\n z = true;",
"ar[i]==0",
"ar[i]",
"ar",
"i",
"0",
"z = true",
"z",
"true",
"for(long i : ar)\n {\n if(max/res<i)\n {\n flag = false;\n break;\n }\n else\n {\n res*=i;\n }\n }",
"long i",
"ar",
"{\n if(max/res<i)\n {\n flag = false;\n break;\n }\n else\n {\n res*=i;\n }\n }",
"{\n if(max/res<i)\n {\n flag = false;\n break;\n }\n else\n {\n res*=i;\n }\n }",
"if(max/res<i)\n {\n flag = false;\n break;\n }\n else\n {\n res*=i;\n }",
"max/res<i",
"max/res",
"max",
"res",
"i",
"{\n flag = false;\n break;\n }",
"flag = false",
"flag",
"false",
"break;",
"{\n res*=i;\n }",
"res*=i",
"res",
"i",
"if(z)\n pw.println(0);\n else {\n if (flag)\n pw.println(res);\n else\n pw.println(-1);\n }",
"z",
"pw.println(0)",
"pw.println",
"pw",
"0",
"{\n if (flag)\n pw.println(res);\n else\n pw.println(-1);\n }",
"if (flag)\n pw.println(res);\n else\n pw.println(-1);",
"flag",
"pw.println(res)",
"pw.println",
"pw",
"res",
"pw.println(-1)",
"pw.println",
"pw",
"-1",
"1",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\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 res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\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 (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }",
"InputReader",
"private final InputStream stream;",
"stream",
"private final byte[] buf = new byte[8192];",
"buf",
"new byte[8192]",
"8192",
"private int curChar",
"curChar",
"snumChars;",
"snumChars",
"public InputReader(InputStream st) {\n this.stream = st;\n }",
"InputReader",
"{\n this.stream = st;\n }",
"this.stream = st",
"this.stream",
"this",
"this.stream",
"st",
"InputStream st",
"st",
"public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (snumChars == -1)\n throw new InputMismatchException();",
"snumChars == -1",
"snumChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }",
"curChar >= snumChars",
"curChar",
"snumChars",
"{\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n snumChars = 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 snumChars = stream.read(buf);\n }",
"snumChars = stream.read(buf)",
"snumChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (snumChars <= 0)\n return -1;",
"snumChars <= 0",
"snumChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res *= 10;\n res += c - '0';\n c = read();\n }",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n 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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res *= 10;\n res += c - '0';\n c = read();\n }",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public 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",
"public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }",
"shuffle",
"{ for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }",
"for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"int i = 0, n = a.length;",
"int i = 0",
"i",
"0",
"n = a.length;",
"n",
"a.length",
"a",
"a.length",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{ int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"{ int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"int ind = gen.nextInt(n-i)+i;",
"ind",
"gen.nextInt(n-i)+i",
"gen.nextInt(n-i)",
"gen.nextInt",
"gen",
"n-i",
"n",
"i",
"i",
"int d = a[i];",
"d",
"a[i]",
"a",
"i",
"a[i] = a[ind]",
"a[i]",
"a",
"i",
"a[ind]",
"a",
"ind",
"a[ind] = d",
"a[ind]",
"a",
"ind",
"d",
"return a;",
"a",
"int[] a",
"a",
"Random gen",
"gen",
"public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\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 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();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public String nextLine() {\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 (!isEndOfLine(c));\n return res.toString();\n }",
"nextLine",
"{\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 (!isEndOfLine(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 (!isEndOfLine(c));",
"!isEndOfLine(c)",
"isEndOfLine(c)",
"isEndOfLine",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n 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",
"private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"isEndOfLine",
"{\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"return c == '\\n' || c == '\\r' || c == -1;",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public class Main {\n static int ffact(int n)\n {\n if(n%2==0)\n return 2;\n for(int i=3;i*i<=n;i++)\n {\n if(n%i==0)\n return i;\n }\n return n;\n }\n\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n int n = sc.nextInt();\n long [] ar = new long[n];\n long max = (long)Math.pow(10,18);\n long res = 1;\n boolean flag = true;\n boolean z = false;\n for(int i=0;i<n;i++)\n {\n ar[i] = sc.nextLong();\n if(ar[i]==0)\n z = true;\n }\n\n for(long i : ar)\n {\n if(max/res<i)\n {\n flag = false;\n break;\n }\n else\n {\n res*=i;\n }\n }\n if(z)\n pw.println(0);\n else {\n if (flag)\n pw.println(res);\n else\n pw.println(-1);\n }\n\n }\n pw.close();\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\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\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\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\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\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\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\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 res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\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 (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}",
"public class Main {\n static int ffact(int n)\n {\n if(n%2==0)\n return 2;\n for(int i=3;i*i<=n;i++)\n {\n if(n%i==0)\n return i;\n }\n return n;\n }\n\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n int n = sc.nextInt();\n long [] ar = new long[n];\n long max = (long)Math.pow(10,18);\n long res = 1;\n boolean flag = true;\n boolean z = false;\n for(int i=0;i<n;i++)\n {\n ar[i] = sc.nextLong();\n if(ar[i]==0)\n z = true;\n }\n\n for(long i : ar)\n {\n if(max/res<i)\n {\n flag = false;\n break;\n }\n else\n {\n res*=i;\n }\n }\n if(z)\n pw.println(0);\n else {\n if (flag)\n pw.println(res);\n else\n pw.println(-1);\n }\n\n }\n pw.close();\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\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\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\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\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\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\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\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 res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\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 (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}",
"Main"
] |
import java.io.*;
import java.math.BigInteger;
import java.util.*;
public class Main {
static int ffact(int n)
{
if(n%2==0)
return 2;
for(int i=3;i*i<=n;i++)
{
if(n%i==0)
return i;
}
return n;
}
public static void main(String[] args) {
InputReader sc = new InputReader(System.in);
PrintWriter pw = new PrintWriter(System.out);
Random gen = new Random();
int test = 1;//sc.nextInt();
while(test-->0) {
int n = sc.nextInt();
long [] ar = new long[n];
long max = (long)Math.pow(10,18);
long res = 1;
boolean flag = true;
boolean z = false;
for(int i=0;i<n;i++)
{
ar[i] = sc.nextLong();
if(ar[i]==0)
z = true;
}
for(long i : ar)
{
if(max/res<i)
{
flag = false;
break;
}
else
{
res*=i;
}
}
if(z)
pw.println(0);
else {
if (flag)
pw.println(res);
else
pw.println(-1);
}
}
pw.close();
}
static class InputReader {
private final InputStream stream;
private final byte[] buf = new byte[8192];
private int curChar, snumChars;
public InputReader(InputStream st) {
this.stream = st;
}
public int read() {
if (snumChars == -1)
throw new InputMismatchException();
if (curChar >= snumChars) {
curChar = 0;
try {
snumChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (snumChars <= 0)
return -1;
}
return buf[curChar++];
}
public int nextInt() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public long nextLong() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public int[] nextIntArray(int n) {
int [] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = nextInt();
}
return a;
}
public static int[] shuffle(int[] a, Random gen)
{ for(int i = 0, n = a.length;i < n;i++)
{ int ind = gen.nextInt(n-i)+i;
int d = a[i];
a[i] = a[ind];
a[ind] = d;
}
return a;
}
public String readString() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isSpaceChar(c));
return res.toString();
}
public String nextLine() {
int c = read();
while (isSpaceChar(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isEndOfLine(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
private boolean isEndOfLine(int c) {
return c == '\n' || c == '\r' || c == -1;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
0,
13,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
40,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
2,
4,
18,
2,
13,
17,
4,
18,
2,
18,
13,
13,
17,
17,
17,
2,
2,
18,
13,
13,
13,
17,
30,
0,
13,
17,
3,
0,
13,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
3,
14,
13,
4,
13,
17,
14,
13,
4,
13,
13,
4,
13,
40,
17,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
13,
0,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
13,
0,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
39,
17,
17,
17,
11,
1,
41,
13,
17,
2,
13,
2,
17,
13,
1,
40,
13,
30,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
17,
2,
13,
13,
17,
30,
0,
13,
18,
13,
13,
4,
13,
2,
17,
13,
12,
13,
30,
29,
2,
2,
13,
4,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
41,
13,
40,
17,
41,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
2,
13,
17,
30,
0,
13,
13,
0,
13,
4,
18,
13,
13,
3,
14,
2,
2,
13,
40,
17,
2,
13,
17,
30,
29,
17,
41,
13,
2,
13,
17,
41,
13,
2,
4,
18,
13,
17,
41,
13,
40,
17,
41,
13,
18,
13,
13,
11,
1,
41,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
4,
18,
13,
13,
30,
14,
2,
4,
18,
13,
13,
13,
30,
0,
13,
4,
18,
13,
13,
0,
13,
13,
4,
18,
13,
13,
13,
13,
4,
18,
13,
4,
18,
13,
13,
2,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
29,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
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
],
[
570,
23
],
[
570,
24
],
[
24,
25
],
[
24,
26
],
[
570,
27
],
[
27,
28
],
[
27,
29
],
[
570,
30
],
[
30,
31
],
[
30,
32
],
[
570,
33
],
[
33,
34
],
[
33,
35
],
[
570,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
38,
47
],
[
47,
48
],
[
47,
49
],
[
38,
50
],
[
50,
51
],
[
50,
52
],
[
38,
54
],
[
54,
55
],
[
54,
56
],
[
38,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
57,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
77,
83
],
[
83,
84
],
[
83,
85
],
[
38,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
86,
97
],
[
97,
98
],
[
98,
99
],
[
86,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
106,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
105,
119
],
[
104,
120
],
[
103,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
121,
127
],
[
102,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
101,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
135,
137
],
[
101,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
143,
144
],
[
143,
145
],
[
138,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
38,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
151,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
158,
160
],
[
156,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
36,
165
],
[
165,
166
],
[
570,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
173,
178
],
[
178,
179
],
[
178,
180
],
[
173,
181
],
[
181,
182
],
[
182,
183
],
[
173,
184
],
[
185,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
185,
189
],
[
189,
190
],
[
189,
191
],
[
169,
192
],
[
192,
193
],
[
167,
194
],
[
194,
195
],
[
570,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
202,
207
],
[
207,
208
],
[
207,
209
],
[
202,
210
],
[
210,
211
],
[
211,
212
],
[
202,
213
],
[
214,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
218
],
[
218,
219
],
[
218,
220
],
[
198,
221
],
[
221,
222
],
[
196,
223
],
[
223,
224
],
[
196,
225
],
[
225,
226
],
[
570,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
235,
237
],
[
235,
238
],
[
229,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
239,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
246,
248
],
[
239,
249
],
[
249,
250
],
[
250,
251
],
[
239,
252
],
[
253,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
253,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
257,
262
],
[
262,
263
],
[
262,
264
],
[
257,
265
],
[
265,
266
],
[
266,
267
],
[
257,
268
],
[
269,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
274,
276
],
[
271,
277
],
[
270,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
281,
283
],
[
253,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
286,
288
],
[
570,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
296,
298
],
[
296,
299
],
[
293,
300
],
[
289,
301
],
[
301,
302
],
[
289,
303
],
[
303,
304
],
[
570,
305
],
[
305,
306
],
[
305,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
309,
313
],
[
309,
314
],
[
314,
315
],
[
314,
316
],
[
314,
317
],
[
317,
318
],
[
317,
319
],
[
305,
320
],
[
320,
321
],
[
305,
322
],
[
322,
323
],
[
570,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
326,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
330,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
338,
339
],
[
330,
340
],
[
340,
341
],
[
341,
342
],
[
330,
343
],
[
344,
344
],
[
344,
345
],
[
345,
346
],
[
346,
347
],
[
345,
348
],
[
348,
349
],
[
349,
350
],
[
348,
351
],
[
326,
352
],
[
352,
353
],
[
352,
354
],
[
354,
355
],
[
326,
356
],
[
356,
357
],
[
356,
358
],
[
326,
359
],
[
359,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
363,
364
],
[
364,
365
],
[
365,
366
],
[
363,
367
],
[
359,
368
],
[
368,
369
],
[
368,
370
],
[
359,
371
],
[
371,
372
],
[
372,
373
],
[
359,
374
],
[
375,
375
],
[
375,
376
],
[
376,
377
],
[
377,
378
],
[
378,
379
],
[
379,
380
],
[
378,
381
],
[
377,
382
],
[
382,
383
],
[
383,
384
],
[
382,
385
],
[
385,
386
],
[
385,
387
],
[
376,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
388,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
395,
396
],
[
394,
397
],
[
388,
398
],
[
326,
399
],
[
399,
400
],
[
400,
401
],
[
401,
402
],
[
401,
403
],
[
403,
404
],
[
400,
405
],
[
405,
406
],
[
405,
407
],
[
399,
408
],
[
408,
409
],
[
409,
410
],
[
326,
411
],
[
411,
412
],
[
411,
413
],
[
413,
414
],
[
413,
415
],
[
326,
416
],
[
416,
417
],
[
416,
418
],
[
418,
419
],
[
419,
420
],
[
420,
421
],
[
418,
422
],
[
326,
423
],
[
423,
424
],
[
423,
425
],
[
425,
426
],
[
326,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
429,
431
],
[
326,
432
],
[
432,
433
],
[
433,
434
],
[
434,
435
],
[
434,
436
],
[
432,
437
],
[
437,
438
],
[
437,
439
],
[
432,
440
],
[
440,
441
],
[
441,
442
],
[
432,
443
],
[
444,
444
],
[
444,
445
],
[
445,
446
],
[
446,
447
],
[
446,
448
],
[
448,
449
],
[
449,
450
],
[
448,
451
],
[
445,
452
],
[
452,
453
],
[
453,
454
],
[
454,
455
],
[
455,
456
],
[
456,
457
],
[
455,
458
],
[
454,
459
],
[
453,
460
],
[
460,
461
],
[
461,
462
],
[
461,
463
],
[
463,
464
],
[
464,
465
],
[
463,
466
],
[
460,
467
],
[
467,
468
],
[
467,
469
],
[
326,
470
],
[
470,
471
],
[
471,
472
],
[
470,
473
],
[
470,
474
],
[
470,
475
],
[
326,
476
],
[
476,
477
],
[
477,
478
],
[
476,
479
],
[
479,
480
],
[
480,
481
],
[
479,
482
],
[
479,
483
],
[
483,
484
],
[
483,
485
],
[
326,
486
],
[
486,
487
],
[
486,
488
],
[
326,
489
],
[
489,
490
],
[
490,
491
],
[
491,
492
],
[
491,
493
],
[
489,
494
],
[
494,
495
],
[
494,
496
],
[
496,
497
],
[
497,
498
],
[
489,
499
],
[
499,
500
],
[
500,
501
],
[
489,
502
],
[
503,
503
],
[
503,
504
],
[
504,
505
],
[
505,
506
],
[
504,
507
],
[
507,
508
],
[
508,
509
],
[
507,
510
],
[
326,
511
],
[
511,
512
],
[
512,
513
],
[
513,
514
],
[
324,
515
],
[
515,
516
],
[
570,
517
],
[
517,
518
],
[
517,
519
],
[
519,
520
],
[
520,
521
],
[
521,
522
],
[
522,
523
],
[
522,
524
],
[
520,
525
],
[
517,
526
],
[
526,
527
],
[
570,
528
],
[
528,
529
],
[
528,
530
],
[
530,
531
],
[
531,
532
],
[
532,
533
],
[
533,
534
],
[
533,
535
],
[
531,
536
],
[
528,
537
],
[
537,
538
],
[
570,
539
],
[
539,
540
],
[
539,
541
],
[
541,
542
],
[
542,
543
],
[
543,
544
],
[
544,
545
],
[
544,
546
],
[
570,
547
],
[
547,
548
],
[
547,
549
],
[
549,
550
],
[
550,
551
],
[
551,
552
],
[
552,
553
],
[
552,
554
],
[
550,
555
],
[
547,
556
],
[
556,
557
],
[
570,
558
],
[
558,
559
],
[
558,
560
],
[
560,
561
],
[
561,
562
],
[
562,
563
],
[
563,
564
],
[
563,
565
],
[
561,
566
],
[
558,
567
],
[
567,
568
],
[
0,
569
],
[
569,
570
],
[
569,
571
]
] |
[
"import java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.Deque;\nimport java.util.Queue;\nimport java.util.Scanner;\n \n\n\npublic class Main {\n\tprivate static Scanner sc = new Scanner(System.in);\n\t//StringBuffer S = new StringBuffer(sc.next());\n\t//String hoge2 = str.reverse().toString();\n\t//map.containsKey(A)\n\t//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);\n\t/*for ( キーのデータ型 key : マップの名前.keySet() ) {\n\t\tデータのデータ型 data = マップの名前.get( key );\n\t\t\n\t\t// keyやdataを使った処理;\n\t}*/\n\t//int i = Integer.parseInt(s);\n\t//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek\n\t//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意\n\t//ArrayList<Integer> cc = new ArrayList<>(N);\n\t//cc.contains(tmp)\n\t//Arrays.asList(c).contains(\"a\")\n\t//list.set(1,\"walk\");//1 1 2 3 5\n\tstatic long mod =1000000007;\n\tstatic long longINF=1000000000000000007L;\n\tstatic int INF=1000000007;\n\n\t\n\tpublic static void main(String[] args) {\n\t\t//StringBuffer str = new StringBuffer(sc.nextInt());\n\t\t//for(int i=0;i<N;i++) {}\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tint N=sc.nextInt();\n\t\tboolean xx=false;\n\t\tlong s=1;\n\t\tlong a[]=new long[N];\n\t\tboolean x=true;\n\t\tfor(int i=0;i<N;i++) \n\t\t{a[i]=sc.nextLong();\n\t\tif(a[i]==0)xx=true;\n\t\t}\n\t\tfor(int i=0;i<N&&!xx;i++) {\n\t\t\t//p((s+\"\").length()+(a[i]+\"\").length()-1);\n\t\t\tif((s+\"\").length()+(a[i]+\"\").length()-1>18&&(a[i]*s!=1000000000000000000L)) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ts*=a[i];\n\t\t\t\n\t\t\tif(s>1000000000000000000L||s<0) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\tif(xx)p(0);\n\t\telse if(x)p(s);\n\t\telse p(-1);\n\t\t\n\t\t//String S=sc.next();\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\n\t\n\t\n\tstatic long bi(int i) {\n\t\tlong t=1;\n\t\tfor(int a=1;a<=i;a++) {\n\t\t\tt*=a;\n\t\t\tt%=mod;\n\t\t}\n\t\treturn t;\n\t}\n\tpublic static long modPow(long g,long N) {\n\t\tlong T=1;\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tT*=g;\n\t\t\tT%=mod;\n\t\t}\n\t\treturn T;\n\t}\n\tstatic void bit() {\n\t\tint n=3;\n\t\tString[] ar = {\"a\",\"b\",\"c\"};\n\t\tfor(int i =0;i<(1<<n);i++) {\n\t\t\tString S=\"\";\n\t\t\tfor(int j=0;j<n;j++) {\n\t\t\t\tif((1&i>>j)==1) {\n\t\t\t\t\tS+=ar[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\tp(\"S=\"+S);\n\t\t}\n\t}\n\tpublic static long lcm(long a, long b) {\n return a / gcd(a, b) * b;\n\t}\n\t\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tstatic String nextPermutation(String s) {\n\t\tArrayList<Character> list=new ArrayList<>();\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tlist.add(s.charAt(i));\n\t\t}\n\t\tint pivotPos=-1;\n\t\tchar pivot=0;\n\t\tfor(int i=list.size()-2;i>=0;i--) {\n\t\t\tif(list.get(i)<list.get(i+1)) {\n\t\t\t\tpivotPos=i;\n\t\t\t\tpivot=list.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(pivotPos==-1&&pivot==0) {\n\t\t\treturn \"Final\";\n\t\t}\n\t\tint L=pivotPos+1,R=list.size()-1;\n\t\t\n\t\t\n\t\t\n\t\tint minPos=-1;\n\t\tchar min =Character.MAX_VALUE;\n\t\t\n\t\tfor(int i=R;i>=L;i--) {\n\t\t\tif(pivot<list.get(i)) {\n\t\t\t\tif(list.get(i)<min) {\n\t\t\t\t\tmin=list.get(i);\n\t\t\t\t\tminPos=i;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.swap(list, pivotPos, minPos);\n\t\tCollections.sort(list.subList(L, R+1));\n\t\t\n\t\t\n\t\tStringBuilder sb=new StringBuilder();\n\t\tfor(int i=0;i<list.size();i++) {\n\t\t\tsb.append(list.get(i));\n\t\t}\n\t\treturn sb.toString();\n\t}\n\t\n\n\n\t\n\tstatic void p(String ans) {System.out.println(ans);};\n\tstatic void p(int ans) {System.out.println(ans);};\n\tstatic void p() {System.out.println();};\n\tstatic void p(long ans) {System.out.println(ans);};\n\tstatic void p(double ans) {System.out.println(ans);};\n\t\n}\n\t",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Deque;",
"Deque",
"java.util",
"import java.util.Queue;",
"Queue",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tprivate static Scanner sc = new Scanner(System.in);\n\t//StringBuffer S = new StringBuffer(sc.next());\n\t//String hoge2 = str.reverse().toString();\n\t//map.containsKey(A)\n\t//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);\n\t/*for ( キーのデータ型 key : マップの名前.keySet() ) {\n\t\tデータのデータ型 data = マップの名前.get( key );\n\t\t\n\t\t// keyやdataを使った処理;\n\t}*/\n\t//int i = Integer.parseInt(s);\n\t//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek\n\t//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意\n\t//ArrayList<Integer> cc = new ArrayList<>(N);\n\t//cc.contains(tmp)\n\t//Arrays.asList(c).contains(\"a\")\n\t//list.set(1,\"walk\");//1 1 2 3 5\n\tstatic long mod =1000000007;\n\tstatic long longINF=1000000000000000007L;\n\tstatic int INF=1000000007;\n\n\t\n\tpublic static void main(String[] args) {\n\t\t//StringBuffer str = new StringBuffer(sc.nextInt());\n\t\t//for(int i=0;i<N;i++) {}\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tint N=sc.nextInt();\n\t\tboolean xx=false;\n\t\tlong s=1;\n\t\tlong a[]=new long[N];\n\t\tboolean x=true;\n\t\tfor(int i=0;i<N;i++) \n\t\t{a[i]=sc.nextLong();\n\t\tif(a[i]==0)xx=true;\n\t\t}\n\t\tfor(int i=0;i<N&&!xx;i++) {\n\t\t\t//p((s+\"\").length()+(a[i]+\"\").length()-1);\n\t\t\tif((s+\"\").length()+(a[i]+\"\").length()-1>18&&(a[i]*s!=1000000000000000000L)) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ts*=a[i];\n\t\t\t\n\t\t\tif(s>1000000000000000000L||s<0) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\tif(xx)p(0);\n\t\telse if(x)p(s);\n\t\telse p(-1);\n\t\t\n\t\t//String S=sc.next();\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\n\t\n\t\n\tstatic long bi(int i) {\n\t\tlong t=1;\n\t\tfor(int a=1;a<=i;a++) {\n\t\t\tt*=a;\n\t\t\tt%=mod;\n\t\t}\n\t\treturn t;\n\t}\n\tpublic static long modPow(long g,long N) {\n\t\tlong T=1;\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tT*=g;\n\t\t\tT%=mod;\n\t\t}\n\t\treturn T;\n\t}\n\tstatic void bit() {\n\t\tint n=3;\n\t\tString[] ar = {\"a\",\"b\",\"c\"};\n\t\tfor(int i =0;i<(1<<n);i++) {\n\t\t\tString S=\"\";\n\t\t\tfor(int j=0;j<n;j++) {\n\t\t\t\tif((1&i>>j)==1) {\n\t\t\t\t\tS+=ar[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\tp(\"S=\"+S);\n\t\t}\n\t}\n\tpublic static long lcm(long a, long b) {\n return a / gcd(a, b) * b;\n\t}\n\t\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tstatic String nextPermutation(String s) {\n\t\tArrayList<Character> list=new ArrayList<>();\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tlist.add(s.charAt(i));\n\t\t}\n\t\tint pivotPos=-1;\n\t\tchar pivot=0;\n\t\tfor(int i=list.size()-2;i>=0;i--) {\n\t\t\tif(list.get(i)<list.get(i+1)) {\n\t\t\t\tpivotPos=i;\n\t\t\t\tpivot=list.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(pivotPos==-1&&pivot==0) {\n\t\t\treturn \"Final\";\n\t\t}\n\t\tint L=pivotPos+1,R=list.size()-1;\n\t\t\n\t\t\n\t\t\n\t\tint minPos=-1;\n\t\tchar min =Character.MAX_VALUE;\n\t\t\n\t\tfor(int i=R;i>=L;i--) {\n\t\t\tif(pivot<list.get(i)) {\n\t\t\t\tif(list.get(i)<min) {\n\t\t\t\t\tmin=list.get(i);\n\t\t\t\t\tminPos=i;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.swap(list, pivotPos, minPos);\n\t\tCollections.sort(list.subList(L, R+1));\n\t\t\n\t\t\n\t\tStringBuilder sb=new StringBuilder();\n\t\tfor(int i=0;i<list.size();i++) {\n\t\t\tsb.append(list.get(i));\n\t\t}\n\t\treturn sb.toString();\n\t}\n\t\n\n\n\t\n\tstatic void p(String ans) {System.out.println(ans);};\n\tstatic void p(int ans) {System.out.println(ans);};\n\tstatic void p() {System.out.println();};\n\tstatic void p(long ans) {System.out.println(ans);};\n\tstatic void p(double ans) {System.out.println(ans);};\n\t\n}",
"Main",
"private static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"//StringBuffer S = new StringBuffer(sc.next());\n\t//String hoge2 = str.reverse().toString();\n\t//map.containsKey(A)\n\t//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);\n\t/*for ( キーのデータ型 key : マップの名前.keySet() ) {\n\t\tデータのデータ型 data = マップの名前.get( key );\n\t\t\n\t\t// keyやdataを使った処理;\n\t}*/\n\t//int i = Integer.parseInt(s);\n\t//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek\n\t//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意\n\t//ArrayList<Integer> cc = new ArrayList<>(N);\n\t//cc.contains(tmp)\n\t//Arrays.asList(c).contains(\"a\")\n\t//list.set(1,\"walk\");//1 1 2 3 5\n\tstatic long mod =1000000007;",
"mod",
"1000000007",
"static long longINF=1000000000000000007L;",
"longINF",
"1000000000000000007L",
"static int INF=1000000007;",
"INF",
"1000000007",
"public static void main(String[] args) {\n\t\t//StringBuffer str = new StringBuffer(sc.nextInt());\n\t\t//for(int i=0;i<N;i++) {}\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tint N=sc.nextInt();\n\t\tboolean xx=false;\n\t\tlong s=1;\n\t\tlong a[]=new long[N];\n\t\tboolean x=true;\n\t\tfor(int i=0;i<N;i++) \n\t\t{a[i]=sc.nextLong();\n\t\tif(a[i]==0)xx=true;\n\t\t}\n\t\tfor(int i=0;i<N&&!xx;i++) {\n\t\t\t//p((s+\"\").length()+(a[i]+\"\").length()-1);\n\t\t\tif((s+\"\").length()+(a[i]+\"\").length()-1>18&&(a[i]*s!=1000000000000000000L)) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ts*=a[i];\n\t\t\t\n\t\t\tif(s>1000000000000000000L||s<0) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\tif(xx)p(0);\n\t\telse if(x)p(s);\n\t\telse p(-1);\n\t\t\n\t\t//String S=sc.next();\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\t//StringBuffer str = new StringBuffer(sc.nextInt());\n\t\t//for(int i=0;i<N;i++) {}\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tint N=sc.nextInt();\n\t\tboolean xx=false;\n\t\tlong s=1;\n\t\tlong a[]=new long[N];\n\t\tboolean x=true;\n\t\tfor(int i=0;i<N;i++) \n\t\t{a[i]=sc.nextLong();\n\t\tif(a[i]==0)xx=true;\n\t\t}\n\t\tfor(int i=0;i<N&&!xx;i++) {\n\t\t\t//p((s+\"\").length()+(a[i]+\"\").length()-1);\n\t\t\tif((s+\"\").length()+(a[i]+\"\").length()-1>18&&(a[i]*s!=1000000000000000000L)) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ts*=a[i];\n\t\t\t\n\t\t\tif(s>1000000000000000000L||s<0) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\tif(xx)p(0);\n\t\telse if(x)p(s);\n\t\telse p(-1);\n\t\t\n\t\t//String S=sc.next();\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}",
"int N=sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"boolean xx=false;",
"xx",
"false",
"long s=1;",
"s",
"1",
"long a[]=new long[N];",
"a",
"new long[N]",
"N",
"boolean x=true;",
"x",
"true",
"for(int i=0;i<N;i++) \n\t\t{a[i]=sc.nextLong();\n\t\tif(a[i]==0)xx=true;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{a[i]=sc.nextLong();\n\t\tif(a[i]==0)xx=true;\n\t\t}",
"{a[i]=sc.nextLong();\n\t\tif(a[i]==0)xx=true;\n\t\t}",
"a[i]=sc.nextLong()",
"a[i]",
"a",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if(a[i]==0)xx=true;",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"xx=true",
"xx",
"true",
"for(int i=0;i<N&&!xx;i++) {\n\t\t\t//p((s+\"\").length()+(a[i]+\"\").length()-1);\n\t\t\tif((s+\"\").length()+(a[i]+\"\").length()-1>18&&(a[i]*s!=1000000000000000000L)) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ts*=a[i];\n\t\t\t\n\t\t\tif(s>1000000000000000000L||s<0) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N&&!xx",
"i<N",
"i",
"N",
"!xx",
"xx",
"i++",
"i++",
"i",
"{\n\t\t\t//p((s+\"\").length()+(a[i]+\"\").length()-1);\n\t\t\tif((s+\"\").length()+(a[i]+\"\").length()-1>18&&(a[i]*s!=1000000000000000000L)) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ts*=a[i];\n\t\t\t\n\t\t\tif(s>1000000000000000000L||s<0) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}",
"{\n\t\t\t//p((s+\"\").length()+(a[i]+\"\").length()-1);\n\t\t\tif((s+\"\").length()+(a[i]+\"\").length()-1>18&&(a[i]*s!=1000000000000000000L)) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ts*=a[i];\n\t\t\t\n\t\t\tif(s>1000000000000000000L||s<0) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}",
"if((s+\"\").length()+(a[i]+\"\").length()-1>18&&(a[i]*s!=1000000000000000000L)) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}",
"(s+\"\").length()+(a[i]+\"\").length()-1>18&&(a[i]*s!=1000000000000000000L)",
"(s+\"\").length()+(a[i]+\"\").length()-1>18",
"(s+\"\").length()+(a[i]+\"\").length()-1",
"(s+\"\").length()+(a[i]+\"\").length()",
"(s+\"\").length()",
"(s+\"\").length",
"(s+\"\")",
"s",
"\"\"",
"(a[i]+\"\").length()",
"(a[i]+\"\").length",
"(a[i]+\"\")",
"a[i]",
"a",
"i",
"\"\"",
"1",
"18",
"(a[i]*s!=1000000000000000000L)",
"a[i]*s",
"a[i]",
"a",
"i",
"s",
"1000000000000000000L",
"{\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}",
"x=false",
"x",
"false",
"break;",
"s*=a[i]",
"s",
"a[i]",
"a",
"i",
"if(s>1000000000000000000L||s<0) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}",
"s>1000000000000000000L||s<0",
"s>1000000000000000000L",
"s",
"1000000000000000000L",
"s<0",
"s",
"0",
"{\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}",
"x=false",
"x",
"false",
"break;",
"if(xx)p(0);\n\t\telse if(x)p(s);\n\t\telse p(-1);",
"xx",
"p(0)",
"p",
"0",
"if(x)p(s);\n\t\telse p(-1);",
"x",
"p(s)",
"p",
"s",
"p(-1)",
"p",
"-1",
"1",
"String[] args",
"args",
"static long bi(int i) {\n\t\tlong t=1;\n\t\tfor(int a=1;a<=i;a++) {\n\t\t\tt*=a;\n\t\t\tt%=mod;\n\t\t}\n\t\treturn t;\n\t}",
"bi",
"{\n\t\tlong t=1;\n\t\tfor(int a=1;a<=i;a++) {\n\t\t\tt*=a;\n\t\t\tt%=mod;\n\t\t}\n\t\treturn t;\n\t}",
"long t=1;",
"t",
"1",
"for(int a=1;a<=i;a++) {\n\t\t\tt*=a;\n\t\t\tt%=mod;\n\t\t}",
"int a=1;",
"int a=1;",
"a",
"1",
"a<=i",
"a",
"i",
"a++",
"a++",
"a",
"{\n\t\t\tt*=a;\n\t\t\tt%=mod;\n\t\t}",
"{\n\t\t\tt*=a;\n\t\t\tt%=mod;\n\t\t}",
"t*=a",
"t",
"a",
"t%=mod",
"t",
"mod",
"return t;",
"t",
"int i",
"i",
"public static long modPow(long g,long N) {\n\t\tlong T=1;\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tT*=g;\n\t\t\tT%=mod;\n\t\t}\n\t\treturn T;\n\t}",
"modPow",
"{\n\t\tlong T=1;\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tT*=g;\n\t\t\tT%=mod;\n\t\t}\n\t\treturn T;\n\t}",
"long T=1;",
"T",
"1",
"for(int i=0;i<N;i++) {\n\t\t\tT*=g;\n\t\t\tT%=mod;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t\tT*=g;\n\t\t\tT%=mod;\n\t\t}",
"{\n\t\t\tT*=g;\n\t\t\tT%=mod;\n\t\t}",
"T*=g",
"T",
"g",
"T%=mod",
"T",
"mod",
"return T;",
"T",
"long g",
"g",
"long N",
"N",
"static void bit() {\n\t\tint n=3;\n\t\tString[] ar = {\"a\",\"b\",\"c\"};\n\t\tfor(int i =0;i<(1<<n);i++) {\n\t\t\tString S=\"\";\n\t\t\tfor(int j=0;j<n;j++) {\n\t\t\t\tif((1&i>>j)==1) {\n\t\t\t\t\tS+=ar[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\tp(\"S=\"+S);\n\t\t}\n\t}",
"bit",
"{\n\t\tint n=3;\n\t\tString[] ar = {\"a\",\"b\",\"c\"};\n\t\tfor(int i =0;i<(1<<n);i++) {\n\t\t\tString S=\"\";\n\t\t\tfor(int j=0;j<n;j++) {\n\t\t\t\tif((1&i>>j)==1) {\n\t\t\t\t\tS+=ar[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\tp(\"S=\"+S);\n\t\t}\n\t}",
"int n=3;",
"n",
"3",
"String[] ar = {\"a\",\"b\",\"c\"};",
"ar",
"{\"a\",\"b\",\"c\"}",
"\"a\"",
"\"b\"",
"\"c\"",
"for(int i =0;i<(1<<n);i++) {\n\t\t\tString S=\"\";\n\t\t\tfor(int j=0;j<n;j++) {\n\t\t\t\tif((1&i>>j)==1) {\n\t\t\t\t\tS+=ar[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\tp(\"S=\"+S);\n\t\t}",
"int i =0;",
"int i =0;",
"i",
"0",
"i<(1<<n)",
"i",
"(1<<n)",
"1",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tString S=\"\";\n\t\t\tfor(int j=0;j<n;j++) {\n\t\t\t\tif((1&i>>j)==1) {\n\t\t\t\t\tS+=ar[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\tp(\"S=\"+S);\n\t\t}",
"{\n\t\t\tString S=\"\";\n\t\t\tfor(int j=0;j<n;j++) {\n\t\t\t\tif((1&i>>j)==1) {\n\t\t\t\t\tS+=ar[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\tp(\"S=\"+S);\n\t\t}",
"String S=\"\";",
"S",
"\"\"",
"for(int j=0;j<n;j++) {\n\t\t\t\tif((1&i>>j)==1) {\n\t\t\t\t\tS+=ar[j];\n\t\t\t\t}\n\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<n",
"j",
"n",
"j++",
"j++",
"j",
"{\n\t\t\t\tif((1&i>>j)==1) {\n\t\t\t\t\tS+=ar[j];\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif((1&i>>j)==1) {\n\t\t\t\t\tS+=ar[j];\n\t\t\t\t}\n\t\t\t}",
"if((1&i>>j)==1) {\n\t\t\t\t\tS+=ar[j];\n\t\t\t\t}",
"(1&i>>j)==1",
"(1&i>>j)",
"1",
"i>>j",
"i",
"j",
"1",
"{\n\t\t\t\t\tS+=ar[j];\n\t\t\t\t}",
"S+=ar[j]",
"S",
"ar[j]",
"ar",
"j",
"p(\"S=\"+S)",
"p",
"\"S=\"+S",
"\"S=\"",
"S",
"public static long lcm(long a, long b) {\n return a / gcd(a, b) * b;\n\t}",
"lcm",
"{\n return a / gcd(a, b) * b;\n\t}",
"return a / gcd(a, b) * b;",
"a / gcd(a, b) * b",
"a / gcd(a, b)",
"a",
"gcd(a, b)",
"gcd",
"a",
"b",
"b",
"long a",
"a",
"long b",
"b",
"public static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}",
"gcd",
"{\n return b == 0 ? a: gcd(b, a % b);\n\t}",
"return b == 0 ? a: gcd(b, a % b);",
"b == 0 ? a: gcd(b, a % b)",
"b == 0",
"b",
"0",
"a",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static String nextPermutation(String s) {\n\t\tArrayList<Character> list=new ArrayList<>();\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tlist.add(s.charAt(i));\n\t\t}\n\t\tint pivotPos=-1;\n\t\tchar pivot=0;\n\t\tfor(int i=list.size()-2;i>=0;i--) {\n\t\t\tif(list.get(i)<list.get(i+1)) {\n\t\t\t\tpivotPos=i;\n\t\t\t\tpivot=list.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(pivotPos==-1&&pivot==0) {\n\t\t\treturn \"Final\";\n\t\t}\n\t\tint L=pivotPos+1,R=list.size()-1;\n\t\t\n\t\t\n\t\t\n\t\tint minPos=-1;\n\t\tchar min =Character.MAX_VALUE;\n\t\t\n\t\tfor(int i=R;i>=L;i--) {\n\t\t\tif(pivot<list.get(i)) {\n\t\t\t\tif(list.get(i)<min) {\n\t\t\t\t\tmin=list.get(i);\n\t\t\t\t\tminPos=i;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.swap(list, pivotPos, minPos);\n\t\tCollections.sort(list.subList(L, R+1));\n\t\t\n\t\t\n\t\tStringBuilder sb=new StringBuilder();\n\t\tfor(int i=0;i<list.size();i++) {\n\t\t\tsb.append(list.get(i));\n\t\t}\n\t\treturn sb.toString();\n\t}",
"nextPermutation",
"{\n\t\tArrayList<Character> list=new ArrayList<>();\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tlist.add(s.charAt(i));\n\t\t}\n\t\tint pivotPos=-1;\n\t\tchar pivot=0;\n\t\tfor(int i=list.size()-2;i>=0;i--) {\n\t\t\tif(list.get(i)<list.get(i+1)) {\n\t\t\t\tpivotPos=i;\n\t\t\t\tpivot=list.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(pivotPos==-1&&pivot==0) {\n\t\t\treturn \"Final\";\n\t\t}\n\t\tint L=pivotPos+1,R=list.size()-1;\n\t\t\n\t\t\n\t\t\n\t\tint minPos=-1;\n\t\tchar min =Character.MAX_VALUE;\n\t\t\n\t\tfor(int i=R;i>=L;i--) {\n\t\t\tif(pivot<list.get(i)) {\n\t\t\t\tif(list.get(i)<min) {\n\t\t\t\t\tmin=list.get(i);\n\t\t\t\t\tminPos=i;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.swap(list, pivotPos, minPos);\n\t\tCollections.sort(list.subList(L, R+1));\n\t\t\n\t\t\n\t\tStringBuilder sb=new StringBuilder();\n\t\tfor(int i=0;i<list.size();i++) {\n\t\t\tsb.append(list.get(i));\n\t\t}\n\t\treturn sb.toString();\n\t}",
"ArrayList<Character> list=new ArrayList<>();",
"list",
"new ArrayList<>()",
"for(int i=0;i<s.length();i++) {\n\t\t\tlist.add(s.charAt(i));\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tlist.add(s.charAt(i));\n\t\t}",
"{\n\t\t\tlist.add(s.charAt(i));\n\t\t}",
"list.add(s.charAt(i))",
"list.add",
"list",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"int pivotPos=-1;",
"pivotPos",
"-1",
"1",
"char pivot=0;",
"pivot",
"0",
"for(int i=list.size()-2;i>=0;i--) {\n\t\t\tif(list.get(i)<list.get(i+1)) {\n\t\t\t\tpivotPos=i;\n\t\t\t\tpivot=list.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i=list.size()-2;",
"int i=list.size()-2;",
"i",
"list.size()-2",
"list.size()",
"list.size",
"list",
"2",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif(list.get(i)<list.get(i+1)) {\n\t\t\t\tpivotPos=i;\n\t\t\t\tpivot=list.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(list.get(i)<list.get(i+1)) {\n\t\t\t\tpivotPos=i;\n\t\t\t\tpivot=list.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(list.get(i)<list.get(i+1)) {\n\t\t\t\tpivotPos=i;\n\t\t\t\tpivot=list.get(i);\n\t\t\t\tbreak;\n\t\t\t}",
"list.get(i)<list.get(i+1)",
"list.get(i)",
"list.get",
"list",
"i",
"list.get(i+1)",
"list.get",
"list",
"i+1",
"i",
"1",
"{\n\t\t\t\tpivotPos=i;\n\t\t\t\tpivot=list.get(i);\n\t\t\t\tbreak;\n\t\t\t}",
"pivotPos=i",
"pivotPos",
"i",
"pivot=list.get(i)",
"pivot",
"list.get(i)",
"list.get",
"list",
"i",
"break;",
"if(pivotPos==-1&&pivot==0) {\n\t\t\treturn \"Final\";\n\t\t}",
"pivotPos==-1&&pivot==0",
"pivotPos==-1",
"pivotPos",
"-1",
"1",
"pivot==0",
"pivot",
"0",
"{\n\t\t\treturn \"Final\";\n\t\t}",
"return \"Final\";",
"\"Final\"",
"int L=pivotPos+1",
"L",
"pivotPos+1",
"pivotPos",
"1",
"R=list.size()-1;",
"R",
"list.size()-1",
"list.size()",
"list.size",
"list",
"1",
"int minPos=-1;",
"minPos",
"-1",
"1",
"char min =Character.MAX_VALUE;",
"min",
"Character.MAX_VALUE",
"Character",
"Character.MAX_VALUE",
"for(int i=R;i>=L;i--) {\n\t\t\tif(pivot<list.get(i)) {\n\t\t\t\tif(list.get(i)<min) {\n\t\t\t\t\tmin=list.get(i);\n\t\t\t\t\tminPos=i;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i=R;",
"int i=R;",
"i",
"R",
"i>=L",
"i",
"L",
"i--",
"i--",
"i",
"{\n\t\t\tif(pivot<list.get(i)) {\n\t\t\t\tif(list.get(i)<min) {\n\t\t\t\t\tmin=list.get(i);\n\t\t\t\t\tminPos=i;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(pivot<list.get(i)) {\n\t\t\t\tif(list.get(i)<min) {\n\t\t\t\t\tmin=list.get(i);\n\t\t\t\t\tminPos=i;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"if(pivot<list.get(i)) {\n\t\t\t\tif(list.get(i)<min) {\n\t\t\t\t\tmin=list.get(i);\n\t\t\t\t\tminPos=i;\n\t\t\t\t}\n\t\t\t}",
"pivot<list.get(i)",
"pivot",
"list.get(i)",
"list.get",
"list",
"i",
"{\n\t\t\t\tif(list.get(i)<min) {\n\t\t\t\t\tmin=list.get(i);\n\t\t\t\t\tminPos=i;\n\t\t\t\t}\n\t\t\t}",
"if(list.get(i)<min) {\n\t\t\t\t\tmin=list.get(i);\n\t\t\t\t\tminPos=i;\n\t\t\t\t}",
"list.get(i)<min",
"list.get(i)",
"list.get",
"list",
"i",
"min",
"{\n\t\t\t\t\tmin=list.get(i);\n\t\t\t\t\tminPos=i;\n\t\t\t\t}",
"min=list.get(i)",
"min",
"list.get(i)",
"list.get",
"list",
"i",
"minPos=i",
"minPos",
"i",
"Collections.swap(list, pivotPos, minPos)",
"Collections.swap",
"Collections",
"list",
"pivotPos",
"minPos",
"Collections.sort(list.subList(L, R+1))",
"Collections.sort",
"Collections",
"list.subList(L, R+1)",
"list.subList",
"list",
"L",
"R+1",
"R",
"1",
"StringBuilder sb=new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int i=0;i<list.size();i++) {\n\t\t\tsb.append(list.get(i));\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\t\t\tsb.append(list.get(i));\n\t\t}",
"{\n\t\t\tsb.append(list.get(i));\n\t\t}",
"sb.append(list.get(i))",
"sb.append",
"sb",
"list.get(i)",
"list.get",
"list",
"i",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"String s",
"s",
"static void p(String ans) {System.out.println(ans);}",
"p",
"{System.out.println(ans);}",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String ans",
"ans",
"static void p(int ans) {System.out.println(ans);}",
"p",
"{System.out.println(ans);}",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"int ans",
"ans",
"static void p() {System.out.println();}",
"p",
"{System.out.println();}",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"static void p(long ans) {System.out.println(ans);}",
"p",
"{System.out.println(ans);}",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"long ans",
"ans",
"static void p(double ans) {System.out.println(ans);}",
"p",
"{System.out.println(ans);}",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"double ans",
"ans",
"public class Main {\n\tprivate static Scanner sc = new Scanner(System.in);\n\t//StringBuffer S = new StringBuffer(sc.next());\n\t//String hoge2 = str.reverse().toString();\n\t//map.containsKey(A)\n\t//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);\n\t/*for ( キーのデータ型 key : マップの名前.keySet() ) {\n\t\tデータのデータ型 data = マップの名前.get( key );\n\t\t\n\t\t// keyやdataを使った処理;\n\t}*/\n\t//int i = Integer.parseInt(s);\n\t//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek\n\t//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意\n\t//ArrayList<Integer> cc = new ArrayList<>(N);\n\t//cc.contains(tmp)\n\t//Arrays.asList(c).contains(\"a\")\n\t//list.set(1,\"walk\");//1 1 2 3 5\n\tstatic long mod =1000000007;\n\tstatic long longINF=1000000000000000007L;\n\tstatic int INF=1000000007;\n\n\t\n\tpublic static void main(String[] args) {\n\t\t//StringBuffer str = new StringBuffer(sc.nextInt());\n\t\t//for(int i=0;i<N;i++) {}\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tint N=sc.nextInt();\n\t\tboolean xx=false;\n\t\tlong s=1;\n\t\tlong a[]=new long[N];\n\t\tboolean x=true;\n\t\tfor(int i=0;i<N;i++) \n\t\t{a[i]=sc.nextLong();\n\t\tif(a[i]==0)xx=true;\n\t\t}\n\t\tfor(int i=0;i<N&&!xx;i++) {\n\t\t\t//p((s+\"\").length()+(a[i]+\"\").length()-1);\n\t\t\tif((s+\"\").length()+(a[i]+\"\").length()-1>18&&(a[i]*s!=1000000000000000000L)) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ts*=a[i];\n\t\t\t\n\t\t\tif(s>1000000000000000000L||s<0) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\tif(xx)p(0);\n\t\telse if(x)p(s);\n\t\telse p(-1);\n\t\t\n\t\t//String S=sc.next();\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\n\t\n\t\n\tstatic long bi(int i) {\n\t\tlong t=1;\n\t\tfor(int a=1;a<=i;a++) {\n\t\t\tt*=a;\n\t\t\tt%=mod;\n\t\t}\n\t\treturn t;\n\t}\n\tpublic static long modPow(long g,long N) {\n\t\tlong T=1;\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tT*=g;\n\t\t\tT%=mod;\n\t\t}\n\t\treturn T;\n\t}\n\tstatic void bit() {\n\t\tint n=3;\n\t\tString[] ar = {\"a\",\"b\",\"c\"};\n\t\tfor(int i =0;i<(1<<n);i++) {\n\t\t\tString S=\"\";\n\t\t\tfor(int j=0;j<n;j++) {\n\t\t\t\tif((1&i>>j)==1) {\n\t\t\t\t\tS+=ar[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\tp(\"S=\"+S);\n\t\t}\n\t}\n\tpublic static long lcm(long a, long b) {\n return a / gcd(a, b) * b;\n\t}\n\t\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tstatic String nextPermutation(String s) {\n\t\tArrayList<Character> list=new ArrayList<>();\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tlist.add(s.charAt(i));\n\t\t}\n\t\tint pivotPos=-1;\n\t\tchar pivot=0;\n\t\tfor(int i=list.size()-2;i>=0;i--) {\n\t\t\tif(list.get(i)<list.get(i+1)) {\n\t\t\t\tpivotPos=i;\n\t\t\t\tpivot=list.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(pivotPos==-1&&pivot==0) {\n\t\t\treturn \"Final\";\n\t\t}\n\t\tint L=pivotPos+1,R=list.size()-1;\n\t\t\n\t\t\n\t\t\n\t\tint minPos=-1;\n\t\tchar min =Character.MAX_VALUE;\n\t\t\n\t\tfor(int i=R;i>=L;i--) {\n\t\t\tif(pivot<list.get(i)) {\n\t\t\t\tif(list.get(i)<min) {\n\t\t\t\t\tmin=list.get(i);\n\t\t\t\t\tminPos=i;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.swap(list, pivotPos, minPos);\n\t\tCollections.sort(list.subList(L, R+1));\n\t\t\n\t\t\n\t\tStringBuilder sb=new StringBuilder();\n\t\tfor(int i=0;i<list.size();i++) {\n\t\t\tsb.append(list.get(i));\n\t\t}\n\t\treturn sb.toString();\n\t}\n\t\n\n\n\t\n\tstatic void p(String ans) {System.out.println(ans);};\n\tstatic void p(int ans) {System.out.println(ans);};\n\tstatic void p() {System.out.println();};\n\tstatic void p(long ans) {System.out.println(ans);};\n\tstatic void p(double ans) {System.out.println(ans);};\n\t\n}",
"public class Main {\n\tprivate static Scanner sc = new Scanner(System.in);\n\t//StringBuffer S = new StringBuffer(sc.next());\n\t//String hoge2 = str.reverse().toString();\n\t//map.containsKey(A)\n\t//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);\n\t/*for ( キーのデータ型 key : マップの名前.keySet() ) {\n\t\tデータのデータ型 data = マップの名前.get( key );\n\t\t\n\t\t// keyやdataを使った処理;\n\t}*/\n\t//int i = Integer.parseInt(s);\n\t//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek\n\t//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意\n\t//ArrayList<Integer> cc = new ArrayList<>(N);\n\t//cc.contains(tmp)\n\t//Arrays.asList(c).contains(\"a\")\n\t//list.set(1,\"walk\");//1 1 2 3 5\n\tstatic long mod =1000000007;\n\tstatic long longINF=1000000000000000007L;\n\tstatic int INF=1000000007;\n\n\t\n\tpublic static void main(String[] args) {\n\t\t//StringBuffer str = new StringBuffer(sc.nextInt());\n\t\t//for(int i=0;i<N;i++) {}\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tint N=sc.nextInt();\n\t\tboolean xx=false;\n\t\tlong s=1;\n\t\tlong a[]=new long[N];\n\t\tboolean x=true;\n\t\tfor(int i=0;i<N;i++) \n\t\t{a[i]=sc.nextLong();\n\t\tif(a[i]==0)xx=true;\n\t\t}\n\t\tfor(int i=0;i<N&&!xx;i++) {\n\t\t\t//p((s+\"\").length()+(a[i]+\"\").length()-1);\n\t\t\tif((s+\"\").length()+(a[i]+\"\").length()-1>18&&(a[i]*s!=1000000000000000000L)) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ts*=a[i];\n\t\t\t\n\t\t\tif(s>1000000000000000000L||s<0) {\n\t\t\t\tx=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\tif(xx)p(0);\n\t\telse if(x)p(s);\n\t\telse p(-1);\n\t\t\n\t\t//String S=sc.next();\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\n\t\n\t\n\tstatic long bi(int i) {\n\t\tlong t=1;\n\t\tfor(int a=1;a<=i;a++) {\n\t\t\tt*=a;\n\t\t\tt%=mod;\n\t\t}\n\t\treturn t;\n\t}\n\tpublic static long modPow(long g,long N) {\n\t\tlong T=1;\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tT*=g;\n\t\t\tT%=mod;\n\t\t}\n\t\treturn T;\n\t}\n\tstatic void bit() {\n\t\tint n=3;\n\t\tString[] ar = {\"a\",\"b\",\"c\"};\n\t\tfor(int i =0;i<(1<<n);i++) {\n\t\t\tString S=\"\";\n\t\t\tfor(int j=0;j<n;j++) {\n\t\t\t\tif((1&i>>j)==1) {\n\t\t\t\t\tS+=ar[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\tp(\"S=\"+S);\n\t\t}\n\t}\n\tpublic static long lcm(long a, long b) {\n return a / gcd(a, b) * b;\n\t}\n\t\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tstatic String nextPermutation(String s) {\n\t\tArrayList<Character> list=new ArrayList<>();\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tlist.add(s.charAt(i));\n\t\t}\n\t\tint pivotPos=-1;\n\t\tchar pivot=0;\n\t\tfor(int i=list.size()-2;i>=0;i--) {\n\t\t\tif(list.get(i)<list.get(i+1)) {\n\t\t\t\tpivotPos=i;\n\t\t\t\tpivot=list.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(pivotPos==-1&&pivot==0) {\n\t\t\treturn \"Final\";\n\t\t}\n\t\tint L=pivotPos+1,R=list.size()-1;\n\t\t\n\t\t\n\t\t\n\t\tint minPos=-1;\n\t\tchar min =Character.MAX_VALUE;\n\t\t\n\t\tfor(int i=R;i>=L;i--) {\n\t\t\tif(pivot<list.get(i)) {\n\t\t\t\tif(list.get(i)<min) {\n\t\t\t\t\tmin=list.get(i);\n\t\t\t\t\tminPos=i;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.swap(list, pivotPos, minPos);\n\t\tCollections.sort(list.subList(L, R+1));\n\t\t\n\t\t\n\t\tStringBuilder sb=new StringBuilder();\n\t\tfor(int i=0;i<list.size();i++) {\n\t\t\tsb.append(list.get(i));\n\t\t}\n\t\treturn sb.toString();\n\t}\n\t\n\n\n\t\n\tstatic void p(String ans) {System.out.println(ans);};\n\tstatic void p(int ans) {System.out.println(ans);};\n\tstatic void p() {System.out.println();};\n\tstatic void p(long ans) {System.out.println(ans);};\n\tstatic void p(double ans) {System.out.println(ans);};\n\t\n}",
"Main"
] |
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Deque;
import java.util.Queue;
import java.util.Scanner;
public class Main {
private static Scanner sc = new Scanner(System.in);
//StringBuffer S = new StringBuffer(sc.next());
//String hoge2 = str.reverse().toString();
//map.containsKey(A)
//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);
/*for ( キーのデータ型 key : マップの名前.keySet() ) {
データのデータ型 data = マップの名前.get( key );
// keyやdataを使った処理;
}*/
//int i = Integer.parseInt(s);
//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek
//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意
//ArrayList<Integer> cc = new ArrayList<>(N);
//cc.contains(tmp)
//Arrays.asList(c).contains("a")
//list.set(1,"walk");//1 1 2 3 5
static long mod =1000000007;
static long longINF=1000000000000000007L;
static int INF=1000000007;
public static void main(String[] args) {
//StringBuffer str = new StringBuffer(sc.nextInt());
//for(int i=0;i<N;i++) {}
int N=sc.nextInt();
boolean xx=false;
long s=1;
long a[]=new long[N];
boolean x=true;
for(int i=0;i<N;i++)
{a[i]=sc.nextLong();
if(a[i]==0)xx=true;
}
for(int i=0;i<N&&!xx;i++) {
//p((s+"").length()+(a[i]+"").length()-1);
if((s+"").length()+(a[i]+"").length()-1>18&&(a[i]*s!=1000000000000000000L)) {
x=false;
break;
}
s*=a[i];
if(s>1000000000000000000L||s<0) {
x=false;
break;
}
}
if(xx)p(0);
else if(x)p(s);
else p(-1);
//String S=sc.next();
}
static long bi(int i) {
long t=1;
for(int a=1;a<=i;a++) {
t*=a;
t%=mod;
}
return t;
}
public static long modPow(long g,long N) {
long T=1;
for(int i=0;i<N;i++) {
T*=g;
T%=mod;
}
return T;
}
static void bit() {
int n=3;
String[] ar = {"a","b","c"};
for(int i =0;i<(1<<n);i++) {
String S="";
for(int j=0;j<n;j++) {
if((1&i>>j)==1) {
S+=ar[j];
}
}
p("S="+S);
}
}
public static long lcm(long a, long b) {
return a / gcd(a, b) * b;
}
public static long gcd(long a, long b) {
return b == 0 ? a: gcd(b, a % b);
}
static String nextPermutation(String s) {
ArrayList<Character> list=new ArrayList<>();
for(int i=0;i<s.length();i++) {
list.add(s.charAt(i));
}
int pivotPos=-1;
char pivot=0;
for(int i=list.size()-2;i>=0;i--) {
if(list.get(i)<list.get(i+1)) {
pivotPos=i;
pivot=list.get(i);
break;
}
}
if(pivotPos==-1&&pivot==0) {
return "Final";
}
int L=pivotPos+1,R=list.size()-1;
int minPos=-1;
char min =Character.MAX_VALUE;
for(int i=R;i>=L;i--) {
if(pivot<list.get(i)) {
if(list.get(i)<min) {
min=list.get(i);
minPos=i;
}
}
}
Collections.swap(list, pivotPos, minPos);
Collections.sort(list.subList(L, R+1));
StringBuilder sb=new StringBuilder();
for(int i=0;i<list.size();i++) {
sb.append(list.get(i));
}
return sb.toString();
}
static void p(String ans) {System.out.println(ans);};
static void p(int ans) {System.out.println(ans);};
static void p() {System.out.println();};
static void p(long ans) {System.out.println(ans);};
static void p(double ans) {System.out.println(ans);};
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
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,
18,
13,
13,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
0,
13,
17,
3,
14,
2,
18,
13,
13,
2,
13,
13,
30,
0,
13,
18,
13,
13,
30,
0,
13,
40,
17,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
110,
5
],
[
110,
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,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
8,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
57,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
69,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
81,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
95,
100
],
[
8,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
6,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
] |
[
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong [] A = new long [N];\n for(int i=0;i<N;i++){A[i] = sc.nextLong();}\n Arrays.sort(A);\n\t\tlong ans = 1;\n String str = \"1000000000000000000\";\n long limit = Long.parseLong(str);\n for(int i=0;i<N;i++){\n if(A[i]==0){ans=0;break;}\n if(A[i]<=limit/ans){ans*=A[i];}\n else{ans=-1;break;}\n }\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong [] A = new long [N];\n for(int i=0;i<N;i++){A[i] = sc.nextLong();}\n Arrays.sort(A);\n\t\tlong ans = 1;\n String str = \"1000000000000000000\";\n long limit = Long.parseLong(str);\n for(int i=0;i<N;i++){\n if(A[i]==0){ans=0;break;}\n if(A[i]<=limit/ans){ans*=A[i];}\n else{ans=-1;break;}\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\tint N = sc.nextInt();\n\t\tlong [] A = new long [N];\n for(int i=0;i<N;i++){A[i] = sc.nextLong();}\n Arrays.sort(A);\n\t\tlong ans = 1;\n String str = \"1000000000000000000\";\n long limit = Long.parseLong(str);\n for(int i=0;i<N;i++){\n if(A[i]==0){ans=0;break;}\n if(A[i]<=limit/ans){ans*=A[i];}\n else{ans=-1;break;}\n }\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong [] A = new long [N];\n for(int i=0;i<N;i++){A[i] = sc.nextLong();}\n Arrays.sort(A);\n\t\tlong ans = 1;\n String str = \"1000000000000000000\";\n long limit = Long.parseLong(str);\n for(int i=0;i<N;i++){\n if(A[i]==0){ans=0;break;}\n if(A[i]<=limit/ans){ans*=A[i];}\n else{ans=-1;break;}\n }\n\t\tSystem.out.println(ans);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long [] A = new long [N];",
"A",
"new long [N]",
"N",
"for(int i=0;i<N;i++){A[i] = sc.nextLong();}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{A[i] = sc.nextLong();}",
"{A[i] = sc.nextLong();}",
"A[i] = sc.nextLong()",
"A[i]",
"A",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"Arrays.sort(A)",
"Arrays.sort",
"Arrays",
"A",
"long ans = 1;",
"ans",
"1",
"String str = \"1000000000000000000\";",
"str",
"\"1000000000000000000\"",
"long limit = Long.parseLong(str);",
"limit",
"Long.parseLong(str)",
"Long.parseLong",
"Long",
"str",
"for(int i=0;i<N;i++){\n if(A[i]==0){ans=0;break;}\n if(A[i]<=limit/ans){ans*=A[i];}\n else{ans=-1;break;}\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{\n if(A[i]==0){ans=0;break;}\n if(A[i]<=limit/ans){ans*=A[i];}\n else{ans=-1;break;}\n }",
"{\n if(A[i]==0){ans=0;break;}\n if(A[i]<=limit/ans){ans*=A[i];}\n else{ans=-1;break;}\n }",
"if(A[i]==0){ans=0;break;}",
"A[i]==0",
"A[i]",
"A",
"i",
"0",
"{ans=0;break;}",
"ans=0",
"ans",
"0",
"break;",
"if(A[i]<=limit/ans){ans*=A[i];}\n else{ans=-1;break;}",
"A[i]<=limit/ans",
"A[i]",
"A",
"i",
"limit/ans",
"limit",
"ans",
"{ans*=A[i];}",
"ans*=A[i]",
"ans",
"A[i]",
"A",
"i",
"{ans=-1;break;}",
"ans=-1",
"ans",
"-1",
"1",
"break;",
"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\tint N = sc.nextInt();\n\t\tlong [] A = new long [N];\n for(int i=0;i<N;i++){A[i] = sc.nextLong();}\n Arrays.sort(A);\n\t\tlong ans = 1;\n String str = \"1000000000000000000\";\n long limit = Long.parseLong(str);\n for(int i=0;i<N;i++){\n if(A[i]==0){ans=0;break;}\n if(A[i]<=limit/ans){ans*=A[i];}\n else{ans=-1;break;}\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\tint N = sc.nextInt();\n\t\tlong [] A = new long [N];\n for(int i=0;i<N;i++){A[i] = sc.nextLong();}\n Arrays.sort(A);\n\t\tlong ans = 1;\n String str = \"1000000000000000000\";\n long limit = Long.parseLong(str);\n for(int i=0;i<N;i++){\n if(A[i]==0){ans=0;break;}\n if(A[i]<=limit/ans){ans*=A[i];}\n else{ans=-1;break;}\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);
int N = sc.nextInt();
long [] A = new long [N];
for(int i=0;i<N;i++){A[i] = sc.nextLong();}
Arrays.sort(A);
long ans = 1;
String str = "1000000000000000000";
long limit = Long.parseLong(str);
for(int i=0;i<N;i++){
if(A[i]==0){ans=0;break;}
if(A[i]<=limit/ans){ans*=A[i];}
else{ans=-1;break;}
}
System.out.println(ans);
}
}
|
[
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,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
14,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
18,
13,
13,
14,
2,
4,
18,
13,
4,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
40,
17,
29,
4,
18,
18,
13,
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
],
[
381,
14
],
[
381,
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,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
17,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
17,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
54,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
67,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
73,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
94,
96
],
[
85,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
98,
106
],
[
97,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
113,
114
],
[
107,
115
],
[
67,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
15,
122
],
[
122,
123
],
[
0,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
128,
130
],
[
124,
131
],
[
131,
132
],
[
131,
133
],
[
124,
135
],
[
135,
136
],
[
135,
137
],
[
124,
138
],
[
138,
139
],
[
138,
140
],
[
124,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
148,
149
],
[
149,
150
],
[
144,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
155,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
165,
168
],
[
151,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
173,
174
],
[
174,
175
],
[
143,
176
],
[
176,
177
],
[
124,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
181,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
124,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
202
],
[
202,
203
],
[
202,
204
],
[
194,
205
],
[
205,
206
],
[
124,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
211,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
217,
219
],
[
210,
220
],
[
220,
221
],
[
221,
222
],
[
209,
223
],
[
223,
224
],
[
224,
225
],
[
124,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
229,
233
],
[
233,
234
],
[
234,
235
],
[
228,
236
],
[
236,
237
],
[
236,
238
],
[
228,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
228,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
243,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
248,
251
],
[
247,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
228,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
124,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
263,
267
],
[
267,
268
],
[
268,
269
],
[
262,
270
],
[
270,
271
],
[
270,
272
],
[
262,
273
],
[
273,
274
],
[
273,
275
],
[
262,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
262,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
280,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
284,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
262,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
297
],
[
297,
298
],
[
297,
299
],
[
292,
300
],
[
300,
301
],
[
301,
302
],
[
262,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
307,
311
],
[
311,
312
],
[
311,
313
],
[
306,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
314,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
320,
322
],
[
306,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
324,
329
],
[
329,
330
],
[
330,
331
],
[
330,
332
],
[
323,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
335,
339
],
[
323,
340
],
[
340,
341
],
[
341,
342
],
[
305,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
124,
347
],
[
347,
348
],
[
347,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
349,
354
],
[
354,
355
],
[
355,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
358,
360
],
[
355,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
361,
365
],
[
354,
366
],
[
366,
367
],
[
367,
368
],
[
349,
369
],
[
369,
370
],
[
124,
371
],
[
371,
372
],
[
371,
373
],
[
373,
374
],
[
374,
375
],
[
375,
376
],
[
376,
377
],
[
375,
378
],
[
378,
379
],
[
0,
380
],
[
380,
381
],
[
380,
382
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.math.BigInteger;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tint n = sc.nextInt();\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = sc.nextLong();\n\t\t}\n\t\tArrays.sort(a);\n\t\tif (a[0] == 0) {\n\t\t\tSystem.out.println(0);\n\t\t} else {\n\t\t\tBigInteger ans = BigInteger.ONE;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tans = ans.multiply(BigInteger.valueOf(a[i]));\n\t\t\t\tif (ans.compareTo(BigInteger.valueOf(1000000000000000000L)) > 0) {\n\t\t\t\t\tSystem.out.println(-1);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\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.BigInteger;",
"BigInteger",
"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\tint n = sc.nextInt();\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = sc.nextLong();\n\t\t}\n\t\tArrays.sort(a);\n\t\tif (a[0] == 0) {\n\t\t\tSystem.out.println(0);\n\t\t} else {\n\t\t\tBigInteger ans = BigInteger.ONE;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tans = ans.multiply(BigInteger.valueOf(a[i]));\n\t\t\t\tif (ans.compareTo(BigInteger.valueOf(1000000000000000000L)) > 0) {\n\t\t\t\t\tSystem.out.println(-1);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tint n = sc.nextInt();\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = sc.nextLong();\n\t\t}\n\t\tArrays.sort(a);\n\t\tif (a[0] == 0) {\n\t\t\tSystem.out.println(0);\n\t\t} else {\n\t\t\tBigInteger ans = BigInteger.ONE;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tans = ans.multiply(BigInteger.valueOf(a[i]));\n\t\t\t\tif (ans.compareTo(BigInteger.valueOf(1000000000000000000L)) > 0) {\n\t\t\t\t\tSystem.out.println(-1);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner();\n\t\tint n = sc.nextInt();\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = sc.nextLong();\n\t\t}\n\t\tArrays.sort(a);\n\t\tif (a[0] == 0) {\n\t\t\tSystem.out.println(0);\n\t\t} else {\n\t\t\tBigInteger ans = BigInteger.ONE;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tans = ans.multiply(BigInteger.valueOf(a[i]));\n\t\t\t\tif (ans.compareTo(BigInteger.valueOf(1000000000000000000L)) > 0) {\n\t\t\t\t\tSystem.out.println(-1);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\ta[i] = sc.nextLong();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = sc.nextLong();\n\t\t}",
"{\n\t\t\ta[i] = sc.nextLong();\n\t\t}",
"a[i] = sc.nextLong()",
"a[i]",
"a",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"if (a[0] == 0) {\n\t\t\tSystem.out.println(0);\n\t\t} else {\n\t\t\tBigInteger ans = BigInteger.ONE;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tans = ans.multiply(BigInteger.valueOf(a[i]));\n\t\t\t\tif (ans.compareTo(BigInteger.valueOf(1000000000000000000L)) > 0) {\n\t\t\t\t\tSystem.out.println(-1);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}",
"a[0] == 0",
"a[0]",
"a",
"0",
"0",
"{\n\t\t\tSystem.out.println(0);\n\t\t}",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"{\n\t\t\tBigInteger ans = BigInteger.ONE;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tans = ans.multiply(BigInteger.valueOf(a[i]));\n\t\t\t\tif (ans.compareTo(BigInteger.valueOf(1000000000000000000L)) > 0) {\n\t\t\t\t\tSystem.out.println(-1);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}",
"BigInteger ans = BigInteger.ONE;",
"ans",
"BigInteger.ONE",
"BigInteger",
"BigInteger.ONE",
"for (int i = 0; i < n; i++) {\n\t\t\t\tans = ans.multiply(BigInteger.valueOf(a[i]));\n\t\t\t\tif (ans.compareTo(BigInteger.valueOf(1000000000000000000L)) > 0) {\n\t\t\t\t\tSystem.out.println(-1);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tans = ans.multiply(BigInteger.valueOf(a[i]));\n\t\t\t\tif (ans.compareTo(BigInteger.valueOf(1000000000000000000L)) > 0) {\n\t\t\t\t\tSystem.out.println(-1);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tans = ans.multiply(BigInteger.valueOf(a[i]));\n\t\t\t\tif (ans.compareTo(BigInteger.valueOf(1000000000000000000L)) > 0) {\n\t\t\t\t\tSystem.out.println(-1);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}",
"ans = ans.multiply(BigInteger.valueOf(a[i]))",
"ans",
"ans.multiply(BigInteger.valueOf(a[i]))",
"ans.multiply",
"ans",
"BigInteger.valueOf(a[i])",
"BigInteger.valueOf",
"BigInteger",
"a[i]",
"a",
"i",
"if (ans.compareTo(BigInteger.valueOf(1000000000000000000L)) > 0) {\n\t\t\t\t\tSystem.out.println(-1);\n\t\t\t\t\treturn;\n\t\t\t\t}",
"ans.compareTo(BigInteger.valueOf(1000000000000000000L)) > 0",
"ans.compareTo(BigInteger.valueOf(1000000000000000000L))",
"ans.compareTo",
"ans",
"BigInteger.valueOf(1000000000000000000L)",
"BigInteger.valueOf",
"BigInteger",
"1000000000000000000L",
"0",
"{\n\t\t\t\t\tSystem.out.println(-1);\n\t\t\t\t\treturn;\n\t\t\t\t}",
"System.out.println(-1)",
"System.out.println",
"System.out",
"System",
"System.out",
"-1",
"1",
"return;",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"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\tint n = sc.nextInt();\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = sc.nextLong();\n\t\t}\n\t\tArrays.sort(a);\n\t\tif (a[0] == 0) {\n\t\t\tSystem.out.println(0);\n\t\t} else {\n\t\t\tBigInteger ans = BigInteger.ONE;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tans = ans.multiply(BigInteger.valueOf(a[i]));\n\t\t\t\tif (ans.compareTo(BigInteger.valueOf(1000000000000000000L)) > 0) {\n\t\t\t\t\tSystem.out.println(-1);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tint n = sc.nextInt();\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = sc.nextLong();\n\t\t}\n\t\tArrays.sort(a);\n\t\tif (a[0] == 0) {\n\t\t\tSystem.out.println(0);\n\t\t} else {\n\t\t\tBigInteger ans = BigInteger.ONE;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tans = ans.multiply(BigInteger.valueOf(a[i]));\n\t\t\t\tif (ans.compareTo(BigInteger.valueOf(1000000000000000000L)) > 0) {\n\t\t\t\t\tSystem.out.println(-1);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.math.BigInteger;
import java.util.*;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner();
int n = sc.nextInt();
long[] a = new long[n];
for (int i = 0; i < n; i++) {
a[i] = sc.nextLong();
}
Arrays.sort(a);
if (a[0] == 0) {
System.out.println(0);
} else {
BigInteger ans = BigInteger.ONE;
for (int i = 0; i < n; i++) {
ans = ans.multiply(BigInteger.valueOf(a[i]));
if (ans.compareTo(BigInteger.valueOf(1000000000000000000L)) > 0) {
System.out.println(-1);
return;
}
}
System.out.println(ans);
}
}
}
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());
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.