node_ids
sequencelengths 4
1.4k
| edge_index
sequencelengths 1
2.22k
| text
sequencelengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
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,
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,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
18,
13,
17,
17,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
18,
13,
17,
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
],
[
98,
11
],
[
98,
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
],
[
32,
33
],
[
32,
34
],
[
14,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
14,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
66,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
91,
93
],
[
86,
94
],
[
12,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\npublic class Main {\n\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = br.readLine();\n String[] str2 = str.split(\" \");\n int[] n = new int[str2.length];\n for (int i = 0; i < str2.length; i++) {\n n[i] = Integer.parseInt(str2[i]);\n }\n if(n.length == 2){\n System.out.print(n[0] * n[1] + \" \");\n System.out.println((n[0] + n[1]) * 2);\n\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main {\n\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = br.readLine();\n String[] str2 = str.split(\" \");\n int[] n = new int[str2.length];\n for (int i = 0; i < str2.length; i++) {\n n[i] = Integer.parseInt(str2[i]);\n }\n if(n.length == 2){\n System.out.print(n[0] * n[1] + \" \");\n System.out.println((n[0] + n[1]) * 2);\n\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = br.readLine();\n String[] str2 = str.split(\" \");\n int[] n = new int[str2.length];\n for (int i = 0; i < str2.length; i++) {\n n[i] = Integer.parseInt(str2[i]);\n }\n if(n.length == 2){\n System.out.print(n[0] * n[1] + \" \");\n System.out.println((n[0] + n[1]) * 2);\n\n }\n }",
"main",
"{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = br.readLine();\n String[] str2 = str.split(\" \");\n int[] n = new int[str2.length];\n for (int i = 0; i < str2.length; i++) {\n n[i] = Integer.parseInt(str2[i]);\n }\n if(n.length == 2){\n System.out.print(n[0] * n[1] + \" \");\n System.out.println((n[0] + n[1]) * 2);\n\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] str2 = str.split(\" \");",
"str2",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int[] n = new int[str2.length];",
"n",
"new int[str2.length]",
"str2.length",
"str2",
"str2.length",
"for (int i = 0; i < str2.length; i++) {\n n[i] = Integer.parseInt(str2[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str2.length",
"i",
"str2.length",
"str2",
"str2.length",
"i++",
"i++",
"i",
"{\n n[i] = Integer.parseInt(str2[i]);\n }",
"{\n n[i] = Integer.parseInt(str2[i]);\n }",
"n[i] = Integer.parseInt(str2[i])",
"n[i]",
"n",
"i",
"Integer.parseInt(str2[i])",
"Integer.parseInt",
"Integer",
"str2[i]",
"str2",
"i",
"if(n.length == 2){\n System.out.print(n[0] * n[1] + \" \");\n System.out.println((n[0] + n[1]) * 2);\n\n }",
"n.length == 2",
"n.length",
"n",
"n.length",
"2",
"{\n System.out.print(n[0] * n[1] + \" \");\n System.out.println((n[0] + n[1]) * 2);\n\n }",
"System.out.print(n[0] * n[1] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"n[0] * n[1] + \" \"",
"n[0] * n[1]",
"n[0]",
"n",
"0",
"n[1]",
"n",
"1",
"\" \"",
"System.out.println((n[0] + n[1]) * 2)",
"System.out.println",
"System.out",
"System",
"System.out",
"(n[0] + n[1]) * 2",
"(n[0] + n[1])",
"n[0]",
"n",
"0",
"n[1]",
"n",
"1",
"2",
"String[] args",
"args",
"public class Main {\n\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = br.readLine();\n String[] str2 = str.split(\" \");\n int[] n = new int[str2.length];\n for (int i = 0; i < str2.length; i++) {\n n[i] = Integer.parseInt(str2[i]);\n }\n if(n.length == 2){\n System.out.print(n[0] * n[1] + \" \");\n System.out.println((n[0] + n[1]) * 2);\n\n }\n }\n}",
"public class Main {\n\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = br.readLine();\n String[] str2 = str.split(\" \");\n int[] n = new int[str2.length];\n for (int i = 0; i < str2.length; i++) {\n n[i] = Integer.parseInt(str2[i]);\n }\n if(n.length == 2){\n System.out.print(n[0] * n[1] + \" \");\n System.out.println((n[0] + n[1]) * 2);\n\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] str2 = str.split(" ");
int[] n = new int[str2.length];
for (int i = 0; i < str2.length; i++) {
n[i] = Integer.parseInt(str2[i]);
}
if(n.length == 2){
System.out.print(n[0] * n[1] + " ");
System.out.println((n[0] + n[1]) * 2);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
20,
0,
13,
4,
18,
13,
41,
13,
20,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
0,
13,
40,
17,
14,
2,
2,
13,
17,
2,
13,
17,
0,
13,
40,
17,
0,
13,
17,
0,
13,
2,
13,
13,
0,
13,
2,
2,
17,
13,
2,
17,
13,
4,
18,
18,
13,
13,
2,
2,
2,
2,
17,
13,
17,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
119,
8
],
[
119,
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
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
33,
42
],
[
42,
43
],
[
42,
44
],
[
33,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
33,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
],
[
33,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
61,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
73,
85
],
[
85,
86
],
[
85,
87
],
[
11,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
11,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
11,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
110,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
108,
114
],
[
110,
115
],
[
9,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
] | [
"import java.io.*;\nimport java.util.*;\npublic class Main\n{\n public static void main(String[] args) throws IOException{\n int area = 0;\n int times = 0;\n int i = 1;\n String s;\n int a = 0;\n int b = 0;\n while(i>0){\n BufferedReader x = new BufferedReader(new InputStreamReader(System.in)); \n s = x.readLine();\n StringTokenizer st = new StringTokenizer(s,\" \");\n a = Integer.parseInt(st.nextToken());\n b = Integer.parseInt(st.nextToken());\n\n if(a >= 1 && a <= 100 )\n i = -1;\n else if(b >= 1 && b <= 100)\n i = -1;\n else\n i = 1;\n }\n area = a*b;\n times = 2*a+2*b;\n System.out.println(\"\"+area+\" \"+times+\"\"); \n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n public static void main(String[] args) throws IOException{\n int area = 0;\n int times = 0;\n int i = 1;\n String s;\n int a = 0;\n int b = 0;\n while(i>0){\n BufferedReader x = new BufferedReader(new InputStreamReader(System.in)); \n s = x.readLine();\n StringTokenizer st = new StringTokenizer(s,\" \");\n a = Integer.parseInt(st.nextToken());\n b = Integer.parseInt(st.nextToken());\n\n if(a >= 1 && a <= 100 )\n i = -1;\n else if(b >= 1 && b <= 100)\n i = -1;\n else\n i = 1;\n }\n area = a*b;\n times = 2*a+2*b;\n System.out.println(\"\"+area+\" \"+times+\"\"); \n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n int area = 0;\n int times = 0;\n int i = 1;\n String s;\n int a = 0;\n int b = 0;\n while(i>0){\n BufferedReader x = new BufferedReader(new InputStreamReader(System.in)); \n s = x.readLine();\n StringTokenizer st = new StringTokenizer(s,\" \");\n a = Integer.parseInt(st.nextToken());\n b = Integer.parseInt(st.nextToken());\n\n if(a >= 1 && a <= 100 )\n i = -1;\n else if(b >= 1 && b <= 100)\n i = -1;\n else\n i = 1;\n }\n area = a*b;\n times = 2*a+2*b;\n System.out.println(\"\"+area+\" \"+times+\"\"); \n }",
"main",
"{\n int area = 0;\n int times = 0;\n int i = 1;\n String s;\n int a = 0;\n int b = 0;\n while(i>0){\n BufferedReader x = new BufferedReader(new InputStreamReader(System.in)); \n s = x.readLine();\n StringTokenizer st = new StringTokenizer(s,\" \");\n a = Integer.parseInt(st.nextToken());\n b = Integer.parseInt(st.nextToken());\n\n if(a >= 1 && a <= 100 )\n i = -1;\n else if(b >= 1 && b <= 100)\n i = -1;\n else\n i = 1;\n }\n area = a*b;\n times = 2*a+2*b;\n System.out.println(\"\"+area+\" \"+times+\"\"); \n }",
"int area = 0;",
"area",
"0",
"int times = 0;",
"times",
"0",
"int i = 1;",
"i",
"1",
"String s;",
"s",
"int a = 0;",
"a",
"0",
"int b = 0;",
"b",
"0",
"while(i>0){\n BufferedReader x = new BufferedReader(new InputStreamReader(System.in)); \n s = x.readLine();\n StringTokenizer st = new StringTokenizer(s,\" \");\n a = Integer.parseInt(st.nextToken());\n b = Integer.parseInt(st.nextToken());\n\n if(a >= 1 && a <= 100 )\n i = -1;\n else if(b >= 1 && b <= 100)\n i = -1;\n else\n i = 1;\n }",
"i>0",
"i",
"0",
"{\n BufferedReader x = new BufferedReader(new InputStreamReader(System.in)); \n s = x.readLine();\n StringTokenizer st = new StringTokenizer(s,\" \");\n a = Integer.parseInt(st.nextToken());\n b = Integer.parseInt(st.nextToken());\n\n if(a >= 1 && a <= 100 )\n i = -1;\n else if(b >= 1 && b <= 100)\n i = -1;\n else\n i = 1;\n }",
"BufferedReader x = new BufferedReader(new InputStreamReader(System.in));",
"x",
"new BufferedReader(new InputStreamReader(System.in))",
"s = x.readLine()",
"s",
"x.readLine()",
"x.readLine",
"x",
"StringTokenizer st = new StringTokenizer(s,\" \");",
"st",
"new StringTokenizer(s,\" \")",
"a = Integer.parseInt(st.nextToken())",
"a",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"b = Integer.parseInt(st.nextToken())",
"b",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"if(a >= 1 && a <= 100 )\n i = -1;\n else if(b >= 1 && b <= 100)\n i = -1;\n else\n i = 1;",
"a >= 1 && a <= 100",
"a >= 1",
"a",
"1",
"a <= 100",
"a",
"100",
"i = -1",
"i",
"-1",
"1",
"if(b >= 1 && b <= 100)\n i = -1;\n else\n i = 1;",
"b >= 1 && b <= 100",
"b >= 1",
"b",
"1",
"b <= 100",
"b",
"100",
"i = -1",
"i",
"-1",
"1",
"i = 1",
"i",
"1",
"area = a*b",
"area",
"a*b",
"a",
"b",
"times = 2*a+2*b",
"times",
"2*a+2*b",
"2*a",
"2",
"a",
"2*b",
"2",
"b",
"System.out.println(\"\"+area+\" \"+times+\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"+area+\" \"+times+\"\"",
"times",
"\" \"",
"\"\"+area+\" \"+times+\"\"",
"\"\"",
"area",
"\" \"",
"times",
"\"\"",
"String[] args",
"args",
"public class Main\n{\n public static void main(String[] args) throws IOException{\n int area = 0;\n int times = 0;\n int i = 1;\n String s;\n int a = 0;\n int b = 0;\n while(i>0){\n BufferedReader x = new BufferedReader(new InputStreamReader(System.in)); \n s = x.readLine();\n StringTokenizer st = new StringTokenizer(s,\" \");\n a = Integer.parseInt(st.nextToken());\n b = Integer.parseInt(st.nextToken());\n\n if(a >= 1 && a <= 100 )\n i = -1;\n else if(b >= 1 && b <= 100)\n i = -1;\n else\n i = 1;\n }\n area = a*b;\n times = 2*a+2*b;\n System.out.println(\"\"+area+\" \"+times+\"\"); \n }\n}",
"public class Main\n{\n public static void main(String[] args) throws IOException{\n int area = 0;\n int times = 0;\n int i = 1;\n String s;\n int a = 0;\n int b = 0;\n while(i>0){\n BufferedReader x = new BufferedReader(new InputStreamReader(System.in)); \n s = x.readLine();\n StringTokenizer st = new StringTokenizer(s,\" \");\n a = Integer.parseInt(st.nextToken());\n b = Integer.parseInt(st.nextToken());\n\n if(a >= 1 && a <= 100 )\n i = -1;\n else if(b >= 1 && b <= 100)\n i = -1;\n else\n i = 1;\n }\n area = a*b;\n times = 2*a+2*b;\n System.out.println(\"\"+area+\" \"+times+\"\"); \n }\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main
{
public static void main(String[] args) throws IOException{
int area = 0;
int times = 0;
int i = 1;
String s;
int a = 0;
int b = 0;
while(i>0){
BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
s = x.readLine();
StringTokenizer st = new StringTokenizer(s," ");
a = Integer.parseInt(st.nextToken());
b = Integer.parseInt(st.nextToken());
if(a >= 1 && a <= 100 )
i = -1;
else if(b >= 1 && b <= 100)
i = -1;
else
i = 1;
}
area = a*b;
times = 2*a+2*b;
System.out.println(""+area+" "+times+"");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
48,
8
],
[
48,
9
],
[
9,
10
],
[
48,
11
],
[
11,
12
],
[
48,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
15,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
15,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
13,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\n\n\npublic class Main {\n\n\tstatic int inputA,inputB;\n\t\n\tpublic static void main(String args[]) throws NumberFormatException, IOException{\n\t\tScanner in = new Scanner(System.in);\n\t\tint inputA=in.nextInt();\n\t\tint inputB=in.nextInt();\n\t\t\n\t\tSystem.out.println(inputA*inputB+\" \"+(inputA+inputB)*2);\n\t\t\n\t\t\n\t}\n\t\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic int inputA,inputB;\n\t\n\tpublic static void main(String args[]) throws NumberFormatException, IOException{\n\t\tScanner in = new Scanner(System.in);\n\t\tint inputA=in.nextInt();\n\t\tint inputB=in.nextInt();\n\t\t\n\t\tSystem.out.println(inputA*inputB+\" \"+(inputA+inputB)*2);\n\t\t\n\t\t\n\t}\n\t\n}",
"Main",
"static int inputA",
"inputA",
"inputB;",
"inputB",
"public static void main(String args[]) throws NumberFormatException, IOException{\n\t\tScanner in = new Scanner(System.in);\n\t\tint inputA=in.nextInt();\n\t\tint inputB=in.nextInt();\n\t\t\n\t\tSystem.out.println(inputA*inputB+\" \"+(inputA+inputB)*2);\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tint inputA=in.nextInt();\n\t\tint inputB=in.nextInt();\n\t\t\n\t\tSystem.out.println(inputA*inputB+\" \"+(inputA+inputB)*2);\n\t\t\n\t\t\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int inputA=in.nextInt();",
"inputA",
"in.nextInt()",
"in.nextInt",
"in",
"int inputB=in.nextInt();",
"inputB",
"in.nextInt()",
"in.nextInt",
"in",
"System.out.println(inputA*inputB+\" \"+(inputA+inputB)*2)",
"System.out.println",
"System.out",
"System",
"System.out",
"inputA*inputB+\" \"+(inputA+inputB)*2",
"inputA*inputB+\" \"+(inputA+inputB)*2",
"inputA*inputB",
"inputA",
"inputB",
"\" \"",
"(inputA+inputB)*2",
"(inputA+inputB)",
"inputA",
"inputB",
"2",
"String args[]",
"args",
"public class Main {\n\n\tstatic int inputA,inputB;\n\t\n\tpublic static void main(String args[]) throws NumberFormatException, IOException{\n\t\tScanner in = new Scanner(System.in);\n\t\tint inputA=in.nextInt();\n\t\tint inputB=in.nextInt();\n\t\t\n\t\tSystem.out.println(inputA*inputB+\" \"+(inputA+inputB)*2);\n\t\t\n\t\t\n\t}\n\t\n}",
"public class Main {\n\n\tstatic int inputA,inputB;\n\t\n\tpublic static void main(String args[]) throws NumberFormatException, IOException{\n\t\tScanner in = new Scanner(System.in);\n\t\tint inputA=in.nextInt();\n\t\tint inputB=in.nextInt();\n\t\t\n\t\tSystem.out.println(inputA*inputB+\" \"+(inputA+inputB)*2);\n\t\t\n\t\t\n\t}\n\t\n}",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
public class Main {
static int inputA,inputB;
public static void main(String args[]) throws NumberFormatException, IOException{
Scanner in = new Scanner(System.in);
int inputA=in.nextInt();
int inputB=in.nextInt();
System.out.println(inputA*inputB+" "+(inputA+inputB)*2);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
17,
2,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.io.*;\npublic class Main {\n\tpublic static void main(String [] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] str=br.readLine().split(\" \");\n\t\tint a=Integer.parseInt(str[0]);\n\t\tint b=Integer.parseInt(str[1]);\n\t\tSystem.out.println(a*b+\" \"+2*(a+b));\n\t\t}}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String [] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] str=br.readLine().split(\" \");\n\t\tint a=Integer.parseInt(str[0]);\n\t\tint b=Integer.parseInt(str[1]);\n\t\tSystem.out.println(a*b+\" \"+2*(a+b));\n\t\t}}",
"Main",
"public static void main(String [] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] str=br.readLine().split(\" \");\n\t\tint a=Integer.parseInt(str[0]);\n\t\tint b=Integer.parseInt(str[1]);\n\t\tSystem.out.println(a*b+\" \"+2*(a+b));\n\t\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] str=br.readLine().split(\" \");\n\t\tint a=Integer.parseInt(str[0]);\n\t\tint b=Integer.parseInt(str[1]);\n\t\tSystem.out.println(a*b+\" \"+2*(a+b));\n\t\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] str=br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int a=Integer.parseInt(str[0]);",
"a",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int b=Integer.parseInt(str[1]);",
"b",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"System.out.println(a*b+\" \"+2*(a+b))",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b+\" \"+2*(a+b)",
"a*b+\" \"+2*(a+b)",
"a*b",
"a",
"b",
"\" \"",
"2*(a+b)",
"2",
"(a+b)",
"a",
"b",
"String [] args",
"args",
"public class Main {\n\tpublic static void main(String [] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] str=br.readLine().split(\" \");\n\t\tint a=Integer.parseInt(str[0]);\n\t\tint b=Integer.parseInt(str[1]);\n\t\tSystem.out.println(a*b+\" \"+2*(a+b));\n\t\t}}",
"public class Main {\n\tpublic static void main(String [] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] str=br.readLine().split(\" \");\n\t\tint a=Integer.parseInt(str[0]);\n\t\tint b=Integer.parseInt(str[1]);\n\t\tSystem.out.println(a*b+\" \"+2*(a+b));\n\t\t}}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String [] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String[] str=br.readLine().split(" ");
int a=Integer.parseInt(str[0]);
int b=Integer.parseInt(str[1]);
System.out.println(a*b+" "+2*(a+b));
}} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
74,
8
],
[
74,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
11,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
11,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
11,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
64,
64
],
[
64,
65
],
[
64,
66
],
[
64,
67
],
[
11,
68
],
[
68,
69
],
[
69,
70
],
[
9,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine().trim();\n\t\tString[] arr = line.split(\" \");\n\t\tint a = Integer.parseInt(arr[0]);\n\t\tint b = Integer.parseInt(arr[1]);\n\t\tint s = a * b;\n\t\tint l = a * 2 + b * 2;\n\t\tSystem.out.println(s + \" \" + l);\n\t\tbr.close();\n\t}\n\t\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine().trim();\n\t\tString[] arr = line.split(\" \");\n\t\tint a = Integer.parseInt(arr[0]);\n\t\tint b = Integer.parseInt(arr[1]);\n\t\tint s = a * b;\n\t\tint l = a * 2 + b * 2;\n\t\tSystem.out.println(s + \" \" + l);\n\t\tbr.close();\n\t}\n\t\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine().trim();\n\t\tString[] arr = line.split(\" \");\n\t\tint a = Integer.parseInt(arr[0]);\n\t\tint b = Integer.parseInt(arr[1]);\n\t\tint s = a * b;\n\t\tint l = a * 2 + b * 2;\n\t\tSystem.out.println(s + \" \" + l);\n\t\tbr.close();\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine().trim();\n\t\tString[] arr = line.split(\" \");\n\t\tint a = Integer.parseInt(arr[0]);\n\t\tint b = Integer.parseInt(arr[1]);\n\t\tint s = a * b;\n\t\tint l = a * 2 + b * 2;\n\t\tSystem.out.println(s + \" \" + l);\n\t\tbr.close();\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = br.readLine().trim();",
"line",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"String[] arr = line.split(\" \");",
"arr",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int a = Integer.parseInt(arr[0]);",
"a",
"Integer.parseInt(arr[0])",
"Integer.parseInt",
"Integer",
"arr[0]",
"arr",
"0",
"int b = Integer.parseInt(arr[1]);",
"b",
"Integer.parseInt(arr[1])",
"Integer.parseInt",
"Integer",
"arr[1]",
"arr",
"1",
"int s = a * b;",
"s",
"a * b",
"a",
"b",
"int l = a * 2 + b * 2;",
"l",
"a * 2 + b * 2",
"a * 2",
"a",
"2",
"b * 2",
"b",
"2",
"System.out.println(s + \" \" + l)",
"System.out.println",
"System.out",
"System",
"System.out",
"s + \" \" + l",
"s + \" \" + l",
"s",
"\" \"",
"l",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine().trim();\n\t\tString[] arr = line.split(\" \");\n\t\tint a = Integer.parseInt(arr[0]);\n\t\tint b = Integer.parseInt(arr[1]);\n\t\tint s = a * b;\n\t\tint l = a * 2 + b * 2;\n\t\tSystem.out.println(s + \" \" + l);\n\t\tbr.close();\n\t}\n\t\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine().trim();\n\t\tString[] arr = line.split(\" \");\n\t\tint a = Integer.parseInt(arr[0]);\n\t\tint b = Integer.parseInt(arr[1]);\n\t\tint s = a * b;\n\t\tint l = a * 2 + b * 2;\n\t\tSystem.out.println(s + \" \" + l);\n\t\tbr.close();\n\t}\n\t\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine().trim();
String[] arr = line.split(" ");
int a = Integer.parseInt(arr[0]);
int b = Integer.parseInt(arr[1]);
int s = a * b;
int l = a * 2 + b * 2;
System.out.println(s + " " + l);
br.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
17,
13,
2,
17,
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
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
6,
44
],
[
44,
45
]
] | [
"import java.util.Scanner;\n\nclass Main\n{\n public static void main(String args[])\n {\n Scanner scan = new Scanner(System.in);\n \n int a = scan.nextInt();\n int b = scan.nextInt();\n System.out.print(a*b+\" \");\n System.out.println(2*a+2*b);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n public static void main(String args[])\n {\n Scanner scan = new Scanner(System.in);\n \n int a = scan.nextInt();\n int b = scan.nextInt();\n System.out.print(a*b+\" \");\n System.out.println(2*a+2*b);\n }\n}",
"Main",
"public static void main(String args[])\n {\n Scanner scan = new Scanner(System.in);\n \n int a = scan.nextInt();\n int b = scan.nextInt();\n System.out.print(a*b+\" \");\n System.out.println(2*a+2*b);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n \n int a = scan.nextInt();\n int b = scan.nextInt();\n System.out.print(a*b+\" \");\n System.out.println(2*a+2*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.print(a*b+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"a*b+\" \"",
"a*b",
"a",
"b",
"\" \"",
"System.out.println(2*a+2*b)",
"System.out.println",
"System.out",
"System",
"System.out",
"2*a+2*b",
"2*a",
"2",
"a",
"2*b",
"2",
"b",
"String args[]",
"args"
] | import java.util.Scanner;
class Main
{
public static void main(String args[])
{
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
System.out.print(a*b+" ");
System.out.println(2*a+2*b);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
17,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
2,
2,
2,
13,
13,
17,
2,
2,
2,
13,
13,
13,
13,
12,
13,
30,
0,
13,
2,
18,
13,
13,
17,
41,
13,
4,
18,
13,
4,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
13,
2,
2,
2,
13,
13,
17,
17,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
14,
13,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
112,
14
],
[
112,
15
],
[
15,
16
],
[
15,
17
],
[
112,
18
],
[
18,
19
],
[
18,
20
],
[
112,
21
],
[
21,
22
],
[
21,
23
],
[
112,
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
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
46,
52
],
[
112,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
55,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
55,
68
],
[
68,
69
],
[
55,
70
],
[
70,
71
],
[
71,
72
],
[
55,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
55,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
80,
86
],
[
55,
87
],
[
87,
88
],
[
88,
89
],
[
55,
90
],
[
90,
91
],
[
91,
92
],
[
53,
93
],
[
93,
94
],
[
112,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
95,
109
],
[
109,
110
],
[
0,
111
],
[
111,
112
],
[
111,
113
]
] | [
"import java.util.*;\nimport java.io.*;\nimport java.awt.geom.*;\nimport java.math.*;\n \npublic class Main {\n \n\tstatic final Scanner in = new Scanner(System.in);\n\tstatic final PrintWriter out = new PrintWriter(System.out,false);\n\tstatic boolean debug = false;\n \n\tstatic void solve() {\n\t\tint a=in.nextInt();\n\t\tint b=in.nextInt();\n\t\tout.println(a*b+\" \"+(a+a+b+b));\n\t}\n \n\tpublic static void main(String[] args) {\n\t\tdebug = args.length > 0;\n\t\tlong start = System.nanoTime();\n \n\t\tsolve();\n\t\tout.flush();\n \n\t\tlong end = System.nanoTime();\n\t\tdump((end - start) / 1000000 + \" ms\");\n\t\tin.close();\n\t\tout.close();\n\t}\n \n\tstatic void dump(Object... o) { if (debug) System.err.println(Arrays.deepToString(o)); }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.awt.geom.*;",
"geom.*",
"java.awt",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n \n\tstatic final Scanner in = new Scanner(System.in);\n\tstatic final PrintWriter out = new PrintWriter(System.out,false);\n\tstatic boolean debug = false;\n \n\tstatic void solve() {\n\t\tint a=in.nextInt();\n\t\tint b=in.nextInt();\n\t\tout.println(a*b+\" \"+(a+a+b+b));\n\t}\n \n\tpublic static void main(String[] args) {\n\t\tdebug = args.length > 0;\n\t\tlong start = System.nanoTime();\n \n\t\tsolve();\n\t\tout.flush();\n \n\t\tlong end = System.nanoTime();\n\t\tdump((end - start) / 1000000 + \" ms\");\n\t\tin.close();\n\t\tout.close();\n\t}\n \n\tstatic void dump(Object... o) { if (debug) System.err.println(Arrays.deepToString(o)); }\n}",
"Main",
"static final Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"static final PrintWriter out = new PrintWriter(System.out,false);",
"out",
"new PrintWriter(System.out,false)",
"static boolean debug = false;",
"debug",
"false",
"static void solve() {\n\t\tint a=in.nextInt();\n\t\tint b=in.nextInt();\n\t\tout.println(a*b+\" \"+(a+a+b+b));\n\t}",
"solve",
"{\n\t\tint a=in.nextInt();\n\t\tint b=in.nextInt();\n\t\tout.println(a*b+\" \"+(a+a+b+b));\n\t}",
"int a=in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"int b=in.nextInt();",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"out.println(a*b+\" \"+(a+a+b+b))",
"out.println",
"out",
"a*b+\" \"+(a+a+b+b)",
"a*b+\" \"+(a+a+b+b)",
"a*b",
"a",
"b",
"\" \"",
"(a+a+b+b)",
"b",
"a+a+b+b",
"a",
"a",
"b",
"b",
"public static void main(String[] args) {\n\t\tdebug = args.length > 0;\n\t\tlong start = System.nanoTime();\n \n\t\tsolve();\n\t\tout.flush();\n \n\t\tlong end = System.nanoTime();\n\t\tdump((end - start) / 1000000 + \" ms\");\n\t\tin.close();\n\t\tout.close();\n\t}",
"main",
"{\n\t\tdebug = args.length > 0;\n\t\tlong start = System.nanoTime();\n \n\t\tsolve();\n\t\tout.flush();\n \n\t\tlong end = System.nanoTime();\n\t\tdump((end - start) / 1000000 + \" ms\");\n\t\tin.close();\n\t\tout.close();\n\t}",
"debug = args.length > 0",
"debug",
"args.length > 0",
"args.length",
"args",
"args.length",
"0",
"long start = System.nanoTime();",
"start",
"System.nanoTime()",
"System.nanoTime",
"System",
"solve()",
"solve",
"out.flush()",
"out.flush",
"out",
"long end = System.nanoTime();",
"end",
"System.nanoTime()",
"System.nanoTime",
"System",
"dump((end - start) / 1000000 + \" ms\")",
"dump",
"(end - start) / 1000000 + \" ms\"",
"(end - start) / 1000000",
"(end - start)",
"end",
"start",
"1000000",
"\" ms\"",
"in.close()",
"in.close",
"in",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static void dump(Object... o) { if (debug) System.err.println(Arrays.deepToString(o)); }",
"dump",
"{ if (debug) System.err.println(Arrays.deepToString(o)); }",
"if (debug) System.err.println(Arrays.deepToString(o));",
"debug",
"System.err.println(Arrays.deepToString(o))",
"System.err.println",
"System.err",
"System",
"System.err",
"Arrays.deepToString(o)",
"Arrays.deepToString",
"Arrays",
"o",
"Object... o",
"o",
"public class Main {\n \n\tstatic final Scanner in = new Scanner(System.in);\n\tstatic final PrintWriter out = new PrintWriter(System.out,false);\n\tstatic boolean debug = false;\n \n\tstatic void solve() {\n\t\tint a=in.nextInt();\n\t\tint b=in.nextInt();\n\t\tout.println(a*b+\" \"+(a+a+b+b));\n\t}\n \n\tpublic static void main(String[] args) {\n\t\tdebug = args.length > 0;\n\t\tlong start = System.nanoTime();\n \n\t\tsolve();\n\t\tout.flush();\n \n\t\tlong end = System.nanoTime();\n\t\tdump((end - start) / 1000000 + \" ms\");\n\t\tin.close();\n\t\tout.close();\n\t}\n \n\tstatic void dump(Object... o) { if (debug) System.err.println(Arrays.deepToString(o)); }\n}",
"public class Main {\n \n\tstatic final Scanner in = new Scanner(System.in);\n\tstatic final PrintWriter out = new PrintWriter(System.out,false);\n\tstatic boolean debug = false;\n \n\tstatic void solve() {\n\t\tint a=in.nextInt();\n\t\tint b=in.nextInt();\n\t\tout.println(a*b+\" \"+(a+a+b+b));\n\t}\n \n\tpublic static void main(String[] args) {\n\t\tdebug = args.length > 0;\n\t\tlong start = System.nanoTime();\n \n\t\tsolve();\n\t\tout.flush();\n \n\t\tlong end = System.nanoTime();\n\t\tdump((end - start) / 1000000 + \" ms\");\n\t\tin.close();\n\t\tout.close();\n\t}\n \n\tstatic void dump(Object... o) { if (debug) System.err.println(Arrays.deepToString(o)); }\n}",
"Main"
] | import java.util.*;
import java.io.*;
import java.awt.geom.*;
import java.math.*;
public class Main {
static final Scanner in = new Scanner(System.in);
static final PrintWriter out = new PrintWriter(System.out,false);
static boolean debug = false;
static void solve() {
int a=in.nextInt();
int b=in.nextInt();
out.println(a*b+" "+(a+a+b+b));
}
public static void main(String[] args) {
debug = args.length > 0;
long start = System.nanoTime();
solve();
out.flush();
long end = System.nanoTime();
dump((end - start) / 1000000 + " ms");
in.close();
out.close();
}
static void dump(Object... o) { if (debug) System.err.println(Arrays.deepToString(o)); }
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
17,
2,
13,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\npublic static void main(String[] args){\nScanner input = new Scanner(System.in);\nint a = input.nextInt();\nint b = input.nextInt();\nint p = a*2 + b*2;\nint ar = a*b;\nSystem.out.println(ar+\" \"+p);\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\npublic static void main(String[] args){\nScanner input = new Scanner(System.in);\nint a = input.nextInt();\nint b = input.nextInt();\nint p = a*2 + b*2;\nint ar = a*b;\nSystem.out.println(ar+\" \"+p);\n}\n}",
"Main",
"public static void main(String[] args){\nScanner input = new Scanner(System.in);\nint a = input.nextInt();\nint b = input.nextInt();\nint p = a*2 + b*2;\nint ar = a*b;\nSystem.out.println(ar+\" \"+p);\n}",
"main",
"{\nScanner input = new Scanner(System.in);\nint a = input.nextInt();\nint b = input.nextInt();\nint p = a*2 + b*2;\nint ar = a*b;\nSystem.out.println(ar+\" \"+p);\n}",
"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",
"int p = a*2 + b*2;",
"p",
"a*2 + b*2",
"a*2",
"a",
"2",
"b*2",
"b",
"2",
"int ar = a*b;",
"ar",
"a*b",
"a",
"b",
"System.out.println(ar+\" \"+p)",
"System.out.println",
"System.out",
"System",
"System.out",
"ar+\" \"+p",
"ar+\" \"+p",
"ar",
"\" \"",
"p",
"String[] args",
"args",
"public class Main {\n\npublic static void main(String[] args){\nScanner input = new Scanner(System.in);\nint a = input.nextInt();\nint b = input.nextInt();\nint p = a*2 + b*2;\nint ar = a*b;\nSystem.out.println(ar+\" \"+p);\n}\n}",
"public class Main {\n\npublic static void main(String[] args){\nScanner input = new Scanner(System.in);\nint a = input.nextInt();\nint b = input.nextInt();\nint p = a*2 + b*2;\nint ar = a*b;\nSystem.out.println(ar+\" \"+p);\n}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner input = new Scanner(System.in);
int a = input.nextInt();
int b = input.nextInt();
int p = a*2 + b*2;
int ar = a*b;
System.out.println(ar+" "+p);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
13,
13,
13,
41,
13,
4,
13,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
12,
13,
30,
41,
13,
0,
13,
2,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
0,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
29,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
87,
5
],
[
87,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
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
],
[
24,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
6,
44
],
[
44,
45
],
[
87,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
46,
58
],
[
58,
59
],
[
46,
60
],
[
60,
61
],
[
87,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
64,
71
],
[
71,
72
],
[
71,
73
],
[
64,
74
],
[
74,
75
],
[
74,
76
],
[
64,
77
],
[
77,
78
],
[
77,
79
],
[
64,
80
],
[
80,
81
],
[
62,
82
],
[
82,
83
],
[
62,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.util.Scanner;\npublic class Main\n{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\tint area = area(a,b);\n\t\tint lenght = length(a,b);\n\t\tSystem.out.println(area + \" \" + lenght);\n\t}\n\n\t//??¢???????±???????????????????\n\tpublic static int area(int a, int b){\n\t\tint ans;\n\t\tans = a * b;\n\t\treturn ans;\n\t}\n\t//??¨?????????????±???????????????????\n\tpublic static int length(int a, int b){\n\t\tint ans = 0;\n\t\tans += a;\n\t\tans += a;\n\t\tans += b;\n\t\tans += b;\n\t\treturn ans;\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\tint area = area(a,b);\n\t\tint lenght = length(a,b);\n\t\tSystem.out.println(area + \" \" + lenght);\n\t}\n\n\t//??¢???????±???????????????????\n\tpublic static int area(int a, int b){\n\t\tint ans;\n\t\tans = a * b;\n\t\treturn ans;\n\t}\n\t//??¨?????????????±???????????????????\n\tpublic static int length(int a, int b){\n\t\tint ans = 0;\n\t\tans += a;\n\t\tans += a;\n\t\tans += b;\n\t\tans += b;\n\t\treturn ans;\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\tint area = area(a,b);\n\t\tint lenght = length(a,b);\n\t\tSystem.out.println(area + \" \" + lenght);\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\tint area = area(a,b);\n\t\tint lenght = length(a,b);\n\t\tSystem.out.println(area + \" \" + lenght);\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int a = s.nextInt();",
"a",
"s.nextInt()",
"s.nextInt",
"s",
"int b = s.nextInt();",
"b",
"s.nextInt()",
"s.nextInt",
"s",
"int area = area(a,b);",
"area",
"area(a,b)",
"area",
"a",
"b",
"int lenght = length(a,b);",
"lenght",
"length(a,b)",
"length",
"a",
"b",
"System.out.println(area + \" \" + lenght)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" + lenght",
"area + \" \" + lenght",
"area",
"\" \"",
"lenght",
"String[] args",
"args",
"//??¢???????±???????????????????\n\tpublic static int area(int a, int b){\n\t\tint ans;\n\t\tans = a * b;\n\t\treturn ans;\n\t}",
"area",
"{\n\t\tint ans;\n\t\tans = a * b;\n\t\treturn ans;\n\t}",
"int ans;",
"ans",
"ans = a * b",
"ans",
"a * b",
"a",
"b",
"return ans;",
"ans",
"int a",
"a",
"int b",
"b",
"//??¨?????????????±???????????????????\n\tpublic static int length(int a, int b){\n\t\tint ans = 0;\n\t\tans += a;\n\t\tans += a;\n\t\tans += b;\n\t\tans += b;\n\t\treturn ans;\n\t}",
"length",
"{\n\t\tint ans = 0;\n\t\tans += a;\n\t\tans += a;\n\t\tans += b;\n\t\tans += b;\n\t\treturn ans;\n\t}",
"int ans = 0;",
"ans",
"0",
"ans += a",
"ans",
"a",
"ans += a",
"ans",
"a",
"ans += b",
"ans",
"b",
"ans += b",
"ans",
"b",
"return ans;",
"ans",
"int a",
"a",
"int b",
"b",
"public class Main\n{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\tint area = area(a,b);\n\t\tint lenght = length(a,b);\n\t\tSystem.out.println(area + \" \" + lenght);\n\t}\n\n\t//??¢???????±???????????????????\n\tpublic static int area(int a, int b){\n\t\tint ans;\n\t\tans = a * b;\n\t\treturn ans;\n\t}\n\t//??¨?????????????±???????????????????\n\tpublic static int length(int a, int b){\n\t\tint ans = 0;\n\t\tans += a;\n\t\tans += a;\n\t\tans += b;\n\t\tans += b;\n\t\treturn ans;\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\tint area = area(a,b);\n\t\tint lenght = length(a,b);\n\t\tSystem.out.println(area + \" \" + lenght);\n\t}\n\n\t//??¢???????±???????????????????\n\tpublic static int area(int a, int b){\n\t\tint ans;\n\t\tans = a * b;\n\t\treturn ans;\n\t}\n\t//??¨?????????????±???????????????????\n\tpublic static int length(int a, int b){\n\t\tint ans = 0;\n\t\tans += a;\n\t\tans += a;\n\t\tans += b;\n\t\tans += b;\n\t\treturn ans;\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String[] args){
Scanner s = new Scanner(System.in);
int a = s.nextInt();
int b = s.nextInt();
int area = area(a,b);
int lenght = length(a,b);
System.out.println(area + " " + lenght);
}
//??¢???????±???????????????????
public static int area(int a, int b){
int ans;
ans = a * b;
return ans;
}
//??¨?????????????±???????????????????
public static int length(int a, int b){
int ans = 0;
ans += a;
ans += a;
ans += b;
ans += b;
return ans;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
2,
2,
2,
13,
13,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
45,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
45,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
6,
60
],
[
60,
61
]
] | [
"import java.io.*;\n\nclass Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\n\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\n\n\tString[] line = reader.readLine().split(\" \");\n\n\tint a = Integer.parseInt(line[0]);\n\tint b = Integer.parseInt(line[1]);\n\n\tint c = a * b;\n\tint d = a + a + b + b;\n\n\tSystem.out.println(c +\" \"+ d);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\n\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\n\n\tString[] line = reader.readLine().split(\" \");\n\n\tint a = Integer.parseInt(line[0]);\n\tint b = Integer.parseInt(line[1]);\n\n\tint c = a * b;\n\tint d = a + a + b + b;\n\n\tSystem.out.println(c +\" \"+ d);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\n\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\n\n\tString[] line = reader.readLine().split(\" \");\n\n\tint a = Integer.parseInt(line[0]);\n\tint b = Integer.parseInt(line[1]);\n\n\tint c = a * b;\n\tint d = a + a + b + b;\n\n\tSystem.out.println(c +\" \"+ d);\n\t}",
"main",
"{\n\t\n\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\n\n\tString[] line = reader.readLine().split(\" \");\n\n\tint a = Integer.parseInt(line[0]);\n\tint b = Integer.parseInt(line[1]);\n\n\tint c = a * b;\n\tint d = a + a + b + b;\n\n\tSystem.out.println(c +\" \"+ d);\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] line = reader.readLine().split(\" \");",
"line",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"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",
"int c = a * b;",
"c",
"a * b",
"a",
"b",
"int d = a + a + b + b;",
"d",
"a + a + b + b",
"b",
"a + a + b + b",
"a",
"a",
"b",
"b",
"System.out.println(c +\" \"+ d)",
"System.out.println",
"System.out",
"System",
"System.out",
"c +\" \"+ d",
"c +\" \"+ d",
"c",
"\" \"",
"d",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String[] line = reader.readLine().split(" ");
int a = Integer.parseInt(line[0]);
int b = Integer.parseInt(line[1]);
int c = a * b;
int d = a + a + b + b;
System.out.println(c +" "+ d);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
2,
13,
13,
2,
2,
17,
13,
2,
17,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
27,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
11,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
9,
47
],
[
47,
48
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\n\nclass Main{\n public static void main(String[] args) throws IOException {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n String text = String.format(\"%s %s\", a * b, 2*a + 2*b);\n System.out.println(text);\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args) throws IOException {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n String text = String.format(\"%s %s\", a * b, 2*a + 2*b);\n System.out.println(text);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n String text = String.format(\"%s %s\", a * b, 2*a + 2*b);\n System.out.println(text);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n String text = String.format(\"%s %s\", a * b, 2*a + 2*b);\n System.out.println(text);\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",
"String text = String.format(\"%s %s\", a * b, 2*a + 2*b);",
"text",
"String.format(\"%s %s\", a * b, 2*a + 2*b)",
"String.format",
"String",
"\"%s %s\"",
"a * b",
"a",
"b",
"2*a + 2*b",
"2*a",
"2",
"a",
"2*b",
"2",
"b",
"System.out.println(text)",
"System.out.println",
"System.out",
"System",
"System.out",
"text",
"String[] args",
"args"
] | import java.io.IOException;
import java.util.Scanner;
class Main{
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
String text = String.format("%s %s", a * b, 2*a + 2*b);
System.out.println(text);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
41,
13,
12,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
53,
9
],
[
9,
10
],
[
53,
11
],
[
11,
12
],
[
53,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
15,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
15,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
15,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
13,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int h;\n\tstatic int w;\n\t\n\tpublic static void main(String[] args){\n\t\th=sc.nextInt();\n\t\tw=sc.nextInt();\n\t\tint area = h*w;\n\t\tint leng = h*2+w*2;\n\t\tSystem.out.println(area+\" \"+leng);\n\t}\n\t\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int h;\n\tstatic int w;\n\t\n\tpublic static void main(String[] args){\n\t\th=sc.nextInt();\n\t\tw=sc.nextInt();\n\t\tint area = h*w;\n\t\tint leng = h*2+w*2;\n\t\tSystem.out.println(area+\" \"+leng);\n\t}\n\t\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static int h;",
"h",
"static int w;",
"w",
"public static void main(String[] args){\n\t\th=sc.nextInt();\n\t\tw=sc.nextInt();\n\t\tint area = h*w;\n\t\tint leng = h*2+w*2;\n\t\tSystem.out.println(area+\" \"+leng);\n\t}",
"main",
"{\n\t\th=sc.nextInt();\n\t\tw=sc.nextInt();\n\t\tint area = h*w;\n\t\tint leng = h*2+w*2;\n\t\tSystem.out.println(area+\" \"+leng);\n\t}",
"h=sc.nextInt()",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"w=sc.nextInt()",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int area = h*w;",
"area",
"h*w",
"h",
"w",
"int leng = h*2+w*2;",
"leng",
"h*2+w*2",
"h*2",
"h",
"2",
"w*2",
"w",
"2",
"System.out.println(area+\" \"+leng)",
"System.out.println",
"System.out",
"System",
"System.out",
"area+\" \"+leng",
"area+\" \"+leng",
"area",
"\" \"",
"leng",
"String[] args",
"args",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int h;\n\tstatic int w;\n\t\n\tpublic static void main(String[] args){\n\t\th=sc.nextInt();\n\t\tw=sc.nextInt();\n\t\tint area = h*w;\n\t\tint leng = h*2+w*2;\n\t\tSystem.out.println(area+\" \"+leng);\n\t}\n\t\n}",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int h;\n\tstatic int w;\n\t\n\tpublic static void main(String[] args){\n\t\th=sc.nextInt();\n\t\tw=sc.nextInt();\n\t\tint area = h*w;\n\t\tint leng = h*2+w*2;\n\t\tSystem.out.println(area+\" \"+leng);\n\t}\n\t\n}",
"Main"
] | import java.util.Scanner;
public class Main {
static Scanner sc = new Scanner(System.in);
static int h;
static int w;
public static void main(String[] args){
h=sc.nextInt();
w=sc.nextInt();
int area = h*w;
int leng = h*2+w*2;
System.out.println(area+" "+leng);
}
} |
[
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,
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,
18,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
17,
13,
2,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
71,
8
],
[
71,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
11,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
9,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.io.*;\nimport java.util.*;\npublic class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr=new InputStreamReader(System.in);\n\t\tBufferedReader br=new BufferedReader(isr);\n\t\tString s=br.readLine();\n\t\tStringTokenizer st=new StringTokenizer(s,\" \");\n\t\t\n\t\tint x=Integer.parseInt(st.nextToken());\n\t\tint y=Integer.parseInt(st.nextToken());\n\t\tSystem.out.print(x*y);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(2*x+2*y);\n\t\t\n\t\t\n\t}\n\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\tInputStreamReader isr=new InputStreamReader(System.in);\n\t\tBufferedReader br=new BufferedReader(isr);\n\t\tString s=br.readLine();\n\t\tStringTokenizer st=new StringTokenizer(s,\" \");\n\t\t\n\t\tint x=Integer.parseInt(st.nextToken());\n\t\tint y=Integer.parseInt(st.nextToken());\n\t\tSystem.out.print(x*y);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(2*x+2*y);\n\t\t\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr=new InputStreamReader(System.in);\n\t\tBufferedReader br=new BufferedReader(isr);\n\t\tString s=br.readLine();\n\t\tStringTokenizer st=new StringTokenizer(s,\" \");\n\t\t\n\t\tint x=Integer.parseInt(st.nextToken());\n\t\tint y=Integer.parseInt(st.nextToken());\n\t\tSystem.out.print(x*y);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(2*x+2*y);\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tInputStreamReader isr=new InputStreamReader(System.in);\n\t\tBufferedReader br=new BufferedReader(isr);\n\t\tString s=br.readLine();\n\t\tStringTokenizer st=new StringTokenizer(s,\" \");\n\t\t\n\t\tint x=Integer.parseInt(st.nextToken());\n\t\tint y=Integer.parseInt(st.nextToken());\n\t\tSystem.out.print(x*y);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(2*x+2*y);\n\t\t\n\t\t\n\t}",
"InputStreamReader isr=new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br=new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"String s=br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"StringTokenizer st=new StringTokenizer(s,\" \");",
"st",
"new StringTokenizer(s,\" \")",
"int x=Integer.parseInt(st.nextToken());",
"x",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int y=Integer.parseInt(st.nextToken());",
"y",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"System.out.print(x*y)",
"System.out.print",
"System.out",
"System",
"System.out",
"x*y",
"x",
"y",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println(2*x+2*y)",
"System.out.println",
"System.out",
"System",
"System.out",
"2*x+2*y",
"2*x",
"2",
"x",
"2*y",
"2",
"y",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr=new InputStreamReader(System.in);\n\t\tBufferedReader br=new BufferedReader(isr);\n\t\tString s=br.readLine();\n\t\tStringTokenizer st=new StringTokenizer(s,\" \");\n\t\t\n\t\tint x=Integer.parseInt(st.nextToken());\n\t\tint y=Integer.parseInt(st.nextToken());\n\t\tSystem.out.print(x*y);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(2*x+2*y);\n\t\t\n\t\t\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr=new InputStreamReader(System.in);\n\t\tBufferedReader br=new BufferedReader(isr);\n\t\tString s=br.readLine();\n\t\tStringTokenizer st=new StringTokenizer(s,\" \");\n\t\t\n\t\tint x=Integer.parseInt(st.nextToken());\n\t\tint y=Integer.parseInt(st.nextToken());\n\t\tSystem.out.print(x*y);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(2*x+2*y);\n\t\t\n\t\t\n\t}\n\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args)throws IOException{
InputStreamReader isr=new InputStreamReader(System.in);
BufferedReader br=new BufferedReader(isr);
String s=br.readLine();
StringTokenizer st=new StringTokenizer(s," ");
int x=Integer.parseInt(st.nextToken());
int y=Integer.parseInt(st.nextToken());
System.out.print(x*y);
System.out.print(" ");
System.out.println(2*x+2*y);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
17,
2,
13,
13,
2,
2,
13,
17,
2,
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
],
[
45,
11
],
[
45,
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
],
[
28,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
28,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
12,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] | [
"import java.util.Scanner;\nimport java.util.Random;\nimport static java.lang.System.out;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n out.printf(\"%d %d%n\", a * b, (a * 2 + b * 2)); \n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Random;",
"Random",
"java.util",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n out.printf(\"%d %d%n\", a * b, (a * 2 + b * 2)); \n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n out.printf(\"%d %d%n\", a * b, (a * 2 + b * 2)); \n\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n out.printf(\"%d %d%n\", a * b, (a * 2 + b * 2)); \n\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",
"out.printf(\"%d %d%n\", a * b, (a * 2 + b * 2))",
"out.printf",
"out",
"\"%d %d%n\"",
"a * b",
"a",
"b",
"(a * 2 + b * 2)",
"a * 2",
"a",
"2",
"b * 2",
"b",
"2",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n out.printf(\"%d %d%n\", a * b, (a * 2 + b * 2)); \n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n out.printf(\"%d %d%n\", a * b, (a * 2 + b * 2)); \n\n }\n}",
"Main"
] | import java.util.Scanner;
import java.util.Random;
import static java.lang.System.out;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
out.printf("%d %d%n", a * b, (a * 2 + b * 2));
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
4,
18,
20,
41,
13,
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,
41,
13,
2,
2,
17,
13,
2,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
60,
2
],
[
60,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
13,
16
],
[
5,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
22,
24
],
[
5,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
5,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
5,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
5,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
53,
56
],
[
3,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tString str = new java.util.Scanner(System.in).nextLine();\n\t\tString[] array = str.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[1]);\n\n\t\tint menseki = a * b;\n\t\tint shuu = 2*a + 2*b;\n\t\tSystem.out.println(menseki + \" \" + shuu);\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tString str = new java.util.Scanner(System.in).nextLine();\n\t\tString[] array = str.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[1]);\n\n\t\tint menseki = a * b;\n\t\tint shuu = 2*a + 2*b;\n\t\tSystem.out.println(menseki + \" \" + shuu);\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tString str = new java.util.Scanner(System.in).nextLine();\n\t\tString[] array = str.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[1]);\n\n\t\tint menseki = a * b;\n\t\tint shuu = 2*a + 2*b;\n\t\tSystem.out.println(menseki + \" \" + shuu);\n\n\t}",
"main",
"{\n\t\tString str = new java.util.Scanner(System.in).nextLine();\n\t\tString[] array = str.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[1]);\n\n\t\tint menseki = a * b;\n\t\tint shuu = 2*a + 2*b;\n\t\tSystem.out.println(menseki + \" \" + shuu);\n\n\t}",
"String str = new java.util.Scanner(System.in).nextLine();",
"str",
"new java.util.Scanner(System.in).nextLine()",
"new java.util.Scanner(System.in).nextLine",
"new java.util.Scanner(System.in)",
"String[] array = str.split(\" \");",
"array",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"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",
"int menseki = a * b;",
"menseki",
"a * b",
"a",
"b",
"int shuu = 2*a + 2*b;",
"shuu",
"2*a + 2*b",
"2*a",
"2",
"a",
"2*b",
"2",
"b",
"System.out.println(menseki + \" \" + shuu)",
"System.out.println",
"System.out",
"System",
"System.out",
"menseki + \" \" + shuu",
"menseki + \" \" + shuu",
"menseki",
"\" \"",
"shuu",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tString str = new java.util.Scanner(System.in).nextLine();\n\t\tString[] array = str.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[1]);\n\n\t\tint menseki = a * b;\n\t\tint shuu = 2*a + 2*b;\n\t\tSystem.out.println(menseki + \" \" + shuu);\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tString str = new java.util.Scanner(System.in).nextLine();\n\t\tString[] array = str.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[1]);\n\n\t\tint menseki = a * b;\n\t\tint shuu = 2*a + 2*b;\n\t\tSystem.out.println(menseki + \" \" + shuu);\n\n\t}\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
String str = new java.util.Scanner(System.in).nextLine();
String[] array = str.split(" ");
int a = Integer.parseInt(array[0]);
int b = Integer.parseInt(array[1]);
int menseki = a * b;
int shuu = 2*a + 2*b;
System.out.println(menseki + " " + shuu);
}
} |
[
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,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
60,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
48,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint Leng =scanner.nextInt();\n\t\tint High =scanner.nextInt();\n\t\t\n\t\tint S=Leng*High;\n\t\tint P=(Leng+High)*2;\n\t\t\n\t\tSystem.out.print(S+\" \");\n\t\tSystem.out.println(P);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main ();\n\t\trun.calc();\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint Leng =scanner.nextInt();\n\t\tint High =scanner.nextInt();\n\t\t\n\t\tint S=Leng*High;\n\t\tint P=(Leng+High)*2;\n\t\t\n\t\tSystem.out.print(S+\" \");\n\t\tSystem.out.println(P);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main ();\n\t\trun.calc();\n\n\t}\n}",
"Main",
"private void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint Leng =scanner.nextInt();\n\t\tint High =scanner.nextInt();\n\t\t\n\t\tint S=Leng*High;\n\t\tint P=(Leng+High)*2;\n\t\t\n\t\tSystem.out.print(S+\" \");\n\t\tSystem.out.println(P);\n\t}",
"calc",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint Leng =scanner.nextInt();\n\t\tint High =scanner.nextInt();\n\t\t\n\t\tint S=Leng*High;\n\t\tint P=(Leng+High)*2;\n\t\t\n\t\tSystem.out.print(S+\" \");\n\t\tSystem.out.println(P);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int Leng =scanner.nextInt();",
"Leng",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int High =scanner.nextInt();",
"High",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int S=Leng*High;",
"S",
"Leng*High",
"Leng",
"High",
"int P=(Leng+High)*2;",
"P",
"(Leng+High)*2",
"(Leng+High)",
"Leng",
"High",
"2",
"System.out.print(S+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"S+\" \"",
"S",
"\" \"",
"System.out.println(P)",
"System.out.println",
"System.out",
"System",
"System.out",
"P",
"public static void main(String[] args) {\n\t\tMain run =new Main ();\n\t\trun.calc();\n\n\t}",
"main",
"{\n\t\tMain run =new Main ();\n\t\trun.calc();\n\n\t}",
"Main run =new Main ();",
"run",
"new Main ()",
"run.calc()",
"run.calc",
"run",
"String[] args",
"args",
"public class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint Leng =scanner.nextInt();\n\t\tint High =scanner.nextInt();\n\t\t\n\t\tint S=Leng*High;\n\t\tint P=(Leng+High)*2;\n\t\t\n\t\tSystem.out.print(S+\" \");\n\t\tSystem.out.println(P);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main ();\n\t\trun.calc();\n\n\t}\n}",
"public class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint Leng =scanner.nextInt();\n\t\tint High =scanner.nextInt();\n\t\t\n\t\tint S=Leng*High;\n\t\tint P=(Leng+High)*2;\n\t\t\n\t\tSystem.out.print(S+\" \");\n\t\tSystem.out.println(P);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main ();\n\t\trun.calc();\n\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
private void calc(){
Scanner scanner = new Scanner(System.in);
int Leng =scanner.nextInt();
int High =scanner.nextInt();
int S=Leng*High;
int P=(Leng+High)*2;
System.out.print(S+" ");
System.out.println(P);
}
public static void main(String[] args) {
Main run =new Main ();
run.calc();
}
} |
[
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,
2,
2,
13,
13,
17,
2,
2,
13,
17,
2,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
15,
49
],
[
49,
50
]
] | [
"import java.awt.*;\nimport java.awt.geom.*;\nimport java.io.*;\n\nimport java.util.*;\nclass Main {\n\n\n\tpublic 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 +\" \" + (a * 2 + b * 2));\n\t}\n}",
"import java.awt.*;",
"awt.*",
"java",
"import java.awt.geom.*;",
"geom.*",
"java.awt",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println(a * b +\" \" + (a * 2 + b * 2));\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 +\" \" + (a * 2 + b * 2));\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 +\" \" + (a * 2 + b * 2));\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 +\" \" + (a * 2 + b * 2))",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b +\" \" + (a * 2 + b * 2)",
"a * b +\" \" + (a * 2 + b * 2)",
"a * b",
"a",
"b",
"\" \"",
"(a * 2 + b * 2)",
"a * 2",
"a",
"2",
"b * 2",
"b",
"2",
"String[] args",
"args"
] | import java.awt.*;
import java.awt.geom.*;
import java.io.*;
import java.util.*;
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 +" " + (a * 2 + b * 2));
}
} |
[
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,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
34,
40
],
[
34,
41
],
[
6,
42
],
[
42,
43
]
] | [
"import java.util.Scanner;\n \n class Main {\n public static void main(String args[] ) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\t\n\t int b = sc.nextInt();\n int i = a * b;\n int o = (a+b)*2;\n System.out.printf(\"%d %d%n\",i,o);\n }\n }",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String args[] ) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\t\n\t int b = sc.nextInt();\n int i = a * b;\n int o = (a+b)*2;\n System.out.printf(\"%d %d%n\",i,o);\n }\n }",
"Main",
"public static void main(String args[] ) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\t\n\t int b = sc.nextInt();\n int i = a * b;\n int o = (a+b)*2;\n System.out.printf(\"%d %d%n\",i,o);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\t\n\t int b = sc.nextInt();\n int i = a * b;\n int o = (a+b)*2;\n System.out.printf(\"%d %d%n\",i,o);\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",
"int i = a * b;",
"i",
"a * b",
"a",
"b",
"int o = (a+b)*2;",
"o",
"(a+b)*2",
"(a+b)",
"a",
"b",
"2",
"System.out.printf(\"%d %d%n\",i,o)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d%n\"",
"i",
"o",
"String args[]",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String args[] ) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int i = a * b;
int o = (a+b)*2;
System.out.printf("%d %d%n",i,o);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
13,
17,
42,
2,
13,
17,
41,
13,
2,
2,
17,
13,
2,
17,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
59,
8
],
[
8,
9
],
[
8,
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
],
[
25,
27
],
[
10,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
10,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
10,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
10,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
52,
52
],
[
52,
53
],
[
52,
54
],
[
52,
55
],
[
8,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"\n\nimport java.util.Scanner;\n\npublic class Main {\n\n\tprivate static Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\n\t\tscanner = new Scanner(System.in);\n\n\t\tint height = scanner.nextInt();\n\t\tint length = scanner.nextInt();\t\n\t\twhile(height < 1 );\n\t\twhile(length > 100);\n\n\t\tint round = 2*height + 2*length;\n\t\tint area = length * height;\n\n\t\tSystem.out.println(area + \" \" + round);\n\t}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tprivate static Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\n\t\tscanner = new Scanner(System.in);\n\n\t\tint height = scanner.nextInt();\n\t\tint length = scanner.nextInt();\t\n\t\twhile(height < 1 );\n\t\twhile(length > 100);\n\n\t\tint round = 2*height + 2*length;\n\t\tint area = length * height;\n\n\t\tSystem.out.println(area + \" \" + round);\n\t}\n}",
"Main",
"private static Scanner scanner;",
"scanner",
"public static void main(String[] args) {\n\n\t\tscanner = new Scanner(System.in);\n\n\t\tint height = scanner.nextInt();\n\t\tint length = scanner.nextInt();\t\n\t\twhile(height < 1 );\n\t\twhile(length > 100);\n\n\t\tint round = 2*height + 2*length;\n\t\tint area = length * height;\n\n\t\tSystem.out.println(area + \" \" + round);\n\t}",
"main",
"{\n\n\t\tscanner = new Scanner(System.in);\n\n\t\tint height = scanner.nextInt();\n\t\tint length = scanner.nextInt();\t\n\t\twhile(height < 1 );\n\t\twhile(length > 100);\n\n\t\tint round = 2*height + 2*length;\n\t\tint area = length * height;\n\n\t\tSystem.out.println(area + \" \" + round);\n\t}",
"scanner = new Scanner(System.in)",
"scanner",
"new Scanner(System.in)",
"int height = scanner.nextInt();",
"height",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int length = scanner.nextInt();",
"length",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"while(height < 1 );",
"height < 1",
"height",
"1",
"while(length > 100);",
"length > 100",
"length",
"100",
"int round = 2*height + 2*length;",
"round",
"2*height + 2*length",
"2*height",
"2",
"height",
"2*length",
"2",
"length",
"int area = length * height;",
"area",
"length * height",
"length",
"height",
"System.out.println(area + \" \" + round)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" + round",
"area + \" \" + round",
"area",
"\" \"",
"round",
"String[] args",
"args",
"public class Main {\n\n\tprivate static Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\n\t\tscanner = new Scanner(System.in);\n\n\t\tint height = scanner.nextInt();\n\t\tint length = scanner.nextInt();\t\n\t\twhile(height < 1 );\n\t\twhile(length > 100);\n\n\t\tint round = 2*height + 2*length;\n\t\tint area = length * height;\n\n\t\tSystem.out.println(area + \" \" + round);\n\t}\n}",
"public class Main {\n\n\tprivate static Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\n\t\tscanner = new Scanner(System.in);\n\n\t\tint height = scanner.nextInt();\n\t\tint length = scanner.nextInt();\t\n\t\twhile(height < 1 );\n\t\twhile(length > 100);\n\n\t\tint round = 2*height + 2*length;\n\t\tint area = length * height;\n\n\t\tSystem.out.println(area + \" \" + round);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
private static Scanner scanner;
public static void main(String[] args) {
scanner = new Scanner(System.in);
int height = scanner.nextInt();
int length = scanner.nextInt();
while(height < 1 );
while(length > 100);
int round = 2*height + 2*length;
int area = length * height;
System.out.println(area + " " + round);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
17,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
52,
52
],
[
52,
53
],
[
52,
54
],
[
52,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner input = new Scanner(System.in);\n\t\tString a = input.next();\n\t\tString b = input.next();\n\n\t\tint ai = Integer.parseInt(a);\n\t\tint bi = Integer.parseInt(b);\n\n\t\tint s = ai * bi;\n\t\tint l = 2*(ai + bi);\n\n\t\tSystem.out.println(s + \" \" + l);\n\t\t\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\tScanner input = new Scanner(System.in);\n\t\tString a = input.next();\n\t\tString b = input.next();\n\n\t\tint ai = Integer.parseInt(a);\n\t\tint bi = Integer.parseInt(b);\n\n\t\tint s = ai * bi;\n\t\tint l = 2*(ai + bi);\n\n\t\tSystem.out.println(s + \" \" + l);\n\t\t\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner input = new Scanner(System.in);\n\t\tString a = input.next();\n\t\tString b = input.next();\n\n\t\tint ai = Integer.parseInt(a);\n\t\tint bi = Integer.parseInt(b);\n\n\t\tint s = ai * bi;\n\t\tint l = 2*(ai + bi);\n\n\t\tSystem.out.println(s + \" \" + l);\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tScanner input = new Scanner(System.in);\n\t\tString a = input.next();\n\t\tString b = input.next();\n\n\t\tint ai = Integer.parseInt(a);\n\t\tint bi = Integer.parseInt(b);\n\n\t\tint s = ai * bi;\n\t\tint l = 2*(ai + bi);\n\n\t\tSystem.out.println(s + \" \" + l);\n\t\t\n\t\t\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"String a = input.next();",
"a",
"input.next()",
"input.next",
"input",
"String b = input.next();",
"b",
"input.next()",
"input.next",
"input",
"int ai = Integer.parseInt(a);",
"ai",
"Integer.parseInt(a)",
"Integer.parseInt",
"Integer",
"a",
"int bi = Integer.parseInt(b);",
"bi",
"Integer.parseInt(b)",
"Integer.parseInt",
"Integer",
"b",
"int s = ai * bi;",
"s",
"ai * bi",
"ai",
"bi",
"int l = 2*(ai + bi);",
"l",
"2*(ai + bi)",
"2",
"(ai + bi)",
"ai",
"bi",
"System.out.println(s + \" \" + l)",
"System.out.println",
"System.out",
"System",
"System.out",
"s + \" \" + l",
"s + \" \" + l",
"s",
"\" \"",
"l",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner input = new Scanner(System.in);\n\t\tString a = input.next();\n\t\tString b = input.next();\n\n\t\tint ai = Integer.parseInt(a);\n\t\tint bi = Integer.parseInt(b);\n\n\t\tint s = ai * bi;\n\t\tint l = 2*(ai + bi);\n\n\t\tSystem.out.println(s + \" \" + l);\n\t\t\n\t\t\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner input = new Scanner(System.in);\n\t\tString a = input.next();\n\t\tString b = input.next();\n\n\t\tint ai = Integer.parseInt(a);\n\t\tint bi = Integer.parseInt(b);\n\n\t\tint s = ai * bi;\n\t\tint l = 2*(ai + bi);\n\n\t\tSystem.out.println(s + \" \" + l);\n\t\t\n\t\t\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner input = new Scanner(System.in);
String a = input.next();
String b = input.next();
int ai = Integer.parseInt(a);
int bi = Integer.parseInt(b);
int s = ai * bi;
int l = 2*(ai + bi);
System.out.println(s + " " + l);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
13,
4,
18,
18,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
2,
17,
2,
13,
13,
4,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
67,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
9,
46
],
[
46,
47
],
[
67,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
67,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint a = input();\n\t\tint b = input();\n\n\t\tSystem.out.print(a * b);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(2 * (a + b));\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint a = input();\n\t\tint b = input();\n\n\t\tSystem.out.print(a * b);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(2 * (a + b));\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main",
"public static Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\n\t\tint a = input();\n\t\tint b = input();\n\n\t\tSystem.out.print(a * b);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(2 * (a + b));\n\n\t\tclose();\n\n\t}",
"main",
"{\n\n\t\tint a = input();\n\t\tint b = input();\n\n\t\tSystem.out.print(a * b);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(2 * (a + b));\n\n\t\tclose();\n\n\t}",
"int a = input();",
"a",
"input()",
"input",
"int b = input();",
"b",
"input()",
"input",
"System.out.print(a * b)",
"System.out.print",
"System.out",
"System",
"System.out",
"a * b",
"a",
"b",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println(2 * (a + b))",
"System.out.println",
"System.out",
"System",
"System.out",
"2 * (a + b)",
"2",
"(a + b)",
"a",
"b",
"close()",
"close",
"String[] args",
"args",
"public static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}",
"input",
"{\n\n\t\treturn scanner.nextInt();\n\n\t}",
"return scanner.nextInt();",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"public static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"close",
"{\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"if (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner != null",
"scanner",
"null",
"{\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner.close()",
"scanner.close",
"scanner",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint a = input();\n\t\tint b = input();\n\n\t\tSystem.out.print(a * b);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(2 * (a + b));\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint a = input();\n\t\tint b = input();\n\n\t\tSystem.out.print(a * b);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(2 * (a + b));\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static Scanner scanner = new Scanner(System.in);
public static void main(String[] args) {
int a = input();
int b = input();
System.out.print(a * b);
System.out.print(" ");
System.out.println(2 * (a + b));
close();
}
public static int input() {
return scanner.nextInt();
}
public static void close() {
if (scanner != null) {
scanner.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,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
25,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
8,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
50,
57
],
[
8,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
69,
69
],
[
69,
70
],
[
69,
71
],
[
69,
72
],
[
6,
73
],
[
73,
74
]
] | [
"import java.io.*;\nclass Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString[] menseki = line.split(\" \");\n\t\tint sum = Integer.parseInt(menseki[0]) * Integer.parseInt(menseki[1]);\n\t\tint syu1 = Integer.parseInt(menseki[0]) * 2;\n\t\tint syu2 = Integer.parseInt(menseki[1]) * 2;\n\t\tint syuLength = syu1 + syu2;\n\t\tSystem.out.println(sum+\" \"+syuLength);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString[] menseki = line.split(\" \");\n\t\tint sum = Integer.parseInt(menseki[0]) * Integer.parseInt(menseki[1]);\n\t\tint syu1 = Integer.parseInt(menseki[0]) * 2;\n\t\tint syu2 = Integer.parseInt(menseki[1]) * 2;\n\t\tint syuLength = syu1 + syu2;\n\t\tSystem.out.println(sum+\" \"+syuLength);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString[] menseki = line.split(\" \");\n\t\tint sum = Integer.parseInt(menseki[0]) * Integer.parseInt(menseki[1]);\n\t\tint syu1 = Integer.parseInt(menseki[0]) * 2;\n\t\tint syu2 = Integer.parseInt(menseki[1]) * 2;\n\t\tint syuLength = syu1 + syu2;\n\t\tSystem.out.println(sum+\" \"+syuLength);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString[] menseki = line.split(\" \");\n\t\tint sum = Integer.parseInt(menseki[0]) * Integer.parseInt(menseki[1]);\n\t\tint syu1 = Integer.parseInt(menseki[0]) * 2;\n\t\tint syu2 = Integer.parseInt(menseki[1]) * 2;\n\t\tint syuLength = syu1 + syu2;\n\t\tSystem.out.println(sum+\" \"+syuLength);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] menseki = line.split(\" \");",
"menseki",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int sum = Integer.parseInt(menseki[0]) * Integer.parseInt(menseki[1]);",
"sum",
"Integer.parseInt(menseki[0]) * Integer.parseInt(menseki[1])",
"Integer.parseInt(menseki[0])",
"Integer.parseInt",
"Integer",
"menseki[0]",
"menseki",
"0",
"Integer.parseInt(menseki[1])",
"Integer.parseInt",
"Integer",
"menseki[1]",
"menseki",
"1",
"int syu1 = Integer.parseInt(menseki[0]) * 2;",
"syu1",
"Integer.parseInt(menseki[0]) * 2",
"Integer.parseInt(menseki[0])",
"Integer.parseInt",
"Integer",
"menseki[0]",
"menseki",
"0",
"2",
"int syu2 = Integer.parseInt(menseki[1]) * 2;",
"syu2",
"Integer.parseInt(menseki[1]) * 2",
"Integer.parseInt(menseki[1])",
"Integer.parseInt",
"Integer",
"menseki[1]",
"menseki",
"1",
"2",
"int syuLength = syu1 + syu2;",
"syuLength",
"syu1 + syu2",
"syu1",
"syu2",
"System.out.println(sum+\" \"+syuLength)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum+\" \"+syuLength",
"sum+\" \"+syuLength",
"sum",
"\" \"",
"syuLength",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
String[] menseki = line.split(" ");
int sum = Integer.parseInt(menseki[0]) * Integer.parseInt(menseki[1]);
int syu1 = Integer.parseInt(menseki[0]) * 2;
int syu2 = Integer.parseInt(menseki[1]) * 2;
int syuLength = syu1 + syu2;
System.out.println(sum+" "+syuLength);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
17,
41,
13,
39,
17,
17,
17,
17,
41,
13,
17,
41,
13,
17,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
17,
42,
2,
0,
13,
4,
18,
18,
13,
13,
40,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
18,
13,
13,
2,
13,
17,
40,
13,
40,
13,
14,
2,
13,
17,
30,
0,
18,
13,
13,
13,
40,
13,
14,
2,
13,
17,
30,
0,
18,
13,
13,
13,
0,
13,
17,
40,
13,
14,
2,
13,
17,
30,
3,
41,
13,
39,
17,
17,
17,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
2,
13,
17,
30,
42,
2,
2,
13,
17,
2,
18,
13,
13,
17,
30,
0,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
0,
18,
13,
13,
2,
18,
13,
13,
17,
40,
13,
14,
2,
18,
13,
13,
17,
30,
40,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
18,
13,
17,
18,
13,
17,
17,
2,
17,
2,
18,
13,
17,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
227,
5
],
[
227,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
16,
18
],
[
16,
19
],
[
16,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
29,
33
],
[
29,
34
],
[
29,
35
],
[
29,
36
],
[
29,
37
],
[
29,
38
],
[
29,
39
],
[
29,
40
],
[
29,
41
],
[
29,
42
],
[
29,
43
],
[
29,
44
],
[
29,
45
],
[
29,
46
],
[
29,
47
],
[
29,
48
],
[
29,
49
],
[
8,
50
],
[
50,
51
],
[
50,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
53,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
73,
83
],
[
83,
84
],
[
64,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
89,
95
],
[
95,
96
],
[
64,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
101,
107
],
[
107,
108
],
[
107,
109
],
[
101,
110
],
[
110,
111
],
[
64,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
116,
117
],
[
8,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
120,
122
],
[
120,
123
],
[
120,
124
],
[
8,
125
],
[
125,
126
],
[
125,
127
],
[
8,
128
],
[
128,
129
],
[
128,
130
],
[
8,
131
],
[
131,
132
],
[
131,
133
],
[
8,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
137,
139
],
[
134,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
141,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
156,
162
],
[
162,
163
],
[
162,
164
],
[
151,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
151,
174
],
[
174,
175
],
[
140,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
176,
182
],
[
182,
183
],
[
183,
184
],
[
182,
185
],
[
185,
186
],
[
8,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
187,
192
],
[
192,
193
],
[
192,
194
],
[
187,
195
],
[
195,
196
],
[
196,
197
],
[
187,
198
],
[
199,
199
],
[
8,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
200,
205
],
[
206,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
211,
213
],
[
206,
214
],
[
206,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
217,
221
],
[
221,
222
],
[
221,
223
],
[
6,
224
],
[
224,
225
],
[
0,
226
],
[
226,
227
],
[
226,
228
]
] | [
"\nimport java.io.*;\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n \n \t// ?¨??????\\??????????????????????????????\n \tint c;\n int keta = 0;\n // int hairetsu_keta[] = new int[4]; hairetsu_keta[0] = 0;hairetsu_keta[1] = 0;hairetsu_keta[2] = 0;hairetsu_keta[3] = 0;\n int hairetsu_keta[] = {0,0,0,0}; // ???????????¨???????????¨????????£????????????\n int j = 0;\n int deru = 0; \n // int hairetsu[] = new int[4]; hairetsu[0] = 0; hairetsu[1] = 0; hairetsu[2] = 0; hairetsu[3] = 0;\n int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//???????????¨???????????¨????????£???????????????????????????????????°????¢????????????????20???\n \n int i= 0;\n while ((c = System.in.read()) != -1 )\n {\n \t// System.out.println(c);\n \tif ( c > 47 && c < 58) // suuji ga kita\n \t {\n \t\thairetsu[i] = c-48;\n \t\ti++;\n \t\tketa++;\n \n \t\t// System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n \t }\n \tif ( c == 10) // return ga kita\n \t{\n \t\thairetsu_keta[j] = keta;\n \t\tderu++; //return ga kitara while wo deru\n \t}\n \tif ( c == 32) //space ga kita\n \t{\n \t\n \t\thairetsu_keta[j] = keta;\n \t\tketa = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n \t\tj++;\n \t}\n \tif (deru > 0)\n \t{\n \t\tbreak;\n \t}\n }\n // ?¨??????\\?????????????????????????????????????????????\n \n // ??°??????????????\\??????\n //int hairetsu_suuchi[] = new int[4]; hairetsu_suuchi[0] = 0; hairetsu_suuchi[1] = 0; hairetsu_suuchi[2] = 0; hairetsu_suuchi[3] = 0;\n int hairetsu_suuchi[] = {0,0,0,0};//???????????¨???????????¨????????£????????????\n int k = 0;\n int m = 0;\n int n = 0;\n \n \n while( n < (j + 1))\n {\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n \thairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n \thairetsu_keta[n] = hairetsu_keta[n] - 1;\n \tm++;\n }\n if (hairetsu_keta[n] == 0)\n {\n \tn++;\n \tk++;\n }\n } \t\n\n //??°??????????????\\???????????????\n for (int p = 0; p < k ; p++)\n {\n // System.out.println(\"???????????°??????\" + hairetsu_suuchi[p]); \n }\n \n System.out.println(hairetsu_suuchi[0]*hairetsu_suuchi[1] + \" \" + (2*(hairetsu_suuchi[0]+hairetsu_suuchi[1])));\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n \n \t// ?¨??????\\??????????????????????????????\n \tint c;\n int keta = 0;\n // int hairetsu_keta[] = new int[4]; hairetsu_keta[0] = 0;hairetsu_keta[1] = 0;hairetsu_keta[2] = 0;hairetsu_keta[3] = 0;\n int hairetsu_keta[] = {0,0,0,0}; // ???????????¨???????????¨????????£????????????\n int j = 0;\n int deru = 0; \n // int hairetsu[] = new int[4]; hairetsu[0] = 0; hairetsu[1] = 0; hairetsu[2] = 0; hairetsu[3] = 0;\n int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//???????????¨???????????¨????????£???????????????????????????????????°????¢????????????????20???\n \n int i= 0;\n while ((c = System.in.read()) != -1 )\n {\n \t// System.out.println(c);\n \tif ( c > 47 && c < 58) // suuji ga kita\n \t {\n \t\thairetsu[i] = c-48;\n \t\ti++;\n \t\tketa++;\n \n \t\t// System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n \t }\n \tif ( c == 10) // return ga kita\n \t{\n \t\thairetsu_keta[j] = keta;\n \t\tderu++; //return ga kitara while wo deru\n \t}\n \tif ( c == 32) //space ga kita\n \t{\n \t\n \t\thairetsu_keta[j] = keta;\n \t\tketa = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n \t\tj++;\n \t}\n \tif (deru > 0)\n \t{\n \t\tbreak;\n \t}\n }\n // ?¨??????\\?????????????????????????????????????????????\n \n // ??°??????????????\\??????\n //int hairetsu_suuchi[] = new int[4]; hairetsu_suuchi[0] = 0; hairetsu_suuchi[1] = 0; hairetsu_suuchi[2] = 0; hairetsu_suuchi[3] = 0;\n int hairetsu_suuchi[] = {0,0,0,0};//???????????¨???????????¨????????£????????????\n int k = 0;\n int m = 0;\n int n = 0;\n \n \n while( n < (j + 1))\n {\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n \thairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n \thairetsu_keta[n] = hairetsu_keta[n] - 1;\n \tm++;\n }\n if (hairetsu_keta[n] == 0)\n {\n \tn++;\n \tk++;\n }\n } \t\n\n //??°??????????????\\???????????????\n for (int p = 0; p < k ; p++)\n {\n // System.out.println(\"???????????°??????\" + hairetsu_suuchi[p]); \n }\n \n System.out.println(hairetsu_suuchi[0]*hairetsu_suuchi[1] + \" \" + (2*(hairetsu_suuchi[0]+hairetsu_suuchi[1])));\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n \n \t// ?¨??????\\??????????????????????????????\n \tint c;\n int keta = 0;\n // int hairetsu_keta[] = new int[4]; hairetsu_keta[0] = 0;hairetsu_keta[1] = 0;hairetsu_keta[2] = 0;hairetsu_keta[3] = 0;\n int hairetsu_keta[] = {0,0,0,0}; // ???????????¨???????????¨????????£????????????\n int j = 0;\n int deru = 0; \n // int hairetsu[] = new int[4]; hairetsu[0] = 0; hairetsu[1] = 0; hairetsu[2] = 0; hairetsu[3] = 0;\n int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//???????????¨???????????¨????????£???????????????????????????????????°????¢????????????????20???\n \n int i= 0;\n while ((c = System.in.read()) != -1 )\n {\n \t// System.out.println(c);\n \tif ( c > 47 && c < 58) // suuji ga kita\n \t {\n \t\thairetsu[i] = c-48;\n \t\ti++;\n \t\tketa++;\n \n \t\t// System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n \t }\n \tif ( c == 10) // return ga kita\n \t{\n \t\thairetsu_keta[j] = keta;\n \t\tderu++; //return ga kitara while wo deru\n \t}\n \tif ( c == 32) //space ga kita\n \t{\n \t\n \t\thairetsu_keta[j] = keta;\n \t\tketa = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n \t\tj++;\n \t}\n \tif (deru > 0)\n \t{\n \t\tbreak;\n \t}\n }\n // ?¨??????\\?????????????????????????????????????????????\n \n // ??°??????????????\\??????\n //int hairetsu_suuchi[] = new int[4]; hairetsu_suuchi[0] = 0; hairetsu_suuchi[1] = 0; hairetsu_suuchi[2] = 0; hairetsu_suuchi[3] = 0;\n int hairetsu_suuchi[] = {0,0,0,0};//???????????¨???????????¨????????£????????????\n int k = 0;\n int m = 0;\n int n = 0;\n \n \n while( n < (j + 1))\n {\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n \thairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n \thairetsu_keta[n] = hairetsu_keta[n] - 1;\n \tm++;\n }\n if (hairetsu_keta[n] == 0)\n {\n \tn++;\n \tk++;\n }\n } \t\n\n //??°??????????????\\???????????????\n for (int p = 0; p < k ; p++)\n {\n // System.out.println(\"???????????°??????\" + hairetsu_suuchi[p]); \n }\n \n System.out.println(hairetsu_suuchi[0]*hairetsu_suuchi[1] + \" \" + (2*(hairetsu_suuchi[0]+hairetsu_suuchi[1])));\n }",
"main",
"{\n \n \t// ?¨??????\\??????????????????????????????\n \tint c;\n int keta = 0;\n // int hairetsu_keta[] = new int[4]; hairetsu_keta[0] = 0;hairetsu_keta[1] = 0;hairetsu_keta[2] = 0;hairetsu_keta[3] = 0;\n int hairetsu_keta[] = {0,0,0,0}; // ???????????¨???????????¨????????£????????????\n int j = 0;\n int deru = 0; \n // int hairetsu[] = new int[4]; hairetsu[0] = 0; hairetsu[1] = 0; hairetsu[2] = 0; hairetsu[3] = 0;\n int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//???????????¨???????????¨????????£???????????????????????????????????°????¢????????????????20???\n \n int i= 0;\n while ((c = System.in.read()) != -1 )\n {\n \t// System.out.println(c);\n \tif ( c > 47 && c < 58) // suuji ga kita\n \t {\n \t\thairetsu[i] = c-48;\n \t\ti++;\n \t\tketa++;\n \n \t\t// System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n \t }\n \tif ( c == 10) // return ga kita\n \t{\n \t\thairetsu_keta[j] = keta;\n \t\tderu++; //return ga kitara while wo deru\n \t}\n \tif ( c == 32) //space ga kita\n \t{\n \t\n \t\thairetsu_keta[j] = keta;\n \t\tketa = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n \t\tj++;\n \t}\n \tif (deru > 0)\n \t{\n \t\tbreak;\n \t}\n }\n // ?¨??????\\?????????????????????????????????????????????\n \n // ??°??????????????\\??????\n //int hairetsu_suuchi[] = new int[4]; hairetsu_suuchi[0] = 0; hairetsu_suuchi[1] = 0; hairetsu_suuchi[2] = 0; hairetsu_suuchi[3] = 0;\n int hairetsu_suuchi[] = {0,0,0,0};//???????????¨???????????¨????????£????????????\n int k = 0;\n int m = 0;\n int n = 0;\n \n \n while( n < (j + 1))\n {\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n \thairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n \thairetsu_keta[n] = hairetsu_keta[n] - 1;\n \tm++;\n }\n if (hairetsu_keta[n] == 0)\n {\n \tn++;\n \tk++;\n }\n } \t\n\n //??°??????????????\\???????????????\n for (int p = 0; p < k ; p++)\n {\n // System.out.println(\"???????????°??????\" + hairetsu_suuchi[p]); \n }\n \n System.out.println(hairetsu_suuchi[0]*hairetsu_suuchi[1] + \" \" + (2*(hairetsu_suuchi[0]+hairetsu_suuchi[1])));\n }",
"int c;",
"c",
"int keta = 0;",
"keta",
"0",
"int hairetsu_keta[] = {0,0,0,0};",
"hairetsu_keta",
"{0,0,0,0}",
"0",
"0",
"0",
"0",
"int j = 0;",
"j",
"0",
"int deru = 0;",
"deru",
"0",
"int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};",
"hairetsu",
"{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"int i= 0;",
"i",
"0",
"while ((c = System.in.read()) != -1 )\n {\n \t// System.out.println(c);\n \tif ( c > 47 && c < 58) // suuji ga kita\n \t {\n \t\thairetsu[i] = c-48;\n \t\ti++;\n \t\tketa++;\n \n \t\t// System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n \t }\n \tif ( c == 10) // return ga kita\n \t{\n \t\thairetsu_keta[j] = keta;\n \t\tderu++; //return ga kitara while wo deru\n \t}\n \tif ( c == 32) //space ga kita\n \t{\n \t\n \t\thairetsu_keta[j] = keta;\n \t\tketa = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n \t\tj++;\n \t}\n \tif (deru > 0)\n \t{\n \t\tbreak;\n \t}\n }",
"(c = System.in.read()) != -1",
"(c = System.in.read())",
"c",
"System.in.read()",
"System.in.read",
"System.in",
"System",
"System.in",
"-1",
"1",
"{\n \t// System.out.println(c);\n \tif ( c > 47 && c < 58) // suuji ga kita\n \t {\n \t\thairetsu[i] = c-48;\n \t\ti++;\n \t\tketa++;\n \n \t\t// System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n \t }\n \tif ( c == 10) // return ga kita\n \t{\n \t\thairetsu_keta[j] = keta;\n \t\tderu++; //return ga kitara while wo deru\n \t}\n \tif ( c == 32) //space ga kita\n \t{\n \t\n \t\thairetsu_keta[j] = keta;\n \t\tketa = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n \t\tj++;\n \t}\n \tif (deru > 0)\n \t{\n \t\tbreak;\n \t}\n }",
"if ( c > 47 && c < 58) // suuji ga kita\n \t {\n \t\thairetsu[i] = c-48;\n \t\ti++;\n \t\tketa++;\n \n \t\t// System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n \t }",
"c > 47 && c < 58",
"c > 47",
"c",
"47",
"c < 58",
"c",
"58",
"{\n \t\thairetsu[i] = c-48;\n \t\ti++;\n \t\tketa++;\n \n \t\t// System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n \t }",
"hairetsu[i] = c-48",
"hairetsu[i]",
"hairetsu",
"i",
"c-48",
"c",
"48",
"i++",
"i",
"keta++",
"keta",
"if ( c == 10) // return ga kita\n \t{\n \t\thairetsu_keta[j] = keta;\n \t\tderu++; //return ga kitara while wo deru\n \t}",
"c == 10",
"c",
"10",
"{\n \t\thairetsu_keta[j] = keta;\n \t\tderu++; //return ga kitara while wo deru\n \t}",
"hairetsu_keta[j] = keta",
"hairetsu_keta[j]",
"hairetsu_keta",
"j",
"keta",
"deru++",
"deru",
"if ( c == 32) //space ga kita\n \t{\n \t\n \t\thairetsu_keta[j] = keta;\n \t\tketa = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n \t\tj++;\n \t}",
"c == 32",
"c",
"32",
"{\n \t\n \t\thairetsu_keta[j] = keta;\n \t\tketa = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n \t\tj++;\n \t}",
"hairetsu_keta[j] = keta",
"hairetsu_keta[j]",
"hairetsu_keta",
"j",
"keta",
"keta = 0",
"keta",
"0",
"j++",
"j",
"if (deru > 0)\n \t{\n \t\tbreak;\n \t}",
"deru > 0",
"deru",
"0",
"{\n \t\tbreak;\n \t}",
"break;",
"int hairetsu_suuchi[] = {0,0,0,0};",
"hairetsu_suuchi",
"{0,0,0,0}",
"0",
"0",
"0",
"0",
"int k = 0;",
"k",
"0",
"int m = 0;",
"m",
"0",
"int n = 0;",
"n",
"0",
"while( n < (j + 1))\n {\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n \thairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n \thairetsu_keta[n] = hairetsu_keta[n] - 1;\n \tm++;\n }\n if (hairetsu_keta[n] == 0)\n {\n \tn++;\n \tk++;\n }\n }",
"n < (j + 1)",
"n",
"(j + 1)",
"j",
"1",
"{\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n \thairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n \thairetsu_keta[n] = hairetsu_keta[n] - 1;\n \tm++;\n }\n if (hairetsu_keta[n] == 0)\n {\n \tn++;\n \tk++;\n }\n }",
"while(j > 0 && hairetsu_keta[n] > 0 )\n {\n \thairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n \thairetsu_keta[n] = hairetsu_keta[n] - 1;\n \tm++;\n }",
"j > 0 && hairetsu_keta[n] > 0",
"j > 0",
"j",
"0",
"hairetsu_keta[n] > 0",
"hairetsu_keta[n]",
"hairetsu_keta",
"n",
"0",
"{\n \thairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n \thairetsu_keta[n] = hairetsu_keta[n] - 1;\n \tm++;\n }",
"hairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m]",
"hairetsu_suuchi[k]",
"hairetsu_suuchi",
"k",
"hairetsu_suuchi[k]*10 + hairetsu[m]",
"hairetsu_suuchi[k]*10",
"hairetsu_suuchi[k]",
"hairetsu_suuchi",
"k",
"10",
"hairetsu[m]",
"hairetsu",
"m",
"hairetsu_keta[n] = hairetsu_keta[n] - 1",
"hairetsu_keta[n]",
"hairetsu_keta",
"n",
"hairetsu_keta[n] - 1",
"hairetsu_keta[n]",
"hairetsu_keta",
"n",
"1",
"m++",
"m",
"if (hairetsu_keta[n] == 0)\n {\n \tn++;\n \tk++;\n }",
"hairetsu_keta[n] == 0",
"hairetsu_keta[n]",
"hairetsu_keta",
"n",
"0",
"{\n \tn++;\n \tk++;\n }",
"n++",
"n",
"k++",
"k",
"for (int p = 0; p < k ; p++)\n {\n // System.out.println(\"???????????°??????\" + hairetsu_suuchi[p]); \n }",
"int p = 0;",
"int p = 0;",
"p",
"0",
"p < k",
"p",
"k",
"p++",
"p++",
"p",
"{\n // System.out.println(\"???????????°??????\" + hairetsu_suuchi[p]); \n }",
"{\n // System.out.println(\"???????????°??????\" + hairetsu_suuchi[p]); \n }",
"System.out.println(hairetsu_suuchi[0]*hairetsu_suuchi[1] + \" \" + (2*(hairetsu_suuchi[0]+hairetsu_suuchi[1])))",
"System.out.println",
"System.out",
"System",
"System.out",
"hairetsu_suuchi[0]*hairetsu_suuchi[1] + \" \" + (2*(hairetsu_suuchi[0]+hairetsu_suuchi[1]))",
"hairetsu_suuchi[0]*hairetsu_suuchi[1] + \" \" + (2*(hairetsu_suuchi[0]+hairetsu_suuchi[1]))",
"hairetsu_suuchi[0]*hairetsu_suuchi[1]",
"hairetsu_suuchi[0]",
"hairetsu_suuchi",
"0",
"hairetsu_suuchi[1]",
"hairetsu_suuchi",
"1",
"\" \"",
"(2*(hairetsu_suuchi[0]+hairetsu_suuchi[1]))",
"2",
"(hairetsu_suuchi[0]+hairetsu_suuchi[1])",
"hairetsu_suuchi[0]",
"hairetsu_suuchi",
"0",
"hairetsu_suuchi[1]",
"hairetsu_suuchi",
"1",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n \n \t// ?¨??????\\??????????????????????????????\n \tint c;\n int keta = 0;\n // int hairetsu_keta[] = new int[4]; hairetsu_keta[0] = 0;hairetsu_keta[1] = 0;hairetsu_keta[2] = 0;hairetsu_keta[3] = 0;\n int hairetsu_keta[] = {0,0,0,0}; // ???????????¨???????????¨????????£????????????\n int j = 0;\n int deru = 0; \n // int hairetsu[] = new int[4]; hairetsu[0] = 0; hairetsu[1] = 0; hairetsu[2] = 0; hairetsu[3] = 0;\n int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//???????????¨???????????¨????????£???????????????????????????????????°????¢????????????????20???\n \n int i= 0;\n while ((c = System.in.read()) != -1 )\n {\n \t// System.out.println(c);\n \tif ( c > 47 && c < 58) // suuji ga kita\n \t {\n \t\thairetsu[i] = c-48;\n \t\ti++;\n \t\tketa++;\n \n \t\t// System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n \t }\n \tif ( c == 10) // return ga kita\n \t{\n \t\thairetsu_keta[j] = keta;\n \t\tderu++; //return ga kitara while wo deru\n \t}\n \tif ( c == 32) //space ga kita\n \t{\n \t\n \t\thairetsu_keta[j] = keta;\n \t\tketa = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n \t\tj++;\n \t}\n \tif (deru > 0)\n \t{\n \t\tbreak;\n \t}\n }\n // ?¨??????\\?????????????????????????????????????????????\n \n // ??°??????????????\\??????\n //int hairetsu_suuchi[] = new int[4]; hairetsu_suuchi[0] = 0; hairetsu_suuchi[1] = 0; hairetsu_suuchi[2] = 0; hairetsu_suuchi[3] = 0;\n int hairetsu_suuchi[] = {0,0,0,0};//???????????¨???????????¨????????£????????????\n int k = 0;\n int m = 0;\n int n = 0;\n \n \n while( n < (j + 1))\n {\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n \thairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n \thairetsu_keta[n] = hairetsu_keta[n] - 1;\n \tm++;\n }\n if (hairetsu_keta[n] == 0)\n {\n \tn++;\n \tk++;\n }\n } \t\n\n //??°??????????????\\???????????????\n for (int p = 0; p < k ; p++)\n {\n // System.out.println(\"???????????°??????\" + hairetsu_suuchi[p]); \n }\n \n System.out.println(hairetsu_suuchi[0]*hairetsu_suuchi[1] + \" \" + (2*(hairetsu_suuchi[0]+hairetsu_suuchi[1])));\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n \n \t// ?¨??????\\??????????????????????????????\n \tint c;\n int keta = 0;\n // int hairetsu_keta[] = new int[4]; hairetsu_keta[0] = 0;hairetsu_keta[1] = 0;hairetsu_keta[2] = 0;hairetsu_keta[3] = 0;\n int hairetsu_keta[] = {0,0,0,0}; // ???????????¨???????????¨????????£????????????\n int j = 0;\n int deru = 0; \n // int hairetsu[] = new int[4]; hairetsu[0] = 0; hairetsu[1] = 0; hairetsu[2] = 0; hairetsu[3] = 0;\n int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//???????????¨???????????¨????????£???????????????????????????????????°????¢????????????????20???\n \n int i= 0;\n while ((c = System.in.read()) != -1 )\n {\n \t// System.out.println(c);\n \tif ( c > 47 && c < 58) // suuji ga kita\n \t {\n \t\thairetsu[i] = c-48;\n \t\ti++;\n \t\tketa++;\n \n \t\t// System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n \t }\n \tif ( c == 10) // return ga kita\n \t{\n \t\thairetsu_keta[j] = keta;\n \t\tderu++; //return ga kitara while wo deru\n \t}\n \tif ( c == 32) //space ga kita\n \t{\n \t\n \t\thairetsu_keta[j] = keta;\n \t\tketa = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n \t\tj++;\n \t}\n \tif (deru > 0)\n \t{\n \t\tbreak;\n \t}\n }\n // ?¨??????\\?????????????????????????????????????????????\n \n // ??°??????????????\\??????\n //int hairetsu_suuchi[] = new int[4]; hairetsu_suuchi[0] = 0; hairetsu_suuchi[1] = 0; hairetsu_suuchi[2] = 0; hairetsu_suuchi[3] = 0;\n int hairetsu_suuchi[] = {0,0,0,0};//???????????¨???????????¨????????£????????????\n int k = 0;\n int m = 0;\n int n = 0;\n \n \n while( n < (j + 1))\n {\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n \thairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n \thairetsu_keta[n] = hairetsu_keta[n] - 1;\n \tm++;\n }\n if (hairetsu_keta[n] == 0)\n {\n \tn++;\n \tk++;\n }\n } \t\n\n //??°??????????????\\???????????????\n for (int p = 0; p < k ; p++)\n {\n // System.out.println(\"???????????°??????\" + hairetsu_suuchi[p]); \n }\n \n System.out.println(hairetsu_suuchi[0]*hairetsu_suuchi[1] + \" \" + (2*(hairetsu_suuchi[0]+hairetsu_suuchi[1])));\n }\n\n}",
"Main"
] |
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
// ?¨??????\??????????????????????????????
int c;
int keta = 0;
// int hairetsu_keta[] = new int[4]; hairetsu_keta[0] = 0;hairetsu_keta[1] = 0;hairetsu_keta[2] = 0;hairetsu_keta[3] = 0;
int hairetsu_keta[] = {0,0,0,0}; // ???????????¨???????????¨????????£????????????
int j = 0;
int deru = 0;
// int hairetsu[] = new int[4]; hairetsu[0] = 0; hairetsu[1] = 0; hairetsu[2] = 0; hairetsu[3] = 0;
int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//???????????¨???????????¨????????£???????????????????????????????????°????¢????????????????20???
int i= 0;
while ((c = System.in.read()) != -1 )
{
// System.out.println(c);
if ( c > 47 && c < 58) // suuji ga kita
{
hairetsu[i] = c-48;
i++;
keta++;
// System.out.println("Qurege_no_kazu_keta_hantaikara:" + Qurage_no_kazu);
}
if ( c == 10) // return ga kita
{
hairetsu_keta[j] = keta;
deru++; //return ga kitara while wo deru
}
if ( c == 32) //space ga kita
{
hairetsu_keta[j] = keta;
keta = 0;//space ga kitara tsugi no moji no tame keta ha sokomade
j++;
}
if (deru > 0)
{
break;
}
}
// ?¨??????\?????????????????????????????????????????????
// ??°??????????????\??????
//int hairetsu_suuchi[] = new int[4]; hairetsu_suuchi[0] = 0; hairetsu_suuchi[1] = 0; hairetsu_suuchi[2] = 0; hairetsu_suuchi[3] = 0;
int hairetsu_suuchi[] = {0,0,0,0};//???????????¨???????????¨????????£????????????
int k = 0;
int m = 0;
int n = 0;
while( n < (j + 1))
{
while(j > 0 && hairetsu_keta[n] > 0 )
{
hairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];
hairetsu_keta[n] = hairetsu_keta[n] - 1;
m++;
}
if (hairetsu_keta[n] == 0)
{
n++;
k++;
}
}
//??°??????????????\???????????????
for (int p = 0; p < k ; p++)
{
// System.out.println("???????????°??????" + hairetsu_suuchi[p]);
}
System.out.println(hairetsu_suuchi[0]*hairetsu_suuchi[1] + " " + (2*(hairetsu_suuchi[0]+hairetsu_suuchi[1])));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
2,
2,
17,
13,
2,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString[] ab = sc.nextLine().split(\" \");\n\n\t\tint a = Integer.parseInt(ab[0]);\n\t\tint b = Integer.parseInt(ab[1]);\n\n\t\tint mennseki = a * b;\n\t\tint shuu = 2*a + 2*b;\n\n\t\tSystem.out.println(mennseki + \" \" + shuu);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString[] ab = sc.nextLine().split(\" \");\n\n\t\tint a = Integer.parseInt(ab[0]);\n\t\tint b = Integer.parseInt(ab[1]);\n\n\t\tint mennseki = a * b;\n\t\tint shuu = 2*a + 2*b;\n\n\t\tSystem.out.println(mennseki + \" \" + shuu);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString[] ab = sc.nextLine().split(\" \");\n\n\t\tint a = Integer.parseInt(ab[0]);\n\t\tint b = Integer.parseInt(ab[1]);\n\n\t\tint mennseki = a * b;\n\t\tint shuu = 2*a + 2*b;\n\n\t\tSystem.out.println(mennseki + \" \" + shuu);\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString[] ab = sc.nextLine().split(\" \");\n\n\t\tint a = Integer.parseInt(ab[0]);\n\t\tint b = Integer.parseInt(ab[1]);\n\n\t\tint mennseki = a * b;\n\t\tint shuu = 2*a + 2*b;\n\n\t\tSystem.out.println(mennseki + \" \" + shuu);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] ab = sc.nextLine().split(\" \");",
"ab",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int a = Integer.parseInt(ab[0]);",
"a",
"Integer.parseInt(ab[0])",
"Integer.parseInt",
"Integer",
"ab[0]",
"ab",
"0",
"int b = Integer.parseInt(ab[1]);",
"b",
"Integer.parseInt(ab[1])",
"Integer.parseInt",
"Integer",
"ab[1]",
"ab",
"1",
"int mennseki = a * b;",
"mennseki",
"a * b",
"a",
"b",
"int shuu = 2*a + 2*b;",
"shuu",
"2*a + 2*b",
"2*a",
"2",
"a",
"2*b",
"2",
"b",
"System.out.println(mennseki + \" \" + shuu)",
"System.out.println",
"System.out",
"System",
"System.out",
"mennseki + \" \" + shuu",
"mennseki + \" \" + shuu",
"mennseki",
"\" \"",
"shuu",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString[] ab = sc.nextLine().split(\" \");\n\n\t\tint a = Integer.parseInt(ab[0]);\n\t\tint b = Integer.parseInt(ab[1]);\n\n\t\tint mennseki = a * b;\n\t\tint shuu = 2*a + 2*b;\n\n\t\tSystem.out.println(mennseki + \" \" + shuu);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString[] ab = sc.nextLine().split(\" \");\n\n\t\tint a = Integer.parseInt(ab[0]);\n\t\tint b = Integer.parseInt(ab[1]);\n\n\t\tint mennseki = a * b;\n\t\tint shuu = 2*a + 2*b;\n\n\t\tSystem.out.println(mennseki + \" \" + shuu);\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
String[] ab = sc.nextLine().split(" ");
int a = Integer.parseInt(ab[0]);
int b = Integer.parseInt(ab[1]);
int mennseki = a * b;
int shuu = 2*a + 2*b;
System.out.println(mennseki + " " + shuu);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
0,
13,
2,
2,
17,
13,
2,
17,
13,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
70,
8
],
[
70,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
11,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
11,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
11,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
61,
66
],
[
9,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"import java.io.*;\nimport java.util.Scanner;\n\npublic class Main{\n public static void main(String args[]){\n \n int x = 0;\n int y = 0;\n int z = 0;\n\n Scanner in = new Scanner(System.in);\n \n\n String buf1 = in.next();\n String buf2 = in.next();\n\n x = Integer.parseInt(buf1);\n y = Integer.parseInt(buf2); \n z = 2*x+2*y; \n \n \n System.out.println(x*y +\" \"+ z);\n \n }\n }",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String args[]){\n \n int x = 0;\n int y = 0;\n int z = 0;\n\n Scanner in = new Scanner(System.in);\n \n\n String buf1 = in.next();\n String buf2 = in.next();\n\n x = Integer.parseInt(buf1);\n y = Integer.parseInt(buf2); \n z = 2*x+2*y; \n \n \n System.out.println(x*y +\" \"+ z);\n \n }\n }",
"Main",
"public static void main(String args[]){\n \n int x = 0;\n int y = 0;\n int z = 0;\n\n Scanner in = new Scanner(System.in);\n \n\n String buf1 = in.next();\n String buf2 = in.next();\n\n x = Integer.parseInt(buf1);\n y = Integer.parseInt(buf2); \n z = 2*x+2*y; \n \n \n System.out.println(x*y +\" \"+ z);\n \n }",
"main",
"{\n \n int x = 0;\n int y = 0;\n int z = 0;\n\n Scanner in = new Scanner(System.in);\n \n\n String buf1 = in.next();\n String buf2 = in.next();\n\n x = Integer.parseInt(buf1);\n y = Integer.parseInt(buf2); \n z = 2*x+2*y; \n \n \n System.out.println(x*y +\" \"+ z);\n \n }",
"int x = 0;",
"x",
"0",
"int y = 0;",
"y",
"0",
"int z = 0;",
"z",
"0",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String buf1 = in.next();",
"buf1",
"in.next()",
"in.next",
"in",
"String buf2 = in.next();",
"buf2",
"in.next()",
"in.next",
"in",
"x = Integer.parseInt(buf1)",
"x",
"Integer.parseInt(buf1)",
"Integer.parseInt",
"Integer",
"buf1",
"y = Integer.parseInt(buf2)",
"y",
"Integer.parseInt(buf2)",
"Integer.parseInt",
"Integer",
"buf2",
"z = 2*x+2*y",
"z",
"2*x+2*y",
"2*x",
"2",
"x",
"2*y",
"2",
"y",
"System.out.println(x*y +\" \"+ z)",
"System.out.println",
"System.out",
"System",
"System.out",
"x*y +\" \"+ z",
"x*y +\" \"+ z",
"x*y",
"x",
"y",
"\" \"",
"z",
"String args[]",
"args",
"public class Main{\n public static void main(String args[]){\n \n int x = 0;\n int y = 0;\n int z = 0;\n\n Scanner in = new Scanner(System.in);\n \n\n String buf1 = in.next();\n String buf2 = in.next();\n\n x = Integer.parseInt(buf1);\n y = Integer.parseInt(buf2); \n z = 2*x+2*y; \n \n \n System.out.println(x*y +\" \"+ z);\n \n }\n }",
"public class Main{\n public static void main(String args[]){\n \n int x = 0;\n int y = 0;\n int z = 0;\n\n Scanner in = new Scanner(System.in);\n \n\n String buf1 = in.next();\n String buf2 = in.next();\n\n x = Integer.parseInt(buf1);\n y = Integer.parseInt(buf2); \n z = 2*x+2*y; \n \n \n System.out.println(x*y +\" \"+ z);\n \n }\n }",
"Main"
] | import java.io.*;
import java.util.Scanner;
public class Main{
public static void main(String args[]){
int x = 0;
int y = 0;
int z = 0;
Scanner in = new Scanner(System.in);
String buf1 = in.next();
String buf2 = in.next();
x = Integer.parseInt(buf1);
y = Integer.parseInt(buf2);
z = 2*x+2*y;
System.out.println(x*y +" "+ z);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
2,
17,
13,
2,
17,
13,
41,
13,
20,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
20,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
20,
45
],
[
45,
46
],
[
45,
47
],
[
20,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n int vertical = sc.nextInt();\n int horizontal = sc.nextInt();\n int size = vertical * horizontal;\n int circuit = 2 * vertical + 2 * horizontal;\n StringBuffer sb = new StringBuffer(size + \" \" + circuit);\n System.out.println(sb);\n } catch (Exception e) {\n // TODO: handle exception\n } finally {\n sc.close();\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 try {\n int vertical = sc.nextInt();\n int horizontal = sc.nextInt();\n int size = vertical * horizontal;\n int circuit = 2 * vertical + 2 * horizontal;\n StringBuffer sb = new StringBuffer(size + \" \" + circuit);\n System.out.println(sb);\n } catch (Exception e) {\n // TODO: handle exception\n } finally {\n sc.close();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n int vertical = sc.nextInt();\n int horizontal = sc.nextInt();\n int size = vertical * horizontal;\n int circuit = 2 * vertical + 2 * horizontal;\n StringBuffer sb = new StringBuffer(size + \" \" + circuit);\n System.out.println(sb);\n } catch (Exception e) {\n // TODO: handle exception\n } finally {\n sc.close();\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n try {\n int vertical = sc.nextInt();\n int horizontal = sc.nextInt();\n int size = vertical * horizontal;\n int circuit = 2 * vertical + 2 * horizontal;\n StringBuffer sb = new StringBuffer(size + \" \" + circuit);\n System.out.println(sb);\n } catch (Exception e) {\n // TODO: handle exception\n } finally {\n sc.close();\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"try {\n int vertical = sc.nextInt();\n int horizontal = sc.nextInt();\n int size = vertical * horizontal;\n int circuit = 2 * vertical + 2 * horizontal;\n StringBuffer sb = new StringBuffer(size + \" \" + circuit);\n System.out.println(sb);\n } catch (Exception e) {\n // TODO: handle exception\n } finally {\n sc.close();\n }",
"catch (Exception e) {\n // TODO: handle exception\n }",
"Exception e",
"{\n // TODO: handle exception\n }",
"{\n sc.close();\n }",
"sc.close()",
"sc.close",
"sc",
"{\n int vertical = sc.nextInt();\n int horizontal = sc.nextInt();\n int size = vertical * horizontal;\n int circuit = 2 * vertical + 2 * horizontal;\n StringBuffer sb = new StringBuffer(size + \" \" + circuit);\n System.out.println(sb);\n }",
"int vertical = sc.nextInt();",
"vertical",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int horizontal = sc.nextInt();",
"horizontal",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int size = vertical * horizontal;",
"size",
"vertical * horizontal",
"vertical",
"horizontal",
"int circuit = 2 * vertical + 2 * horizontal;",
"circuit",
"2 * vertical + 2 * horizontal",
"2 * vertical",
"2",
"vertical",
"2 * horizontal",
"2",
"horizontal",
"StringBuffer sb = new StringBuffer(size + \" \" + circuit);",
"sb",
"new StringBuffer(size + \" \" + circuit)",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n int vertical = sc.nextInt();\n int horizontal = sc.nextInt();\n int size = vertical * horizontal;\n int circuit = 2 * vertical + 2 * horizontal;\n StringBuffer sb = new StringBuffer(size + \" \" + circuit);\n System.out.println(sb);\n } catch (Exception e) {\n // TODO: handle exception\n } finally {\n sc.close();\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n int vertical = sc.nextInt();\n int horizontal = sc.nextInt();\n int size = vertical * horizontal;\n int circuit = 2 * vertical + 2 * horizontal;\n StringBuffer sb = new StringBuffer(size + \" \" + circuit);\n System.out.println(sb);\n } catch (Exception e) {\n // TODO: handle exception\n } finally {\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);
try {
int vertical = sc.nextInt();
int horizontal = sc.nextInt();
int size = vertical * horizontal;
int circuit = 2 * vertical + 2 * horizontal;
StringBuffer sb = new StringBuffer(size + " " + circuit);
System.out.println(sb);
} catch (Exception e) {
// TODO: handle exception
} finally {
sc.close();
}
}
} |
[
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,
2,
2,
13,
13,
17,
2,
2,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
6,
44
],
[
44,
45
]
] | [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n \t//System.out.println(\"数字を入力してください\");\n \tScanner sc = new Scanner(System.in);\n \tint a = Integer.parseInt(sc.next());\n \tint b = Integer.parseInt(sc.next());\n System.out.println(a*b+\" \"+(a+b)*2);\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n \t//System.out.println(\"数字を入力してください\");\n \tScanner sc = new Scanner(System.in);\n \tint a = Integer.parseInt(sc.next());\n \tint b = Integer.parseInt(sc.next());\n System.out.println(a*b+\" \"+(a+b)*2);\n }\n}",
"Main",
"public static void main(String[] args) {\n \t//System.out.println(\"数字を入力してください\");\n \tScanner sc = new Scanner(System.in);\n \tint a = Integer.parseInt(sc.next());\n \tint b = Integer.parseInt(sc.next());\n System.out.println(a*b+\" \"+(a+b)*2);\n }",
"main",
"{\n \t//System.out.println(\"数字を入力してください\");\n \tScanner sc = new Scanner(System.in);\n \tint a = Integer.parseInt(sc.next());\n \tint b = Integer.parseInt(sc.next());\n System.out.println(a*b+\" \"+(a+b)*2);\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+\" \"+(a+b)*2)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b+\" \"+(a+b)*2",
"a*b+\" \"+(a+b)*2",
"a*b",
"a",
"b",
"\" \"",
"(a+b)*2",
"(a+b)",
"a",
"b",
"2",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
//System.out.println("数字を入力してください");
Scanner sc = new Scanner(System.in);
int a = Integer.parseInt(sc.next());
int b = Integer.parseInt(sc.next());
System.out.println(a*b+" "+(a+b)*2);
}
}
|
[
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,
17,
2,
13,
13,
2,
17,
2,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
22,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
6,
39
],
[
39,
40
]
] | [
"import java.util.Scanner;\n\nclass 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\n System.out.printf(\"%d %d\\n\", a*b, 2*(a+b));\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n System.out.printf(\"%d %d\\n\", a*b, 2*(a+b));\n sc.close();\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\n System.out.printf(\"%d %d\\n\", a*b, 2*(a+b));\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n System.out.printf(\"%d %d\\n\", a*b, 2*(a+b));\n sc.close();\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.printf(\"%d %d\\n\", a*b, 2*(a+b))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"a*b",
"a",
"b",
"2*(a+b)",
"2",
"(a+b)",
"a",
"b",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.printf("%d %d\n", a*b, 2*(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,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
6,
46
],
[
46,
47
]
] | [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int tate = sc.nextInt();\n int yoko = sc.nextInt();\n int a = tate*yoko;\n int b = tate*2+yoko*2;\n System.out.println(a+\" \"+b);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int tate = sc.nextInt();\n int yoko = sc.nextInt();\n int a = tate*yoko;\n int b = tate*2+yoko*2;\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 tate = sc.nextInt();\n int yoko = sc.nextInt();\n int a = tate*yoko;\n int b = tate*2+yoko*2;\n System.out.println(a+\" \"+b);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n int tate = sc.nextInt();\n int yoko = sc.nextInt();\n int a = tate*yoko;\n int b = tate*2+yoko*2;\n System.out.println(a+\" \"+b);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int tate = sc.nextInt();",
"tate",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int yoko = sc.nextInt();",
"yoko",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int a = tate*yoko;",
"a",
"tate*yoko",
"tate",
"yoko",
"int b = tate*2+yoko*2;",
"b",
"tate*2+yoko*2",
"tate*2",
"tate",
"2",
"yoko*2",
"yoko",
"2",
"System.out.println(a+\" \"+b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a+\" \"+b",
"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 tate = sc.nextInt();
int yoko = sc.nextInt();
int a = tate*yoko;
int b = tate*2+yoko*2;
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,
41,
13,
2,
2,
17,
13,
2,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\npublic class Main {\n\npublic static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\tint area = a * b;\n\t\tint perimeter = (2*a) + (2*b);\n\t\tSystem.out.println(area + \" \" + perimeter);\n}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\npublic static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\tint area = a * b;\n\t\tint perimeter = (2*a) + (2*b);\n\t\tSystem.out.println(area + \" \" + perimeter);\n}\n}",
"Main",
"public static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\tint area = a * b;\n\t\tint perimeter = (2*a) + (2*b);\n\t\tSystem.out.println(area + \" \" + perimeter);\n}",
"main",
"{\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\tint area = a * b;\n\t\tint perimeter = (2*a) + (2*b);\n\t\tSystem.out.println(area + \" \" + perimeter);\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 area = a * b;",
"area",
"a * b",
"a",
"b",
"int perimeter = (2*a) + (2*b);",
"perimeter",
"(2*a) + (2*b)",
"(2*a)",
"2",
"a",
"(2*b)",
"2",
"b",
"System.out.println(area + \" \" + perimeter)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" + perimeter",
"area + \" \" + perimeter",
"area",
"\" \"",
"perimeter",
"String[] args",
"args",
"public class Main {\n\npublic static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\tint area = a * b;\n\t\tint perimeter = (2*a) + (2*b);\n\t\tSystem.out.println(area + \" \" + perimeter);\n}\n}",
"public class Main {\n\npublic static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\tint area = a * b;\n\t\tint perimeter = (2*a) + (2*b);\n\t\tSystem.out.println(area + \" \" + perimeter);\n}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int area = a * b;
int perimeter = (2*a) + (2*b);
System.out.println(area + " " + perimeter);
}
}
|
[
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,
28,
13,
4,
18,
13,
4,
18,
4,
18,
4,
18,
13,
17,
30,
4,
18,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
13,
17,
2,
2,
17,
13,
2,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
86,
20
],
[
86,
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
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
35,
42
],
[
30,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
23,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
23,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
23,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
70,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
69,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
21,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.List;\n\npublic class Main {\n\n\tpublic static void main(String[] args)throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t List<Integer> list = new ArrayList<Integer>();\n\t\t for (String s : Arrays.asList(br.readLine().trim().split(\"\\\\s+\"))) list.add(Integer.parseInt(s));\n\t\t \n\t\t int a = list.get(0), b = list.get(1);\n\t\t \n\t\t System.out.println(\"\"+(a*b)+\" \"+(2*a+2*b));\n\t\t \n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args)throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t List<Integer> list = new ArrayList<Integer>();\n\t\t for (String s : Arrays.asList(br.readLine().trim().split(\"\\\\s+\"))) list.add(Integer.parseInt(s));\n\t\t \n\t\t int a = list.get(0), b = list.get(1);\n\t\t \n\t\t System.out.println(\"\"+(a*b)+\" \"+(2*a+2*b));\n\t\t \n\t}\n\n}",
"Main",
"public static void main(String[] args)throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t List<Integer> list = new ArrayList<Integer>();\n\t\t for (String s : Arrays.asList(br.readLine().trim().split(\"\\\\s+\"))) list.add(Integer.parseInt(s));\n\t\t \n\t\t int a = list.get(0), b = list.get(1);\n\t\t \n\t\t System.out.println(\"\"+(a*b)+\" \"+(2*a+2*b));\n\t\t \n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t List<Integer> list = new ArrayList<Integer>();\n\t\t for (String s : Arrays.asList(br.readLine().trim().split(\"\\\\s+\"))) list.add(Integer.parseInt(s));\n\t\t \n\t\t int a = list.get(0), b = list.get(1);\n\t\t \n\t\t System.out.println(\"\"+(a*b)+\" \"+(2*a+2*b));\n\t\t \n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for (String s : Arrays.asList(br.readLine().trim().split(\"\\\\s+\"))) list.add(Integer.parseInt(s));",
"String s",
"Arrays.asList(br.readLine().trim().split(\"\\\\s+\"))",
"Arrays.asList",
"Arrays",
"br.readLine().trim().split(\"\\\\s+\")",
"br.readLine().trim().split",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"\"\\\\s+\"",
"list.add(Integer.parseInt(s));",
"list.add(Integer.parseInt(s))",
"list.add",
"list",
"Integer.parseInt(s)",
"Integer.parseInt",
"Integer",
"s",
"int a = list.get(0)",
"a",
"list.get(0)",
"list.get",
"list",
"0",
"b = list.get(1);",
"b",
"list.get(1)",
"list.get",
"list",
"1",
"System.out.println(\"\"+(a*b)+\" \"+(2*a+2*b))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"+(a*b)+\" \"+(2*a+2*b)",
"\" \"",
"\"\"+(a*b)+\" \"+(2*a+2*b)",
"\"\"",
"(a*b)",
"a",
"b",
"\" \"",
"(2*a+2*b)",
"2*a",
"2",
"a",
"2*b",
"2",
"b",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args)throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t List<Integer> list = new ArrayList<Integer>();\n\t\t for (String s : Arrays.asList(br.readLine().trim().split(\"\\\\s+\"))) list.add(Integer.parseInt(s));\n\t\t \n\t\t int a = list.get(0), b = list.get(1);\n\t\t \n\t\t System.out.println(\"\"+(a*b)+\" \"+(2*a+2*b));\n\t\t \n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args)throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t List<Integer> list = new ArrayList<Integer>();\n\t\t for (String s : Arrays.asList(br.readLine().trim().split(\"\\\\s+\"))) list.add(Integer.parseInt(s));\n\t\t \n\t\t int a = list.get(0), b = list.get(1);\n\t\t \n\t\t System.out.println(\"\"+(a*b)+\" \"+(2*a+2*b));\n\t\t \n\t}\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.List;
public class Main {
public static void main(String[] args)throws IOException {
// TODO ?????????????????????????????????????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
List<Integer> list = new ArrayList<Integer>();
for (String s : Arrays.asList(br.readLine().trim().split("\\s+"))) list.add(Integer.parseInt(s));
int a = list.get(0), b = list.get(1);
System.out.println(""+(a*b)+" "+(2*a+2*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,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
]
] | [
"import java.util.Scanner;\n\nclass Main{\n\n\t\tpublic static void main(String[] args){\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\tint xy = x*2+y*2;\n\t\t\tSystem.out.println(x*y + \" \" + xy);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\n\t\tpublic static void main(String[] args){\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\tint xy = x*2+y*2;\n\t\t\tSystem.out.println(x*y + \" \" + xy);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\tint xy = x*2+y*2;\n\t\t\tSystem.out.println(x*y + \" \" + xy);\n\t}",
"main",
"{\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\tint xy = x*2+y*2;\n\t\t\tSystem.out.println(x*y + \" \" + xy);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int xy = x*2+y*2;",
"xy",
"x*2+y*2",
"x*2",
"x",
"2",
"y*2",
"y",
"2",
"System.out.println(x*y + \" \" + xy)",
"System.out.println",
"System.out",
"System",
"System.out",
"x*y + \" \" + xy",
"x*y + \" \" + xy",
"x*y",
"x",
"y",
"\" \"",
"xy",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int y = scan.nextInt();
int xy = x*2+y*2;
System.out.println(x*y + " " + xy);
}
} |
[
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,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
2,
13,
17,
2,
13,
17,
4,
18,
13,
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
],
[
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
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint x,y;\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\tSystem.out.println((x*y) +\" \"+(x*2 + y*2));\n\n\t\tsc.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint x,y;\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\tSystem.out.println((x*y) +\" \"+(x*2 + y*2));\n\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tint x,y;\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\tSystem.out.println((x*y) +\" \"+(x*2 + y*2));\n\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tint x,y;\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\tSystem.out.println((x*y) +\" \"+(x*2 + y*2));\n\n\t\tsc.close();\n\t}",
"int x",
"x",
"y;",
"y",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println((x*y) +\" \"+(x*2 + y*2))",
"System.out.println",
"System.out",
"System",
"System.out",
"(x*y) +\" \"+(x*2 + y*2)",
"(x*y) +\" \"+(x*2 + y*2)",
"(x*y)",
"x",
"y",
"\" \"",
"(x*2 + y*2)",
"x*2",
"x",
"2",
"y*2",
"y",
"2",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint x,y;\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\tSystem.out.println((x*y) +\" \"+(x*2 + y*2));\n\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint x,y;\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\tSystem.out.println((x*y) +\" \"+(x*2 + y*2));\n\n\t\tsc.close();\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int x,y;
Scanner sc = new Scanner(System.in);
x = sc.nextInt();
y = sc.nextInt();
System.out.println((x*y) +" "+(x*2 + y*2));
sc.close();
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
17,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
5,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
5,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
5,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
5,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
36,
40
],
[
36,
41
],
[
3,
42
],
[
42,
43
]
] | [
"class Main{\n public static void main(String[] args){\n java.util.Scanner in = new java.util.Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n int area = a * b;\n int length = 2 * (a+b);\n System.out.println(String.format(\n \"%d %d\", area, length));\n }\n}",
"class Main{\n public static void main(String[] args){\n java.util.Scanner in = new java.util.Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n int area = a * b;\n int length = 2 * (a+b);\n System.out.println(String.format(\n \"%d %d\", area, length));\n }\n}",
"Main",
"public static void main(String[] args){\n java.util.Scanner in = new java.util.Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n int area = a * b;\n int length = 2 * (a+b);\n System.out.println(String.format(\n \"%d %d\", area, length));\n }",
"main",
"{\n java.util.Scanner in = new java.util.Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n int area = a * b;\n int length = 2 * (a+b);\n System.out.println(String.format(\n \"%d %d\", area, length));\n }",
"java.util.Scanner in = new java.util.Scanner(System.in);",
"in",
"new java.util.Scanner(System.in)",
"int a = in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"int b = in.nextInt();",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"int area = a * b;",
"area",
"a * b",
"a",
"b",
"int length = 2 * (a+b);",
"length",
"2 * (a+b)",
"2",
"(a+b)",
"a",
"b",
"System.out.println(String.format(\n \"%d %d\", area, length))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\n \"%d %d\", area, length)",
"String.format",
"String",
"\"%d %d\"",
"area",
"length",
"String[] args",
"args"
] | class Main{
public static void main(String[] args){
java.util.Scanner in = new java.util.Scanner(System.in);
int a = in.nextInt();
int b = in.nextInt();
int area = a * b;
int length = 2 * (a+b);
System.out.println(String.format(
"%d %d", area, length));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
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,
2,
2,
13,
13,
17,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
66,
8
],
[
66,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
9,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n line = line.trim();\n //半角スペースを区切り文字として扱う\n String[] readLineArray = line.split(\"[\\\\s+]\");\n //変数に配列を代入\n int a = Integer.parseInt(readLineArray[0]);\n int b = Integer.parseInt(readLineArray[1]);\n System.out.println(a*b+\" \"+(a+b)*2);\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\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n line = line.trim();\n //半角スペースを区切り文字として扱う\n String[] readLineArray = line.split(\"[\\\\s+]\");\n //変数に配列を代入\n int a = Integer.parseInt(readLineArray[0]);\n int b = Integer.parseInt(readLineArray[1]);\n System.out.println(a*b+\" \"+(a+b)*2);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n line = line.trim();\n //半角スペースを区切り文字として扱う\n String[] readLineArray = line.split(\"[\\\\s+]\");\n //変数に配列を代入\n int a = Integer.parseInt(readLineArray[0]);\n int b = Integer.parseInt(readLineArray[1]);\n System.out.println(a*b+\" \"+(a+b)*2);\n }",
"main",
"{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n line = line.trim();\n //半角スペースを区切り文字として扱う\n String[] readLineArray = line.split(\"[\\\\s+]\");\n //変数に配列を代入\n int a = Integer.parseInt(readLineArray[0]);\n int b = Integer.parseInt(readLineArray[1]);\n System.out.println(a*b+\" \"+(a+b)*2);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"line = line.trim()",
"line",
"line.trim()",
"line.trim",
"line",
"String[] readLineArray = line.split(\"[\\\\s+]\");",
"readLineArray",
"line.split(\"[\\\\s+]\")",
"line.split",
"line",
"\"[\\\\s+]\"",
"int a = Integer.parseInt(readLineArray[0]);",
"a",
"Integer.parseInt(readLineArray[0])",
"Integer.parseInt",
"Integer",
"readLineArray[0]",
"readLineArray",
"0",
"int b = Integer.parseInt(readLineArray[1]);",
"b",
"Integer.parseInt(readLineArray[1])",
"Integer.parseInt",
"Integer",
"readLineArray[1]",
"readLineArray",
"1",
"System.out.println(a*b+\" \"+(a+b)*2)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b+\" \"+(a+b)*2",
"a*b+\" \"+(a+b)*2",
"a*b",
"a",
"b",
"\" \"",
"(a+b)*2",
"(a+b)",
"a",
"b",
"2",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n line = line.trim();\n //半角スペースを区切り文字として扱う\n String[] readLineArray = line.split(\"[\\\\s+]\");\n //変数に配列を代入\n int a = Integer.parseInt(readLineArray[0]);\n int b = Integer.parseInt(readLineArray[1]);\n System.out.println(a*b+\" \"+(a+b)*2);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n line = line.trim();\n //半角スペースを区切り文字として扱う\n String[] readLineArray = line.split(\"[\\\\s+]\");\n //変数に配列を代入\n int a = Integer.parseInt(readLineArray[0]);\n int b = Integer.parseInt(readLineArray[1]);\n System.out.println(a*b+\" \"+(a+b)*2);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
line = line.trim();
//半角スペースを区切り文字として扱う
String[] readLineArray = line.split("[\\s+]");
//変数に配列を代入
int a = Integer.parseInt(readLineArray[0]);
int b = Integer.parseInt(readLineArray[1]);
System.out.println(a*b+" "+(a+b)*2);
}
} |
[
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,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
17,
2,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.util.Scanner;\npublic class Main{\n\tpublic static void main (String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tString str = s.nextLine();\n\t\tString strArray[] = str.split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tSystem.out.println((a*b) +\" \"+ 2*(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 s = new Scanner(System.in);\n\t\tString str = s.nextLine();\n\t\tString strArray[] = str.split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tSystem.out.println((a*b) +\" \"+ 2*(a+b));\n\t}\n}",
"Main",
"public static void main (String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tString str = s.nextLine();\n\t\tString strArray[] = str.split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tSystem.out.println((a*b) +\" \"+ 2*(a+b));\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tString str = s.nextLine();\n\t\tString strArray[] = str.split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tSystem.out.println((a*b) +\" \"+ 2*(a+b));\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"String str = s.nextLine();",
"str",
"s.nextLine()",
"s.nextLine",
"s",
"String strArray[] = str.split(\" \");",
"strArray",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int a = Integer.parseInt(strArray[0]);",
"a",
"Integer.parseInt(strArray[0])",
"Integer.parseInt",
"Integer",
"strArray[0]",
"strArray",
"0",
"int b = Integer.parseInt(strArray[1]);",
"b",
"Integer.parseInt(strArray[1])",
"Integer.parseInt",
"Integer",
"strArray[1]",
"strArray",
"1",
"System.out.println((a*b) +\" \"+ 2*(a+b))",
"System.out.println",
"System.out",
"System",
"System.out",
"(a*b) +\" \"+ 2*(a+b)",
"(a*b) +\" \"+ 2*(a+b)",
"(a*b)",
"a",
"b",
"\" \"",
"2*(a+b)",
"2",
"(a+b)",
"a",
"b",
"String[] args",
"args",
"public class Main{\n\tpublic static void main (String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tString str = s.nextLine();\n\t\tString strArray[] = str.split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tSystem.out.println((a*b) +\" \"+ 2*(a+b));\n\t}\n}",
"public class Main{\n\tpublic static void main (String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tString str = s.nextLine();\n\t\tString strArray[] = str.split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tSystem.out.println((a*b) +\" \"+ 2*(a+b));\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main (String[] args){
Scanner s = new Scanner(System.in);
String str = s.nextLine();
String strArray[] = str.split(" ");
int a = Integer.parseInt(strArray[0]);
int b = Integer.parseInt(strArray[1]);
System.out.println((a*b) +" "+ 2*(a+b));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
13,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
52,
8
],
[
52,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
25,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
45,
45
],
[
45,
46
],
[
45,
47
],
[
45,
48
],
[
9,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint area=1;\n\t\tint length=0;\n\t\twhile(scan.hasNext()){\n\t\t\t\n\t\t\tint num = scan.nextInt();\n\t\t\tarea*=num;\n\t\t\tlength+=num*2;\n\t\t}\n\t\tSystem.out.println(area+\" \"+length);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint area=1;\n\t\tint length=0;\n\t\twhile(scan.hasNext()){\n\t\t\t\n\t\t\tint num = scan.nextInt();\n\t\t\tarea*=num;\n\t\t\tlength+=num*2;\n\t\t}\n\t\tSystem.out.println(area+\" \"+length);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint area=1;\n\t\tint length=0;\n\t\twhile(scan.hasNext()){\n\t\t\t\n\t\t\tint num = scan.nextInt();\n\t\t\tarea*=num;\n\t\t\tlength+=num*2;\n\t\t}\n\t\tSystem.out.println(area+\" \"+length);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint area=1;\n\t\tint length=0;\n\t\twhile(scan.hasNext()){\n\t\t\t\n\t\t\tint num = scan.nextInt();\n\t\t\tarea*=num;\n\t\t\tlength+=num*2;\n\t\t}\n\t\tSystem.out.println(area+\" \"+length);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int area=1;",
"area",
"1",
"int length=0;",
"length",
"0",
"while(scan.hasNext()){\n\t\t\t\n\t\t\tint num = scan.nextInt();\n\t\t\tarea*=num;\n\t\t\tlength+=num*2;\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\t\n\t\t\tint num = scan.nextInt();\n\t\t\tarea*=num;\n\t\t\tlength+=num*2;\n\t\t}",
"int num = scan.nextInt();",
"num",
"scan.nextInt()",
"scan.nextInt",
"scan",
"area*=num",
"area",
"num",
"length+=num*2",
"length",
"num*2",
"num",
"2",
"System.out.println(area+\" \"+length)",
"System.out.println",
"System.out",
"System",
"System.out",
"area+\" \"+length",
"area+\" \"+length",
"area",
"\" \"",
"length",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint area=1;\n\t\tint length=0;\n\t\twhile(scan.hasNext()){\n\t\t\t\n\t\t\tint num = scan.nextInt();\n\t\t\tarea*=num;\n\t\t\tlength+=num*2;\n\t\t}\n\t\tSystem.out.println(area+\" \"+length);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint area=1;\n\t\tint length=0;\n\t\twhile(scan.hasNext()){\n\t\t\t\n\t\t\tint num = scan.nextInt();\n\t\t\tarea*=num;\n\t\t\tlength+=num*2;\n\t\t}\n\t\tSystem.out.println(area+\" \"+length);\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int area=1;
int length=0;
while(scan.hasNext()){
int num = scan.nextInt();
area*=num;
length+=num*2;
}
System.out.println(area+" "+length);
}
} |
[
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,
2,
2,
13,
13,
17,
2,
2,
2,
13,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
36,
42
],
[
9,
43
],
[
43,
44
]
] | [
"import java.lang.*;\nimport java.util.*;\n \nclass Main{\n public static void main(String[] args){\n Scanner stdId = new Scanner(System.in);\n int a = stdId.nextInt(); \n\t\t int b = stdId.nextInt();\n System.out.println((a*b) + \" \" + (a+a+b+b));\n }\n}",
"import java.lang.*;",
"lang.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner stdId = new Scanner(System.in);\n int a = stdId.nextInt(); \n\t\t int b = stdId.nextInt();\n System.out.println((a*b) + \" \" + (a+a+b+b));\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner stdId = new Scanner(System.in);\n int a = stdId.nextInt(); \n\t\t int b = stdId.nextInt();\n System.out.println((a*b) + \" \" + (a+a+b+b));\n }",
"main",
"{\n Scanner stdId = new Scanner(System.in);\n int a = stdId.nextInt(); \n\t\t int b = stdId.nextInt();\n System.out.println((a*b) + \" \" + (a+a+b+b));\n }",
"Scanner stdId = new Scanner(System.in);",
"stdId",
"new Scanner(System.in)",
"int a = stdId.nextInt();",
"a",
"stdId.nextInt()",
"stdId.nextInt",
"stdId",
"int b = stdId.nextInt();",
"b",
"stdId.nextInt()",
"stdId.nextInt",
"stdId",
"System.out.println((a*b) + \" \" + (a+a+b+b))",
"System.out.println",
"System.out",
"System",
"System.out",
"(a*b) + \" \" + (a+a+b+b)",
"(a*b) + \" \" + (a+a+b+b)",
"(a*b)",
"a",
"b",
"\" \"",
"(a+a+b+b)",
"b",
"a+a+b+b",
"a",
"a",
"b",
"b",
"String[] args",
"args"
] | import java.lang.*;
import java.util.*;
class Main{
public static void main(String[] args){
Scanner stdId = new Scanner(System.in);
int a = stdId.nextInt();
int b = stdId.nextInt();
System.out.println((a*b) + " " + (a+a+b+b));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
2,
13,
13,
17,
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
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
9,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.io.*;\nimport java.util.*;\npublic class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int h=Integer.parseInt(st.nextToken());\n int w=Integer.parseInt(st.nextToken());\n System.out.println((h*w)+\" \"+((h+w)*2));\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 BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int h=Integer.parseInt(st.nextToken());\n int w=Integer.parseInt(st.nextToken());\n System.out.println((h*w)+\" \"+((h+w)*2));\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int h=Integer.parseInt(st.nextToken());\n int w=Integer.parseInt(st.nextToken());\n System.out.println((h*w)+\" \"+((h+w)*2));\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int h=Integer.parseInt(st.nextToken());\n int w=Integer.parseInt(st.nextToken());\n System.out.println((h*w)+\" \"+((h+w)*2));\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int h=Integer.parseInt(st.nextToken());",
"h",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int w=Integer.parseInt(st.nextToken());",
"w",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"System.out.println((h*w)+\" \"+((h+w)*2))",
"System.out.println",
"System.out",
"System",
"System.out",
"(h*w)+\" \"+((h+w)*2)",
"(h*w)+\" \"+((h+w)*2)",
"(h*w)",
"h",
"w",
"\" \"",
"((h+w)*2)",
"(h+w)",
"h",
"w",
"2",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int h=Integer.parseInt(st.nextToken());\n int w=Integer.parseInt(st.nextToken());\n System.out.println((h*w)+\" \"+((h+w)*2));\n }\n}",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int h=Integer.parseInt(st.nextToken());\n int w=Integer.parseInt(st.nextToken());\n System.out.println((h*w)+\" \"+((h+w)*2));\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));
StringTokenizer st=new StringTokenizer(br.readLine());
int h=Integer.parseInt(st.nextToken());
int w=Integer.parseInt(st.nextToken());
System.out.println((h*w)+" "+((h+w)*2));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
0,
13,
4,
13,
41,
13,
0,
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,
2,
2,
13,
13,
17,
2,
2,
17,
13,
2,
17,
13,
23,
13,
12,
13,
30,
41,
13,
20,
29,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
73,
8
],
[
73,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
11,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
48,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
9,
60
],
[
60,
61
],
[
73,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tString inStr;\n\t\tinStr = inp();\n\t\tString[] in;\n\t\tin = inStr.split(\" \");\n\n\t\tint a = Integer.valueOf(in[0]);\n\t\tint b = Integer.valueOf(in[1]);\n\t\tSystem.out.println((a * b) + \" \" + (2 * a + 2 * b));\n\n\t}\n\n\tprivate static String inp() throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\treturn br.readLine();\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tString inStr;\n\t\tinStr = inp();\n\t\tString[] in;\n\t\tin = inStr.split(\" \");\n\n\t\tint a = Integer.valueOf(in[0]);\n\t\tint b = Integer.valueOf(in[1]);\n\t\tSystem.out.println((a * b) + \" \" + (2 * a + 2 * b));\n\n\t}\n\n\tprivate static String inp() throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\treturn br.readLine();\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tString inStr;\n\t\tinStr = inp();\n\t\tString[] in;\n\t\tin = inStr.split(\" \");\n\n\t\tint a = Integer.valueOf(in[0]);\n\t\tint b = Integer.valueOf(in[1]);\n\t\tSystem.out.println((a * b) + \" \" + (2 * a + 2 * b));\n\n\t}",
"main",
"{\n\t\tString inStr;\n\t\tinStr = inp();\n\t\tString[] in;\n\t\tin = inStr.split(\" \");\n\n\t\tint a = Integer.valueOf(in[0]);\n\t\tint b = Integer.valueOf(in[1]);\n\t\tSystem.out.println((a * b) + \" \" + (2 * a + 2 * b));\n\n\t}",
"String inStr;",
"inStr",
"inStr = inp()",
"inStr",
"inp()",
"inp",
"String[] in;",
"in",
"in = inStr.split(\" \")",
"in",
"inStr.split(\" \")",
"inStr.split",
"inStr",
"\" \"",
"int a = Integer.valueOf(in[0]);",
"a",
"Integer.valueOf(in[0])",
"Integer.valueOf",
"Integer",
"in[0]",
"in",
"0",
"int b = Integer.valueOf(in[1]);",
"b",
"Integer.valueOf(in[1])",
"Integer.valueOf",
"Integer",
"in[1]",
"in",
"1",
"System.out.println((a * b) + \" \" + (2 * a + 2 * b))",
"System.out.println",
"System.out",
"System",
"System.out",
"(a * b) + \" \" + (2 * a + 2 * b)",
"(a * b) + \" \" + (2 * a + 2 * b)",
"(a * b)",
"a",
"b",
"\" \"",
"(2 * a + 2 * b)",
"2 * a",
"2",
"a",
"2 * b",
"2",
"b",
"String[] args",
"args",
"private static String inp() throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\treturn br.readLine();\n\t}",
"inp",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\treturn br.readLine();\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tString inStr;\n\t\tinStr = inp();\n\t\tString[] in;\n\t\tin = inStr.split(\" \");\n\n\t\tint a = Integer.valueOf(in[0]);\n\t\tint b = Integer.valueOf(in[1]);\n\t\tSystem.out.println((a * b) + \" \" + (2 * a + 2 * b));\n\n\t}\n\n\tprivate static String inp() throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\treturn br.readLine();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tString inStr;\n\t\tinStr = inp();\n\t\tString[] in;\n\t\tin = inStr.split(\" \");\n\n\t\tint a = Integer.valueOf(in[0]);\n\t\tint b = Integer.valueOf(in[1]);\n\t\tSystem.out.println((a * b) + \" \" + (2 * a + 2 * b));\n\n\t}\n\n\tprivate static String inp() throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\treturn br.readLine();\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
String inStr;
inStr = inp();
String[] in;
in = inStr.split(" ");
int a = Integer.valueOf(in[0]);
int b = Integer.valueOf(in[1]);
System.out.println((a * b) + " " + (2 * a + 2 * b));
}
private static String inp() throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
return br.readLine();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
4,
18,
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,
2,
2,
13,
13,
17,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
15,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
22,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
22,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
22,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"import java.io.*;\n\npublic class Main {\n public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n System.out.println(a * b + \" \" + (a + b) * 2);\n } catch(IOException e) {\n e.printStackTrace();\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n System.out.println(a * b + \" \" + (a + b) * 2);\n } catch(IOException e) {\n e.printStackTrace();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n System.out.println(a * b + \" \" + (a + b) * 2);\n } catch(IOException e) {\n e.printStackTrace();\n }\n }",
"main",
"{\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n System.out.println(a * b + \" \" + (a + b) * 2);\n } catch(IOException e) {\n e.printStackTrace();\n }\n }",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"try {\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n System.out.println(a * b + \" \" + (a + b) * 2);\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 String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n System.out.println(a * b + \" \" + (a + b) * 2);\n }",
"String[] str = br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int a = Integer.parseInt(str[0]);",
"a",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int b = Integer.parseInt(str[1]);",
"b",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"System.out.println(a * b + \" \" + (a + b) * 2)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b + \" \" + (a + b) * 2",
"a * b + \" \" + (a + b) * 2",
"a * b",
"a",
"b",
"\" \"",
"(a + b) * 2",
"(a + b)",
"a",
"b",
"2",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n System.out.println(a * b + \" \" + (a + b) * 2);\n } catch(IOException e) {\n e.printStackTrace();\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n System.out.println(a * b + \" \" + (a + b) * 2);\n } catch(IOException e) {\n e.printStackTrace();\n }\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
try {
String[] str = br.readLine().split(" ");
int a = Integer.parseInt(str[0]);
int b = Integer.parseInt(str[1]);
System.out.println(a * b + " " + (a + b) * 2);
} catch(IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
17,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
41,
13,
0,
13,
2,
13,
13,
0,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
49,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
6,
53
],
[
53,
54
]
] | [
"import java.util.Scanner;\nclass Main{\n\n\tpublic static void main(String[] args) {\n\t\tint a;\n\t\tint b = 0;\n\t\tScanner data1 = new Scanner(System.in);\n\t a = data1.nextInt();\n\t b = data1.nextInt();\n\t\tint area;\n\t\tint total;\n\t\tarea = (a * b);\n\t\ttotal = ((a + b) * 2);\n\t\tSystem.out.println(area + \" \" + total );\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\n\tpublic static void main(String[] args) {\n\t\tint a;\n\t\tint b = 0;\n\t\tScanner data1 = new Scanner(System.in);\n\t a = data1.nextInt();\n\t b = data1.nextInt();\n\t\tint area;\n\t\tint total;\n\t\tarea = (a * b);\n\t\ttotal = ((a + b) * 2);\n\t\tSystem.out.println(area + \" \" + total );\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tint a;\n\t\tint b = 0;\n\t\tScanner data1 = new Scanner(System.in);\n\t a = data1.nextInt();\n\t b = data1.nextInt();\n\t\tint area;\n\t\tint total;\n\t\tarea = (a * b);\n\t\ttotal = ((a + b) * 2);\n\t\tSystem.out.println(area + \" \" + total );\n\t}",
"main",
"{\n\t\tint a;\n\t\tint b = 0;\n\t\tScanner data1 = new Scanner(System.in);\n\t a = data1.nextInt();\n\t b = data1.nextInt();\n\t\tint area;\n\t\tint total;\n\t\tarea = (a * b);\n\t\ttotal = ((a + b) * 2);\n\t\tSystem.out.println(area + \" \" + total );\n\t}",
"int a;",
"a",
"int b = 0;",
"b",
"0",
"Scanner data1 = new Scanner(System.in);",
"data1",
"new Scanner(System.in)",
"a = data1.nextInt()",
"a",
"data1.nextInt()",
"data1.nextInt",
"data1",
"b = data1.nextInt()",
"b",
"data1.nextInt()",
"data1.nextInt",
"data1",
"int area;",
"area",
"int total;",
"total",
"area = (a * b)",
"area",
"(a * b)",
"a",
"b",
"total = ((a + b) * 2)",
"total",
"((a + b) * 2)",
"(a + b)",
"a",
"b",
"2",
"System.out.println(area + \" \" + total )",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" + total",
"area + \" \" + total",
"area",
"\" \"",
"total",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args) {
int a;
int b = 0;
Scanner data1 = new Scanner(System.in);
a = data1.nextInt();
b = data1.nextInt();
int area;
int total;
area = (a * b);
total = ((a + b) * 2);
System.out.println(area + " " + total );
}
} |
[
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,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
52,
8
],
[
52,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
9,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"import java.util.Scanner;\nimport java.util.ArrayList;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.print(a*b);\n System.out.print(\" \");\n System.out.println((a+b)*2);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.print(a*b);\n System.out.print(\" \");\n System.out.println((a+b)*2);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.print(a*b);\n System.out.print(\" \");\n System.out.println((a+b)*2);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.print(a*b);\n System.out.print(\" \");\n System.out.println((a+b)*2);\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.print(a*b)",
"System.out.print",
"System.out",
"System",
"System.out",
"a*b",
"a",
"b",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println((a+b)*2)",
"System.out.println",
"System.out",
"System",
"System.out",
"(a+b)*2",
"(a+b)",
"a",
"b",
"2",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.print(a*b);\n System.out.print(\" \");\n System.out.println((a+b)*2);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.print(a*b);\n System.out.print(\" \");\n System.out.println((a+b)*2);\n }\n}",
"Main"
] | import java.util.Scanner;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.print(a*b);
System.out.print(" ");
System.out.println((a+b)*2);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
17,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
18,
13,
17,
17,
2,
4,
18,
13,
18,
13,
17,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
26,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
25,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
46,
53
],
[
45,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
54,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t//たて a cm よこ b cm の長方形の面積と周の長さを求めるプログラムを作成して下さい。\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] array = sc.nextLine().split(\" \"); //array[0]=たて,array[1]=よこ\n\t\t//面積\n\t\tSystem.out.print(Integer.parseInt(array[0])*Integer.parseInt(array[1]) +\" \");\n\t\t//周の長さ=array[0]*2+array[1]*2\n\t\tSystem.out.println(Integer.parseInt(array[0])*2+Integer.parseInt(array[1])*2);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t//たて a cm よこ b cm の長方形の面積と周の長さを求めるプログラムを作成して下さい。\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] array = sc.nextLine().split(\" \"); //array[0]=たて,array[1]=よこ\n\t\t//面積\n\t\tSystem.out.print(Integer.parseInt(array[0])*Integer.parseInt(array[1]) +\" \");\n\t\t//周の長さ=array[0]*2+array[1]*2\n\t\tSystem.out.println(Integer.parseInt(array[0])*2+Integer.parseInt(array[1])*2);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t//たて a cm よこ b cm の長方形の面積と周の長さを求めるプログラムを作成して下さい。\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] array = sc.nextLine().split(\" \"); //array[0]=たて,array[1]=よこ\n\t\t//面積\n\t\tSystem.out.print(Integer.parseInt(array[0])*Integer.parseInt(array[1]) +\" \");\n\t\t//周の長さ=array[0]*2+array[1]*2\n\t\tSystem.out.println(Integer.parseInt(array[0])*2+Integer.parseInt(array[1])*2);\n\t}",
"main",
"{\n\t\t//たて a cm よこ b cm の長方形の面積と周の長さを求めるプログラムを作成して下さい。\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] array = sc.nextLine().split(\" \"); //array[0]=たて,array[1]=よこ\n\t\t//面積\n\t\tSystem.out.print(Integer.parseInt(array[0])*Integer.parseInt(array[1]) +\" \");\n\t\t//周の長さ=array[0]*2+array[1]*2\n\t\tSystem.out.println(Integer.parseInt(array[0])*2+Integer.parseInt(array[1])*2);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] array = sc.nextLine().split(\" \");",
"array",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"System.out.print(Integer.parseInt(array[0])*Integer.parseInt(array[1]) +\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"Integer.parseInt(array[0])*Integer.parseInt(array[1]) +\" \"",
"Integer.parseInt(array[0])*Integer.parseInt(array[1])",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"\" \"",
"System.out.println(Integer.parseInt(array[0])*2+Integer.parseInt(array[1])*2)",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.parseInt(array[0])*2+Integer.parseInt(array[1])*2",
"Integer.parseInt(array[0])*2",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"2",
"Integer.parseInt(array[1])*2",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"2",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t//たて a cm よこ b cm の長方形の面積と周の長さを求めるプログラムを作成して下さい。\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] array = sc.nextLine().split(\" \"); //array[0]=たて,array[1]=よこ\n\t\t//面積\n\t\tSystem.out.print(Integer.parseInt(array[0])*Integer.parseInt(array[1]) +\" \");\n\t\t//周の長さ=array[0]*2+array[1]*2\n\t\tSystem.out.println(Integer.parseInt(array[0])*2+Integer.parseInt(array[1])*2);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t//たて a cm よこ b cm の長方形の面積と周の長さを求めるプログラムを作成して下さい。\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] array = sc.nextLine().split(\" \"); //array[0]=たて,array[1]=よこ\n\t\t//面積\n\t\tSystem.out.print(Integer.parseInt(array[0])*Integer.parseInt(array[1]) +\" \");\n\t\t//周の長さ=array[0]*2+array[1]*2\n\t\tSystem.out.println(Integer.parseInt(array[0])*2+Integer.parseInt(array[1])*2);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//たて a cm よこ b cm の長方形の面積と周の長さを求めるプログラムを作成して下さい。
Scanner sc = new Scanner(System.in);
String[] array = sc.nextLine().split(" "); //array[0]=たて,array[1]=よこ
//面積
System.out.print(Integer.parseInt(array[0])*Integer.parseInt(array[1]) +" ");
//周の長さ=array[0]*2+array[1]*2
System.out.println(Integer.parseInt(array[0])*2+Integer.parseInt(array[1])*2);
}
} |
[
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,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//System.out.println(\"??\\???>>\");\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint intTate = scan.nextInt();\n\t\tint intYoko = scan.nextInt();\n\n\n\t\t//System.out.println(intTate + \" \" + intYoko);\n\n\t\tint intArea = intTate * intYoko;\n\n\t\tint intOutLine = (intTate + intYoko) * 2;\n\n\t\tSystem.out.println(intArea + \" \" + intOutLine);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//System.out.println(\"??\\???>>\");\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint intTate = scan.nextInt();\n\t\tint intYoko = scan.nextInt();\n\n\n\t\t//System.out.println(intTate + \" \" + intYoko);\n\n\t\tint intArea = intTate * intYoko;\n\n\t\tint intOutLine = (intTate + intYoko) * 2;\n\n\t\tSystem.out.println(intArea + \" \" + intOutLine);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//System.out.println(\"??\\???>>\");\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint intTate = scan.nextInt();\n\t\tint intYoko = scan.nextInt();\n\n\n\t\t//System.out.println(intTate + \" \" + intYoko);\n\n\t\tint intArea = intTate * intYoko;\n\n\t\tint intOutLine = (intTate + intYoko) * 2;\n\n\t\tSystem.out.println(intArea + \" \" + intOutLine);\n\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//System.out.println(\"??\\???>>\");\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint intTate = scan.nextInt();\n\t\tint intYoko = scan.nextInt();\n\n\n\t\t//System.out.println(intTate + \" \" + intYoko);\n\n\t\tint intArea = intTate * intYoko;\n\n\t\tint intOutLine = (intTate + intYoko) * 2;\n\n\t\tSystem.out.println(intArea + \" \" + intOutLine);\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int intTate = scan.nextInt();",
"intTate",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int intYoko = scan.nextInt();",
"intYoko",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int intArea = intTate * intYoko;",
"intArea",
"intTate * intYoko",
"intTate",
"intYoko",
"int intOutLine = (intTate + intYoko) * 2;",
"intOutLine",
"(intTate + intYoko) * 2",
"(intTate + intYoko)",
"intTate",
"intYoko",
"2",
"System.out.println(intArea + \" \" + intOutLine)",
"System.out.println",
"System.out",
"System",
"System.out",
"intArea + \" \" + intOutLine",
"intArea + \" \" + intOutLine",
"intArea",
"\" \"",
"intOutLine",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//System.out.println(\"??\\???>>\");\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint intTate = scan.nextInt();\n\t\tint intYoko = scan.nextInt();\n\n\n\t\t//System.out.println(intTate + \" \" + intYoko);\n\n\t\tint intArea = intTate * intYoko;\n\n\t\tint intOutLine = (intTate + intYoko) * 2;\n\n\t\tSystem.out.println(intArea + \" \" + intOutLine);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//System.out.println(\"??\\???>>\");\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint intTate = scan.nextInt();\n\t\tint intYoko = scan.nextInt();\n\n\n\t\t//System.out.println(intTate + \" \" + intYoko);\n\n\t\tint intArea = intTate * intYoko;\n\n\t\tint intOutLine = (intTate + intYoko) * 2;\n\n\t\tSystem.out.println(intArea + \" \" + intOutLine);\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
//System.out.println("??\???>>");
Scanner scan = new Scanner(System.in);
int intTate = scan.nextInt();
int intYoko = scan.nextInt();
//System.out.println(intTate + " " + intYoko);
int intArea = intTate * intYoko;
int intOutLine = (intTate + intYoko) * 2;
System.out.println(intArea + " " + intOutLine);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
2,
13,
13,
0,
13,
2,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
80,
11
],
[
80,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
14,
19
],
[
19,
20
],
[
14,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
14,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
14,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
14,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
14,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
73,
73
],
[
73,
74
],
[
73,
75
],
[
73,
76
],
[
12,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint a, b, area, length;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\n\t\t// 1??????????????§???????????????????????????????????????????????????????´??????????\n\t\tString[] strArray = str.split(\" \");\n\n\t\ta = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\n\t\tarea = a*b;\n\t\tlength = (a*2) + (b*2);\n\n\t\tSystem.out.println(area + \" \" + length);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint a, b, area, length;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\n\t\t// 1??????????????§???????????????????????????????????????????????????????´??????????\n\t\tString[] strArray = str.split(\" \");\n\n\t\ta = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\n\t\tarea = a*b;\n\t\tlength = (a*2) + (b*2);\n\n\t\tSystem.out.println(area + \" \" + length);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tint a, b, area, length;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\n\t\t// 1??????????????§???????????????????????????????????????????????????????´??????????\n\t\tString[] strArray = str.split(\" \");\n\n\t\ta = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\n\t\tarea = a*b;\n\t\tlength = (a*2) + (b*2);\n\n\t\tSystem.out.println(area + \" \" + length);\n\t}",
"main",
"{\n\n\t\tint a, b, area, length;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\n\t\t// 1??????????????§???????????????????????????????????????????????????????´??????????\n\t\tString[] strArray = str.split(\" \");\n\n\t\ta = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\n\t\tarea = a*b;\n\t\tlength = (a*2) + (b*2);\n\n\t\tSystem.out.println(area + \" \" + length);\n\t}",
"int a",
"a",
"b",
"b",
"area",
"area",
"length;",
"length",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] strArray = str.split(\" \");",
"strArray",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"a = Integer.parseInt(strArray[0])",
"a",
"Integer.parseInt(strArray[0])",
"Integer.parseInt",
"Integer",
"strArray[0]",
"strArray",
"0",
"b = Integer.parseInt(strArray[1])",
"b",
"Integer.parseInt(strArray[1])",
"Integer.parseInt",
"Integer",
"strArray[1]",
"strArray",
"1",
"area = a*b",
"area",
"a*b",
"a",
"b",
"length = (a*2) + (b*2)",
"length",
"(a*2) + (b*2)",
"(a*2)",
"a",
"2",
"(b*2)",
"b",
"2",
"System.out.println(area + \" \" + length)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" + length",
"area + \" \" + length",
"area",
"\" \"",
"length",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint a, b, area, length;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\n\t\t// 1??????????????§???????????????????????????????????????????????????????´??????????\n\t\tString[] strArray = str.split(\" \");\n\n\t\ta = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\n\t\tarea = a*b;\n\t\tlength = (a*2) + (b*2);\n\n\t\tSystem.out.println(area + \" \" + length);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint a, b, area, length;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\n\t\t// 1??????????????§???????????????????????????????????????????????????????´??????????\n\t\tString[] strArray = str.split(\" \");\n\n\t\ta = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\n\t\tarea = a*b;\n\t\tlength = (a*2) + (b*2);\n\n\t\tSystem.out.println(area + \" \" + length);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
int a, b, area, length;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
// 1??????????????§???????????????????????????????????????????????????????´??????????
String[] strArray = str.split(" ");
a = Integer.parseInt(strArray[0]);
b = Integer.parseInt(strArray[1]);
area = a*b;
length = (a*2) + (b*2);
System.out.println(area + " " + length);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
17,
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
],
[
65,
11
],
[
65,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
14,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
14,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
54,
60
],
[
54,
61
],
[
12,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArr = br.readLine().split(\" \");\n\t\tlong h = Long.parseLong(strArr[0]);\n\t\tlong w = Long.parseLong(strArr[1]);\n\t\tlong surface = h * w;\n\t\tlong length = (h + w) << 1;\n\t\tSystem.out.printf(\"%d %d%n\", surface, length);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArr = br.readLine().split(\" \");\n\t\tlong h = Long.parseLong(strArr[0]);\n\t\tlong w = Long.parseLong(strArr[1]);\n\t\tlong surface = h * w;\n\t\tlong length = (h + w) << 1;\n\t\tSystem.out.printf(\"%d %d%n\", surface, length);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArr = br.readLine().split(\" \");\n\t\tlong h = Long.parseLong(strArr[0]);\n\t\tlong w = Long.parseLong(strArr[1]);\n\t\tlong surface = h * w;\n\t\tlong length = (h + w) << 1;\n\t\tSystem.out.printf(\"%d %d%n\", surface, length);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArr = br.readLine().split(\" \");\n\t\tlong h = Long.parseLong(strArr[0]);\n\t\tlong w = Long.parseLong(strArr[1]);\n\t\tlong surface = h * w;\n\t\tlong length = (h + w) << 1;\n\t\tSystem.out.printf(\"%d %d%n\", surface, length);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] strArr = br.readLine().split(\" \");",
"strArr",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"long h = Long.parseLong(strArr[0]);",
"h",
"Long.parseLong(strArr[0])",
"Long.parseLong",
"Long",
"strArr[0]",
"strArr",
"0",
"long w = Long.parseLong(strArr[1]);",
"w",
"Long.parseLong(strArr[1])",
"Long.parseLong",
"Long",
"strArr[1]",
"strArr",
"1",
"long surface = h * w;",
"surface",
"h * w",
"h",
"w",
"long length = (h + w) << 1;",
"length",
"(h + w) << 1",
"(h + w)",
"h",
"w",
"1",
"System.out.printf(\"%d %d%n\", surface, length)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d%n\"",
"surface",
"length",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArr = br.readLine().split(\" \");\n\t\tlong h = Long.parseLong(strArr[0]);\n\t\tlong w = Long.parseLong(strArr[1]);\n\t\tlong surface = h * w;\n\t\tlong length = (h + w) << 1;\n\t\tSystem.out.printf(\"%d %d%n\", surface, length);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArr = br.readLine().split(\" \");\n\t\tlong h = Long.parseLong(strArr[0]);\n\t\tlong w = Long.parseLong(strArr[1]);\n\t\tlong surface = h * w;\n\t\tlong length = (h + w) << 1;\n\t\tSystem.out.printf(\"%d %d%n\", surface, length);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] strArr = br.readLine().split(" ");
long h = Long.parseLong(strArr[0]);
long w = Long.parseLong(strArr[1]);
long surface = h * w;
long length = (h + w) << 1;
System.out.printf("%d %d%n", surface, length);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
41,
13,
0,
13,
2,
13,
13,
0,
13,
2,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args)\n {\n\tScanner scan = new Scanner(System.in);\n\t\n\tint num1 = scan.nextInt();\n\tint num2 = scan.nextInt();\n\n\tint sum,length;\n\n\tsum = num1*num2;\n\tlength = num1*2+num2*2;\n\n\tSystem.out.println(sum+\" \"+length);\n\n\t\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args)\n {\n\tScanner scan = new Scanner(System.in);\n\t\n\tint num1 = scan.nextInt();\n\tint num2 = scan.nextInt();\n\n\tint sum,length;\n\n\tsum = num1*num2;\n\tlength = num1*2+num2*2;\n\n\tSystem.out.println(sum+\" \"+length);\n\n\t\n }\n}",
"Main",
"public static void main(String[] args)\n {\n\tScanner scan = new Scanner(System.in);\n\t\n\tint num1 = scan.nextInt();\n\tint num2 = scan.nextInt();\n\n\tint sum,length;\n\n\tsum = num1*num2;\n\tlength = num1*2+num2*2;\n\n\tSystem.out.println(sum+\" \"+length);\n\n\t\n }",
"main",
"{\n\tScanner scan = new Scanner(System.in);\n\t\n\tint num1 = scan.nextInt();\n\tint num2 = scan.nextInt();\n\n\tint sum,length;\n\n\tsum = num1*num2;\n\tlength = num1*2+num2*2;\n\n\tSystem.out.println(sum+\" \"+length);\n\n\t\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int num1 = scan.nextInt();",
"num1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int num2 = scan.nextInt();",
"num2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int sum",
"sum",
"length;",
"length",
"sum = num1*num2",
"sum",
"num1*num2",
"num1",
"num2",
"length = num1*2+num2*2",
"length",
"num1*2+num2*2",
"num1*2",
"num1",
"2",
"num2*2",
"num2",
"2",
"System.out.println(sum+\" \"+length)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum+\" \"+length",
"sum+\" \"+length",
"sum",
"\" \"",
"length",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args)\n {\n\tScanner scan = new Scanner(System.in);\n\t\n\tint num1 = scan.nextInt();\n\tint num2 = scan.nextInt();\n\n\tint sum,length;\n\n\tsum = num1*num2;\n\tlength = num1*2+num2*2;\n\n\tSystem.out.println(sum+\" \"+length);\n\n\t\n }\n}",
"public class Main{\n public static void main(String[] args)\n {\n\tScanner scan = new Scanner(System.in);\n\t\n\tint num1 = scan.nextInt();\n\tint num2 = scan.nextInt();\n\n\tint sum,length;\n\n\tsum = num1*num2;\n\tlength = num1*2+num2*2;\n\n\tSystem.out.println(sum+\" \"+length);\n\n\t\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
int num1 = scan.nextInt();
int num2 = scan.nextInt();
int sum,length;
sum = num1*num2;
length = num1*2+num2*2;
System.out.println(sum+" "+length);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
18,
20,
41,
13,
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,
41,
13,
2,
2,
13,
13,
17,
4,
18,
13,
2,
13,
17,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import static java.lang.System.out;\npublic class Main {\n public static void main(String[] args){\n String str = new java.util.Scanner(System.in).nextLine();\n String[] tmp = str.split(\" \");\n int a = Integer.parseInt(tmp[0]);\n int b = Integer.parseInt(tmp[1]);\n \n int area = a * b;\n int circu = (a + b) * 2;\n out.print(area + \" \"); \n out.println(circu);\n }\n}",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"public class Main {\n public static void main(String[] args){\n String str = new java.util.Scanner(System.in).nextLine();\n String[] tmp = str.split(\" \");\n int a = Integer.parseInt(tmp[0]);\n int b = Integer.parseInt(tmp[1]);\n \n int area = a * b;\n int circu = (a + b) * 2;\n out.print(area + \" \"); \n out.println(circu);\n }\n}",
"Main",
"public static void main(String[] args){\n String str = new java.util.Scanner(System.in).nextLine();\n String[] tmp = str.split(\" \");\n int a = Integer.parseInt(tmp[0]);\n int b = Integer.parseInt(tmp[1]);\n \n int area = a * b;\n int circu = (a + b) * 2;\n out.print(area + \" \"); \n out.println(circu);\n }",
"main",
"{\n String str = new java.util.Scanner(System.in).nextLine();\n String[] tmp = str.split(\" \");\n int a = Integer.parseInt(tmp[0]);\n int b = Integer.parseInt(tmp[1]);\n \n int area = a * b;\n int circu = (a + b) * 2;\n out.print(area + \" \"); \n out.println(circu);\n }",
"String str = new java.util.Scanner(System.in).nextLine();",
"str",
"new java.util.Scanner(System.in).nextLine()",
"new java.util.Scanner(System.in).nextLine",
"new java.util.Scanner(System.in)",
"String[] tmp = str.split(\" \");",
"tmp",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int a = Integer.parseInt(tmp[0]);",
"a",
"Integer.parseInt(tmp[0])",
"Integer.parseInt",
"Integer",
"tmp[0]",
"tmp",
"0",
"int b = Integer.parseInt(tmp[1]);",
"b",
"Integer.parseInt(tmp[1])",
"Integer.parseInt",
"Integer",
"tmp[1]",
"tmp",
"1",
"int area = a * b;",
"area",
"a * b",
"a",
"b",
"int circu = (a + b) * 2;",
"circu",
"(a + b) * 2",
"(a + b)",
"a",
"b",
"2",
"out.print(area + \" \")",
"out.print",
"out",
"area + \" \"",
"area",
"\" \"",
"out.println(circu)",
"out.println",
"out",
"circu",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n String str = new java.util.Scanner(System.in).nextLine();\n String[] tmp = str.split(\" \");\n int a = Integer.parseInt(tmp[0]);\n int b = Integer.parseInt(tmp[1]);\n \n int area = a * b;\n int circu = (a + b) * 2;\n out.print(area + \" \"); \n out.println(circu);\n }\n}",
"public class Main {\n public static void main(String[] args){\n String str = new java.util.Scanner(System.in).nextLine();\n String[] tmp = str.split(\" \");\n int a = Integer.parseInt(tmp[0]);\n int b = Integer.parseInt(tmp[1]);\n \n int area = a * b;\n int circu = (a + b) * 2;\n out.print(area + \" \"); \n out.println(circu);\n }\n}",
"Main"
] | import static java.lang.System.out;
public class Main {
public static void main(String[] args){
String str = new java.util.Scanner(System.in).nextLine();
String[] tmp = str.split(" ");
int a = Integer.parseInt(tmp[0]);
int b = Integer.parseInt(tmp[1]);
int area = a * b;
int circu = (a + b) * 2;
out.print(area + " ");
out.println(circu);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
0,
13,
2,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
6,
58
],
[
58,
59
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint a = 0;\n\t\tint b = 0;\n\t\tint menseki = 0;\n\t\tint shu = 0;\n\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\n\t\tmenseki = a * b;\n\t\tshu = ( a * 2 ) + ( b * 2 );\n\n\t\tSystem.out.println( menseki + \" \" + shu );\n\t}\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\n\t\tint a = 0;\n\t\tint b = 0;\n\t\tint menseki = 0;\n\t\tint shu = 0;\n\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\n\t\tmenseki = a * b;\n\t\tshu = ( a * 2 ) + ( b * 2 );\n\n\t\tSystem.out.println( menseki + \" \" + shu );\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint a = 0;\n\t\tint b = 0;\n\t\tint menseki = 0;\n\t\tint shu = 0;\n\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\n\t\tmenseki = a * b;\n\t\tshu = ( a * 2 ) + ( b * 2 );\n\n\t\tSystem.out.println( menseki + \" \" + shu );\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint a = 0;\n\t\tint b = 0;\n\t\tint menseki = 0;\n\t\tint shu = 0;\n\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\n\t\tmenseki = a * b;\n\t\tshu = ( a * 2 ) + ( b * 2 );\n\n\t\tSystem.out.println( menseki + \" \" + shu );\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = 0;",
"a",
"0",
"int b = 0;",
"b",
"0",
"int menseki = 0;",
"menseki",
"0",
"int shu = 0;",
"shu",
"0",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"menseki = a * b",
"menseki",
"a * b",
"a",
"b",
"shu = ( a * 2 ) + ( b * 2 )",
"shu",
"( a * 2 ) + ( b * 2 )",
"( a * 2 )",
"a",
"2",
"( b * 2 )",
"b",
"2",
"System.out.println( menseki + \" \" + shu )",
"System.out.println",
"System.out",
"System",
"System.out",
"menseki + \" \" + shu",
"menseki + \" \" + shu",
"menseki",
"\" \"",
"shu",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = 0;
int b = 0;
int menseki = 0;
int shu = 0;
a = sc.nextInt();
b = sc.nextInt();
menseki = a * b;
shu = ( a * 2 ) + ( b * 2 );
System.out.println( menseki + " " + shu );
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
6,
58
],
[
58,
59
]
] | [
"import java.io.*;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader =\n new BufferedReader(new InputStreamReader(System.in));\n\n String[] line = reader.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[1]);\n \n int area = a * b;\n int areaLength = ( a + b ) * 2;\n\n System.out.println(area + \" \" + areaLength);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader =\n new BufferedReader(new InputStreamReader(System.in));\n\n String[] line = reader.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[1]);\n \n int area = a * b;\n int areaLength = ( a + b ) * 2;\n\n System.out.println(area + \" \" + areaLength);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader reader =\n new BufferedReader(new InputStreamReader(System.in));\n\n String[] line = reader.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[1]);\n \n int area = a * b;\n int areaLength = ( a + b ) * 2;\n\n System.out.println(area + \" \" + areaLength);\n }",
"main",
"{\n BufferedReader reader =\n new BufferedReader(new InputStreamReader(System.in));\n\n String[] line = reader.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[1]);\n \n int area = a * b;\n int areaLength = ( a + b ) * 2;\n\n System.out.println(area + \" \" + areaLength);\n }",
"BufferedReader reader =\n new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] line = reader.readLine().split(\" \");",
"line",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"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",
"int area = a * b;",
"area",
"a * b",
"a",
"b",
"int areaLength = ( a + b ) * 2;",
"areaLength",
"( a + b ) * 2",
"( a + b )",
"a",
"b",
"2",
"System.out.println(area + \" \" + areaLength)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" + areaLength",
"area + \" \" + areaLength",
"area",
"\" \"",
"areaLength",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in));
String[] line = reader.readLine().split(" ");
int a = Integer.parseInt(line[0]);
int b = Integer.parseInt(line[1]);
int area = a * b;
int areaLength = ( a + b ) * 2;
System.out.println(area + " " + areaLength);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
0,
13,
2,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
50,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a, b, menseki ,syu;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\t\n\t\tmenseki = a*b;\n\t\tsyu = (a * 2) + ( b *2);\n\t\t\n\t\tSystem.out.println(menseki + \" \" + syu);\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a, b, menseki ,syu;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\t\n\t\tmenseki = a*b;\n\t\tsyu = (a * 2) + ( b *2);\n\t\t\n\t\tSystem.out.println(menseki + \" \" + syu);\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a, b, menseki ,syu;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\t\n\t\tmenseki = a*b;\n\t\tsyu = (a * 2) + ( b *2);\n\t\t\n\t\tSystem.out.println(menseki + \" \" + syu);\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a, b, menseki ,syu;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\t\n\t\tmenseki = a*b;\n\t\tsyu = (a * 2) + ( b *2);\n\t\t\n\t\tSystem.out.println(menseki + \" \" + syu);\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a",
"a",
"b",
"b",
"menseki",
"menseki",
"syu;",
"syu",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"menseki = a*b",
"menseki",
"a*b",
"a",
"b",
"syu = (a * 2) + ( b *2)",
"syu",
"(a * 2) + ( b *2)",
"(a * 2)",
"a",
"2",
"( b *2)",
"b",
"2",
"System.out.println(menseki + \" \" + syu)",
"System.out.println",
"System.out",
"System",
"System.out",
"menseki + \" \" + syu",
"menseki + \" \" + syu",
"menseki",
"\" \"",
"syu",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a, b, menseki ,syu;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\t\n\t\tmenseki = a*b;\n\t\tsyu = (a * 2) + ( b *2);\n\t\t\n\t\tSystem.out.println(menseki + \" \" + syu);\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a, b, menseki ,syu;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\t\n\t\tmenseki = a*b;\n\t\tsyu = (a * 2) + ( b *2);\n\t\t\n\t\tSystem.out.println(menseki + \" \" + syu);\n\t\t\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception{
Scanner sc = new Scanner(System.in);
int a, b, menseki ,syu;
a = sc.nextInt();
b = sc.nextInt();
menseki = a*b;
syu = (a * 2) + ( b *2);
System.out.println(menseki + " " + syu);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
0,
13,
4,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
2,
13,
13,
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
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
39,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
39,
65
],
[
65,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
73,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
9,
83
],
[
83,
84
]
] | [
"import java.io.*;\nimport java.util.*;\nclass Main{\n public static void main(String args[]) throws IOException{\n\n\tint x=0;\n\tint y=0;\n\tint i=0;\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString str = br.readLine();\n\tString delimiter = \" \";\n StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );\n\twhile(stringTokenizer.hasMoreTokens())\n\t{\n String current = stringTokenizer.nextToken();\n\t if(i==0)x=Integer.parseInt(current);\n\t if(i==1)y=Integer.parseInt(current);\n\t i++;\n\t}\n\n\t\n\tSystem.out.println(x*y+\" \"+(x+y)*2);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String args[]) throws IOException{\n\n\tint x=0;\n\tint y=0;\n\tint i=0;\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString str = br.readLine();\n\tString delimiter = \" \";\n StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );\n\twhile(stringTokenizer.hasMoreTokens())\n\t{\n String current = stringTokenizer.nextToken();\n\t if(i==0)x=Integer.parseInt(current);\n\t if(i==1)y=Integer.parseInt(current);\n\t i++;\n\t}\n\n\t\n\tSystem.out.println(x*y+\" \"+(x+y)*2);\n }\n}",
"Main",
"public static void main(String args[]) throws IOException{\n\n\tint x=0;\n\tint y=0;\n\tint i=0;\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString str = br.readLine();\n\tString delimiter = \" \";\n StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );\n\twhile(stringTokenizer.hasMoreTokens())\n\t{\n String current = stringTokenizer.nextToken();\n\t if(i==0)x=Integer.parseInt(current);\n\t if(i==1)y=Integer.parseInt(current);\n\t i++;\n\t}\n\n\t\n\tSystem.out.println(x*y+\" \"+(x+y)*2);\n }",
"main",
"{\n\n\tint x=0;\n\tint y=0;\n\tint i=0;\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString str = br.readLine();\n\tString delimiter = \" \";\n StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );\n\twhile(stringTokenizer.hasMoreTokens())\n\t{\n String current = stringTokenizer.nextToken();\n\t if(i==0)x=Integer.parseInt(current);\n\t if(i==1)y=Integer.parseInt(current);\n\t i++;\n\t}\n\n\t\n\tSystem.out.println(x*y+\" \"+(x+y)*2);\n }",
"int x=0;",
"x",
"0",
"int y=0;",
"y",
"0",
"int i=0;",
"i",
"0",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String delimiter = \" \";",
"delimiter",
"\" \"",
"StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );",
"stringTokenizer",
"new StringTokenizer( str, delimiter )",
"while(stringTokenizer.hasMoreTokens())\n\t{\n String current = stringTokenizer.nextToken();\n\t if(i==0)x=Integer.parseInt(current);\n\t if(i==1)y=Integer.parseInt(current);\n\t i++;\n\t}",
"stringTokenizer.hasMoreTokens()",
"stringTokenizer.hasMoreTokens",
"stringTokenizer",
"{\n String current = stringTokenizer.nextToken();\n\t if(i==0)x=Integer.parseInt(current);\n\t if(i==1)y=Integer.parseInt(current);\n\t i++;\n\t}",
"String current = stringTokenizer.nextToken();",
"current",
"stringTokenizer.nextToken()",
"stringTokenizer.nextToken",
"stringTokenizer",
"if(i==0)x=Integer.parseInt(current);",
"i==0",
"i",
"0",
"x=Integer.parseInt(current)",
"x",
"Integer.parseInt(current)",
"Integer.parseInt",
"Integer",
"current",
"if(i==1)y=Integer.parseInt(current);",
"i==1",
"i",
"1",
"y=Integer.parseInt(current)",
"y",
"Integer.parseInt(current)",
"Integer.parseInt",
"Integer",
"current",
"i++",
"i",
"System.out.println(x*y+\" \"+(x+y)*2)",
"System.out.println",
"System.out",
"System",
"System.out",
"x*y+\" \"+(x+y)*2",
"x*y+\" \"+(x+y)*2",
"x*y",
"x",
"y",
"\" \"",
"(x+y)*2",
"(x+y)",
"x",
"y",
"2",
"String args[]",
"args"
] | import java.io.*;
import java.util.*;
class Main{
public static void main(String args[]) throws IOException{
int x=0;
int y=0;
int i=0;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String delimiter = " ";
StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );
while(stringTokenizer.hasMoreTokens())
{
String current = stringTokenizer.nextToken();
if(i==0)x=Integer.parseInt(current);
if(i==1)y=Integer.parseInt(current);
i++;
}
System.out.println(x*y+" "+(x+y)*2);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
0,
13,
2,
17,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
4,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
12,
15
],
[
15,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
12,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
12,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
12,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
12,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
48,
51
],
[
4,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
52,
58
],
[
58,
59
]
] | [
"import java.util.Scanner;\n\nclass Main{\n int a,b;\n \n public void solve(){\n int x,y;\n Scanner sc = new Scanner(System.in);\n a = sc.nextInt();\n b = sc.nextInt();\n x = a * b;\n y = 2 * (a + b);\n System.out.println(x + \" \" + y);\n \n }\n \n public static void main(String[] args){\n \n new Main().solve();\n \n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n int a,b;\n \n public void solve(){\n int x,y;\n Scanner sc = new Scanner(System.in);\n a = sc.nextInt();\n b = sc.nextInt();\n x = a * b;\n y = 2 * (a + b);\n System.out.println(x + \" \" + y);\n \n }\n \n public static void main(String[] args){\n \n new Main().solve();\n \n }\n\n}",
"Main",
"int a",
"a",
"b;",
"b",
"public void solve(){\n int x,y;\n Scanner sc = new Scanner(System.in);\n a = sc.nextInt();\n b = sc.nextInt();\n x = a * b;\n y = 2 * (a + b);\n System.out.println(x + \" \" + y);\n \n }",
"solve",
"{\n int x,y;\n Scanner sc = new Scanner(System.in);\n a = sc.nextInt();\n b = sc.nextInt();\n x = a * b;\n y = 2 * (a + b);\n System.out.println(x + \" \" + y);\n \n }",
"int x",
"x",
"y;",
"y",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"x = a * b",
"x",
"a * b",
"a",
"b",
"y = 2 * (a + b)",
"y",
"2 * (a + b)",
"2",
"(a + b)",
"a",
"b",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"public static void main(String[] args){\n \n new Main().solve();\n \n }",
"main",
"{\n \n new Main().solve();\n \n }",
"new Main().solve()",
"new Main().solve",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
int a,b;
public void solve(){
int x,y;
Scanner sc = new Scanner(System.in);
a = sc.nextInt();
b = sc.nextInt();
x = a * b;
y = 2 * (a + b);
System.out.println(x + " " + y);
}
public static void main(String[] args){
new Main().solve();
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
60,
8
],
[
8,
9
],
[
60,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
12,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
12,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
12,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
12,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
44,
44
],
[
44,
45
],
[
44,
46
],
[
44,
47
],
[
60,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
48,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\t\n\tint tate;\n\tint yoko;\n\t\n\tpublic void solve(){\n\t\tScanner sc=new Scanner(System.in);\n\t\ttate = sc.nextInt();\n\t\tyoko = sc.nextInt();\n\t\t\n\t\tint men=tate*yoko;\n\t\tint syu=(tate+yoko)*2;\n\t\t\n\t\tSystem.out.println(men+\" \"+syu);\n\t}\n\t\n\tpublic static void main(String[]args){\n\t\tMain obj=new Main();\n\t\tobj.solve();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\t\n\tint tate;\n\tint yoko;\n\t\n\tpublic void solve(){\n\t\tScanner sc=new Scanner(System.in);\n\t\ttate = sc.nextInt();\n\t\tyoko = sc.nextInt();\n\t\t\n\t\tint men=tate*yoko;\n\t\tint syu=(tate+yoko)*2;\n\t\t\n\t\tSystem.out.println(men+\" \"+syu);\n\t}\n\t\n\tpublic static void main(String[]args){\n\t\tMain obj=new Main();\n\t\tobj.solve();\n\t}\n}",
"Main",
"int tate;",
"tate",
"int yoko;",
"yoko",
"public void solve(){\n\t\tScanner sc=new Scanner(System.in);\n\t\ttate = sc.nextInt();\n\t\tyoko = sc.nextInt();\n\t\t\n\t\tint men=tate*yoko;\n\t\tint syu=(tate+yoko)*2;\n\t\t\n\t\tSystem.out.println(men+\" \"+syu);\n\t}",
"solve",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\ttate = sc.nextInt();\n\t\tyoko = sc.nextInt();\n\t\t\n\t\tint men=tate*yoko;\n\t\tint syu=(tate+yoko)*2;\n\t\t\n\t\tSystem.out.println(men+\" \"+syu);\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"tate = sc.nextInt()",
"tate",
"sc.nextInt()",
"sc.nextInt",
"sc",
"yoko = sc.nextInt()",
"yoko",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int men=tate*yoko;",
"men",
"tate*yoko",
"tate",
"yoko",
"int syu=(tate+yoko)*2;",
"syu",
"(tate+yoko)*2",
"(tate+yoko)",
"tate",
"yoko",
"2",
"System.out.println(men+\" \"+syu)",
"System.out.println",
"System.out",
"System",
"System.out",
"men+\" \"+syu",
"men+\" \"+syu",
"men",
"\" \"",
"syu",
"public static void main(String[]args){\n\t\tMain obj=new Main();\n\t\tobj.solve();\n\t}",
"main",
"{\n\t\tMain obj=new Main();\n\t\tobj.solve();\n\t}",
"Main obj=new Main();",
"obj",
"new Main()",
"obj.solve()",
"obj.solve",
"obj",
"String[]args",
"args",
"public class Main{\n\t\n\tint tate;\n\tint yoko;\n\t\n\tpublic void solve(){\n\t\tScanner sc=new Scanner(System.in);\n\t\ttate = sc.nextInt();\n\t\tyoko = sc.nextInt();\n\t\t\n\t\tint men=tate*yoko;\n\t\tint syu=(tate+yoko)*2;\n\t\t\n\t\tSystem.out.println(men+\" \"+syu);\n\t}\n\t\n\tpublic static void main(String[]args){\n\t\tMain obj=new Main();\n\t\tobj.solve();\n\t}\n}",
"public class Main{\n\t\n\tint tate;\n\tint yoko;\n\t\n\tpublic void solve(){\n\t\tScanner sc=new Scanner(System.in);\n\t\ttate = sc.nextInt();\n\t\tyoko = sc.nextInt();\n\t\t\n\t\tint men=tate*yoko;\n\t\tint syu=(tate+yoko)*2;\n\t\t\n\t\tSystem.out.println(men+\" \"+syu);\n\t}\n\t\n\tpublic static void main(String[]args){\n\t\tMain obj=new Main();\n\t\tobj.solve();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
int tate;
int yoko;
public void solve(){
Scanner sc=new Scanner(System.in);
tate = sc.nextInt();
yoko = sc.nextInt();
int men=tate*yoko;
int syu=(tate+yoko)*2;
System.out.println(men+" "+syu);
}
public static void main(String[]args){
Main obj=new Main();
obj.solve();
}
} |
[
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,
41,
13,
2,
17,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
13,
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
],
[
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
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n int num2 = scan.nextInt();\n int S = num1*num2;\n int L = 2*(num1+num2);\n System.out.println(S+\" \"+L);\n scan.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n int num2 = scan.nextInt();\n int S = num1*num2;\n int L = 2*(num1+num2);\n System.out.println(S+\" \"+L);\n scan.close();\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n int num2 = scan.nextInt();\n int S = num1*num2;\n int L = 2*(num1+num2);\n System.out.println(S+\" \"+L);\n scan.close();\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n int num2 = scan.nextInt();\n int S = num1*num2;\n int L = 2*(num1+num2);\n System.out.println(S+\" \"+L);\n scan.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int num1 = scan.nextInt();",
"num1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int num2 = scan.nextInt();",
"num2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int S = num1*num2;",
"S",
"num1*num2",
"num1",
"num2",
"int L = 2*(num1+num2);",
"L",
"2*(num1+num2)",
"2",
"(num1+num2)",
"num1",
"num2",
"System.out.println(S+\" \"+L)",
"System.out.println",
"System.out",
"System",
"System.out",
"S+\" \"+L",
"S+\" \"+L",
"S",
"\" \"",
"L",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n int num2 = scan.nextInt();\n int S = num1*num2;\n int L = 2*(num1+num2);\n System.out.println(S+\" \"+L);\n scan.close();\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n int num2 = scan.nextInt();\n int S = num1*num2;\n int L = 2*(num1+num2);\n System.out.println(S+\" \"+L);\n scan.close();\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int num1 = scan.nextInt();
int num2 = scan.nextInt();
int S = num1*num2;
int L = 2*(num1+num2);
System.out.println(S+" "+L);
scan.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
6,
44
],
[
44,
45
]
] | [
"import java.util.*;\n\nclass Main {\n\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner answer = new Scanner(System.in);\n\n\t\tint a = answer.nextInt();\n\t\tint b = answer.nextInt();\n\t\tint area = a*b;\n\t\tint periphery =(a+b)*2;\n\n\t\tSystem.out.println(area + \" \" + periphery);\n\n\t}\n }",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner answer = new Scanner(System.in);\n\n\t\tint a = answer.nextInt();\n\t\tint b = answer.nextInt();\n\t\tint area = a*b;\n\t\tint periphery =(a+b)*2;\n\n\t\tSystem.out.println(area + \" \" + periphery);\n\n\t}\n }",
"Main",
"public static void main(String[] args){\n\t\t\n\t\tScanner answer = new Scanner(System.in);\n\n\t\tint a = answer.nextInt();\n\t\tint b = answer.nextInt();\n\t\tint area = a*b;\n\t\tint periphery =(a+b)*2;\n\n\t\tSystem.out.println(area + \" \" + periphery);\n\n\t}",
"main",
"{\n\t\t\n\t\tScanner answer = new Scanner(System.in);\n\n\t\tint a = answer.nextInt();\n\t\tint b = answer.nextInt();\n\t\tint area = a*b;\n\t\tint periphery =(a+b)*2;\n\n\t\tSystem.out.println(area + \" \" + periphery);\n\n\t}",
"Scanner answer = new Scanner(System.in);",
"answer",
"new Scanner(System.in)",
"int a = answer.nextInt();",
"a",
"answer.nextInt()",
"answer.nextInt",
"answer",
"int b = answer.nextInt();",
"b",
"answer.nextInt()",
"answer.nextInt",
"answer",
"int area = a*b;",
"area",
"a*b",
"a",
"b",
"int periphery =(a+b)*2;",
"periphery",
"(a+b)*2",
"(a+b)",
"a",
"b",
"2",
"System.out.println(area + \" \" + periphery)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" + periphery",
"area + \" \" + periphery",
"area",
"\" \"",
"periphery",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main(String[] args){
Scanner answer = new Scanner(System.in);
int a = answer.nextInt();
int b = answer.nextInt();
int area = a*b;
int periphery =(a+b)*2;
System.out.println(area + " " + periphery);
}
} |
[
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,
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,
41,
13,
2,
18,
13,
17,
18,
13,
17,
41,
13,
2,
17,
2,
18,
13,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
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
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
25,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
33,
34
],
[
33,
35
],
[
14,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
36,
46
],
[
46,
47
],
[
47,
48
],
[
36,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
14,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
14,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
14,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
87,
87
],
[
87,
88
],
[
87,
89
],
[
87,
90
],
[
12,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] strArray = str.split(\" \",0);\n\t\tint num[] = new int[strArray.length];\n\n\t\tfor(int i=0; i<strArray.length; i++){\n\t\t\tnum[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\n\t\tint ans1 = num[0] * num[1];\n\t\tint ans2 = 2*(num[0] + num[1]);\n\n\t\tSystem.out.println(ans1 + \" \" + ans2);\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] strArray = str.split(\" \",0);\n\t\tint num[] = new int[strArray.length];\n\n\t\tfor(int i=0; i<strArray.length; i++){\n\t\t\tnum[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\n\t\tint ans1 = num[0] * num[1];\n\t\tint ans2 = 2*(num[0] + num[1]);\n\n\t\tSystem.out.println(ans1 + \" \" + ans2);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] strArray = str.split(\" \",0);\n\t\tint num[] = new int[strArray.length];\n\n\t\tfor(int i=0; i<strArray.length; i++){\n\t\t\tnum[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\n\t\tint ans1 = num[0] * num[1];\n\t\tint ans2 = 2*(num[0] + num[1]);\n\n\t\tSystem.out.println(ans1 + \" \" + ans2);\n\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] strArray = str.split(\" \",0);\n\t\tint num[] = new int[strArray.length];\n\n\t\tfor(int i=0; i<strArray.length; i++){\n\t\t\tnum[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\n\t\tint ans1 = num[0] * num[1];\n\t\tint ans2 = 2*(num[0] + num[1]);\n\n\t\tSystem.out.println(ans1 + \" \" + ans2);\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] strArray = str.split(\" \",0);",
"strArray",
"str.split(\" \",0)",
"str.split",
"str",
"\" \"",
"0",
"int num[] = new int[strArray.length];",
"num",
"new int[strArray.length]",
"strArray.length",
"strArray",
"strArray.length",
"for(int i=0; i<strArray.length; i++){\n\t\t\tnum[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\tnum[i] = Integer.parseInt(strArray[i]);\n\t\t}",
"{\n\t\t\tnum[i] = Integer.parseInt(strArray[i]);\n\t\t}",
"num[i] = Integer.parseInt(strArray[i])",
"num[i]",
"num",
"i",
"Integer.parseInt(strArray[i])",
"Integer.parseInt",
"Integer",
"strArray[i]",
"strArray",
"i",
"int ans1 = num[0] * num[1];",
"ans1",
"num[0] * num[1]",
"num[0]",
"num",
"0",
"num[1]",
"num",
"1",
"int ans2 = 2*(num[0] + num[1]);",
"ans2",
"2*(num[0] + num[1])",
"2",
"(num[0] + num[1])",
"num[0]",
"num",
"0",
"num[1]",
"num",
"1",
"System.out.println(ans1 + \" \" + ans2)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans1 + \" \" + ans2",
"ans1 + \" \" + ans2",
"ans1",
"\" \"",
"ans2",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] strArray = str.split(\" \",0);\n\t\tint num[] = new int[strArray.length];\n\n\t\tfor(int i=0; i<strArray.length; i++){\n\t\t\tnum[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\n\t\tint ans1 = num[0] * num[1];\n\t\tint ans2 = 2*(num[0] + num[1]);\n\n\t\tSystem.out.println(ans1 + \" \" + ans2);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] strArray = str.split(\" \",0);\n\t\tint num[] = new int[strArray.length];\n\n\t\tfor(int i=0; i<strArray.length; i++){\n\t\t\tnum[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\n\t\tint ans1 = num[0] * num[1];\n\t\tint ans2 = 2*(num[0] + num[1]);\n\n\t\tSystem.out.println(ans1 + \" \" + ans2);\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] strArray = str.split(" ",0);
int num[] = new int[strArray.length];
for(int i=0; i<strArray.length; i++){
num[i] = Integer.parseInt(strArray[i]);
}
int ans1 = num[0] * num[1];
int ans2 = 2*(num[0] + num[1]);
System.out.println(ans1 + " " + ans2);
}
} |
[
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,
2,
2,
13,
13,
17,
2,
17,
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
],
[
64,
11
],
[
64,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
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
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
12,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\tpublic static void main(String[] arg)throws IOException{\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t //今回の問題では求められていないが、こんな説明があると入力する側も理解しやすい。\n\t\t //System.out.println(\"数値を2種類、半角スペースを開けて入力してください。\");\n\t\t //System.out.println(\"面積、周の長さが順番に表示されます。\");\n\n\t\t //br.readline(); = 入力された1行分を日本語変換して返してくれる。\n\t\t String str = br.readLine();\n\n\t\t //配列の型(intとかStringとか) [] 配列名 = 配列を用意\n\t\t //今回はstrAryって配列にstrを入れてる。\n\t\t //str.split = splitってのはString内に用意されてるメソッド\n\t\t //文字列を分割するときに使用。今回は空白で区切ってって仕様なので\n\t\t //split(\" \")としてます。\n\t\t String[] strAry = str.split(\" \");\n\n\t\t //おなじみの文字列から数値への変換。\n\t\t //ただし今回は指定先が配列の何番って風になってる。\n\t\t int x = Integer.parseInt(strAry[0]);\n\t\t int y = Integer.parseInt(strAry[1]);\n\n\t\t //いつも通りの出力。面積と周の長さを表示してる。\n\t\t //出力も1つの空白で区切って1行と指示があるのでこんな具合に。\n\t\t System.out.println(x*y + \" \" + 2*(x+y));\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] arg)throws IOException{\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t //今回の問題では求められていないが、こんな説明があると入力する側も理解しやすい。\n\t\t //System.out.println(\"数値を2種類、半角スペースを開けて入力してください。\");\n\t\t //System.out.println(\"面積、周の長さが順番に表示されます。\");\n\n\t\t //br.readline(); = 入力された1行分を日本語変換して返してくれる。\n\t\t String str = br.readLine();\n\n\t\t //配列の型(intとかStringとか) [] 配列名 = 配列を用意\n\t\t //今回はstrAryって配列にstrを入れてる。\n\t\t //str.split = splitってのはString内に用意されてるメソッド\n\t\t //文字列を分割するときに使用。今回は空白で区切ってって仕様なので\n\t\t //split(\" \")としてます。\n\t\t String[] strAry = str.split(\" \");\n\n\t\t //おなじみの文字列から数値への変換。\n\t\t //ただし今回は指定先が配列の何番って風になってる。\n\t\t int x = Integer.parseInt(strAry[0]);\n\t\t int y = Integer.parseInt(strAry[1]);\n\n\t\t //いつも通りの出力。面積と周の長さを表示してる。\n\t\t //出力も1つの空白で区切って1行と指示があるのでこんな具合に。\n\t\t System.out.println(x*y + \" \" + 2*(x+y));\n }\n}",
"Main",
"public static void main(String[] arg)throws IOException{\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t //今回の問題では求められていないが、こんな説明があると入力する側も理解しやすい。\n\t\t //System.out.println(\"数値を2種類、半角スペースを開けて入力してください。\");\n\t\t //System.out.println(\"面積、周の長さが順番に表示されます。\");\n\n\t\t //br.readline(); = 入力された1行分を日本語変換して返してくれる。\n\t\t String str = br.readLine();\n\n\t\t //配列の型(intとかStringとか) [] 配列名 = 配列を用意\n\t\t //今回はstrAryって配列にstrを入れてる。\n\t\t //str.split = splitってのはString内に用意されてるメソッド\n\t\t //文字列を分割するときに使用。今回は空白で区切ってって仕様なので\n\t\t //split(\" \")としてます。\n\t\t String[] strAry = str.split(\" \");\n\n\t\t //おなじみの文字列から数値への変換。\n\t\t //ただし今回は指定先が配列の何番って風になってる。\n\t\t int x = Integer.parseInt(strAry[0]);\n\t\t int y = Integer.parseInt(strAry[1]);\n\n\t\t //いつも通りの出力。面積と周の長さを表示してる。\n\t\t //出力も1つの空白で区切って1行と指示があるのでこんな具合に。\n\t\t System.out.println(x*y + \" \" + 2*(x+y));\n }",
"main",
"{\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t //今回の問題では求められていないが、こんな説明があると入力する側も理解しやすい。\n\t\t //System.out.println(\"数値を2種類、半角スペースを開けて入力してください。\");\n\t\t //System.out.println(\"面積、周の長さが順番に表示されます。\");\n\n\t\t //br.readline(); = 入力された1行分を日本語変換して返してくれる。\n\t\t String str = br.readLine();\n\n\t\t //配列の型(intとかStringとか) [] 配列名 = 配列を用意\n\t\t //今回はstrAryって配列にstrを入れてる。\n\t\t //str.split = splitってのはString内に用意されてるメソッド\n\t\t //文字列を分割するときに使用。今回は空白で区切ってって仕様なので\n\t\t //split(\" \")としてます。\n\t\t String[] strAry = str.split(\" \");\n\n\t\t //おなじみの文字列から数値への変換。\n\t\t //ただし今回は指定先が配列の何番って風になってる。\n\t\t int x = Integer.parseInt(strAry[0]);\n\t\t int y = Integer.parseInt(strAry[1]);\n\n\t\t //いつも通りの出力。面積と周の長さを表示してる。\n\t\t //出力も1つの空白で区切って1行と指示があるのでこんな具合に。\n\t\t System.out.println(x*y + \" \" + 2*(x+y));\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] strAry = str.split(\" \");",
"strAry",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int x = Integer.parseInt(strAry[0]);",
"x",
"Integer.parseInt(strAry[0])",
"Integer.parseInt",
"Integer",
"strAry[0]",
"strAry",
"0",
"int y = Integer.parseInt(strAry[1]);",
"y",
"Integer.parseInt(strAry[1])",
"Integer.parseInt",
"Integer",
"strAry[1]",
"strAry",
"1",
"System.out.println(x*y + \" \" + 2*(x+y))",
"System.out.println",
"System.out",
"System",
"System.out",
"x*y + \" \" + 2*(x+y)",
"x*y + \" \" + 2*(x+y)",
"x*y",
"x",
"y",
"\" \"",
"2*(x+y)",
"2",
"(x+y)",
"x",
"y",
"String[] arg",
"arg",
"public class Main {\n\tpublic static void main(String[] arg)throws IOException{\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t //今回の問題では求められていないが、こんな説明があると入力する側も理解しやすい。\n\t\t //System.out.println(\"数値を2種類、半角スペースを開けて入力してください。\");\n\t\t //System.out.println(\"面積、周の長さが順番に表示されます。\");\n\n\t\t //br.readline(); = 入力された1行分を日本語変換して返してくれる。\n\t\t String str = br.readLine();\n\n\t\t //配列の型(intとかStringとか) [] 配列名 = 配列を用意\n\t\t //今回はstrAryって配列にstrを入れてる。\n\t\t //str.split = splitってのはString内に用意されてるメソッド\n\t\t //文字列を分割するときに使用。今回は空白で区切ってって仕様なので\n\t\t //split(\" \")としてます。\n\t\t String[] strAry = str.split(\" \");\n\n\t\t //おなじみの文字列から数値への変換。\n\t\t //ただし今回は指定先が配列の何番って風になってる。\n\t\t int x = Integer.parseInt(strAry[0]);\n\t\t int y = Integer.parseInt(strAry[1]);\n\n\t\t //いつも通りの出力。面積と周の長さを表示してる。\n\t\t //出力も1つの空白で区切って1行と指示があるのでこんな具合に。\n\t\t System.out.println(x*y + \" \" + 2*(x+y));\n }\n}",
"public class Main {\n\tpublic static void main(String[] arg)throws IOException{\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t //今回の問題では求められていないが、こんな説明があると入力する側も理解しやすい。\n\t\t //System.out.println(\"数値を2種類、半角スペースを開けて入力してください。\");\n\t\t //System.out.println(\"面積、周の長さが順番に表示されます。\");\n\n\t\t //br.readline(); = 入力された1行分を日本語変換して返してくれる。\n\t\t String str = br.readLine();\n\n\t\t //配列の型(intとかStringとか) [] 配列名 = 配列を用意\n\t\t //今回はstrAryって配列にstrを入れてる。\n\t\t //str.split = splitってのはString内に用意されてるメソッド\n\t\t //文字列を分割するときに使用。今回は空白で区切ってって仕様なので\n\t\t //split(\" \")としてます。\n\t\t String[] strAry = str.split(\" \");\n\n\t\t //おなじみの文字列から数値への変換。\n\t\t //ただし今回は指定先が配列の何番って風になってる。\n\t\t int x = Integer.parseInt(strAry[0]);\n\t\t int y = Integer.parseInt(strAry[1]);\n\n\t\t //いつも通りの出力。面積と周の長さを表示してる。\n\t\t //出力も1つの空白で区切って1行と指示があるのでこんな具合に。\n\t\t System.out.println(x*y + \" \" + 2*(x+y));\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] arg)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
//今回の問題では求められていないが、こんな説明があると入力する側も理解しやすい。
//System.out.println("数値を2種類、半角スペースを開けて入力してください。");
//System.out.println("面積、周の長さが順番に表示されます。");
//br.readline(); = 入力された1行分を日本語変換して返してくれる。
String str = br.readLine();
//配列の型(intとかStringとか) [] 配列名 = 配列を用意
//今回はstrAryって配列にstrを入れてる。
//str.split = splitってのはString内に用意されてるメソッド
//文字列を分割するときに使用。今回は空白で区切ってって仕様なので
//split(" ")としてます。
String[] strAry = str.split(" ");
//おなじみの文字列から数値への変換。
//ただし今回は指定先が配列の何番って風になってる。
int x = Integer.parseInt(strAry[0]);
int y = Integer.parseInt(strAry[1]);
//いつも通りの出力。面積と周の長さを表示してる。
//出力も1つの空白で区切って1行と指示があるのでこんな具合に。
System.out.println(x*y + " " + 2*(x+y));
}
} |
[
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,
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,
41,
13,
18,
13,
17,
41,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
95,
11
],
[
95,
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
],
[
32,
33
],
[
32,
34
],
[
14,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
14,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
14,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
14,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
14,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
14,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
88,
88
],
[
88,
89
],
[
88,
90
],
[
88,
91
],
[
12,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String arg = br.readLine();\n String[] inputArray = arg.split(\" \");\n int[] inputIntArray = new int[inputArray.length];\n\n for (int count = 0; count < inputIntArray.length; count++) {\n inputIntArray[count] = Integer.parseInt(inputArray[count]);\n }\n int x = inputIntArray[0];\n int y = inputIntArray[1];\n\n int menseki = x * y;\n int nagasa = (x + y) * 2;\n\n System.out.println(menseki + \" \" + nagasa);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String arg = br.readLine();\n String[] inputArray = arg.split(\" \");\n int[] inputIntArray = new int[inputArray.length];\n\n for (int count = 0; count < inputIntArray.length; count++) {\n inputIntArray[count] = Integer.parseInt(inputArray[count]);\n }\n int x = inputIntArray[0];\n int y = inputIntArray[1];\n\n int menseki = x * y;\n int nagasa = (x + y) * 2;\n\n System.out.println(menseki + \" \" + nagasa);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String arg = br.readLine();\n String[] inputArray = arg.split(\" \");\n int[] inputIntArray = new int[inputArray.length];\n\n for (int count = 0; count < inputIntArray.length; count++) {\n inputIntArray[count] = Integer.parseInt(inputArray[count]);\n }\n int x = inputIntArray[0];\n int y = inputIntArray[1];\n\n int menseki = x * y;\n int nagasa = (x + y) * 2;\n\n System.out.println(menseki + \" \" + nagasa);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String arg = br.readLine();\n String[] inputArray = arg.split(\" \");\n int[] inputIntArray = new int[inputArray.length];\n\n for (int count = 0; count < inputIntArray.length; count++) {\n inputIntArray[count] = Integer.parseInt(inputArray[count]);\n }\n int x = inputIntArray[0];\n int y = inputIntArray[1];\n\n int menseki = x * y;\n int nagasa = (x + y) * 2;\n\n System.out.println(menseki + \" \" + nagasa);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String arg = br.readLine();",
"arg",
"br.readLine()",
"br.readLine",
"br",
"String[] inputArray = arg.split(\" \");",
"inputArray",
"arg.split(\" \")",
"arg.split",
"arg",
"\" \"",
"int[] inputIntArray = new int[inputArray.length];",
"inputIntArray",
"new int[inputArray.length]",
"inputArray.length",
"inputArray",
"inputArray.length",
"for (int count = 0; count < inputIntArray.length; count++) {\n inputIntArray[count] = Integer.parseInt(inputArray[count]);\n }",
"int count = 0;",
"int count = 0;",
"count",
"0",
"count < inputIntArray.length",
"count",
"inputIntArray.length",
"inputIntArray",
"inputIntArray.length",
"count++",
"count++",
"count",
"{\n inputIntArray[count] = Integer.parseInt(inputArray[count]);\n }",
"{\n inputIntArray[count] = Integer.parseInt(inputArray[count]);\n }",
"inputIntArray[count] = Integer.parseInt(inputArray[count])",
"inputIntArray[count]",
"inputIntArray",
"count",
"Integer.parseInt(inputArray[count])",
"Integer.parseInt",
"Integer",
"inputArray[count]",
"inputArray",
"count",
"int x = inputIntArray[0];",
"x",
"inputIntArray[0]",
"inputIntArray",
"0",
"int y = inputIntArray[1];",
"y",
"inputIntArray[1]",
"inputIntArray",
"1",
"int menseki = x * y;",
"menseki",
"x * y",
"x",
"y",
"int nagasa = (x + y) * 2;",
"nagasa",
"(x + y) * 2",
"(x + y)",
"x",
"y",
"2",
"System.out.println(menseki + \" \" + nagasa)",
"System.out.println",
"System.out",
"System",
"System.out",
"menseki + \" \" + nagasa",
"menseki + \" \" + nagasa",
"menseki",
"\" \"",
"nagasa",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String arg = br.readLine();\n String[] inputArray = arg.split(\" \");\n int[] inputIntArray = new int[inputArray.length];\n\n for (int count = 0; count < inputIntArray.length; count++) {\n inputIntArray[count] = Integer.parseInt(inputArray[count]);\n }\n int x = inputIntArray[0];\n int y = inputIntArray[1];\n\n int menseki = x * y;\n int nagasa = (x + y) * 2;\n\n System.out.println(menseki + \" \" + nagasa);\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String arg = br.readLine();\n String[] inputArray = arg.split(\" \");\n int[] inputIntArray = new int[inputArray.length];\n\n for (int count = 0; count < inputIntArray.length; count++) {\n inputIntArray[count] = Integer.parseInt(inputArray[count]);\n }\n int x = inputIntArray[0];\n int y = inputIntArray[1];\n\n int menseki = x * y;\n int nagasa = (x + y) * 2;\n\n System.out.println(menseki + \" \" + nagasa);\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String arg = br.readLine();
String[] inputArray = arg.split(" ");
int[] inputIntArray = new int[inputArray.length];
for (int count = 0; count < inputIntArray.length; count++) {
inputIntArray[count] = Integer.parseInt(inputArray[count]);
}
int x = inputIntArray[0];
int y = inputIntArray[1];
int menseki = x * y;
int nagasa = (x + y) * 2;
System.out.println(menseki + " " + nagasa);
}
} |
[
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,
41,
13,
2,
17,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
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
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
44,
44
],
[
44,
45
],
[
44,
46
],
[
44,
47
],
[
6,
48
],
[
48,
49
]
] | [
"import java.util.Scanner;\n \nclass Main{\n public static void main(String[] args){\n int a;\n int b;\n Scanner sc = new Scanner(System.in);\n a = sc.nextInt();\n b = sc.nextInt();\n \n int area = a*b;\n int syu = 2*(a+b);\n \n System.out.println(area+\" \"+syu);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n int a;\n int b;\n Scanner sc = new Scanner(System.in);\n a = sc.nextInt();\n b = sc.nextInt();\n \n int area = a*b;\n int syu = 2*(a+b);\n \n System.out.println(area+\" \"+syu);\n }\n}",
"Main",
"public static void main(String[] args){\n int a;\n int b;\n Scanner sc = new Scanner(System.in);\n a = sc.nextInt();\n b = sc.nextInt();\n \n int area = a*b;\n int syu = 2*(a+b);\n \n System.out.println(area+\" \"+syu);\n }",
"main",
"{\n int a;\n int b;\n Scanner sc = new Scanner(System.in);\n a = sc.nextInt();\n b = sc.nextInt();\n \n int area = a*b;\n int syu = 2*(a+b);\n \n System.out.println(area+\" \"+syu);\n }",
"int a;",
"a",
"int b;",
"b",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int area = a*b;",
"area",
"a*b",
"a",
"b",
"int syu = 2*(a+b);",
"syu",
"2*(a+b)",
"2",
"(a+b)",
"a",
"b",
"System.out.println(area+\" \"+syu)",
"System.out.println",
"System.out",
"System",
"System.out",
"area+\" \"+syu",
"area+\" \"+syu",
"area",
"\" \"",
"syu",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
int a;
int b;
Scanner sc = new Scanner(System.in);
a = sc.nextInt();
b = sc.nextInt();
int area = a*b;
int syu = 2*(a+b);
System.out.println(area+" "+syu);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
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,
2,
2,
13,
13,
17,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
78,
14
],
[
78,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
18,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
28,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
28,
40
],
[
40,
41
],
[
40,
42
],
[
28,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
28,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
28,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
15,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] | [
"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 \ttry {\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n \t\tBufferedReader br = new BufferedReader(isr);\n \t\tString buf = br.readLine();\n \t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n \t\tint a = Integer.parseInt(st.nextToken());\n \t\tint b = Integer.parseInt(st.nextToken());\n \t\tSystem.out.println( a*b + \" \" +(a+b)*2);\n\n \t} catch(IOException e) {\n\t\t System.err.println(e);\n\t\t}\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args){\n \ttry {\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n \t\tBufferedReader br = new BufferedReader(isr);\n \t\tString buf = br.readLine();\n \t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n \t\tint a = Integer.parseInt(st.nextToken());\n \t\tint b = Integer.parseInt(st.nextToken());\n \t\tSystem.out.println( a*b + \" \" +(a+b)*2);\n\n \t} catch(IOException e) {\n\t\t System.err.println(e);\n\t\t}\n }\n}",
"Main",
"public static void main(String[] args){\n \ttry {\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n \t\tBufferedReader br = new BufferedReader(isr);\n \t\tString buf = br.readLine();\n \t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n \t\tint a = Integer.parseInt(st.nextToken());\n \t\tint b = Integer.parseInt(st.nextToken());\n \t\tSystem.out.println( a*b + \" \" +(a+b)*2);\n\n \t} catch(IOException e) {\n\t\t System.err.println(e);\n\t\t}\n }",
"main",
"{\n \ttry {\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n \t\tBufferedReader br = new BufferedReader(isr);\n \t\tString buf = br.readLine();\n \t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n \t\tint a = Integer.parseInt(st.nextToken());\n \t\tint b = Integer.parseInt(st.nextToken());\n \t\tSystem.out.println( a*b + \" \" +(a+b)*2);\n\n \t} catch(IOException e) {\n\t\t System.err.println(e);\n\t\t}\n }",
"try {\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n \t\tBufferedReader br = new BufferedReader(isr);\n \t\tString buf = br.readLine();\n \t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n \t\tint a = Integer.parseInt(st.nextToken());\n \t\tint b = Integer.parseInt(st.nextToken());\n \t\tSystem.out.println( a*b + \" \" +(a+b)*2);\n\n \t} catch(IOException e) {\n\t\t System.err.println(e);\n\t\t}",
"catch(IOException e) {\n\t\t System.err.println(e);\n\t\t}",
"IOException e",
"{\n\t\t System.err.println(e);\n\t\t}",
"System.err.println(e)",
"System.err.println",
"System.err",
"System",
"System.err",
"e",
"{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n \t\tBufferedReader br = new BufferedReader(isr);\n \t\tString buf = br.readLine();\n \t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n \t\tint a = Integer.parseInt(st.nextToken());\n \t\tint b = Integer.parseInt(st.nextToken());\n \t\tSystem.out.println( a*b + \" \" +(a+b)*2);\n\n \t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"String buf = br.readLine();",
"buf",
"br.readLine()",
"br.readLine",
"br",
"StringTokenizer st=new StringTokenizer(buf,\" \");",
"st",
"new StringTokenizer(buf,\" \")",
"int a = Integer.parseInt(st.nextToken());",
"a",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int b = Integer.parseInt(st.nextToken());",
"b",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"System.out.println( a*b + \" \" +(a+b)*2)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b + \" \" +(a+b)*2",
"a*b + \" \" +(a+b)*2",
"a*b",
"a",
"b",
"\" \"",
"(a+b)*2",
"(a+b)",
"a",
"b",
"2",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n \ttry {\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n \t\tBufferedReader br = new BufferedReader(isr);\n \t\tString buf = br.readLine();\n \t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n \t\tint a = Integer.parseInt(st.nextToken());\n \t\tint b = Integer.parseInt(st.nextToken());\n \t\tSystem.out.println( a*b + \" \" +(a+b)*2);\n\n \t} catch(IOException e) {\n\t\t System.err.println(e);\n\t\t}\n }\n}",
"public class Main {\n public static void main(String[] args){\n \ttry {\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n \t\tBufferedReader br = new BufferedReader(isr);\n \t\tString buf = br.readLine();\n \t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n \t\tint a = Integer.parseInt(st.nextToken());\n \t\tint b = Integer.parseInt(st.nextToken());\n \t\tSystem.out.println( a*b + \" \" +(a+b)*2);\n\n \t} catch(IOException e) {\n\t\t System.err.println(e);\n\t\t}\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args){
try {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();
StringTokenizer st=new StringTokenizer(buf," ");
int a = Integer.parseInt(st.nextToken());
int b = Integer.parseInt(st.nextToken());
System.out.println( a*b + " " +(a+b)*2);
} catch(IOException e) {
System.err.println(e);
}
}
} |
[
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,
2,
2,
17,
2,
13,
13,
17,
2,
2,
2,
13,
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
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
29,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
28,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
35,
41
],
[
6,
42
],
[
42,
43
]
] | [
"import java.util.*;class Main{public static void main(String[]args){Scanner sc=new Scanner(System.in);int w=sc.nextInt(),h=sc.nextInt();System.out.println(\"\"+(w*h)+\" \"+((w+w+h+h)));}}",
"import java.util.*;",
"util.*",
"java",
"class Main{public static void main(String[]args){Scanner sc=new Scanner(System.in);int w=sc.nextInt(),h=sc.nextInt();System.out.println(\"\"+(w*h)+\" \"+((w+w+h+h)));}}",
"Main",
"public static void main(String[]args){Scanner sc=new Scanner(System.in);int w=sc.nextInt(),h=sc.nextInt();System.out.println(\"\"+(w*h)+\" \"+((w+w+h+h)));}",
"main",
"{Scanner sc=new Scanner(System.in);int w=sc.nextInt(),h=sc.nextInt();System.out.println(\"\"+(w*h)+\" \"+((w+w+h+h)));}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int w=sc.nextInt()",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"h=sc.nextInt();",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(\"\"+(w*h)+\" \"+((w+w+h+h)))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"+(w*h)+\" \"+((w+w+h+h))",
"\" \"",
"\"\"+(w*h)+\" \"+((w+w+h+h))",
"\"\"",
"(w*h)",
"w",
"h",
"\" \"",
"((w+w+h+h))",
"h",
"w+w+h+h",
"w",
"w",
"h",
"h",
"String[]args",
"args"
] | import java.util.*;class Main{public static void main(String[]args){Scanner sc=new Scanner(System.in);int w=sc.nextInt(),h=sc.nextInt();System.out.println(""+(w*h)+" "+((w+w+h+h)));}} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
42,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
41,
13,
2,
13,
13,
41,
13,
2,
2,
17,
13,
2,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
3,
30,
9,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
96,
5
],
[
96,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
38,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
8,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
62,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
62,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
83,
83
],
[
83,
84
],
[
83,
85
],
[
83,
86
],
[
62,
87
],
[
54,
88
],
[
88,
89
],
[
8,
90
],
[
90,
91
],
[
91,
92
],
[
6,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] | [
"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\tString aStr = sc.next();\n\t\tString bStr= sc.next();\n\t\tint a = 0;\n\t\tint b = 0;\n\t\ttry {\n\t\t\ta = Integer.parseInt(aStr);\n\t\t\tb = Integer.parseInt(bStr);\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}\n\t\twhile (true) {\n\t\t\tif (a >= 1 && b <= 100) {\n\t\t\t\tint area = a * b;\n\t\t\t\tint circ = 2 * a + 2 * b;\n\t\t\t\tSystem.out.println(area + \" \" + circ);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t} \n\t\t}\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString aStr = sc.next();\n\t\tString bStr= sc.next();\n\t\tint a = 0;\n\t\tint b = 0;\n\t\ttry {\n\t\t\ta = Integer.parseInt(aStr);\n\t\t\tb = Integer.parseInt(bStr);\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}\n\t\twhile (true) {\n\t\t\tif (a >= 1 && b <= 100) {\n\t\t\t\tint area = a * b;\n\t\t\t\tint circ = 2 * a + 2 * b;\n\t\t\t\tSystem.out.println(area + \" \" + circ);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t} \n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString aStr = sc.next();\n\t\tString bStr= sc.next();\n\t\tint a = 0;\n\t\tint b = 0;\n\t\ttry {\n\t\t\ta = Integer.parseInt(aStr);\n\t\t\tb = Integer.parseInt(bStr);\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}\n\t\twhile (true) {\n\t\t\tif (a >= 1 && b <= 100) {\n\t\t\t\tint area = a * b;\n\t\t\t\tint circ = 2 * a + 2 * b;\n\t\t\t\tSystem.out.println(area + \" \" + circ);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t} \n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString aStr = sc.next();\n\t\tString bStr= sc.next();\n\t\tint a = 0;\n\t\tint b = 0;\n\t\ttry {\n\t\t\ta = Integer.parseInt(aStr);\n\t\t\tb = Integer.parseInt(bStr);\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}\n\t\twhile (true) {\n\t\t\tif (a >= 1 && b <= 100) {\n\t\t\t\tint area = a * b;\n\t\t\t\tint circ = 2 * a + 2 * b;\n\t\t\t\tSystem.out.println(area + \" \" + circ);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t} \n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String aStr = sc.next();",
"aStr",
"sc.next()",
"sc.next",
"sc",
"String bStr= sc.next();",
"bStr",
"sc.next()",
"sc.next",
"sc",
"int a = 0;",
"a",
"0",
"int b = 0;",
"b",
"0",
"try {\n\t\t\ta = Integer.parseInt(aStr);\n\t\t\tb = Integer.parseInt(bStr);\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}",
"catch (Exception e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.out.println(\"error\");\n\t\t}",
"System.out.println(\"error\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"error\"",
"{\n\t\t\ta = Integer.parseInt(aStr);\n\t\t\tb = Integer.parseInt(bStr);\n\t\t}",
"a = Integer.parseInt(aStr)",
"a",
"Integer.parseInt(aStr)",
"Integer.parseInt",
"Integer",
"aStr",
"b = Integer.parseInt(bStr)",
"b",
"Integer.parseInt(bStr)",
"Integer.parseInt",
"Integer",
"bStr",
"while (true) {\n\t\t\tif (a >= 1 && b <= 100) {\n\t\t\t\tint area = a * b;\n\t\t\t\tint circ = 2 * a + 2 * b;\n\t\t\t\tSystem.out.println(area + \" \" + circ);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t} \n\t\t}",
"true",
"{\n\t\t\tif (a >= 1 && b <= 100) {\n\t\t\t\tint area = a * b;\n\t\t\t\tint circ = 2 * a + 2 * b;\n\t\t\t\tSystem.out.println(area + \" \" + circ);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t} \n\t\t}",
"if (a >= 1 && b <= 100) {\n\t\t\t\tint area = a * b;\n\t\t\t\tint circ = 2 * a + 2 * b;\n\t\t\t\tSystem.out.println(area + \" \" + circ);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}",
"a >= 1 && b <= 100",
"a >= 1",
"a",
"1",
"b <= 100",
"b",
"100",
"{\n\t\t\t\tint area = a * b;\n\t\t\t\tint circ = 2 * a + 2 * b;\n\t\t\t\tSystem.out.println(area + \" \" + circ);\n\t\t\t\tbreak;\n\t\t\t}",
"int area = a * b;",
"area",
"a * b",
"a",
"b",
"int circ = 2 * a + 2 * b;",
"circ",
"2 * a + 2 * b",
"2 * a",
"2",
"a",
"2 * b",
"2",
"b",
"System.out.println(area + \" \" + circ)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" + circ",
"area + \" \" + circ",
"area",
"\" \"",
"circ",
"break;",
"{\n\t\t\t\tcontinue;\n\t\t\t}",
"continue;",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString aStr = sc.next();\n\t\tString bStr= sc.next();\n\t\tint a = 0;\n\t\tint b = 0;\n\t\ttry {\n\t\t\ta = Integer.parseInt(aStr);\n\t\t\tb = Integer.parseInt(bStr);\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}\n\t\twhile (true) {\n\t\t\tif (a >= 1 && b <= 100) {\n\t\t\t\tint area = a * b;\n\t\t\t\tint circ = 2 * a + 2 * b;\n\t\t\t\tSystem.out.println(area + \" \" + circ);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t} \n\t\t}\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString aStr = sc.next();\n\t\tString bStr= sc.next();\n\t\tint a = 0;\n\t\tint b = 0;\n\t\ttry {\n\t\t\ta = Integer.parseInt(aStr);\n\t\t\tb = Integer.parseInt(bStr);\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}\n\t\twhile (true) {\n\t\t\tif (a >= 1 && b <= 100) {\n\t\t\t\tint area = a * b;\n\t\t\t\tint circ = 2 * a + 2 * b;\n\t\t\t\tSystem.out.println(area + \" \" + circ);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t} \n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String aStr = sc.next();
String bStr= sc.next();
int a = 0;
int b = 0;
try {
a = Integer.parseInt(aStr);
b = Integer.parseInt(bStr);
} catch (Exception e) {
System.out.println("error");
}
while (true) {
if (a >= 1 && b <= 100) {
int area = a * b;
int circ = 2 * a + 2 * b;
System.out.println(area + " " + circ);
break;
} else {
continue;
}
}
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
40,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
18,
13,
17,
41,
13,
18,
13,
17,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
17,
2,
13,
13,
4,
18,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
84,
8
],
[
84,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
19,
20
],
[
12,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
21,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
21,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
21,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
21,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
21,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
21,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
21,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
21,
78
],
[
78,
79
],
[
79,
80
],
[
9,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n String seedStr = stdReader.readLine();\n\n String[] inputStr = seedStr.split(\" \");\n\n String tateStr = inputStr[0];\n String yokoStr = inputStr[1];\n\n Integer tate = Integer.valueOf(tateStr);\n Integer yoko = Integer.valueOf(yokoStr);\n \n System.out.println(tate*yoko + \" \" + 2*(tate+yoko));\n System.exit(0);\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\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) {\n try {\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n String seedStr = stdReader.readLine();\n\n String[] inputStr = seedStr.split(\" \");\n\n String tateStr = inputStr[0];\n String yokoStr = inputStr[1];\n\n Integer tate = Integer.valueOf(tateStr);\n Integer yoko = Integer.valueOf(yokoStr);\n \n System.out.println(tate*yoko + \" \" + 2*(tate+yoko));\n System.exit(0);\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n } \n }\n}",
"Main",
"public static void main(String[] args) {\n try {\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n String seedStr = stdReader.readLine();\n\n String[] inputStr = seedStr.split(\" \");\n\n String tateStr = inputStr[0];\n String yokoStr = inputStr[1];\n\n Integer tate = Integer.valueOf(tateStr);\n Integer yoko = Integer.valueOf(yokoStr);\n \n System.out.println(tate*yoko + \" \" + 2*(tate+yoko));\n System.exit(0);\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n } \n }",
"main",
"{\n try {\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n String seedStr = stdReader.readLine();\n\n String[] inputStr = seedStr.split(\" \");\n\n String tateStr = inputStr[0];\n String yokoStr = inputStr[1];\n\n Integer tate = Integer.valueOf(tateStr);\n Integer yoko = Integer.valueOf(yokoStr);\n \n System.out.println(tate*yoko + \" \" + 2*(tate+yoko));\n System.exit(0);\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n } \n }",
"try {\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n String seedStr = stdReader.readLine();\n\n String[] inputStr = seedStr.split(\" \");\n\n String tateStr = inputStr[0];\n String yokoStr = inputStr[1];\n\n Integer tate = Integer.valueOf(tateStr);\n Integer yoko = Integer.valueOf(yokoStr);\n \n System.out.println(tate*yoko + \" \" + 2*(tate+yoko));\n System.exit(0);\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }",
"catch (Exception e) {\n System.exit(-1);\n }",
"Exception e",
"{\n System.exit(-1);\n }",
"System.exit(-1)",
"System.exit",
"System",
"-1",
"1",
"{\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n String seedStr = stdReader.readLine();\n\n String[] inputStr = seedStr.split(\" \");\n\n String tateStr = inputStr[0];\n String yokoStr = inputStr[1];\n\n Integer tate = Integer.valueOf(tateStr);\n Integer yoko = Integer.valueOf(yokoStr);\n \n System.out.println(tate*yoko + \" \" + 2*(tate+yoko));\n System.exit(0);\n\n stdReader.close();\n }",
"BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));",
"stdReader",
"new BufferedReader( new InputStreamReader(System.in))",
"String seedStr = stdReader.readLine();",
"seedStr",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"String[] inputStr = seedStr.split(\" \");",
"inputStr",
"seedStr.split(\" \")",
"seedStr.split",
"seedStr",
"\" \"",
"String tateStr = inputStr[0];",
"tateStr",
"inputStr[0]",
"inputStr",
"0",
"String yokoStr = inputStr[1];",
"yokoStr",
"inputStr[1]",
"inputStr",
"1",
"Integer tate = Integer.valueOf(tateStr);",
"tate",
"Integer.valueOf(tateStr)",
"Integer.valueOf",
"Integer",
"tateStr",
"Integer yoko = Integer.valueOf(yokoStr);",
"yoko",
"Integer.valueOf(yokoStr)",
"Integer.valueOf",
"Integer",
"yokoStr",
"System.out.println(tate*yoko + \" \" + 2*(tate+yoko))",
"System.out.println",
"System.out",
"System",
"System.out",
"tate*yoko + \" \" + 2*(tate+yoko)",
"tate*yoko + \" \" + 2*(tate+yoko)",
"tate*yoko",
"tate",
"yoko",
"\" \"",
"2*(tate+yoko)",
"2",
"(tate+yoko)",
"tate",
"yoko",
"System.exit(0)",
"System.exit",
"System",
"0",
"stdReader.close()",
"stdReader.close",
"stdReader",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n String seedStr = stdReader.readLine();\n\n String[] inputStr = seedStr.split(\" \");\n\n String tateStr = inputStr[0];\n String yokoStr = inputStr[1];\n\n Integer tate = Integer.valueOf(tateStr);\n Integer yoko = Integer.valueOf(yokoStr);\n \n System.out.println(tate*yoko + \" \" + 2*(tate+yoko));\n System.exit(0);\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n } \n }\n}",
"public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n String seedStr = stdReader.readLine();\n\n String[] inputStr = seedStr.split(\" \");\n\n String tateStr = inputStr[0];\n String yokoStr = inputStr[1];\n\n Integer tate = Integer.valueOf(tateStr);\n Integer yoko = Integer.valueOf(yokoStr);\n \n System.out.println(tate*yoko + \" \" + 2*(tate+yoko));\n System.exit(0);\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n } \n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
try {
BufferedReader stdReader =
new BufferedReader( new InputStreamReader(System.in));
String seedStr = stdReader.readLine();
String[] inputStr = seedStr.split(" ");
String tateStr = inputStr[0];
String yokoStr = inputStr[1];
Integer tate = Integer.valueOf(tateStr);
Integer yoko = Integer.valueOf(yokoStr);
System.out.println(tate*yoko + " " + 2*(tate+yoko));
System.exit(0);
stdReader.close();
} catch (Exception e) {
System.exit(-1);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
4,
18,
20,
41,
13,
4,
18,
13,
17,
17,
0,
13,
4,
13,
4,
13,
18,
13,
17,
4,
13,
18,
13,
17,
0,
13,
4,
13,
4,
13,
18,
13,
17,
4,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
12,
13,
30,
29,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
17,
2,
13,
17,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
92,
5
],
[
92,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
20,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
27,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
59,
59
],
[
59,
60
],
[
59,
61
],
[
59,
62
],
[
6,
63
],
[
63,
64
],
[
92,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
65,
72
],
[
72,
73
],
[
65,
74
],
[
74,
75
],
[
92,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
76,
87
],
[
87,
88
],
[
76,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"\nimport static java.lang.Integer.parseInt;\n\npublic class Main {\n public static void main (String[] args ) {\n int i,j ;\n String line = new java.util.Scanner ( System.in ).nextLine();\n String[] number = line.split(\" \", 0);\n\n i = (int) Rectangle (parseInt(number[0]), parseInt(number[1]));\n j = (int) RectangleLength (parseInt(number[0]), parseInt(number[1]));\n System.out.println(i + \" \" + j);\n }\n public static double Rectangle (int x ,int y) {\n return x * y;\n }\n public static double RectangleLength (int x ,int y) {\n return (x *2) + (y * 2);\n }\n}",
"import static java.lang.Integer.parseInt;",
"import static java.lang.Integer.parseInt;",
"import static java.lang.Integer.parseInt;",
"public class Main {\n public static void main (String[] args ) {\n int i,j ;\n String line = new java.util.Scanner ( System.in ).nextLine();\n String[] number = line.split(\" \", 0);\n\n i = (int) Rectangle (parseInt(number[0]), parseInt(number[1]));\n j = (int) RectangleLength (parseInt(number[0]), parseInt(number[1]));\n System.out.println(i + \" \" + j);\n }\n public static double Rectangle (int x ,int y) {\n return x * y;\n }\n public static double RectangleLength (int x ,int y) {\n return (x *2) + (y * 2);\n }\n}",
"Main",
"public static void main (String[] args ) {\n int i,j ;\n String line = new java.util.Scanner ( System.in ).nextLine();\n String[] number = line.split(\" \", 0);\n\n i = (int) Rectangle (parseInt(number[0]), parseInt(number[1]));\n j = (int) RectangleLength (parseInt(number[0]), parseInt(number[1]));\n System.out.println(i + \" \" + j);\n }",
"main",
"{\n int i,j ;\n String line = new java.util.Scanner ( System.in ).nextLine();\n String[] number = line.split(\" \", 0);\n\n i = (int) Rectangle (parseInt(number[0]), parseInt(number[1]));\n j = (int) RectangleLength (parseInt(number[0]), parseInt(number[1]));\n System.out.println(i + \" \" + j);\n }",
"int i",
"i",
"j ;",
"j",
"String line = new java.util.Scanner ( System.in ).nextLine();",
"line",
"new java.util.Scanner ( System.in ).nextLine()",
"new java.util.Scanner ( System.in ).nextLine",
"new java.util.Scanner ( System.in )",
"String[] number = line.split(\" \", 0);",
"number",
"line.split(\" \", 0)",
"line.split",
"line",
"\" \"",
"0",
"i = (int) Rectangle (parseInt(number[0]), parseInt(number[1]))",
"i",
"(int) Rectangle (parseInt(number[0]), parseInt(number[1]))",
"Rectangle",
"parseInt(number[0])",
"parseInt",
"number[0]",
"number",
"0",
"parseInt(number[1])",
"parseInt",
"number[1]",
"number",
"1",
"j = (int) RectangleLength (parseInt(number[0]), parseInt(number[1]))",
"j",
"(int) RectangleLength (parseInt(number[0]), parseInt(number[1]))",
"RectangleLength",
"parseInt(number[0])",
"parseInt",
"number[0]",
"number",
"0",
"parseInt(number[1])",
"parseInt",
"number[1]",
"number",
"1",
"System.out.println(i + \" \" + j)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + \" \" + j",
"i + \" \" + j",
"i",
"\" \"",
"j",
"String[] args",
"args",
"public static double Rectangle (int x ,int y) {\n return x * y;\n }",
"Rectangle",
"{\n return x * y;\n }",
"return x * y;",
"x * y",
"x",
"y",
"int x",
"x",
"int y",
"y",
"public static double RectangleLength (int x ,int y) {\n return (x *2) + (y * 2);\n }",
"RectangleLength",
"{\n return (x *2) + (y * 2);\n }",
"return (x *2) + (y * 2);",
"(x *2) + (y * 2)",
"(x *2)",
"x",
"2",
"(y * 2)",
"y",
"2",
"int x",
"x",
"int y",
"y",
"public class Main {\n public static void main (String[] args ) {\n int i,j ;\n String line = new java.util.Scanner ( System.in ).nextLine();\n String[] number = line.split(\" \", 0);\n\n i = (int) Rectangle (parseInt(number[0]), parseInt(number[1]));\n j = (int) RectangleLength (parseInt(number[0]), parseInt(number[1]));\n System.out.println(i + \" \" + j);\n }\n public static double Rectangle (int x ,int y) {\n return x * y;\n }\n public static double RectangleLength (int x ,int y) {\n return (x *2) + (y * 2);\n }\n}",
"public class Main {\n public static void main (String[] args ) {\n int i,j ;\n String line = new java.util.Scanner ( System.in ).nextLine();\n String[] number = line.split(\" \", 0);\n\n i = (int) Rectangle (parseInt(number[0]), parseInt(number[1]));\n j = (int) RectangleLength (parseInt(number[0]), parseInt(number[1]));\n System.out.println(i + \" \" + j);\n }\n public static double Rectangle (int x ,int y) {\n return x * y;\n }\n public static double RectangleLength (int x ,int y) {\n return (x *2) + (y * 2);\n }\n}",
"Main"
] |
import static java.lang.Integer.parseInt;
public class Main {
public static void main (String[] args ) {
int i,j ;
String line = new java.util.Scanner ( System.in ).nextLine();
String[] number = line.split(" ", 0);
i = (int) Rectangle (parseInt(number[0]), parseInt(number[1]));
j = (int) RectangleLength (parseInt(number[0]), parseInt(number[1]));
System.out.println(i + " " + j);
}
public static double Rectangle (int x ,int y) {
return x * y;
}
public static double RectangleLength (int x ,int y) {
return (x *2) + (y * 2);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
21,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
31,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
31,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
31,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
31,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
31,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
31,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
80,
80
],
[
80,
81
],
[
80,
82
],
[
80,
83
],
[
12,
84
],
[
84,
85
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\n// 1-A 標準出力にHelloWorldと出力する\nclass Main {\n\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\t//縦\n\t\tint intVertical = 0;\n\n\t\t//横\n\t\tint intHorizontal = 0;\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//キーボードからの入力をString型で受け取る\n\t\t\tString strLine = br.readLine();\n\n\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\tString[] strLineAry = strLine.split(\" \");\n\n\t\t\t//入力値の1つ目は縦\n\t\t\tintVertical = Integer.parseInt(strLineAry[0]);\n\n\t\t\t//2つ目は横\n\t\t\tintHorizontal = Integer.parseInt(strLineAry[1]);\n\n\t\t\t//面積\n\t\t\tint intArea = intVertical * intHorizontal;\n\n\t\t\t//周\n\t\t\tint intZhou = (intVertical + intHorizontal) * 2;\n\n\t\t\t//結果を出力\n\t\t\tSystem.out.println(intArea + \" \" + intZhou);\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外内容の表示\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\t//縦\n\t\tint intVertical = 0;\n\n\t\t//横\n\t\tint intHorizontal = 0;\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//キーボードからの入力をString型で受け取る\n\t\t\tString strLine = br.readLine();\n\n\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\tString[] strLineAry = strLine.split(\" \");\n\n\t\t\t//入力値の1つ目は縦\n\t\t\tintVertical = Integer.parseInt(strLineAry[0]);\n\n\t\t\t//2つ目は横\n\t\t\tintHorizontal = Integer.parseInt(strLineAry[1]);\n\n\t\t\t//面積\n\t\t\tint intArea = intVertical * intHorizontal;\n\n\t\t\t//周\n\t\t\tint intZhou = (intVertical + intHorizontal) * 2;\n\n\t\t\t//結果を出力\n\t\t\tSystem.out.println(intArea + \" \" + intZhou);\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外内容の表示\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"Main",
"// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\t//縦\n\t\tint intVertical = 0;\n\n\t\t//横\n\t\tint intHorizontal = 0;\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//キーボードからの入力をString型で受け取る\n\t\t\tString strLine = br.readLine();\n\n\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\tString[] strLineAry = strLine.split(\" \");\n\n\t\t\t//入力値の1つ目は縦\n\t\t\tintVertical = Integer.parseInt(strLineAry[0]);\n\n\t\t\t//2つ目は横\n\t\t\tintHorizontal = Integer.parseInt(strLineAry[1]);\n\n\t\t\t//面積\n\t\t\tint intArea = intVertical * intHorizontal;\n\n\t\t\t//周\n\t\t\tint intZhou = (intVertical + intHorizontal) * 2;\n\n\t\t\t//結果を出力\n\t\t\tSystem.out.println(intArea + \" \" + intZhou);\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外内容の表示\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"main",
"{\n\n\t\t//縦\n\t\tint intVertical = 0;\n\n\t\t//横\n\t\tint intHorizontal = 0;\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//キーボードからの入力をString型で受け取る\n\t\t\tString strLine = br.readLine();\n\n\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\tString[] strLineAry = strLine.split(\" \");\n\n\t\t\t//入力値の1つ目は縦\n\t\t\tintVertical = Integer.parseInt(strLineAry[0]);\n\n\t\t\t//2つ目は横\n\t\t\tintHorizontal = Integer.parseInt(strLineAry[1]);\n\n\t\t\t//面積\n\t\t\tint intArea = intVertical * intHorizontal;\n\n\t\t\t//周\n\t\t\tint intZhou = (intVertical + intHorizontal) * 2;\n\n\t\t\t//結果を出力\n\t\t\tSystem.out.println(intArea + \" \" + intZhou);\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外内容の表示\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"int intVertical = 0;",
"intVertical",
"0",
"int intHorizontal = 0;",
"intHorizontal",
"0",
"try{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//キーボードからの入力をString型で受け取る\n\t\t\tString strLine = br.readLine();\n\n\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\tString[] strLineAry = strLine.split(\" \");\n\n\t\t\t//入力値の1つ目は縦\n\t\t\tintVertical = Integer.parseInt(strLineAry[0]);\n\n\t\t\t//2つ目は横\n\t\t\tintHorizontal = Integer.parseInt(strLineAry[1]);\n\n\t\t\t//面積\n\t\t\tint intArea = intVertical * intHorizontal;\n\n\t\t\t//周\n\t\t\tint intZhou = (intVertical + intHorizontal) * 2;\n\n\t\t\t//結果を出力\n\t\t\tSystem.out.println(intArea + \" \" + intZhou);\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外内容の表示\n\t\t\tSystem.out.println(e);\n\t\t}",
"catch(IOException e) {\n\n\t\t\t//例外内容の表示\n\t\t\tSystem.out.println(e);\n\t\t}",
"IOException e",
"{\n\n\t\t\t//例外内容の表示\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//キーボードからの入力をString型で受け取る\n\t\t\tString strLine = br.readLine();\n\n\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\tString[] strLineAry = strLine.split(\" \");\n\n\t\t\t//入力値の1つ目は縦\n\t\t\tintVertical = Integer.parseInt(strLineAry[0]);\n\n\t\t\t//2つ目は横\n\t\t\tintHorizontal = Integer.parseInt(strLineAry[1]);\n\n\t\t\t//面積\n\t\t\tint intArea = intVertical * intHorizontal;\n\n\t\t\t//周\n\t\t\tint intZhou = (intVertical + intHorizontal) * 2;\n\n\t\t\t//結果を出力\n\t\t\tSystem.out.println(intArea + \" \" + intZhou);\n\n\t\t//例外処理\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String strLine = br.readLine();",
"strLine",
"br.readLine()",
"br.readLine",
"br",
"String[] strLineAry = strLine.split(\" \");",
"strLineAry",
"strLine.split(\" \")",
"strLine.split",
"strLine",
"\" \"",
"intVertical = Integer.parseInt(strLineAry[0])",
"intVertical",
"Integer.parseInt(strLineAry[0])",
"Integer.parseInt",
"Integer",
"strLineAry[0]",
"strLineAry",
"0",
"intHorizontal = Integer.parseInt(strLineAry[1])",
"intHorizontal",
"Integer.parseInt(strLineAry[1])",
"Integer.parseInt",
"Integer",
"strLineAry[1]",
"strLineAry",
"1",
"int intArea = intVertical * intHorizontal;",
"intArea",
"intVertical * intHorizontal",
"intVertical",
"intHorizontal",
"int intZhou = (intVertical + intHorizontal) * 2;",
"intZhou",
"(intVertical + intHorizontal) * 2",
"(intVertical + intHorizontal)",
"intVertical",
"intHorizontal",
"2",
"System.out.println(intArea + \" \" + intZhou)",
"System.out.println",
"System.out",
"System",
"System.out",
"intArea + \" \" + intZhou",
"intArea + \" \" + intZhou",
"intArea",
"\" \"",
"intZhou",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
// 1-A 標準出力にHelloWorldと出力する
class Main {
// プログラムのエントリポイント
public static void main(String[] args) {
//縦
int intVertical = 0;
//横
int intHorizontal = 0;
try{
//キーボードからの入力準備
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
//キーボードからの入力をString型で受け取る
String strLine = br.readLine();
//文字列の分割:入力値を" "で分ける
//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる
String[] strLineAry = strLine.split(" ");
//入力値の1つ目は縦
intVertical = Integer.parseInt(strLineAry[0]);
//2つ目は横
intHorizontal = Integer.parseInt(strLineAry[1]);
//面積
int intArea = intVertical * intHorizontal;
//周
int intZhou = (intVertical + intHorizontal) * 2;
//結果を出力
System.out.println(intArea + " " + intZhou);
//例外処理
}catch(IOException e) {
//例外内容の表示
System.out.println(e);
}
}
} |
[
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,
2,
2,
13,
13,
17,
2,
2,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
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
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
12,
44
],
[
44,
45
]
] | [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\nclass Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tSystem.out.println(x*y+\" \"+(x+y)*2);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tSystem.out.println(x*y+\" \"+(x+y)*2);\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tSystem.out.println(x*y+\" \"+(x+y)*2);\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tSystem.out.println(x*y+\" \"+(x+y)*2);\n\t}",
"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",
"System.out.println(x*y+\" \"+(x+y)*2)",
"System.out.println",
"System.out",
"System",
"System.out",
"x*y+\" \"+(x+y)*2",
"x*y+\" \"+(x+y)*2",
"x*y",
"x",
"y",
"\" \"",
"(x+y)*2",
"(x+y)",
"x",
"y",
"2",
"String[] args",
"args"
] | import java.util.*;
import java.lang.*;
import java.io.*;
class Main
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
System.out.println(x*y+" "+(x+y)*2);
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
2,
2,
13,
13,
13,
13,
4,
18,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
20,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
63,
2
],
[
63,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
5,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
5,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
5,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
34,
40
],
[
5,
41
],
[
41,
42
],
[
42,
43
],
[
3,
44
],
[
44,
45
],
[
3,
46
],
[
46,
47
],
[
63,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
48,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a,b;\n a = sc.nextInt();\n b = sc.nextInt();\n\n System.out.println(a * b + \" \" + (a + a + b + b));\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a,b;\n a = sc.nextInt();\n b = sc.nextInt();\n\n System.out.println(a * b + \" \" + (a + a + b + b));\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"Main",
"public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a,b;\n a = sc.nextInt();\n b = sc.nextInt();\n\n System.out.println(a * b + \" \" + (a + a + b + b));\n/*fin*/\n sc.close();\n }",
"run",
"{\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a,b;\n a = sc.nextInt();\n b = sc.nextInt();\n\n System.out.println(a * b + \" \" + (a + a + b + b));\n/*fin*/\n sc.close();\n }",
"java.util.Scanner sc = new java.util.Scanner(in);",
"sc",
"new java.util.Scanner(in)",
"int a",
"a",
"b;",
"b",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(a * b + \" \" + (a + a + b + b))",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b + \" \" + (a + a + b + b)",
"a * b + \" \" + (a + a + b + b)",
"a * b",
"a",
"b",
"\" \"",
"(a + a + b + b)",
"b",
"a + a + b + b",
"a",
"a",
"b",
"b",
"sc.close()",
"sc.close",
"sc",
"java.io.InputStream in",
"in",
"java.io.PrintStream out",
"out",
"public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }",
"main",
"{\n (new Main()).run(System.in, System.out);\n }",
"(new Main()).run(System.in, System.out)",
"(new Main()).run",
"(new Main())",
"System.in",
"System",
"System.in",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a,b;\n a = sc.nextInt();\n b = sc.nextInt();\n\n System.out.println(a * b + \" \" + (a + a + b + b));\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a,b;\n a = sc.nextInt();\n b = sc.nextInt();\n\n System.out.println(a * b + \" \" + (a + a + b + b));\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"Main"
] | public class Main{
public void run(java.io.InputStream in, java.io.PrintStream out){
java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
int a,b;
a = sc.nextInt();
b = sc.nextInt();
System.out.println(a * b + " " + (a + a + b + b));
/*fin*/
sc.close();
}
public static void main(String[] args){
(new Main()).run(System.in, System.out);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
17,
2,
13,
13,
2,
17,
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
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
15,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
8,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
54,
60
],
[
60,
61
],
[
60,
62
],
[
54,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
6,
68
],
[
68,
69
]
] | [
"import java.io.*;\nclass Main\n{\n public static void main(String[] args9)\n { \n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in)); \n\tString line=null;\n\ttry {\n\t line = br.readLine();\n\t} catch (IOException e) {\n\t System.out.println(\"Input strange\");\n\t}\n\t \n\tString[] f= line.split(\" \",0);\n\tint m = Integer.parseInt(f[0]);\n\tint n = Integer.parseInt(f[1]);\n\tSystem.out.printf(\"%d %d\\n\", m*n , 2*(m+n));\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n public static void main(String[] args9)\n { \n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in)); \n\tString line=null;\n\ttry {\n\t line = br.readLine();\n\t} catch (IOException e) {\n\t System.out.println(\"Input strange\");\n\t}\n\t \n\tString[] f= line.split(\" \",0);\n\tint m = Integer.parseInt(f[0]);\n\tint n = Integer.parseInt(f[1]);\n\tSystem.out.printf(\"%d %d\\n\", m*n , 2*(m+n));\n }\n\n}",
"Main",
"public static void main(String[] args9)\n { \n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in)); \n\tString line=null;\n\ttry {\n\t line = br.readLine();\n\t} catch (IOException e) {\n\t System.out.println(\"Input strange\");\n\t}\n\t \n\tString[] f= line.split(\" \",0);\n\tint m = Integer.parseInt(f[0]);\n\tint n = Integer.parseInt(f[1]);\n\tSystem.out.printf(\"%d %d\\n\", m*n , 2*(m+n));\n }",
"main",
"{ \n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in)); \n\tString line=null;\n\ttry {\n\t line = br.readLine();\n\t} catch (IOException e) {\n\t System.out.println(\"Input strange\");\n\t}\n\t \n\tString[] f= line.split(\" \",0);\n\tint m = Integer.parseInt(f[0]);\n\tint n = Integer.parseInt(f[1]);\n\tSystem.out.printf(\"%d %d\\n\", m*n , 2*(m+n));\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line=null;",
"line",
"null",
"try {\n\t line = br.readLine();\n\t} catch (IOException e) {\n\t System.out.println(\"Input strange\");\n\t}",
"catch (IOException e) {\n\t System.out.println(\"Input strange\");\n\t}",
"IOException e",
"{\n\t System.out.println(\"Input strange\");\n\t}",
"System.out.println(\"Input strange\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Input strange\"",
"{\n\t line = br.readLine();\n\t}",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] f= line.split(\" \",0);",
"f",
"line.split(\" \",0)",
"line.split",
"line",
"\" \"",
"0",
"int m = Integer.parseInt(f[0]);",
"m",
"Integer.parseInt(f[0])",
"Integer.parseInt",
"Integer",
"f[0]",
"f",
"0",
"int n = Integer.parseInt(f[1]);",
"n",
"Integer.parseInt(f[1])",
"Integer.parseInt",
"Integer",
"f[1]",
"f",
"1",
"System.out.printf(\"%d %d\\n\", m*n , 2*(m+n))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"m*n",
"m",
"n",
"2*(m+n)",
"2",
"(m+n)",
"m",
"n",
"String[] args9",
"args9"
] | import java.io.*;
class Main
{
public static void main(String[] args9)
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line=null;
try {
line = br.readLine();
} catch (IOException e) {
System.out.println("Input strange");
}
String[] f= line.split(" ",0);
int m = Integer.parseInt(f[0]);
int n = Integer.parseInt(f[1]);
System.out.printf("%d %d\n", m*n , 2*(m+n));
}
} |
[
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,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
17,
2,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
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
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] | [
"import java.util.Scanner;\npublic class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tint n, m;\n\t\tScanner input = new Scanner(System.in);\n\t\tn = input.nextInt();\n\t\tm = input.nextInt();\n\t\tSystem.out.println(n*m + \" \" + 2*(n+m));\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tint n, m;\n\t\tScanner input = new Scanner(System.in);\n\t\tn = input.nextInt();\n\t\tm = input.nextInt();\n\t\tSystem.out.println(n*m + \" \" + 2*(n+m));\n\t}\n}",
"Main",
"public static void main(String args[])\n\t{\n\t\tint n, m;\n\t\tScanner input = new Scanner(System.in);\n\t\tn = input.nextInt();\n\t\tm = input.nextInt();\n\t\tSystem.out.println(n*m + \" \" + 2*(n+m));\n\t}",
"main",
"{\n\t\tint n, m;\n\t\tScanner input = new Scanner(System.in);\n\t\tn = input.nextInt();\n\t\tm = input.nextInt();\n\t\tSystem.out.println(n*m + \" \" + 2*(n+m));\n\t}",
"int n",
"n",
"m;",
"m",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"n = input.nextInt()",
"n",
"input.nextInt()",
"input.nextInt",
"input",
"m = input.nextInt()",
"m",
"input.nextInt()",
"input.nextInt",
"input",
"System.out.println(n*m + \" \" + 2*(n+m))",
"System.out.println",
"System.out",
"System",
"System.out",
"n*m + \" \" + 2*(n+m)",
"n*m + \" \" + 2*(n+m)",
"n*m",
"n",
"m",
"\" \"",
"2*(n+m)",
"2",
"(n+m)",
"n",
"m",
"String args[]",
"args",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tint n, m;\n\t\tScanner input = new Scanner(System.in);\n\t\tn = input.nextInt();\n\t\tm = input.nextInt();\n\t\tSystem.out.println(n*m + \" \" + 2*(n+m));\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tint n, m;\n\t\tScanner input = new Scanner(System.in);\n\t\tn = input.nextInt();\n\t\tm = input.nextInt();\n\t\tSystem.out.println(n*m + \" \" + 2*(n+m));\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String args[])
{
int n, m;
Scanner input = new Scanner(System.in);
n = input.nextInt();
m = input.nextInt();
System.out.println(n*m + " " + 2*(n+m));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
13,
18,
13,
13,
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,
2,
2,
13,
13,
17,
2,
2,
13,
17,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
38,
5,
13,
30,
37,
20,
30,
14,
2,
13,
17,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
30,
0,
13,
20,
0,
13,
4,
18,
13,
29,
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
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
28,
30
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
20,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
20,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
18,
65
],
[
65,
66
],
[
16,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
69,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
76,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
88,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
76,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
69,
107
],
[
107,
108
],
[
67,
109
],
[
109,
110
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\nclass Main {\n public static void main(String[] args) {\n String line = readLine(System.in);\n StringTokenizer token = new StringTokenizer(line, \" \");\n int v = Integer.parseInt(token.nextToken());\n int h = Integer.parseInt(token.nextToken());\n System.out.println((v * h) + \" \" + (v * 2 + h * 2));\n }\n\n private static String readLine(InputStream in) {\n String line = null;\n BufferedReader reader = null;\n\n try {\n reader = new BufferedReader(new InputStreamReader(in));\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (reader != null) {\n try {\n reader.close();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }\n\n return line;\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",
"class Main {\n public static void main(String[] args) {\n String line = readLine(System.in);\n StringTokenizer token = new StringTokenizer(line, \" \");\n int v = Integer.parseInt(token.nextToken());\n int h = Integer.parseInt(token.nextToken());\n System.out.println((v * h) + \" \" + (v * 2 + h * 2));\n }\n\n private static String readLine(InputStream in) {\n String line = null;\n BufferedReader reader = null;\n\n try {\n reader = new BufferedReader(new InputStreamReader(in));\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (reader != null) {\n try {\n reader.close();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }\n\n return line;\n }\n}",
"Main",
"public static void main(String[] args) {\n String line = readLine(System.in);\n StringTokenizer token = new StringTokenizer(line, \" \");\n int v = Integer.parseInt(token.nextToken());\n int h = Integer.parseInt(token.nextToken());\n System.out.println((v * h) + \" \" + (v * 2 + h * 2));\n }",
"main",
"{\n String line = readLine(System.in);\n StringTokenizer token = new StringTokenizer(line, \" \");\n int v = Integer.parseInt(token.nextToken());\n int h = Integer.parseInt(token.nextToken());\n System.out.println((v * h) + \" \" + (v * 2 + h * 2));\n }",
"String line = readLine(System.in);",
"line",
"readLine(System.in)",
"readLine",
"System.in",
"System",
"System.in",
"StringTokenizer token = new StringTokenizer(line, \" \");",
"token",
"new StringTokenizer(line, \" \")",
"int v = Integer.parseInt(token.nextToken());",
"v",
"Integer.parseInt(token.nextToken())",
"Integer.parseInt",
"Integer",
"token.nextToken()",
"token.nextToken",
"token",
"int h = Integer.parseInt(token.nextToken());",
"h",
"Integer.parseInt(token.nextToken())",
"Integer.parseInt",
"Integer",
"token.nextToken()",
"token.nextToken",
"token",
"System.out.println((v * h) + \" \" + (v * 2 + h * 2))",
"System.out.println",
"System.out",
"System",
"System.out",
"(v * h) + \" \" + (v * 2 + h * 2)",
"(v * h) + \" \" + (v * 2 + h * 2)",
"(v * h)",
"v",
"h",
"\" \"",
"(v * 2 + h * 2)",
"v * 2",
"v",
"2",
"h * 2",
"h",
"2",
"String[] args",
"args",
"private static String readLine(InputStream in) {\n String line = null;\n BufferedReader reader = null;\n\n try {\n reader = new BufferedReader(new InputStreamReader(in));\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (reader != null) {\n try {\n reader.close();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }\n\n return line;\n }",
"readLine",
"{\n String line = null;\n BufferedReader reader = null;\n\n try {\n reader = new BufferedReader(new InputStreamReader(in));\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (reader != null) {\n try {\n reader.close();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }\n\n return line;\n }",
"String line = null;",
"line",
"null",
"BufferedReader reader = null;",
"reader",
"null",
"try {\n reader = new BufferedReader(new InputStreamReader(in));\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (reader != null) {\n try {\n reader.close();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\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 if (reader != null) {\n try {\n reader.close();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }",
"if (reader != null) {\n try {\n reader.close();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"reader != null",
"reader",
"null",
"{\n try {\n reader.close();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n reader.close();\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 reader.close();\n }",
"reader.close()",
"reader.close",
"reader",
"{\n reader = new BufferedReader(new InputStreamReader(in));\n line = reader.readLine();\n }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"line = reader.readLine()",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"return line;",
"line",
"InputStream in",
"in"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
class Main {
public static void main(String[] args) {
String line = readLine(System.in);
StringTokenizer token = new StringTokenizer(line, " ");
int v = Integer.parseInt(token.nextToken());
int h = Integer.parseInt(token.nextToken());
System.out.println((v * h) + " " + (v * 2 + h * 2));
}
private static String readLine(InputStream in) {
String line = null;
BufferedReader reader = null;
try {
reader = new BufferedReader(new InputStreamReader(in));
line = reader.readLine();
} catch (IOException e) {
throw new RuntimeException(e);
} finally {
if (reader != null) {
try {
reader.close();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
}
return line;
}
} |
[
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,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
2,
13,
17,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
19,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.io.*;\n\npublic class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String line=br.readLine();\n String[] split=line.split(\" \",0);\n int tate=Integer.parseInt(split[0]);\n int yoko=Integer.parseInt(split[1]);\n System.out.println((tate*yoko)+\" \"+(tate*2+yoko*2));\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String line=br.readLine();\n String[] split=line.split(\" \",0);\n int tate=Integer.parseInt(split[0]);\n int yoko=Integer.parseInt(split[1]);\n System.out.println((tate*yoko)+\" \"+(tate*2+yoko*2));\n }\n}",
"Main",
"public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String line=br.readLine();\n String[] split=line.split(\" \",0);\n int tate=Integer.parseInt(split[0]);\n int yoko=Integer.parseInt(split[1]);\n System.out.println((tate*yoko)+\" \"+(tate*2+yoko*2));\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String line=br.readLine();\n String[] split=line.split(\" \",0);\n int tate=Integer.parseInt(split[0]);\n int yoko=Integer.parseInt(split[1]);\n System.out.println((tate*yoko)+\" \"+(tate*2+yoko*2));\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line=br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] split=line.split(\" \",0);",
"split",
"line.split(\" \",0)",
"line.split",
"line",
"\" \"",
"0",
"int tate=Integer.parseInt(split[0]);",
"tate",
"Integer.parseInt(split[0])",
"Integer.parseInt",
"Integer",
"split[0]",
"split",
"0",
"int yoko=Integer.parseInt(split[1]);",
"yoko",
"Integer.parseInt(split[1])",
"Integer.parseInt",
"Integer",
"split[1]",
"split",
"1",
"System.out.println((tate*yoko)+\" \"+(tate*2+yoko*2))",
"System.out.println",
"System.out",
"System",
"System.out",
"(tate*yoko)+\" \"+(tate*2+yoko*2)",
"(tate*yoko)+\" \"+(tate*2+yoko*2)",
"(tate*yoko)",
"tate",
"yoko",
"\" \"",
"(tate*2+yoko*2)",
"tate*2",
"tate",
"2",
"yoko*2",
"yoko",
"2",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String line=br.readLine();\n String[] split=line.split(\" \",0);\n int tate=Integer.parseInt(split[0]);\n int yoko=Integer.parseInt(split[1]);\n System.out.println((tate*yoko)+\" \"+(tate*2+yoko*2));\n }\n}",
"public class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String line=br.readLine();\n String[] split=line.split(\" \",0);\n int tate=Integer.parseInt(split[0]);\n int yoko=Integer.parseInt(split[1]);\n System.out.println((tate*yoko)+\" \"+(tate*2+yoko*2));\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args)throws IOException {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String line=br.readLine();
String[] split=line.split(" ",0);
int tate=Integer.parseInt(split[0]);
int yoko=Integer.parseInt(split[1]);
System.out.println((tate*yoko)+" "+(tate*2+yoko*2));
}
} |
[
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,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
6,
44
],
[
44,
45
]
] | [
"import java.util.Scanner;\nclass Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n int Longitudinal = scanner.nextInt();\n int side = scanner.nextInt();\n\n int area = Longitudinal * side;\n int length = (Longitudinal + side) * 2;\n \n System.out.println(area + \" \" + length);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n int Longitudinal = scanner.nextInt();\n int side = scanner.nextInt();\n\n int area = Longitudinal * side;\n int length = (Longitudinal + side) * 2;\n \n System.out.println(area + \" \" + length);\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n int Longitudinal = scanner.nextInt();\n int side = scanner.nextInt();\n\n int area = Longitudinal * side;\n int length = (Longitudinal + side) * 2;\n \n System.out.println(area + \" \" + length);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int Longitudinal = scanner.nextInt();\n int side = scanner.nextInt();\n\n int area = Longitudinal * side;\n int length = (Longitudinal + side) * 2;\n \n System.out.println(area + \" \" + length);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int Longitudinal = scanner.nextInt();",
"Longitudinal",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int side = scanner.nextInt();",
"side",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int area = Longitudinal * side;",
"area",
"Longitudinal * side",
"Longitudinal",
"side",
"int length = (Longitudinal + side) * 2;",
"length",
"(Longitudinal + side) * 2",
"(Longitudinal + side)",
"Longitudinal",
"side",
"2",
"System.out.println(area + \" \" + length)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" + length",
"area + \" \" + length",
"area",
"\" \"",
"length",
"String args[]",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner scanner = new Scanner(System.in);
int Longitudinal = scanner.nextInt();
int side = scanner.nextInt();
int area = Longitudinal * side;
int length = (Longitudinal + side) * 2;
System.out.println(area + " " + length);
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
4,
18,
20,
41,
13,
20,
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,
2,
2,
13,
13,
17,
2,
2,
17,
13,
2,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
57,
2
],
[
57,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
11,
13
],
[
5,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
5,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
5,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
5,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
3,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tString input = new java.util.Scanner(System.in).nextLine();\n\t\t//??????????????????\n\t\tString str1 = new String(input);\n\t\tString[] str1Ary = str1.split(\" \");\n\t\t//?????????input?????????????????§??????????????????str1Ary?????£??\\\n\t\tint a = Integer.parseInt(str1Ary[0]);\n\t\tint b = Integer.parseInt(str1Ary[1]);\n\t\t//str1Ary[0],[1]?????°????????????\n\t\tSystem.out.println(a * b + \" \" + (2 * a + 2 * b));\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tString input = new java.util.Scanner(System.in).nextLine();\n\t\t//??????????????????\n\t\tString str1 = new String(input);\n\t\tString[] str1Ary = str1.split(\" \");\n\t\t//?????????input?????????????????§??????????????????str1Ary?????£??\\\n\t\tint a = Integer.parseInt(str1Ary[0]);\n\t\tint b = Integer.parseInt(str1Ary[1]);\n\t\t//str1Ary[0],[1]?????°????????????\n\t\tSystem.out.println(a * b + \" \" + (2 * a + 2 * b));\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tString input = new java.util.Scanner(System.in).nextLine();\n\t\t//??????????????????\n\t\tString str1 = new String(input);\n\t\tString[] str1Ary = str1.split(\" \");\n\t\t//?????????input?????????????????§??????????????????str1Ary?????£??\\\n\t\tint a = Integer.parseInt(str1Ary[0]);\n\t\tint b = Integer.parseInt(str1Ary[1]);\n\t\t//str1Ary[0],[1]?????°????????????\n\t\tSystem.out.println(a * b + \" \" + (2 * a + 2 * b));\n\t}",
"main",
"{\n\t\tString input = new java.util.Scanner(System.in).nextLine();\n\t\t//??????????????????\n\t\tString str1 = new String(input);\n\t\tString[] str1Ary = str1.split(\" \");\n\t\t//?????????input?????????????????§??????????????????str1Ary?????£??\\\n\t\tint a = Integer.parseInt(str1Ary[0]);\n\t\tint b = Integer.parseInt(str1Ary[1]);\n\t\t//str1Ary[0],[1]?????°????????????\n\t\tSystem.out.println(a * b + \" \" + (2 * a + 2 * b));\n\t}",
"String input = new java.util.Scanner(System.in).nextLine();",
"input",
"new java.util.Scanner(System.in).nextLine()",
"new java.util.Scanner(System.in).nextLine",
"new java.util.Scanner(System.in)",
"String str1 = new String(input);",
"str1",
"new String(input)",
"String[] str1Ary = str1.split(\" \");",
"str1Ary",
"str1.split(\" \")",
"str1.split",
"str1",
"\" \"",
"int a = Integer.parseInt(str1Ary[0]);",
"a",
"Integer.parseInt(str1Ary[0])",
"Integer.parseInt",
"Integer",
"str1Ary[0]",
"str1Ary",
"0",
"int b = Integer.parseInt(str1Ary[1]);",
"b",
"Integer.parseInt(str1Ary[1])",
"Integer.parseInt",
"Integer",
"str1Ary[1]",
"str1Ary",
"1",
"System.out.println(a * b + \" \" + (2 * a + 2 * b))",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b + \" \" + (2 * a + 2 * b)",
"a * b + \" \" + (2 * a + 2 * b)",
"a * b",
"a",
"b",
"\" \"",
"(2 * a + 2 * b)",
"2 * a",
"2",
"a",
"2 * b",
"2",
"b",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tString input = new java.util.Scanner(System.in).nextLine();\n\t\t//??????????????????\n\t\tString str1 = new String(input);\n\t\tString[] str1Ary = str1.split(\" \");\n\t\t//?????????input?????????????????§??????????????????str1Ary?????£??\\\n\t\tint a = Integer.parseInt(str1Ary[0]);\n\t\tint b = Integer.parseInt(str1Ary[1]);\n\t\t//str1Ary[0],[1]?????°????????????\n\t\tSystem.out.println(a * b + \" \" + (2 * a + 2 * b));\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tString input = new java.util.Scanner(System.in).nextLine();\n\t\t//??????????????????\n\t\tString str1 = new String(input);\n\t\tString[] str1Ary = str1.split(\" \");\n\t\t//?????????input?????????????????§??????????????????str1Ary?????£??\\\n\t\tint a = Integer.parseInt(str1Ary[0]);\n\t\tint b = Integer.parseInt(str1Ary[1]);\n\t\t//str1Ary[0],[1]?????°????????????\n\t\tSystem.out.println(a * b + \" \" + (2 * a + 2 * b));\n\t}\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
String input = new java.util.Scanner(System.in).nextLine();
//??????????????????
String str1 = new String(input);
String[] str1Ary = str1.split(" ");
//?????????input?????????????????§??????????????????str1Ary?????£??\
int a = Integer.parseInt(str1Ary[0]);
int b = Integer.parseInt(str1Ary[1]);
//str1Ary[0],[1]?????°????????????
System.out.println(a * b + " " + (2 * a + 2 * b));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
4,
18,
13,
29,
30,
0,
13,
4,
18,
13,
41,
13,
41,
13,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
29,
30,
41,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
41,
13,
20,
4,
18,
13,
2,
13,
13,
4,
18,
13,
17,
4,
18,
13,
2,
17,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
113,
11
],
[
113,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
20,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
14,
41
],
[
41,
42
],
[
14,
43
],
[
43,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
48,
57
],
[
45,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
58,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
58,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
78,
80
],
[
14,
81
],
[
81,
82
],
[
81,
83
],
[
14,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
87,
89
],
[
14,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
14,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
99,
101
],
[
14,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
108,
109
],
[
12,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\t\ttry {\n\t\t\tline = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"The input is missing. \" + e.getMessage());\n\t\t\treturn;\n\t\t}\n\n int x, y;\n try {\n \tString[] fields = line.split(\" \");\n \tx = Integer.parseInt(fields[0]);\n \ty = Integer.parseInt(fields[1]);\n } catch(Throwable e) {\n\t\t\tSystem.err.println(\"The input is in an illegal form. \" + line);\n\t\t\treturn;\n }\n\n StringBuilder b = new StringBuilder();\n b.append(x*y);\n b.append(' ');\n b.append(2*(x+y));\n System.out.println(b.toString());\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\t\ttry {\n\t\t\tline = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"The input is missing. \" + e.getMessage());\n\t\t\treturn;\n\t\t}\n\n int x, y;\n try {\n \tString[] fields = line.split(\" \");\n \tx = Integer.parseInt(fields[0]);\n \ty = Integer.parseInt(fields[1]);\n } catch(Throwable e) {\n\t\t\tSystem.err.println(\"The input is in an illegal form. \" + line);\n\t\t\treturn;\n }\n\n StringBuilder b = new StringBuilder();\n b.append(x*y);\n b.append(' ');\n b.append(2*(x+y));\n System.out.println(b.toString());\n }\n}",
"Main",
"public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\t\ttry {\n\t\t\tline = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"The input is missing. \" + e.getMessage());\n\t\t\treturn;\n\t\t}\n\n int x, y;\n try {\n \tString[] fields = line.split(\" \");\n \tx = Integer.parseInt(fields[0]);\n \ty = Integer.parseInt(fields[1]);\n } catch(Throwable e) {\n\t\t\tSystem.err.println(\"The input is in an illegal form. \" + line);\n\t\t\treturn;\n }\n\n StringBuilder b = new StringBuilder();\n b.append(x*y);\n b.append(' ');\n b.append(2*(x+y));\n System.out.println(b.toString());\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\t\ttry {\n\t\t\tline = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"The input is missing. \" + e.getMessage());\n\t\t\treturn;\n\t\t}\n\n int x, y;\n try {\n \tString[] fields = line.split(\" \");\n \tx = Integer.parseInt(fields[0]);\n \ty = Integer.parseInt(fields[1]);\n } catch(Throwable e) {\n\t\t\tSystem.err.println(\"The input is in an illegal form. \" + line);\n\t\t\treturn;\n }\n\n StringBuilder b = new StringBuilder();\n b.append(x*y);\n b.append(' ');\n b.append(2*(x+y));\n System.out.println(b.toString());\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"try {\n\t\t\tline = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"The input is missing. \" + e.getMessage());\n\t\t\treturn;\n\t\t}",
"catch (IOException e) {\n\t\t\tSystem.err.println(\"The input is missing. \" + e.getMessage());\n\t\t\treturn;\n\t\t}",
"IOException e",
"{\n\t\t\tSystem.err.println(\"The input is missing. \" + e.getMessage());\n\t\t\treturn;\n\t\t}",
"System.err.println(\"The input is missing. \" + e.getMessage())",
"System.err.println",
"System.err",
"System",
"System.err",
"\"The input is missing. \" + e.getMessage()",
"\"The input is missing. \"",
"e.getMessage()",
"e.getMessage",
"e",
"return;",
"{\n\t\t\tline = br.readLine();\n\t\t}",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"int x",
"x",
"y;",
"y",
"try {\n \tString[] fields = line.split(\" \");\n \tx = Integer.parseInt(fields[0]);\n \ty = Integer.parseInt(fields[1]);\n } catch(Throwable e) {\n\t\t\tSystem.err.println(\"The input is in an illegal form. \" + line);\n\t\t\treturn;\n }",
"catch(Throwable e) {\n\t\t\tSystem.err.println(\"The input is in an illegal form. \" + line);\n\t\t\treturn;\n }",
"Throwable e",
"{\n\t\t\tSystem.err.println(\"The input is in an illegal form. \" + line);\n\t\t\treturn;\n }",
"System.err.println(\"The input is in an illegal form. \" + line)",
"System.err.println",
"System.err",
"System",
"System.err",
"\"The input is in an illegal form. \" + line",
"\"The input is in an illegal form. \"",
"line",
"return;",
"{\n \tString[] fields = line.split(\" \");\n \tx = Integer.parseInt(fields[0]);\n \ty = Integer.parseInt(fields[1]);\n }",
"String[] fields = line.split(\" \");",
"fields",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"x = Integer.parseInt(fields[0])",
"x",
"Integer.parseInt(fields[0])",
"Integer.parseInt",
"Integer",
"fields[0]",
"fields",
"0",
"y = Integer.parseInt(fields[1])",
"y",
"Integer.parseInt(fields[1])",
"Integer.parseInt",
"Integer",
"fields[1]",
"fields",
"1",
"StringBuilder b = new StringBuilder();",
"b",
"new StringBuilder()",
"b.append(x*y)",
"b.append",
"b",
"x*y",
"x",
"y",
"b.append(' ')",
"b.append",
"b",
"' '",
"b.append(2*(x+y))",
"b.append",
"b",
"2*(x+y)",
"2",
"(x+y)",
"x",
"y",
"System.out.println(b.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"b.toString()",
"b.toString",
"b",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\t\ttry {\n\t\t\tline = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"The input is missing. \" + e.getMessage());\n\t\t\treturn;\n\t\t}\n\n int x, y;\n try {\n \tString[] fields = line.split(\" \");\n \tx = Integer.parseInt(fields[0]);\n \ty = Integer.parseInt(fields[1]);\n } catch(Throwable e) {\n\t\t\tSystem.err.println(\"The input is in an illegal form. \" + line);\n\t\t\treturn;\n }\n\n StringBuilder b = new StringBuilder();\n b.append(x*y);\n b.append(' ');\n b.append(2*(x+y));\n System.out.println(b.toString());\n }\n}",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\t\ttry {\n\t\t\tline = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"The input is missing. \" + e.getMessage());\n\t\t\treturn;\n\t\t}\n\n int x, y;\n try {\n \tString[] fields = line.split(\" \");\n \tx = Integer.parseInt(fields[0]);\n \ty = Integer.parseInt(fields[1]);\n } catch(Throwable e) {\n\t\t\tSystem.err.println(\"The input is in an illegal form. \" + line);\n\t\t\treturn;\n }\n\n StringBuilder b = new StringBuilder();\n b.append(x*y);\n b.append(' ');\n b.append(2*(x+y));\n System.out.println(b.toString());\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line;
try {
line = br.readLine();
} catch (IOException e) {
System.err.println("The input is missing. " + e.getMessage());
return;
}
int x, y;
try {
String[] fields = line.split(" ");
x = Integer.parseInt(fields[0]);
y = Integer.parseInt(fields[1]);
} catch(Throwable e) {
System.err.println("The input is in an illegal form. " + line);
return;
}
StringBuilder b = new StringBuilder();
b.append(x*y);
b.append(' ');
b.append(2*(x+y));
System.out.println(b.toString());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
4,
18,
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,
2,
2,
13,
13,
17,
2,
2,
13,
17,
2,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
21,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
31,
36
],
[
28,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
28,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
28,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
12,
71
],
[
71,
72
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString list[] = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(list[0]);\n\t\t\tint y = Integer.parseInt(list[1]);\n\t\t\tSystem.out.println(x * y + \" \" + ((x * 2) + (y * 2)));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString list[] = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(list[0]);\n\t\t\tint y = Integer.parseInt(list[1]);\n\t\t\tSystem.out.println(x * y + \" \" + ((x * 2) + (y * 2)));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString list[] = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(list[0]);\n\t\t\tint y = Integer.parseInt(list[1]);\n\t\t\tSystem.out.println(x * y + \" \" + ((x * 2) + (y * 2)));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString list[] = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(list[0]);\n\t\t\tint y = Integer.parseInt(list[1]);\n\t\t\tSystem.out.println(x * y + \" \" + ((x * 2) + (y * 2)));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"try {\n\t\t\tString list[] = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(list[0]);\n\t\t\tint y = Integer.parseInt(list[1]);\n\t\t\tSystem.out.println(x * y + \" \" + ((x * 2) + (y * 2)));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tString list[] = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(list[0]);\n\t\t\tint y = Integer.parseInt(list[1]);\n\t\t\tSystem.out.println(x * y + \" \" + ((x * 2) + (y * 2)));\n\t\t}",
"String list[] = br.readLine().split(\" \");",
"list",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int x = Integer.parseInt(list[0]);",
"x",
"Integer.parseInt(list[0])",
"Integer.parseInt",
"Integer",
"list[0]",
"list",
"0",
"int y = Integer.parseInt(list[1]);",
"y",
"Integer.parseInt(list[1])",
"Integer.parseInt",
"Integer",
"list[1]",
"list",
"1",
"System.out.println(x * y + \" \" + ((x * 2) + (y * 2)))",
"System.out.println",
"System.out",
"System",
"System.out",
"x * y + \" \" + ((x * 2) + (y * 2))",
"x * y + \" \" + ((x * 2) + (y * 2))",
"x * y",
"x",
"y",
"\" \"",
"((x * 2) + (y * 2))",
"(x * 2)",
"x",
"2",
"(y * 2)",
"y",
"2",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
try {
String list[] = br.readLine().split(" ");
int x = Integer.parseInt(list[0]);
int y = Integer.parseInt(list[1]);
System.out.println(x * y + " " + ((x * 2) + (y * 2)));
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
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
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
6,
46
],
[
46,
47
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint tate, yoko;\n\t\ttate = scan.nextInt();\n\t\tyoko = scan.nextInt();\n\t\t\n\t\tSystem.out.print(tate * yoko + \" \");\n\t\tSystem.out.println((tate + yoko) * 2);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint tate, yoko;\n\t\ttate = scan.nextInt();\n\t\tyoko = scan.nextInt();\n\t\t\n\t\tSystem.out.print(tate * yoko + \" \");\n\t\tSystem.out.println((tate + yoko) * 2);\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint tate, yoko;\n\t\ttate = scan.nextInt();\n\t\tyoko = scan.nextInt();\n\t\t\n\t\tSystem.out.print(tate * yoko + \" \");\n\t\tSystem.out.println((tate + yoko) * 2);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint tate, yoko;\n\t\ttate = scan.nextInt();\n\t\tyoko = scan.nextInt();\n\t\t\n\t\tSystem.out.print(tate * yoko + \" \");\n\t\tSystem.out.println((tate + yoko) * 2);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int tate",
"tate",
"yoko;",
"yoko",
"tate = scan.nextInt()",
"tate",
"scan.nextInt()",
"scan.nextInt",
"scan",
"yoko = scan.nextInt()",
"yoko",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.print(tate * yoko + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"tate * yoko + \" \"",
"tate * yoko",
"tate",
"yoko",
"\" \"",
"System.out.println((tate + yoko) * 2)",
"System.out.println",
"System.out",
"System",
"System.out",
"(tate + yoko) * 2",
"(tate + yoko)",
"tate",
"yoko",
"2",
"String args[]",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
int tate, yoko;
tate = scan.nextInt();
yoko = scan.nextInt();
System.out.print(tate * yoko + " ");
System.out.println((tate + yoko) * 2);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
0,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n int a, b, area, perimeter;\n Scanner scan = new Scanner(System.in);\n \n a = scan.nextInt();\n b = scan.nextInt();\n area = a * b;\n perimeter = (a + b) * 2;\n \n System.out.print(area);\n System.out.print(' ');\n System.out.println(perimeter);\n \n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n int a, b, area, perimeter;\n Scanner scan = new Scanner(System.in);\n \n a = scan.nextInt();\n b = scan.nextInt();\n area = a * b;\n perimeter = (a + b) * 2;\n \n System.out.print(area);\n System.out.print(' ');\n System.out.println(perimeter);\n \n \n }\n}",
"Main",
"public static void main(String[] args) {\n int a, b, area, perimeter;\n Scanner scan = new Scanner(System.in);\n \n a = scan.nextInt();\n b = scan.nextInt();\n area = a * b;\n perimeter = (a + b) * 2;\n \n System.out.print(area);\n System.out.print(' ');\n System.out.println(perimeter);\n \n \n }",
"main",
"{\n int a, b, area, perimeter;\n Scanner scan = new Scanner(System.in);\n \n a = scan.nextInt();\n b = scan.nextInt();\n area = a * b;\n perimeter = (a + b) * 2;\n \n System.out.print(area);\n System.out.print(' ');\n System.out.println(perimeter);\n \n \n }",
"int a",
"a",
"b",
"b",
"area",
"area",
"perimeter;",
"perimeter",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"a = scan.nextInt()",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"b = scan.nextInt()",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"area = a * b",
"area",
"a * b",
"a",
"b",
"perimeter = (a + b) * 2",
"perimeter",
"(a + b) * 2",
"(a + b)",
"a",
"b",
"2",
"System.out.print(area)",
"System.out.print",
"System.out",
"System",
"System.out",
"area",
"System.out.print(' ')",
"System.out.print",
"System.out",
"System",
"System.out",
"' '",
"System.out.println(perimeter)",
"System.out.println",
"System.out",
"System",
"System.out",
"perimeter",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n int a, b, area, perimeter;\n Scanner scan = new Scanner(System.in);\n \n a = scan.nextInt();\n b = scan.nextInt();\n area = a * b;\n perimeter = (a + b) * 2;\n \n System.out.print(area);\n System.out.print(' ');\n System.out.println(perimeter);\n \n \n }\n}",
"public class Main {\n public static void main(String[] args) {\n int a, b, area, perimeter;\n Scanner scan = new Scanner(System.in);\n \n a = scan.nextInt();\n b = scan.nextInt();\n area = a * b;\n perimeter = (a + b) * 2;\n \n System.out.print(area);\n System.out.print(' ');\n System.out.println(perimeter);\n \n \n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
int a, b, area, perimeter;
Scanner scan = new Scanner(System.in);
a = scan.nextInt();
b = scan.nextInt();
area = a * b;
perimeter = (a + b) * 2;
System.out.print(area);
System.out.print(' ');
System.out.println(perimeter);
}
}
|
[
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,
2,
2,
13,
13,
17,
2,
2,
13,
17,
2,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
6,
40
],
[
40,
41
]
] | [
"import java.util.*;\nclass Main{\n public static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tint n=sc.nextInt();\n\tint s=sc.nextInt();\n\tSystem.out.println(n*s+\" \"+(n*2+s*2));\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tint n=sc.nextInt();\n\tint s=sc.nextInt();\n\tSystem.out.println(n*s+\" \"+(n*2+s*2));\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tint n=sc.nextInt();\n\tint s=sc.nextInt();\n\tSystem.out.println(n*s+\" \"+(n*2+s*2));\n }",
"main",
"{\n\tScanner sc=new Scanner(System.in);\n\tint n=sc.nextInt();\n\tint s=sc.nextInt();\n\tSystem.out.println(n*s+\" \"+(n*2+s*2));\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int s=sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(n*s+\" \"+(n*2+s*2))",
"System.out.println",
"System.out",
"System",
"System.out",
"n*s+\" \"+(n*2+s*2)",
"n*s+\" \"+(n*2+s*2)",
"n*s",
"n",
"s",
"\" \"",
"(n*2+s*2)",
"n*2",
"n",
"2",
"s*2",
"s",
"2",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
int s=sc.nextInt();
System.out.println(n*s+" "+(n*2+s*2));
}
} |
[
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,
2,
2,
13,
13,
17,
2,
17,
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
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
6,
38
],
[
38,
39
]
] | [
"import java.util.*;\n \nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int i = sc.nextInt();\n int j = sc.nextInt();\n System.out.println(i * j + \" \" + 2 * (i + j));\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int i = sc.nextInt();\n int j = sc.nextInt();\n System.out.println(i * j + \" \" + 2 * (i + j));\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int i = sc.nextInt();\n int j = sc.nextInt();\n System.out.println(i * j + \" \" + 2 * (i + j));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int i = sc.nextInt();\n int j = sc.nextInt();\n System.out.println(i * j + \" \" + 2 * (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 + \" \" + 2 * (i + j))",
"System.out.println",
"System.out",
"System",
"System.out",
"i * j + \" \" + 2 * (i + j)",
"i * j + \" \" + 2 * (i + j)",
"i * j",
"i",
"j",
"\" \"",
"2 * (i + j)",
"2",
"(i + j)",
"i",
"j",
"String[] args",
"args"
] | import java.util.*;
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 + " " + 2 * (i + j));
}
} |
[
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,
41,
13,
2,
2,
17,
13,
2,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"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\tint length = input.nextInt();\n\t\tint wide = input.nextInt();\n\t\t\n\t\tint area = length * wide;\n\t\tint para = 2 * length + 2 * wide;\n\t\tSystem.out.println(area + \" \" + para);\n\t\t\n\t\tinput.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint length = input.nextInt();\n\t\tint wide = input.nextInt();\n\t\t\n\t\tint area = length * wide;\n\t\tint para = 2 * length + 2 * wide;\n\t\tSystem.out.println(area + \" \" + para);\n\t\t\n\t\tinput.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint length = input.nextInt();\n\t\tint wide = input.nextInt();\n\t\t\n\t\tint area = length * wide;\n\t\tint para = 2 * length + 2 * wide;\n\t\tSystem.out.println(area + \" \" + para);\n\t\t\n\t\tinput.close();\n\t}",
"main",
"{\n\t\tScanner input = new Scanner(System.in);\n\t\tint length = input.nextInt();\n\t\tint wide = input.nextInt();\n\t\t\n\t\tint area = length * wide;\n\t\tint para = 2 * length + 2 * wide;\n\t\tSystem.out.println(area + \" \" + para);\n\t\t\n\t\tinput.close();\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int length = input.nextInt();",
"length",
"input.nextInt()",
"input.nextInt",
"input",
"int wide = input.nextInt();",
"wide",
"input.nextInt()",
"input.nextInt",
"input",
"int area = length * wide;",
"area",
"length * wide",
"length",
"wide",
"int para = 2 * length + 2 * wide;",
"para",
"2 * length + 2 * wide",
"2 * length",
"2",
"length",
"2 * wide",
"2",
"wide",
"System.out.println(area + \" \" + para)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" + para",
"area + \" \" + para",
"area",
"\" \"",
"para",
"input.close()",
"input.close",
"input",
"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 length = input.nextInt();\n\t\tint wide = input.nextInt();\n\t\t\n\t\tint area = length * wide;\n\t\tint para = 2 * length + 2 * wide;\n\t\tSystem.out.println(area + \" \" + para);\n\t\t\n\t\tinput.close();\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\tint length = input.nextInt();\n\t\tint wide = input.nextInt();\n\t\t\n\t\tint area = length * wide;\n\t\tint para = 2 * length + 2 * wide;\n\t\tSystem.out.println(area + \" \" + para);\n\t\t\n\t\tinput.close();\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 length = input.nextInt();
int wide = input.nextInt();
int area = length * wide;
int para = 2 * length + 2 * wide;
System.out.println(area + " " + para);
input.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
2,
13,
13,
17,
4,
18,
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
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
18,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
30,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
30,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
55,
57
],
[
30,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
64,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
30,
74
],
[
74,
75
],
[
75,
76
],
[
12,
77
],
[
77,
78
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\nclass Main{\n public static void main(String[] args){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String str = br.readLine();\n String str2[] = str.split(\" \");\n int a = Integer.parseInt(str2[0]);\n int b = Integer.parseInt(str2[1]);\n System.out.println(a*b + \" \" + (a+b)*2);\n br.close();\n } catch (IOException e){\n System.err.println(e.toString());\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"class Main{\n public static void main(String[] args){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String str = br.readLine();\n String str2[] = str.split(\" \");\n int a = Integer.parseInt(str2[0]);\n int b = Integer.parseInt(str2[1]);\n System.out.println(a*b + \" \" + (a+b)*2);\n br.close();\n } catch (IOException e){\n System.err.println(e.toString());\n }\n }\n}",
"Main",
"public static void main(String[] args){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String str = br.readLine();\n String str2[] = str.split(\" \");\n int a = Integer.parseInt(str2[0]);\n int b = Integer.parseInt(str2[1]);\n System.out.println(a*b + \" \" + (a+b)*2);\n br.close();\n } catch (IOException e){\n System.err.println(e.toString());\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String str = br.readLine();\n String str2[] = str.split(\" \");\n int a = Integer.parseInt(str2[0]);\n int b = Integer.parseInt(str2[1]);\n System.out.println(a*b + \" \" + (a+b)*2);\n br.close();\n } catch (IOException e){\n System.err.println(e.toString());\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n String str = br.readLine();\n String str2[] = str.split(\" \");\n int a = Integer.parseInt(str2[0]);\n int b = Integer.parseInt(str2[1]);\n System.out.println(a*b + \" \" + (a+b)*2);\n br.close();\n } catch (IOException e){\n System.err.println(e.toString());\n }",
"catch (IOException e){\n System.err.println(e.toString());\n }",
"IOException e",
"{\n System.err.println(e.toString());\n }",
"System.err.println(e.toString())",
"System.err.println",
"System.err",
"System",
"System.err",
"e.toString()",
"e.toString",
"e",
"{\n String str = br.readLine();\n String str2[] = str.split(\" \");\n int a = Integer.parseInt(str2[0]);\n int b = Integer.parseInt(str2[1]);\n System.out.println(a*b + \" \" + (a+b)*2);\n br.close();\n }",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String str2[] = str.split(\" \");",
"str2",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int a = Integer.parseInt(str2[0]);",
"a",
"Integer.parseInt(str2[0])",
"Integer.parseInt",
"Integer",
"str2[0]",
"str2",
"0",
"int b = Integer.parseInt(str2[1]);",
"b",
"Integer.parseInt(str2[1])",
"Integer.parseInt",
"Integer",
"str2[1]",
"str2",
"1",
"System.out.println(a*b + \" \" + (a+b)*2)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b + \" \" + (a+b)*2",
"a*b + \" \" + (a+b)*2",
"a*b",
"a",
"b",
"\" \"",
"(a+b)*2",
"(a+b)",
"a",
"b",
"2",
"br.close()",
"br.close",
"br",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
class Main{
public static void main(String[] args){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
String str = br.readLine();
String str2[] = str.split(" ");
int a = Integer.parseInt(str2[0]);
int b = Integer.parseInt(str2[1]);
System.out.println(a*b + " " + (a+b)*2);
br.close();
} catch (IOException e){
System.err.println(e.toString());
}
}
}
|
[
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,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
17,
2,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.io.*;\n\npublic class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input = br.readLine();\n String[] cut = input.split(\" \");\n int surface = Integer.parseInt(cut[0]);\n int length = Integer.parseInt(cut[1]);\n System.out.println(surface * length + \" \" + 2 * ( surface + length ));\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input = br.readLine();\n String[] cut = input.split(\" \");\n int surface = Integer.parseInt(cut[0]);\n int length = Integer.parseInt(cut[1]);\n System.out.println(surface * length + \" \" + 2 * ( surface + length ));\n }\n}",
"Main",
"public static void main(String[] args)throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input = br.readLine();\n String[] cut = input.split(\" \");\n int surface = Integer.parseInt(cut[0]);\n int length = Integer.parseInt(cut[1]);\n System.out.println(surface * length + \" \" + 2 * ( surface + length ));\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input = br.readLine();\n String[] cut = input.split(\" \");\n int surface = Integer.parseInt(cut[0]);\n int length = Integer.parseInt(cut[1]);\n System.out.println(surface * length + \" \" + 2 * ( surface + length ));\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String input = br.readLine();",
"input",
"br.readLine()",
"br.readLine",
"br",
"String[] cut = input.split(\" \");",
"cut",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int surface = Integer.parseInt(cut[0]);",
"surface",
"Integer.parseInt(cut[0])",
"Integer.parseInt",
"Integer",
"cut[0]",
"cut",
"0",
"int length = Integer.parseInt(cut[1]);",
"length",
"Integer.parseInt(cut[1])",
"Integer.parseInt",
"Integer",
"cut[1]",
"cut",
"1",
"System.out.println(surface * length + \" \" + 2 * ( surface + length ))",
"System.out.println",
"System.out",
"System",
"System.out",
"surface * length + \" \" + 2 * ( surface + length )",
"surface * length + \" \" + 2 * ( surface + length )",
"surface * length",
"surface",
"length",
"\" \"",
"2 * ( surface + length )",
"2",
"( surface + length )",
"surface",
"length",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input = br.readLine();\n String[] cut = input.split(\" \");\n int surface = Integer.parseInt(cut[0]);\n int length = Integer.parseInt(cut[1]);\n System.out.println(surface * length + \" \" + 2 * ( surface + length ));\n }\n}",
"public class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input = br.readLine();\n String[] cut = input.split(\" \");\n int surface = Integer.parseInt(cut[0]);\n int length = Integer.parseInt(cut[1]);\n System.out.println(surface * length + \" \" + 2 * ( surface + length ));\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args)throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String input = br.readLine();
String[] cut = input.split(" ");
int surface = Integer.parseInt(cut[0]);
int length = Integer.parseInt(cut[1]);
System.out.println(surface * length + " " + 2 * ( surface + length ));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
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,
41,
13,
2,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
57,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.io.*;\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 inputed = new String(in.readLine());\n\n\t\tString value[] = inputed.split(\"[\\\\s]+\");\n\t\tint tate = Integer.parseInt(value[0]);\n\t\tint yoko = Integer.parseInt(value[1]);\n\n\t\tint fill = tate * yoko;\n\t\tint around = tate * 2 + yoko * 2;\n\n\t\tSystem.out.println(fill + \" \" + around);\n\n\n\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"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 inputed = new String(in.readLine());\n\n\t\tString value[] = inputed.split(\"[\\\\s]+\");\n\t\tint tate = Integer.parseInt(value[0]);\n\t\tint yoko = Integer.parseInt(value[1]);\n\n\t\tint fill = tate * yoko;\n\t\tint around = tate * 2 + yoko * 2;\n\n\t\tSystem.out.println(fill + \" \" + around);\n\n\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString inputed = new String(in.readLine());\n\n\t\tString value[] = inputed.split(\"[\\\\s]+\");\n\t\tint tate = Integer.parseInt(value[0]);\n\t\tint yoko = Integer.parseInt(value[1]);\n\n\t\tint fill = tate * yoko;\n\t\tint around = tate * 2 + yoko * 2;\n\n\t\tSystem.out.println(fill + \" \" + around);\n\n\n\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString inputed = new String(in.readLine());\n\n\t\tString value[] = inputed.split(\"[\\\\s]+\");\n\t\tint tate = Integer.parseInt(value[0]);\n\t\tint yoko = Integer.parseInt(value[1]);\n\n\t\tint fill = tate * yoko;\n\t\tint around = tate * 2 + yoko * 2;\n\n\t\tSystem.out.println(fill + \" \" + around);\n\n\n\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String inputed = new String(in.readLine());",
"inputed",
"new String(in.readLine())",
"String value[] = inputed.split(\"[\\\\s]+\");",
"value",
"inputed.split(\"[\\\\s]+\")",
"inputed.split",
"inputed",
"\"[\\\\s]+\"",
"int tate = Integer.parseInt(value[0]);",
"tate",
"Integer.parseInt(value[0])",
"Integer.parseInt",
"Integer",
"value[0]",
"value",
"0",
"int yoko = Integer.parseInt(value[1]);",
"yoko",
"Integer.parseInt(value[1])",
"Integer.parseInt",
"Integer",
"value[1]",
"value",
"1",
"int fill = tate * yoko;",
"fill",
"tate * yoko",
"tate",
"yoko",
"int around = tate * 2 + yoko * 2;",
"around",
"tate * 2 + yoko * 2",
"tate * 2",
"tate",
"2",
"yoko * 2",
"yoko",
"2",
"System.out.println(fill + \" \" + around)",
"System.out.println",
"System.out",
"System",
"System.out",
"fill + \" \" + around",
"fill + \" \" + around",
"fill",
"\" \"",
"around",
"String[] args",
"args",
"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 inputed = new String(in.readLine());\n\n\t\tString value[] = inputed.split(\"[\\\\s]+\");\n\t\tint tate = Integer.parseInt(value[0]);\n\t\tint yoko = Integer.parseInt(value[1]);\n\n\t\tint fill = tate * yoko;\n\t\tint around = tate * 2 + yoko * 2;\n\n\t\tSystem.out.println(fill + \" \" + around);\n\n\n\n\t}\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 inputed = new String(in.readLine());\n\n\t\tString value[] = inputed.split(\"[\\\\s]+\");\n\t\tint tate = Integer.parseInt(value[0]);\n\t\tint yoko = Integer.parseInt(value[1]);\n\n\t\tint fill = tate * yoko;\n\t\tint around = tate * 2 + yoko * 2;\n\n\t\tSystem.out.println(fill + \" \" + around);\n\n\n\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String inputed = new String(in.readLine());
String value[] = inputed.split("[\\s]+");
int tate = Integer.parseInt(value[0]);
int yoko = Integer.parseInt(value[1]);
int fill = tate * yoko;
int around = tate * 2 + yoko * 2;
System.out.println(fill + " " + around);
}
} |
[
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,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
17,
2,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String line = in.nextLine();\n String[] Array = line.split(\" \");\n int A = Integer.parseInt(Array[0]);\n int B = Integer.parseInt(Array[1]);\n System.out.println(A*B+\" \"+2*(A+B));\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String line = in.nextLine();\n String[] Array = line.split(\" \");\n int A = Integer.parseInt(Array[0]);\n int B = Integer.parseInt(Array[1]);\n System.out.println(A*B+\" \"+2*(A+B));\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String line = in.nextLine();\n String[] Array = line.split(\" \");\n int A = Integer.parseInt(Array[0]);\n int B = Integer.parseInt(Array[1]);\n System.out.println(A*B+\" \"+2*(A+B));\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n String line = in.nextLine();\n String[] Array = line.split(\" \");\n int A = Integer.parseInt(Array[0]);\n int B = Integer.parseInt(Array[1]);\n System.out.println(A*B+\" \"+2*(A+B));\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String line = in.nextLine();",
"line",
"in.nextLine()",
"in.nextLine",
"in",
"String[] Array = line.split(\" \");",
"Array",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"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+\" \"+2*(A+B))",
"System.out.println",
"System.out",
"System",
"System.out",
"A*B+\" \"+2*(A+B)",
"A*B+\" \"+2*(A+B)",
"A*B",
"A",
"B",
"\" \"",
"2*(A+B)",
"2",
"(A+B)",
"A",
"B",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String line = in.nextLine();\n String[] Array = line.split(\" \");\n int A = Integer.parseInt(Array[0]);\n int B = Integer.parseInt(Array[1]);\n System.out.println(A*B+\" \"+2*(A+B));\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String line = in.nextLine();\n String[] Array = line.split(\" \");\n int A = Integer.parseInt(Array[0]);\n int B = Integer.parseInt(Array[1]);\n System.out.println(A*B+\" \"+2*(A+B));\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String line = in.nextLine();
String[] Array = line.split(" ");
int A = Integer.parseInt(Array[0]);
int B = Integer.parseInt(Array[1]);
System.out.println(A*B+" "+2*(A+B));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
67,
11
],
[
67,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
14,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
14,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
60,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
12,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n \npublic class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\tString[] s = br.readLine().split(\" \");\n\tint x = Integer.parseInt(s[0]);\n\tint y = Integer.parseInt(s[1]);\n\n\tint menseki = x*y;\n\tint shu = (x+y)*2;\n\tSystem.out.println(menseki + \" \" + shu); \n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\tString[] s = br.readLine().split(\" \");\n\tint x = Integer.parseInt(s[0]);\n\tint y = Integer.parseInt(s[1]);\n\n\tint menseki = x*y;\n\tint shu = (x+y)*2;\n\tSystem.out.println(menseki + \" \" + shu); \n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\tString[] s = br.readLine().split(\" \");\n\tint x = Integer.parseInt(s[0]);\n\tint y = Integer.parseInt(s[1]);\n\n\tint menseki = x*y;\n\tint shu = (x+y)*2;\n\tSystem.out.println(menseki + \" \" + shu); \n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\tString[] s = br.readLine().split(\" \");\n\tint x = Integer.parseInt(s[0]);\n\tint y = Integer.parseInt(s[1]);\n\n\tint menseki = x*y;\n\tint shu = (x+y)*2;\n\tSystem.out.println(menseki + \" \" + shu); \n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] s = br.readLine().split(\" \");",
"s",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int x = Integer.parseInt(s[0]);",
"x",
"Integer.parseInt(s[0])",
"Integer.parseInt",
"Integer",
"s[0]",
"s",
"0",
"int y = Integer.parseInt(s[1]);",
"y",
"Integer.parseInt(s[1])",
"Integer.parseInt",
"Integer",
"s[1]",
"s",
"1",
"int menseki = x*y;",
"menseki",
"x*y",
"x",
"y",
"int shu = (x+y)*2;",
"shu",
"(x+y)*2",
"(x+y)",
"x",
"y",
"2",
"System.out.println(menseki + \" \" + shu)",
"System.out.println",
"System.out",
"System",
"System.out",
"menseki + \" \" + shu",
"menseki + \" \" + shu",
"menseki",
"\" \"",
"shu",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\tString[] s = br.readLine().split(\" \");\n\tint x = Integer.parseInt(s[0]);\n\tint y = Integer.parseInt(s[1]);\n\n\tint menseki = x*y;\n\tint shu = (x+y)*2;\n\tSystem.out.println(menseki + \" \" + shu); \n }\n}",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\tString[] s = br.readLine().split(\" \");\n\tint x = Integer.parseInt(s[0]);\n\tint y = Integer.parseInt(s[1]);\n\n\tint menseki = x*y;\n\tint shu = (x+y)*2;\n\tSystem.out.println(menseki + \" \" + shu); \n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] s = br.readLine().split(" ");
int x = Integer.parseInt(s[0]);
int y = Integer.parseInt(s[1]);
int menseki = x*y;
int shu = (x+y)*2;
System.out.println(menseki + " " + shu);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
4,
13,
4,
13,
12,
13,
30,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
12,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
2,
13,
13,
17,
6,
13,
12,
13,
30,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
4,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
12,
15
],
[
15,
16
],
[
4,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
19,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
4,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
0,
52
],
[
63,
53
],
[
63,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
54,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.util.Scanner;\n\n class Rectangle {\n private static int a;\n private static int b;\n\n static void run () {\n readInput();\n printCubic();\n }\n private static void readInput() {\n Scanner sc = new Scanner(System.in);\n a =sc.nextInt();\n b =sc.nextInt();\n }\n private static void printCubic (){\n System.out.println((a * b) + \" \" + ((a + b) * 2));\n }\n}\npublic class Main {\n public static void main(String[] args) {\n Rectangle.run();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Rectangle {\n private static int a;\n private static int b;\n\n static void run () {\n readInput();\n printCubic();\n }\n private static void readInput() {\n Scanner sc = new Scanner(System.in);\n a =sc.nextInt();\n b =sc.nextInt();\n }\n private static void printCubic (){\n System.out.println((a * b) + \" \" + ((a + b) * 2));\n }\n}",
"Rectangle",
"private static int a;",
"a",
"private static int b;",
"b",
"static void run () {\n readInput();\n printCubic();\n }",
"run",
"{\n readInput();\n printCubic();\n }",
"readInput()",
"readInput",
"printCubic()",
"printCubic",
"private static void readInput() {\n Scanner sc = new Scanner(System.in);\n a =sc.nextInt();\n b =sc.nextInt();\n }",
"readInput",
"{\n Scanner sc = new Scanner(System.in);\n a =sc.nextInt();\n b =sc.nextInt();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"a =sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b =sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"private static void printCubic (){\n System.out.println((a * b) + \" \" + ((a + b) * 2));\n }",
"printCubic",
"{\n System.out.println((a * b) + \" \" + ((a + b) * 2));\n }",
"System.out.println((a * b) + \" \" + ((a + b) * 2))",
"System.out.println",
"System.out",
"System",
"System.out",
"(a * b) + \" \" + ((a + b) * 2)",
"(a * b) + \" \" + ((a + b) * 2)",
"(a * b)",
"a",
"b",
"\" \"",
"((a + b) * 2)",
"(a + b)",
"a",
"b",
"2",
"public class Main {\n public static void main(String[] args) {\n Rectangle.run();\n }\n}",
"Main",
"public static void main(String[] args) {\n Rectangle.run();\n }",
"main",
"{\n Rectangle.run();\n }",
"Rectangle.run()",
"Rectangle.run",
"Rectangle",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Rectangle.run();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Rectangle.run();\n }\n}",
"Main"
] | import java.util.Scanner;
class Rectangle {
private static int a;
private static int b;
static void run () {
readInput();
printCubic();
}
private static void readInput() {
Scanner sc = new Scanner(System.in);
a =sc.nextInt();
b =sc.nextInt();
}
private static void printCubic (){
System.out.println((a * b) + " " + ((a + b) * 2));
}
}
public class Main {
public static void main(String[] args) {
Rectangle.run();
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
6
],
[
6,
7
],
[
6,
8
],
[
41,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
9,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] | [
"import java.util.*;\n\npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int a = scn.nextInt(), b = scn.nextInt();\n System.out.println(a * b + \" \" + (a + b) * 2);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int a = scn.nextInt(), b = scn.nextInt();\n System.out.println(a * b + \" \" + (a + b) * 2);\n }\n}",
"Main",
"private static final Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"public static void main(String[] args) {\n int a = scn.nextInt(), b = scn.nextInt();\n System.out.println(a * b + \" \" + (a + b) * 2);\n }",
"main",
"{\n int a = scn.nextInt(), b = scn.nextInt();\n System.out.println(a * b + \" \" + (a + b) * 2);\n }",
"int a = scn.nextInt()",
"a",
"scn.nextInt()",
"scn.nextInt",
"scn",
"b = scn.nextInt();",
"b",
"scn.nextInt()",
"scn.nextInt",
"scn",
"System.out.println(a * b + \" \" + (a + b) * 2)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b + \" \" + (a + b) * 2",
"a * b + \" \" + (a + b) * 2",
"a * b",
"a",
"b",
"\" \"",
"(a + b) * 2",
"(a + b)",
"a",
"b",
"2",
"String[] args",
"args",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int a = scn.nextInt(), b = scn.nextInt();\n System.out.println(a * b + \" \" + (a + b) * 2);\n }\n}",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int a = scn.nextInt(), b = scn.nextInt();\n System.out.println(a * b + \" \" + (a + b) * 2);\n }\n}",
"Main"
] | import java.util.*;
public class Main {
private static final Scanner scn = new Scanner(System.in);
public static void main(String[] args) {
int a = scn.nextInt(), b = scn.nextInt();
System.out.println(a * b + " " + (a + b) * 2);
}
} |
[
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,
2,
4,
13,
13,
13,
17,
4,
13,
13,
13,
23,
13,
12,
13,
30,
29,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
17,
13,
2,
17,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
28,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
6,
38
],
[
38,
39
],
[
67,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
47,
48
],
[
40,
49
],
[
49,
50
],
[
67,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
51,
62
],
[
62,
63
],
[
51,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.util.Scanner;\n\n//???a???¨?b???????????¢?????¢???????±???????????????°??????\npublic class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\t//?¨??????\\???\n\t\tScanner scan=new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tint b=scan.nextInt();\n\n\t\tSystem.out.println(area(a,b)+\" \"+circuit(a,b));\n\n\n\t}\n\n\t//????????¢?????¢???????±?????????????????????????\n\tprivate static int area(int a, int b){\n\t\treturn a*b;\n\t}\n\tprivate static int circuit(int a, int b){\n\t\treturn 2*a+2*b;\n\t}\n\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\t//?¨??????\\???\n\t\tScanner scan=new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tint b=scan.nextInt();\n\n\t\tSystem.out.println(area(a,b)+\" \"+circuit(a,b));\n\n\n\t}\n\n\t//????????¢?????¢???????±?????????????????????????\n\tprivate static int area(int a, int b){\n\t\treturn a*b;\n\t}\n\tprivate static int circuit(int a, int b){\n\t\treturn 2*a+2*b;\n\t}\n\n\n}",
"Main",
"public static void main(String[] args){\n\n\t\t//?¨??????\\???\n\t\tScanner scan=new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tint b=scan.nextInt();\n\n\t\tSystem.out.println(area(a,b)+\" \"+circuit(a,b));\n\n\n\t}",
"main",
"{\n\n\t\t//?¨??????\\???\n\t\tScanner scan=new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tint b=scan.nextInt();\n\n\t\tSystem.out.println(area(a,b)+\" \"+circuit(a,b));\n\n\n\t}",
"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(area(a,b)+\" \"+circuit(a,b))",
"System.out.println",
"System.out",
"System",
"System.out",
"area(a,b)+\" \"+circuit(a,b)",
"area(a,b)+\" \"+circuit(a,b)",
"area(a,b)",
"area",
"a",
"b",
"\" \"",
"circuit(a,b)",
"circuit",
"a",
"b",
"String[] args",
"args",
"//????????¢?????¢???????±?????????????????????????\n\tprivate static int area(int a, int b){\n\t\treturn a*b;\n\t}",
"area",
"{\n\t\treturn a*b;\n\t}",
"return a*b;",
"a*b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"private static int circuit(int a, int b){\n\t\treturn 2*a+2*b;\n\t}",
"circuit",
"{\n\t\treturn 2*a+2*b;\n\t}",
"return 2*a+2*b;",
"2*a+2*b",
"2*a",
"2",
"a",
"2*b",
"2",
"b",
"int a",
"a",
"int b",
"b",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\t//?¨??????\\???\n\t\tScanner scan=new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tint b=scan.nextInt();\n\n\t\tSystem.out.println(area(a,b)+\" \"+circuit(a,b));\n\n\n\t}\n\n\t//????????¢?????¢???????±?????????????????????????\n\tprivate static int area(int a, int b){\n\t\treturn a*b;\n\t}\n\tprivate static int circuit(int a, int b){\n\t\treturn 2*a+2*b;\n\t}\n\n\n}",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\t//?¨??????\\???\n\t\tScanner scan=new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tint b=scan.nextInt();\n\n\t\tSystem.out.println(area(a,b)+\" \"+circuit(a,b));\n\n\n\t}\n\n\t//????????¢?????¢???????±?????????????????????????\n\tprivate static int area(int a, int b){\n\t\treturn a*b;\n\t}\n\tprivate static int circuit(int a, int b){\n\t\treturn 2*a+2*b;\n\t}\n\n\n}",
"Main"
] | import java.util.Scanner;
//???a???¨?b???????????¢?????¢???????±???????????????°??????
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(area(a,b)+" "+circuit(a,b));
}
//????????¢?????¢???????±?????????????????????????
private static int area(int a, int b){
return a*b;
}
private static int circuit(int a, int b){
return 2*a+2*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,
2,
2,
13,
13,
17,
2,
2,
13,
13,
17,
4,
18,
13,
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
],
[
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
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] | [
"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 a = Integer.parseInt(scan.next());\n\t\tint b = Integer.parseInt(scan.next());\n\t\tSystem.out.println(a * b + \" \" + (a + b) * 2);\n\t\tscan.close();\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\tint a = Integer.parseInt(scan.next());\n\t\tint b = Integer.parseInt(scan.next());\n\t\tSystem.out.println(a * b + \" \" + (a + b) * 2);\n\t\tscan.close();\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.println(a * b + \" \" + (a + b) * 2);\n\t\tscan.close();\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.println(a * b + \" \" + (a + b) * 2);\n\t\tscan.close();\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.println(a * b + \" \" + (a + b) * 2)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * b + \" \" + (a + b) * 2",
"a * b + \" \" + (a + b) * 2",
"a * b",
"a",
"b",
"\" \"",
"(a + b) * 2",
"(a + b)",
"a",
"b",
"2",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.next());\n\t\tint b = Integer.parseInt(scan.next());\n\t\tSystem.out.println(a * b + \" \" + (a + b) * 2);\n\t\tscan.close();\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.println(a * b + \" \" + (a + b) * 2);\n\t\tscan.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
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.println(a * b + " " + (a + b) * 2);
scan.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
13,
13,
2,
2,
13,
13,
17,
23,
13,
6,
13,
12,
13,
30,
4,
18,
13,
23,
13,
10,
6,
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
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
22,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
49,
39
],
[
49,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.*;\n\nclass Rectangle {\n public static void main(String...args) {\n final Scanner sc = new Scanner(System.in);\n final int a = sc.nextInt();\n final int b = sc.nextInt();\n System.out.printf(\"%d %d\\n\", a * b, (a + b) * 2);\n }\n}\npublic class Main {\n public static void main(String... args) {\n Rectangle.main();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Rectangle {\n public static void main(String...args) {\n final Scanner sc = new Scanner(System.in);\n final int a = sc.nextInt();\n final int b = sc.nextInt();\n System.out.printf(\"%d %d\\n\", a * b, (a + b) * 2);\n }\n}",
"Rectangle",
"public static void main(String...args) {\n final Scanner sc = new Scanner(System.in);\n final int a = sc.nextInt();\n final int b = sc.nextInt();\n System.out.printf(\"%d %d\\n\", a * b, (a + b) * 2);\n }",
"main",
"{\n final Scanner sc = new Scanner(System.in);\n final int a = sc.nextInt();\n final int b = sc.nextInt();\n System.out.printf(\"%d %d\\n\", a * b, (a + b) * 2);\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"final int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.printf(\"%d %d\\n\", a * b, (a + b) * 2)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"a * b",
"a",
"b",
"(a + b) * 2",
"(a + b)",
"a",
"b",
"2",
"String...args",
"args",
"public class Main {\n public static void main(String... args) {\n Rectangle.main();\n }\n}",
"Main",
"public static void main(String... args) {\n Rectangle.main();\n }",
"main",
"{\n Rectangle.main();\n }",
"Rectangle.main()",
"Rectangle.main",
"Rectangle",
"String... args",
"args",
"public class Main {\n public static void main(String... args) {\n Rectangle.main();\n }\n}",
"public class Main {\n public static void main(String... args) {\n Rectangle.main();\n }\n}",
"Main"
] | import java.util.*;
class Rectangle {
public static void main(String...args) {
final Scanner sc = new Scanner(System.in);
final int a = sc.nextInt();
final int b = sc.nextInt();
System.out.printf("%d %d\n", a * b, (a + b) * 2);
}
}
public class Main {
public static void main(String... args) {
Rectangle.main();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
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,
2,
2,
13,
13,
17,
2,
17,
2,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
16,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
16,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
6,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while( sc.hasNext() ){\n String[] line = sc.nextLine().split(\" \");\n int line_x = Integer.parseInt(line[0]);\n int line_y = Integer.parseInt(line[1]);\n\n System.out.println(line_x*line_y +\" \"+ 2*(line_x+line_y));\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while( sc.hasNext() ){\n String[] line = sc.nextLine().split(\" \");\n int line_x = Integer.parseInt(line[0]);\n int line_y = Integer.parseInt(line[1]);\n\n System.out.println(line_x*line_y +\" \"+ 2*(line_x+line_y));\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while( sc.hasNext() ){\n String[] line = sc.nextLine().split(\" \");\n int line_x = Integer.parseInt(line[0]);\n int line_y = Integer.parseInt(line[1]);\n\n System.out.println(line_x*line_y +\" \"+ 2*(line_x+line_y));\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while( sc.hasNext() ){\n String[] line = sc.nextLine().split(\" \");\n int line_x = Integer.parseInt(line[0]);\n int line_y = Integer.parseInt(line[1]);\n\n System.out.println(line_x*line_y +\" \"+ 2*(line_x+line_y));\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while( sc.hasNext() ){\n String[] line = sc.nextLine().split(\" \");\n int line_x = Integer.parseInt(line[0]);\n int line_y = Integer.parseInt(line[1]);\n\n System.out.println(line_x*line_y +\" \"+ 2*(line_x+line_y));\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n String[] line = sc.nextLine().split(\" \");\n int line_x = Integer.parseInt(line[0]);\n int line_y = Integer.parseInt(line[1]);\n\n System.out.println(line_x*line_y +\" \"+ 2*(line_x+line_y));\n }",
"String[] line = sc.nextLine().split(\" \");",
"line",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int line_x = Integer.parseInt(line[0]);",
"line_x",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"int line_y = Integer.parseInt(line[1]);",
"line_y",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"System.out.println(line_x*line_y +\" \"+ 2*(line_x+line_y))",
"System.out.println",
"System.out",
"System",
"System.out",
"line_x*line_y +\" \"+ 2*(line_x+line_y)",
"line_x*line_y +\" \"+ 2*(line_x+line_y)",
"line_x*line_y",
"line_x",
"line_y",
"\" \"",
"2*(line_x+line_y)",
"2",
"(line_x+line_y)",
"line_x",
"line_y",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while( sc.hasNext() ){\n String[] line = sc.nextLine().split(\" \");\n int line_x = Integer.parseInt(line[0]);\n int line_y = Integer.parseInt(line[1]);\n\n System.out.println(line_x*line_y +\" \"+ 2*(line_x+line_y));\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while( sc.hasNext() ){\n String[] line = sc.nextLine().split(\" \");\n int line_x = Integer.parseInt(line[0]);\n int line_y = Integer.parseInt(line[1]);\n\n System.out.println(line_x*line_y +\" \"+ 2*(line_x+line_y));\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while( sc.hasNext() ){
String[] line = sc.nextLine().split(" ");
int line_x = Integer.parseInt(line[0]);
int line_y = Integer.parseInt(line[1]);
System.out.println(line_x*line_y +" "+ 2*(line_x+line_y));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
2,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
68,
11
],
[
68,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
14,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
12,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tint a , b;\n\t\tString str = br.readLine();\n\t\tString strARY[] = str.split(\" \");\n\t\t\n\t\ta= Integer.parseInt(strARY[0]);\n\t\tb = Integer.parseInt(strARY[1]);\n\t\t\n\t\tSystem.out.println((a*b) + \" \" + (a+b)*2);\n\t\t\n\t\t\n\t\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tint a , b;\n\t\tString str = br.readLine();\n\t\tString strARY[] = str.split(\" \");\n\t\t\n\t\ta= Integer.parseInt(strARY[0]);\n\t\tb = Integer.parseInt(strARY[1]);\n\t\t\n\t\tSystem.out.println((a*b) + \" \" + (a+b)*2);\n\t\t\n\t\t\n\t\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tint a , b;\n\t\tString str = br.readLine();\n\t\tString strARY[] = str.split(\" \");\n\t\t\n\t\ta= Integer.parseInt(strARY[0]);\n\t\tb = Integer.parseInt(strARY[1]);\n\t\t\n\t\tSystem.out.println((a*b) + \" \" + (a+b)*2);\n\t\t\n\t\t\n\t\n\t}",
"main",
"{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tint a , b;\n\t\tString str = br.readLine();\n\t\tString strARY[] = str.split(\" \");\n\t\t\n\t\ta= Integer.parseInt(strARY[0]);\n\t\tb = Integer.parseInt(strARY[1]);\n\t\t\n\t\tSystem.out.println((a*b) + \" \" + (a+b)*2);\n\t\t\n\t\t\n\t\n\t}",
"BufferedReader br =new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int a",
"a",
"b;",
"b",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String strARY[] = str.split(\" \");",
"strARY",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"a= Integer.parseInt(strARY[0])",
"a",
"Integer.parseInt(strARY[0])",
"Integer.parseInt",
"Integer",
"strARY[0]",
"strARY",
"0",
"b = Integer.parseInt(strARY[1])",
"b",
"Integer.parseInt(strARY[1])",
"Integer.parseInt",
"Integer",
"strARY[1]",
"strARY",
"1",
"System.out.println((a*b) + \" \" + (a+b)*2)",
"System.out.println",
"System.out",
"System",
"System.out",
"(a*b) + \" \" + (a+b)*2",
"(a*b) + \" \" + (a+b)*2",
"(a*b)",
"a",
"b",
"\" \"",
"(a+b)*2",
"(a+b)",
"a",
"b",
"2",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tint a , b;\n\t\tString str = br.readLine();\n\t\tString strARY[] = str.split(\" \");\n\t\t\n\t\ta= Integer.parseInt(strARY[0]);\n\t\tb = Integer.parseInt(strARY[1]);\n\t\t\n\t\tSystem.out.println((a*b) + \" \" + (a+b)*2);\n\t\t\n\t\t\n\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tint a , b;\n\t\tString str = br.readLine();\n\t\tString strARY[] = str.split(\" \");\n\t\t\n\t\ta= Integer.parseInt(strARY[0]);\n\t\tb = Integer.parseInt(strARY[1]);\n\t\t\n\t\tSystem.out.println((a*b) + \" \" + (a+b)*2);\n\t\t\n\t\t\n\t\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
int a , b;
String str = br.readLine();
String strARY[] = str.split(" ");
a= Integer.parseInt(strARY[0]);
b = Integer.parseInt(strARY[1]);
System.out.println((a*b) + " " + (a+b)*2);
}
} |
[
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,
41,
13,
2,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
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
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
59,
59
],
[
59,
60
],
[
59,
61
],
[
59,
62
],
[
9,
63
],
[
63,
64
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\nclass Main{\n\n\tpublic static void main(String[] args) throws Exception{\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] line = br.readLine().split(\" \");\n\t\tint width = Integer.parseInt(line[0]);\n\t\tint height = Integer.parseInt(line[1]);\n\t\tint area = width * height;\n\t\tint length = (width * 2) + (height * 2);\n\n\t\tSystem.out.println(area + \" \" + length);\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main{\n\n\tpublic static void main(String[] args) throws Exception{\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] line = br.readLine().split(\" \");\n\t\tint width = Integer.parseInt(line[0]);\n\t\tint height = Integer.parseInt(line[1]);\n\t\tint area = width * height;\n\t\tint length = (width * 2) + (height * 2);\n\n\t\tSystem.out.println(area + \" \" + length);\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] line = br.readLine().split(\" \");\n\t\tint width = Integer.parseInt(line[0]);\n\t\tint height = Integer.parseInt(line[1]);\n\t\tint area = width * height;\n\t\tint length = (width * 2) + (height * 2);\n\n\t\tSystem.out.println(area + \" \" + length);\n\n\t}",
"main",
"{\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] line = br.readLine().split(\" \");\n\t\tint width = Integer.parseInt(line[0]);\n\t\tint height = Integer.parseInt(line[1]);\n\t\tint area = width * height;\n\t\tint length = (width * 2) + (height * 2);\n\n\t\tSystem.out.println(area + \" \" + length);\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] line = br.readLine().split(\" \");",
"line",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int width = Integer.parseInt(line[0]);",
"width",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"int height = Integer.parseInt(line[1]);",
"height",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"int area = width * height;",
"area",
"width * height",
"width",
"height",
"int length = (width * 2) + (height * 2);",
"length",
"(width * 2) + (height * 2)",
"(width * 2)",
"width",
"2",
"(height * 2)",
"height",
"2",
"System.out.println(area + \" \" + length)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" + length",
"area + \" \" + length",
"area",
"\" \"",
"length",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main{
public static void main(String[] args) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] line = br.readLine().split(" ");
int width = Integer.parseInt(line[0]);
int height = Integer.parseInt(line[1]);
int area = width * height;
int length = (width * 2) + (height * 2);
System.out.println(area + " " + length);
}
} |
[
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,
2,
2,
13,
13,
17,
2,
2,
2,
13,
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
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
6,
40
],
[
40,
41
]
] | [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) throws Exception{\n Scanner input = new Scanner(System.in);\n int x = input.nextInt();\n int y = input.nextInt();\n System.out.println((x*y)+\" \"+(x+x+y+y));\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) throws Exception{\n Scanner input = new Scanner(System.in);\n int x = input.nextInt();\n int y = input.nextInt();\n System.out.println((x*y)+\" \"+(x+x+y+y));\n }\n}",
"Main",
"public static void main(String[] args) throws Exception{\n Scanner input = new Scanner(System.in);\n int x = input.nextInt();\n int y = input.nextInt();\n System.out.println((x*y)+\" \"+(x+x+y+y));\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n int x = input.nextInt();\n int y = input.nextInt();\n System.out.println((x*y)+\" \"+(x+x+y+y));\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int x = input.nextInt();",
"x",
"input.nextInt()",
"input.nextInt",
"input",
"int y = input.nextInt();",
"y",
"input.nextInt()",
"input.nextInt",
"input",
"System.out.println((x*y)+\" \"+(x+x+y+y))",
"System.out.println",
"System.out",
"System",
"System.out",
"(x*y)+\" \"+(x+x+y+y)",
"(x*y)+\" \"+(x+x+y+y)",
"(x*y)",
"x",
"y",
"\" \"",
"(x+x+y+y)",
"y",
"x+x+y+y",
"x",
"x",
"y",
"y",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main(String[] args) throws Exception{
Scanner input = new Scanner(System.in);
int x = input.nextInt();
int y = input.nextInt();
System.out.println((x*y)+" "+(x+x+y+y));
}
} |
[
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,
41,
13,
2,
17,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\tScanner sc = new Scanner(System.in);\n\t\t \n int a = sc.nextInt();\n int b = sc.nextInt();\n\n\t\tint S = a * b;\n\t\tint T = 2 * (a + b);\n\t\tSystem.out.println(S + \" \" + T);\n\t}\n\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\tScanner sc = new Scanner(System.in);\n\t\t \n int a = sc.nextInt();\n int b = sc.nextInt();\n\n\t\tint S = a * b;\n\t\tint T = 2 * (a + b);\n\t\tSystem.out.println(S + \" \" + T);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\tScanner sc = new Scanner(System.in);\n\t\t \n int a = sc.nextInt();\n int b = sc.nextInt();\n\n\t\tint S = a * b;\n\t\tint T = 2 * (a + b);\n\t\tSystem.out.println(S + \" \" + T);\n\t}",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\t\t \n int a = sc.nextInt();\n int b = sc.nextInt();\n\n\t\tint S = a * b;\n\t\tint T = 2 * (a + b);\n\t\tSystem.out.println(S + \" \" + T);\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",
"int S = a * b;",
"S",
"a * b",
"a",
"b",
"int T = 2 * (a + b);",
"T",
"2 * (a + b)",
"2",
"(a + b)",
"a",
"b",
"System.out.println(S + \" \" + T)",
"System.out.println",
"System.out",
"System",
"System.out",
"S + \" \" + T",
"S + \" \" + T",
"S",
"\" \"",
"T",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\tScanner sc = new Scanner(System.in);\n\t\t \n int a = sc.nextInt();\n int b = sc.nextInt();\n\n\t\tint S = a * b;\n\t\tint T = 2 * (a + b);\n\t\tSystem.out.println(S + \" \" + T);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\tScanner sc = new Scanner(System.in);\n\t\t \n int a = sc.nextInt();\n int b = sc.nextInt();\n\n\t\tint S = a * b;\n\t\tint T = 2 * (a + b);\n\t\tSystem.out.println(S + \" \" + T);\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int S = a * b;
int T = 2 * (a + b);
System.out.println(S + " " + T);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
41,
13,
2,
17,
2,
13,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[]args){\n\t\tScanner scan= new Scanner(System.in);\n\t\tString n1 = scan.next();\n\t\tString n2 = scan.next();\n\t\t\n\t\tInteger a = new Integer(n1);\n\t\tInteger b = new Integer(n2);\n\t\n\t\tint side = 2*(a+b);\n\t\tint area = a*b;\n\t\t\n\t\tSystem.out.println(area + \" \" +side);\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\tScanner scan= new Scanner(System.in);\n\t\tString n1 = scan.next();\n\t\tString n2 = scan.next();\n\t\t\n\t\tInteger a = new Integer(n1);\n\t\tInteger b = new Integer(n2);\n\t\n\t\tint side = 2*(a+b);\n\t\tint area = a*b;\n\t\t\n\t\tSystem.out.println(area + \" \" +side);\n\n\t\t\n\t}\n}",
"Main",
"public static void main(String[]args){\n\t\tScanner scan= new Scanner(System.in);\n\t\tString n1 = scan.next();\n\t\tString n2 = scan.next();\n\t\t\n\t\tInteger a = new Integer(n1);\n\t\tInteger b = new Integer(n2);\n\t\n\t\tint side = 2*(a+b);\n\t\tint area = a*b;\n\t\t\n\t\tSystem.out.println(area + \" \" +side);\n\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan= new Scanner(System.in);\n\t\tString n1 = scan.next();\n\t\tString n2 = scan.next();\n\t\t\n\t\tInteger a = new Integer(n1);\n\t\tInteger b = new Integer(n2);\n\t\n\t\tint side = 2*(a+b);\n\t\tint area = a*b;\n\t\t\n\t\tSystem.out.println(area + \" \" +side);\n\n\t\t\n\t}",
"Scanner scan= new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String n1 = scan.next();",
"n1",
"scan.next()",
"scan.next",
"scan",
"String n2 = scan.next();",
"n2",
"scan.next()",
"scan.next",
"scan",
"Integer a = new Integer(n1);",
"a",
"new Integer(n1)",
"Integer b = new Integer(n2);",
"b",
"new Integer(n2)",
"int side = 2*(a+b);",
"side",
"2*(a+b)",
"2",
"(a+b)",
"a",
"b",
"int area = a*b;",
"area",
"a*b",
"a",
"b",
"System.out.println(area + \" \" +side)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" +side",
"area + \" \" +side",
"area",
"\" \"",
"side",
"String[]args",
"args",
"public class Main{\n\tpublic static void main(String[]args){\n\t\tScanner scan= new Scanner(System.in);\n\t\tString n1 = scan.next();\n\t\tString n2 = scan.next();\n\t\t\n\t\tInteger a = new Integer(n1);\n\t\tInteger b = new Integer(n2);\n\t\n\t\tint side = 2*(a+b);\n\t\tint area = a*b;\n\t\t\n\t\tSystem.out.println(area + \" \" +side);\n\n\t\t\n\t}\n}",
"public class Main{\n\tpublic static void main(String[]args){\n\t\tScanner scan= new Scanner(System.in);\n\t\tString n1 = scan.next();\n\t\tString n2 = scan.next();\n\t\t\n\t\tInteger a = new Integer(n1);\n\t\tInteger b = new Integer(n2);\n\t\n\t\tint side = 2*(a+b);\n\t\tint area = a*b;\n\t\t\n\t\tSystem.out.println(area + \" \" +side);\n\n\t\t\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[]args){
Scanner scan= new Scanner(System.in);
String n1 = scan.next();
String n2 = scan.next();
Integer a = new Integer(n1);
Integer b = new Integer(n2);
int side = 2*(a+b);
int area = a*b;
System.out.println(area + " " +side);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
17,
2,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.util.Scanner;\n\npublic class Main { \n\tpublic static void main(String[] args){\n\t\tString str;\n\t\tint i1, i2;;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tstr = scan.next();\n\t\ti1 = Integer.parseInt(str);\n\t\t\n\t\tstr = scan.next();\n\t\ti2 = Integer.parseInt(str);\n\n\t\tSystem.out.println(i1*i2 + \" \" + 2*(i1+i2));\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main { \n\tpublic static void main(String[] args){\n\t\tString str;\n\t\tint i1, i2;;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tstr = scan.next();\n\t\ti1 = Integer.parseInt(str);\n\t\t\n\t\tstr = scan.next();\n\t\ti2 = Integer.parseInt(str);\n\n\t\tSystem.out.println(i1*i2 + \" \" + 2*(i1+i2));\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tString str;\n\t\tint i1, i2;;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tstr = scan.next();\n\t\ti1 = Integer.parseInt(str);\n\t\t\n\t\tstr = scan.next();\n\t\ti2 = Integer.parseInt(str);\n\n\t\tSystem.out.println(i1*i2 + \" \" + 2*(i1+i2));\n\t}",
"main",
"{\n\t\tString str;\n\t\tint i1, i2;;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tstr = scan.next();\n\t\ti1 = Integer.parseInt(str);\n\t\t\n\t\tstr = scan.next();\n\t\ti2 = Integer.parseInt(str);\n\n\t\tSystem.out.println(i1*i2 + \" \" + 2*(i1+i2));\n\t}",
"String str;",
"str",
"int i1",
"i1",
"i2;",
"i2",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"str = scan.next()",
"str",
"scan.next()",
"scan.next",
"scan",
"i1 = Integer.parseInt(str)",
"i1",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"str = scan.next()",
"str",
"scan.next()",
"scan.next",
"scan",
"i2 = Integer.parseInt(str)",
"i2",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"System.out.println(i1*i2 + \" \" + 2*(i1+i2))",
"System.out.println",
"System.out",
"System",
"System.out",
"i1*i2 + \" \" + 2*(i1+i2)",
"i1*i2 + \" \" + 2*(i1+i2)",
"i1*i2",
"i1",
"i2",
"\" \"",
"2*(i1+i2)",
"2",
"(i1+i2)",
"i1",
"i2",
"String[] args",
"args",
"public class Main { \n\tpublic static void main(String[] args){\n\t\tString str;\n\t\tint i1, i2;;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tstr = scan.next();\n\t\ti1 = Integer.parseInt(str);\n\t\t\n\t\tstr = scan.next();\n\t\ti2 = Integer.parseInt(str);\n\n\t\tSystem.out.println(i1*i2 + \" \" + 2*(i1+i2));\n\t}\n}",
"public class Main { \n\tpublic static void main(String[] args){\n\t\tString str;\n\t\tint i1, i2;;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tstr = scan.next();\n\t\ti1 = Integer.parseInt(str);\n\t\t\n\t\tstr = scan.next();\n\t\ti2 = Integer.parseInt(str);\n\n\t\tSystem.out.println(i1*i2 + \" \" + 2*(i1+i2));\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
String str;
int i1, i2;;
Scanner scan = new Scanner(System.in);
str = scan.next();
i1 = Integer.parseInt(str);
str = scan.next();
i2 = Integer.parseInt(str);
System.out.println(i1*i2 + " " + 2*(i1+i2));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
38,
5,
13,
30,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
2,
17,
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
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
17,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
17,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
6,
64
],
[
64,
65
]
] | [
"import java.io.*;\nclass Main{\n\tpublic static void main(String[] args){\n\t\tint a,b;\n\t\ttry{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader (System.in));\n\t\t\tString str = br.readLine();\n\t\t\tString[] strAry = str.split(\" \");\n\t\t\ta = Integer.parseInt(strAry[0]);\t\n\t\t\tb = Integer.parseInt(strAry[1]);\n\t\t\tSystem.out.println(a*b +\" \"+ 2*(a+b));\n\t\t} catch(Exception e) {\n\t\t}\n\t }\n}\t",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n\t\tint a,b;\n\t\ttry{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader (System.in));\n\t\t\tString str = br.readLine();\n\t\t\tString[] strAry = str.split(\" \");\n\t\t\ta = Integer.parseInt(strAry[0]);\t\n\t\t\tb = Integer.parseInt(strAry[1]);\n\t\t\tSystem.out.println(a*b +\" \"+ 2*(a+b));\n\t\t} catch(Exception e) {\n\t\t}\n\t }\n}",
"Main",
"public static void main(String[] args){\n\t\tint a,b;\n\t\ttry{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader (System.in));\n\t\t\tString str = br.readLine();\n\t\t\tString[] strAry = str.split(\" \");\n\t\t\ta = Integer.parseInt(strAry[0]);\t\n\t\t\tb = Integer.parseInt(strAry[1]);\n\t\t\tSystem.out.println(a*b +\" \"+ 2*(a+b));\n\t\t} catch(Exception e) {\n\t\t}\n\t }",
"main",
"{\n\t\tint a,b;\n\t\ttry{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader (System.in));\n\t\t\tString str = br.readLine();\n\t\t\tString[] strAry = str.split(\" \");\n\t\t\ta = Integer.parseInt(strAry[0]);\t\n\t\t\tb = Integer.parseInt(strAry[1]);\n\t\t\tSystem.out.println(a*b +\" \"+ 2*(a+b));\n\t\t} catch(Exception e) {\n\t\t}\n\t }",
"int a",
"a",
"b;",
"b",
"try{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader (System.in));\n\t\t\tString str = br.readLine();\n\t\t\tString[] strAry = str.split(\" \");\n\t\t\ta = Integer.parseInt(strAry[0]);\t\n\t\t\tb = Integer.parseInt(strAry[1]);\n\t\t\tSystem.out.println(a*b +\" \"+ 2*(a+b));\n\t\t} catch(Exception e) {\n\t\t}",
"catch(Exception e) {\n\t\t}",
"Exception e",
"{\n\t\t}",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader (System.in));\n\t\t\tString str = br.readLine();\n\t\t\tString[] strAry = str.split(\" \");\n\t\t\ta = Integer.parseInt(strAry[0]);\t\n\t\t\tb = Integer.parseInt(strAry[1]);\n\t\t\tSystem.out.println(a*b +\" \"+ 2*(a+b));\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader (System.in));",
"br",
"new BufferedReader(new InputStreamReader (System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] strAry = str.split(\" \");",
"strAry",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"a = Integer.parseInt(strAry[0])",
"a",
"Integer.parseInt(strAry[0])",
"Integer.parseInt",
"Integer",
"strAry[0]",
"strAry",
"0",
"b = Integer.parseInt(strAry[1])",
"b",
"Integer.parseInt(strAry[1])",
"Integer.parseInt",
"Integer",
"strAry[1]",
"strAry",
"1",
"System.out.println(a*b +\" \"+ 2*(a+b))",
"System.out.println",
"System.out",
"System",
"System.out",
"a*b +\" \"+ 2*(a+b)",
"a*b +\" \"+ 2*(a+b)",
"a*b",
"a",
"b",
"\" \"",
"2*(a+b)",
"2",
"(a+b)",
"a",
"b",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args){
int a,b;
try{
BufferedReader br = new BufferedReader(new InputStreamReader (System.in));
String str = br.readLine();
String[] strAry = str.split(" ");
a = Integer.parseInt(strAry[0]);
b = Integer.parseInt(strAry[1]);
System.out.println(a*b +" "+ 2*(a+b));
} catch(Exception e) {
}
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.